◄Detail► ◄Key► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Title: Interrupt Return Flags: O D I T S Z A P C ═════════════════ Syntax: IRET[F] ± ± ± ± ± ± ± ± ± IRETD[F] See also: INT, PROC, OPTION EPILOGUE: Description: Returns control from an interrupt procedure to the interrupted code. In real mode, the IRET instruction pops IP, CS, and the flags (in that order) and resumes execution. See Intel documentation for details on IRET operation in privileged mode. On the 80386/486, use the IRETD instruction to pop a 32-bit instruction pointer when returning from an interrupt called from a 32-bit segment. The F suffix prevents epilogue code from being generated when ending a PROC block. Use it to terminate interrupt service procedures. -♦-