IRET
INTERRUPT
RETURN
Operation:
(IP)
+-
((SP) + 1 :(SP))
(SP)
+-
(SP) + 2
(CS)
+-
((SP) + 1 :(SP))
(SP)
+-
(SP) + 2
FLAGS
+-
((SP) + 1 :(SP))
(SP)
+-
(SP) + 2
Description:
IRET (Interrupt Return) transfers control
back to the
point
of interruption by popping
IP,
CS and the flags from the stack.
IRET
thus
affects all flags by restoring them to previously
saved values.
IRET
is
used to exit any inter-
rupt
procedure, whether activated by hard-
ware or software.
Encoding:
1110011111
Flags Affected:
All
IRET
IRET
Operands
Clocks Transfers Bytes IRET Coding Example
(no operands)
(44)
3 1
IRET
2-85