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.
CLI/STI Instruction
 Detail Key Example                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Clear or Set Interrupt Flag           Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   CLI                                              ±
            STI
 
  Description:
 
     CLI clears the interrupt flag; STI sets it. When the interrupt
     flag is cleared, pending maskable interrupts are not recognized
     immediately; they will be executed after the instruction
     following an STI instruction.
 
     In protected mode, CLI only clears the flag if the current task's
     privilege level is less than or equal to the value of the IOPL
     flag. Otherwise, a general-protection fault occurs.
                                    -♦-