Andy Kunz wrote: > > Isn't an infinite loop done with: goto $ > > No, because PC has been incremented to point to the next > instruction. Standard notation is to do it: goto $-1 > > .... > > Here's a hint. If you have to a waste time, and you would normally > write it as > NOP > NOP > NOP > NOP > > try using the following instead. > > goto $+1 > goto $+1 Um, Andy? How do you reconcile your "$-1" infinite loop with your "$+1" two-cycle NOP? The PIC's program counter is incremented before the current instruction is executed, but the ASSEMBLER's "program counter" isn't. Perhaps you've confused the two? -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering, Vista, California === http://www.geocities.com/SiliconValley/2499