Hey all,

I'm not sure about the capabilities and shortcomings of any of the 
currently available C-compilers for MSX, but I stumbled across this:

http://sdcc.sourceforge.net/

taken from the page:
>SDCC is a Freeware , retargettable, optimizing ANSI - C compiler. The 
>current version targets the Intel
>                8051 and recently the Zilog Z80 based MCUs. SDCC can be 
> retargeted for other 8 bit MCUs or PICs and some
>                day soon will be. The  entire source code for the compiler 
> is distributed under GPL. SDCC uses ASXXXX and
>                ASLINK a Freeware, retargettable assembler and linker. 
> SDCC has extensive MCU specific language
>                extensions, which lets it utilize the underlying hardware 
> effectively. The front end (parser) will be enhanced to
>                handle language extensions for other MCUs as and when they 
> are targeted. In addition to the MCU Specific
>                optimizations SDCC also does a host of standard 
> optimizations like global sub expression elimination, loop
>                optimizations (loop invariant , strength reduction of 
> induction variables and loop reversing ), constant folding and
>                propagation, copy propagation, dead code elimination and 
> jump tables for 'switch' statements. For the Back end
>                SDCC uses a global register allocation scheme which should 
> be well suited for other 8 bit MCUs , the peep
>                hole optimizer uses a rule based substitution mechanism 
> which is MCU independent. Supported data types are
>                short (8 bits, 1 byte), char (8 bits, 1 byte) , int (16 
> bits, 2 bytes ), long (32 bit, 4 bytes) and float (4 byte
>                IEEE).  SDCC also comes with the source level debugger 
> SDCDB, the current version of the debugger uses
>                Daniel's s51 simulator. The compiler also allows inline 
> assembler code to be embedded anywhere in a
>                function. In addition routines developed in assembly can 
> also be called. SDCC also provides an option to report
>                the relative complexity of a function, these functions can 
> then be further optimized , or hand coded in assembly
>                if need be.

Hope it's useful :)

                 Patriek


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
 The MSX faq: http://www.faq.msxnet.org/
 The MSX newsgroup: comp.sys.msx
 The MSX IRC channel: #MSX on Undernet
****

Reply via email to