im doing my final year project and need help about a part in interrupt . I'm using PIC16F877A for my project . I'm using C language for programming and MikroC as my compiler . I'm trying to find a way so that when the microcontroller exits the interrupt service routine , it should go back to the starting of the main program rather than return to the address in the main program where the stack pointer is showing . In other words , the program counter should reset to the beginning of the main program .
IS there any way to do this ? if yes, please share. Thank you!
IS there any way to do this ? if yes, please share. Thank you!