1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
4 <TITLE>80386 Programmer's Reference Manual -- Opcode CLI
</TITLE>
7 <B>up:
</B> <A HREF=
"c17.htm">
8 Chapter
17 --
80386 Instruction Set
</A><BR>
9 <B>prev:
</B><A HREF=
"CLD.htm"> CLD Clear Direction Flag
</A><BR>
10 <B>next:
</B><A HREF=
"CLTS.htm"> CLTS Clear Task-Switched Flag in CR0
</A>
14 <H1>CLI -- Clear Interrupt Flag
</H1>
17 Opcode Instruction Clocks Description
19 FA CLI
3 Clear interrupt flag; interrupts disabled
31 CLI clears the interrupt flag if the current privilege level is at least as
32 privileged as IOPL. No other flags are affected. External interrupts are not
33 recognized at the end of the CLI instruction or from that point on until the
34 interrupt flag is set.
36 <H2>Flags Affected
</H2>
40 <H2>Protected Mode Exceptions
</H2>
42 #GP(
0) if the current privilege level is greater (has less privilege) than
43 the IOPL in the flags register. IOPL specifies the least privileged level at
44 which I/O can be performed.
46 <H2>Real Address Mode Exceptions
</H2>
50 <H2>Virtual
8086 Mode Exceptions
</H2>
52 #GP(
0) as for Protected Mode
58 <B>up:
</B> <A HREF=
"c17.htm">
59 Chapter
17 --
80386 Instruction Set
</A><BR>
60 <B>prev:
</B><A HREF=
"CLD.htm"> CLD Clear Direction Flag
</A><BR>
61 <B>next:
</B><A HREF=
"CLTS.htm"> CLTS Clear Task-Switched Flag in CR0
</A>