> All, > > Or just add NOP's to fine adjust the routine. > > Regards, > > Jim The problem with this is that even if you just add one "nop" inside the innermost loop, it drives the total time up to 1.17 seconds. You'd have to add 58 "nops" or 29 "goto $+1" after the first loop counter (Delay_Count) decrement to get 15ms extra time. But then you'd have to alter the way the zero bit is checked so that it skips on "set" and add a "goto Delay_L" after it. You're better off just taking the .985 seconds :) --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.