On Thu, 18 Sep 1997, Dave Kingma wrote: > > Wouldn't this result in a 128 * 256 us delay? When the 7th > bit of TMR0 is set, its value is b'10000000' = 128. > Surprisingly mplab has a very cool feature. The stopwatch. If your lazy like me, don't count cycles. Just compile the program and "single step" or "run to" the point that is time critical. Select window->stopwatch, and set the proper xtal speed. Zero it and "run to" the end of the point you want to time. No more cycles to count :) -Shane.