Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I see... It did not occur to me that the ISR will most likely execute on the Delay subroutine, which is the same one that I used on the ISR itself. The problem was fixed by adding a new delay routine for ISR and saving my W and status registers at the start of ISR, which you guys have suggested...
Why is it that whenever the ISR is executed in my code, it does not seem to return to the main loop?
bcf INTCON, GIE