I have read that ccs c is not a good language when it comes to outputing tight code. Hitech C is supposed to compile the tightest code, I think that the MPLABS C18 would be very competitive with Hitech C for Pic18 stuff.
An ANSI C compliant compiler does not make the most sense when it comes to PICs. ANSI C was developed initially for computers and not microcontrollers. The bread and butter functions "printf/scanf" in C does not mean a whole lot when applied to Microcontrollers. But it seems that the best high level compilers for almost any MCU platform seems to be in C, by best I mean output the tightest code.
C is an odd ball when you code it for PICs, I mean who really needs structures when doing embedded stuff, but it is nice to know that if you need it you have it.
I think I made a mistake when I said proteus I think I meant proton. The cool thing about proteus is that you can sim a digital PIC with analog hardware simultaneously. But I perfer to use the Simulator in MPLABS IDE and do my analog simulations in LTSPICE, both program are free and do their respective job very well.




Bookmarks