> About to embark on a largish project on a PIC 18F system - not sure how
> much code it will compile into, but it's currently about 48KB on an AVR
> platform under avr-gcc, so I'm not sure how the code efficiency is on the
> PIC side - the target is a 96KB PIC device, so hopefully plenty of room to
> spare!)
> 
> However I read varying conflicting reports about the PIC code generator -
> it looks OK and I've had a look at the assembler output, not that I'm an
> expert, but it's generating code... Anyone done anything big with it?
> 
I've done a project that has about 2500 lines of code that almost
fills the Flash of 18F4550 (32kB). Note that lines/code is pretty
meaningless measure anyway.

I've got no experience with other PIC compilers but I would think
that code generation issue, if any, size wise is more to do with the
PIC CPU architecture than the compiler. OTOH I believe the newer PICs
(18F included) have some more C friendly instructions that the SDCC
does not yet take advantage of IIRC, I maybe wrong.


I would encourage you to try, there is a helpful and responsive
community here.


br Kusti



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to