peter green wrote: > IIRC C18 disables ALL optimisation in a function if you use any inline > assembler in it. I wonder if you are running into that issue. That's lame. Even so, it's not the issue. I wasn't using any inline asm. -- Hector Martin (hector@marcansoft.com) Public Key: http://www.marcansoft.com/marcan.asc -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist