SAM88RCRI INSTRUCTION SET
IRET
— Interrupt Return
IRET
IRET
FLAGS ← @SP
Operation:
SP ← SP + 1
PC ← @SP
SP ← SP + 2
SYM(2) ← 1
This instruction is used at the end of an interrupt service routine. It restores the flag register and
the program counter. It also re-enables global interrupts.
Flags:
All flags are restored to their original settings (that is, the settings before the interrupt occurred).
Format:
IRET
(Normal)
6-24
opc
Bytes
Cycles
Opcode
1
10
12
S3C9454B/F9454B
(Hex)
BF