I wrote programs for base-line PICs in assembler because the tiny RAM size. Non-optimized compilers use extra RAM space for their automatic variables. However, i have tried CCS PICC PCB (command line) compiler and this generates smaller code and takes less RAM (not always). This is compiler is for base-line PICs only and has plugin for MPLAB as well. But this is not free, it has free trial period for 45 days and after that period it stops working unless you buy a licence ($50). For evaluating you must download entire PCC IDE (which supports all 8-16 bits PICs and also dsPICs), unfortunately.In conclusion, the only PROPER WAY to do it, is in Assembler.
Correct?
I understand it is harder to do it, but I will fit more code into the pic and also more carefully , than letting some automatic nutjob like hitechC do it's thing.





