Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
IRETDF Instruction
 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.
                                    -♦-