|how to get a c complier for a 8bit mcu email@example.com (2001-10-20)|
|Re: how to get a c complier for a 8bit mcu firstname.lastname@example.org (2001-10-21)|
|From:||email@example.com (Sandeep Dutta)|
|Date:||21 Oct 2001 21:30:34 -0400|
|Posted-Date:||21 Oct 2001 21:30:34 EDT|
firstname.lastname@example.org (carl) wrote in message news:01-10-099...
> I have a 8bit mcu,and I want a c compiler to generate running-code for
> it. I know, there does not exists such one yet. but some one can give
> me some general suggestion to make one myself.
SDCC is a Freeware, retargettable, optimizing ANSI - C compiler. The
current version targets the Intel 8051 , Dallas-DS390, and the Zilog
Z80 based MCUs. Work is in progress on supporting the Amtel AVR, and
Microchip PIC series. 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
Return to the
Search the comp.compilers archives again.