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.
INT Instruction
 Detail Key Example                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Interrupt                             Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   INT number                                       0 0
 
  See also: IRET, STI, INTO, DOS Calls, BIOS Calls
 
  Description:
 
     Generates a software interrupt. An 8-bit constant operand
     (0 to 255) specifies the interrupt procedure to be called. The
     call is made by indexing the interrupt number into the Interrupt
     Descriptor Table (IDT) starting at segment 0, offset 0.
 
     In real mode, the IDT contains 4-byte pointers to interrupt
     procedures. In privileged mode, the IDT contains 8-byte pointers.
 
     When an interrupt is called in real mode, the flags, CS, and then
     IP are pushed onto the stack, and the trap and interrupt flags are
     cleared.
 
     You can use STI to restore interrupts. See Intel documentation and
     your operating-system documentation for details on using and
     defining interrupts in privileged mode. To return from an
     interrupt, use the IRET instruction.
                                    -♦-