IRET INTERRUPT RETURN IRET

Operation:

Flags Affected:

(IP) +- ((SP) + 1:(SP))

All

(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

IRET Operands Clocks Transfers Bytes IRET Coding Example

(no operands)

(44)

3

1

IRET

2-85

Page 120
Image 120
Intel 210200-002 manual Iret Interrupt Return Iret, 1110011111