ric
How is it meant to get to your main code loop?
Your startup code runs straight into your interrupt code/
ric,
I had placed the loop just below the "BCLR TRISB,#6" before the timer setup, but that just resulted in the pin inside the loop going high and nothing happening on the interrupt-controlled pin. I thought that was due to an infinite loop preventing the interrupt from initializing and the timer from being set up, but I wasn't even sure about that. Honestly, I have very little assembly experience, and I'm trying to teach myself. That's why my code might seem nonsensical. Where should I place the main loop? Any help would be greatly appreciated.