User's Manual

SAM88RI INSTRUCTION SET S3C9228/P9228
6-24
IRET Interrupt Return
IRET IRET
Operation: FLAGS ¨ @SP
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)
Bytes Cycles Opcode
(Hex)
opc 1 6 BF