RETI |
|
Description: | Return from interrupt |
Operation: | PC, W, FSR and status = shadow register |
Flags affected: | all status flags |
Registers affected: | PC, W, FSR |
Sources referenced: | - |
Cycles: | 1 |
Opcode: | |
Details: | SX Users Manual page # 114 |
Microchip PIC syntax: | |
Notes: |
RETI - Return from interrupt. The PC, W, STATUS and FSR registers are restored to the values they had when the interrupt occurred. Shadow registers are used to hold these values; the subroutine return address stack is not used. Thus subroutines can be called to a depth of eight levels while interrupts are enabled.
by Loren Blaney via Richard Ottosen
See also: