On Thu, 6 May 1999, Bob Fehrenbach wrote: > clrf lo > clrf hi > loop: > incf lo, f > skpnz > incfsz hi, f > goto loop That's exactly my solution. And On Fri, 7 May 1999, Regulus Berdin wrote: > > How about, 5 cycles per loop, doesn't use W: > > clrf lo > clrf hi > > loop incfsz lo,f > goto $+2 > incfsz hi,f > goto loop > Yep! Here's another solution that gives two extra cycles for other stuff (like CLRWDT or testing an I/O bit) clrf lo clrf hi loop1 nop ;2 free cycles executed 255 out of 256 nop ;iterations loop2 decfsz lo,f ;or incfsz goto loop1 decfsz hi,f ;if low byte rolls over, dec hi byte, goto loop2 ;but don't branch to the beginning.