Brad Pousland wrote: > Trying to impliment interrupt on change service routine. This > routine takes control from a loop that is timed with tmr0. Every > time a portb input pin goes from low to high, the tmr0 controlled > loop goes faster. Is the tmr affected by such load variances? Brad: No. The problem is undoubtedly in your code. My guess is that you're either: 1. Failing to check/clear the interrupt flags, or 2. Failing to properly save/restore the W and STATUS registers in your interrupt service routine. -Andy Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California http://www.geocities.com/SiliconValley/2499