I wonder if anyone have an idea how to solve the problem with jumping back from interrupts. I have this problem. I wrote a program for the asyn. serial port(uart). when I recive a byte the program counter jumps to the interrupt adress, 0x0004, as it should and does what ever I tell it to. the problem is when it is jumping back from rhe interrupt (retfie). if I get an interrupt at the end of the program then it tends to run over the last loop function and never get into the program again. test goto test ;it jumps over hear. END when the program jumps back from an interrupt the program counter is added with 1 I think. if this is the case then I se the problem with the program jumping over the goto instruction. if it was at the goto instuction when the interrupt happend. how do I solve this problem??????? need help! //nabil