Micro Eng wrote: > What is happening to TMR0 during the execution of the ISR? Once it rolls > over, does it continue to cycle automagically or does it get held until you > return from the interupt? In other words, does the amount of code that is > executed inside the ISR affect the overall interupt timing. If you don't write to the TMR0 register, it's a free-running counter that continues to increment whether you're in the ISR or in your main routine. In other words, the amount of code in the ISR does NOT affect the overall interrupt timing UNLESS your ISR takes so much time that interrupts are missed. > I also never heard an answer on...can I enable both TMR0 and PORTB0 > interupts at the same time? Of course. -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.