On 9/26/07, Ken Jackson <[EMAIL PROTECTED]> wrote: > I think the main problem is the PIC architecture. It's actually > somewhat shocking how well SDCC has done to make C actually work > on an architecture that was clearly intended to run only assembly > code.
Firstly now there are different PIC architectures: the old 12bit and 14bit instruction width PIC12/PIC16, PIC18F and even 16bit PICs like PIC24/dsPIC30/dsPIC33. For the 16bit PICs, the C30 compiler is based on GCC. SDCC is quite good for 8051 but it has a long way to go for PICs. There are decent compilers for the low end PIC12/PIC16, Hitech PICC is one. And PIC18 is certainly much more C friendly. MPLAB C18 and Hitech PICC18 are both quite decent. MPLAB C18 comes with the free student version with no code size limit (only optimization limit). I remember there is a past discussion that Scott mentioned GCC might be possible for PIC18. Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user