Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->RETI
RETI Return from Interrupt
This instruction pops the high and low order bytes of the program counter successively from the stack. The interrupt logic is restored to accept additional interrupts at the same priority as the one just processed.
No other flags are affected.
The PSW is NOT automatically restored to its pre-interrupt status.
Program execution continues at the resulting address. If a lower or same level interrupt had been pending when the RETI instruction is executed, that one instruction will be executed before the pending interrupt is processed.
Formats:
Description | Mnemonic | Bytes | Cycles |
Return from Interrupt: | RETI | 1 | 2 |