>James Paul wrote: >> >> >> delay: >> movlw 0x0C >> movwf tmr5 >> decfsz tmr5 >> goto $-1 >> nop >> nop >> return > >well, I don't see any obvious problems. this works, and I have coded >similar routines, although I usually use a label (not always, though), >and out of habit specify the destination as 'F'. As far as I recall, the >assembler defaults to 'F' if you leave it out, so that should be ok. > >However, I sometimes make the mistake of declaring two registers >at the same location. So whenever I get wierd results, that's one >of the first things I check. Perhaps that's what happened? It >would show up if you simulated the code. > >Phil Eisermann >H:(440) 284-3787 (mazer@ix.netcom.com) >O:(440) 329-4680 (peiserma@ridgid.com) > >