??? 02/16/07 09:23 Read: times |
#133112 - Thanks. Also interesting. Responding to: ???'s previous message |
;while(--somechar != 0); dec _somechar mov a,_somechar jz 00108$ sjmp 00101$ Wow. Looks like SDCC doesn't use the DJNZ instruction at all (or at least doesn't recognize an obvious place to use it). Well, every compiler has its quirks, and some are downright lousy. I've tried the Accutron C compiler (comes with Analog Devices eval kits), and it honestly saves each and every register when entering a function, regardless of which are actually used. |