Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>cli clear interrupt-enable flag flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CLI             Clear Interrupt-Enable Flag          Flags: O D I T S Z A P C
                                                            - - 0 - - - - - -
CLI                                                  IO

        Logic   IF . 0

    External interrupts are ignored at the end of CLI until the
    interrupt flag (IF) is set to one. Non-maskable interrupts are
    recognized no matter what the state of IF. CLI and STI have no
    effect on software interrupts - those generated by an INT
    instruction or by the occurrence of a divide fault and similar
    conditions.

    Protected mode
    If the current privilege level (CPL) is at least as privileged as
    the input/output privilege level (IOPL -- bits 12 and 13 of the
    FLAGS register), CLI resets IF to zero. A general protection
    exception generated is if the program does not have the correct
    I/O privilege.


    Opcode      Format
    FA          CLI


    Length and timing
    Operands    Bytes   8088    186     286     386     486     Pentium
    -            1       2       2       3       3       5       7   NP

See Also: STI INT Flags IOPL Exceptions

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson