Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:iret

IRET

IRET/IRETD - Interrupt Return

Returns control to point of interruption by popping IP, CS and then the Flags from the stack and continues execution at this location.

CPU exception interrupts will return to the instruction that cause the exception because the CS:IP placed on the stack during the interrupt is the address of the offending instruction.

Usage:

	IRET 		;
	IRETD 		; 386+ only

Modifies flags:

AF CF DF IF PF SF TF ZF

Clocks Size
Operands 808x 286 386 486 Bytes
iret 32/44 17+m 22 15 1
iret (PM) - 31+m 38 18 1
iret (to less privilege) - 55+m 82 39 1
iret (different task, NT=1) - 169+m TS TS+32 1
iretd - - 22/38 15 1
iretd (PM) - - 82 36 1
iretd (to less privilege) - - 60 15 1
iretd (different task, NT=1) - - TS TS+32 1
back2root/ibm-pc-ms-dos/instr/iret.txt · Dernière modification : 2023/03/03 23:55 de 127.0.0.1