EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Free pascal compiler for the 8051 family of microcontrollers

Started by Funa May 26, 2008
Maybe there is somebody that still uses the old 8051. And maybe there
is somebody who likes programming in pascal. Here is Turbo51 - a free
pascal compiler for the 8051 family of microcontrollers:

http://turbo51.com/

Igor
Funa wrote:
> Maybe there is somebody that still uses the old 8051. And maybe there > is somebody who likes programming in pascal. Here is Turbo51 - a free > pascal compiler for the 8051 family of microcontrollers: > > http://turbo51.com/ > > Igor
It is still one of the biggest volume 8 bit cores. Pascal is another matter. But a post on www.8052.com may attract some interest.
Neil wrote:
> Funa wrote: > >> Maybe there is somebody that still uses the old 8051. And maybe >> there is somebody who likes programming in pascal. Here is Turbo51 >> - a free pascal compiler for the 8051 family of microcontrollers: >> >> http://turbo51.com/ > > It is still one of the biggest volume 8 bit cores. Pascal is > another matter. But a post on www.8052.com may attract some > interest.
If it is opensource, and meets ISO 7185, it should be quite useful. Btw, Pascal is always capitalized. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section. ** Posted from http://www.teranews.com **
In message 
<b51bbf9c-fc66-4268-8467-c28c43845e87@k13g2000hse.googlegroups.com>, 
Funa <igor.funa@gmail.com> writes
>Maybe there is somebody that still uses the old 8051.
The 8051 is probably still the most widely used MCP with over 600 variants from 40+ manufacturers
>And maybe there >is somebody who likes programming in pascal.
Many "like" programming in Pascal but the will probably use C professionally
>Here is Turbo51 - a free >pascal compiler for the 8051 family of microcontrollers:
It will have to be VERY good to beat the commercial 8051 compilers. What other tools are availible for it? Simulator, Debugger ICE etc that can do source level debugging with your Pascal compiler. A compiler is just a part of the tool chain
>http://turbo51.com/ >Igor
-- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Igor: good work!

> >Here is Turbo51 - a free > >pascal compiler for the 8051 family of microcontrollers: > > It will have to be VERY good to beat the commercial 8051 compilers.
are there any commercial Pascal compilers for 8051?
> What other tools are availible for it? > Simulator, > Debugger > ICE > etc that can do source level debugging with your Pascal compiler.
Chris, you may be surprised, but when I wrote code in pascal back in the '80s I didn't need any of above, most of the "bugs" were removed during the compile time, i.e. if you assign variable with value out of range it will just not compile, thus if your code compiles well it have pretty good chances to eb bug free (exept the logic bugs in your algorithm) all these goodies you quote above are more relevant when you write in C ;) Best regards Tsvetan
In message 
<9bbdbb26-12ca-4816-a71f-b851e34a8ee9@e53g2000hsa.googlegroups.com>, 
tusunov@my-deja.com writes
>Igor: good work! > >> >Here is Turbo51 - a free >> >pascal compiler for the 8051 family of microcontrollers: >> >> It will have to be VERY good to beat the commercial 8051 compilers. > >are there any commercial Pascal compilers for 8051?
I meant the commercial C compilers. People will been a good reason to swap over from a C tool chain to a Pascal compiler.
>> What other tools are availible for it? >> Simulator, >> Debugger >> ICE >> etc that can do source level debugging with your Pascal compiler. > >Chris, you may be surprised, but when I wrote code in pascal back in >the '80s I didn't need any of above,
I am not surprised you did not use them.
>most of the "bugs" were removed >during the compile time, i.e. if you assign variable with value out of >range it will just not compile, thus if your code compiles well it >have pretty good chances to eb bug free
I have seen this sort of crap before. This assumes that the compiler was perfect... The advantage Pascal had over C was the fact there was a standard validation suite and you could get Certified Pascal compilers. Thus you could be reasonably sure that some Certified compilers performed correctly to the standard. Some but not all. I will bet that this particular compiler has not been validated let alone Certified. There are a couple of recognised test suites for C compilers (Perennial and Plum-Hall) and AFAIK all the serious commercial compiler companies use them. However there is no pressure in the industry to do so and there are certainly no Certified C compilers. There is little legal requirement for Certified C compilers. Though the safety critical market is putting some pressure on here. Though of course few compilers actually implement the whole current C standard most sticking with the one from 1995 with some extensions
> (exept the logic bugs in your >algorithm)
So you DO need to debug.... and dynamically not statically. SO you would need a Simulator, debugger or ICE
>all these goodies you quote above are more relevant when you write in >C ;)
No more or less than with Pascal. C usually requires static analysis which a good Pascal compiler would not otherwise the other tools are just as applicable. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
tusunov@my-deja.com schrieb:

> are there any commercial Pascal compilers for 8051?
JFTR: <http://www.ksc-softsys.com/pascalc.htm> Tilmann

The 2024 Embedded Online Conference