3-69
INSTRUCTION SET REFERENCE
CLIClear Interrupt Flag (Continued)
Operation
IF PE = 0 (* Executing in real-address mode *)
THEN
IF
<
0;
ELSE
IF VM = 0 (* Executing in protected mode *)
THEN
IF CPL
?
IOPL
THEN
IF
<
0;
ELSE
#GP(0);
FI;
FI;
ELSE (* Executing in Virtual-8086 mode *)
IF IOPL = 3
THEN
IF
< 0
ELSE
#GP(0);
FI;
FI;
FI;
Flags Affected
The IF is cleared to 0 if the CPL is equal to or less than the IOPL; otherwise, it is not affected.
The other flags in the EFLAGS register are unaffected.
Protected Mode Exceptions
#GP(0)
If the CPL is greater (has less privilege) than the IOPL of the current
program or procedure.
Real-Address Mode Exceptions
None.
Virtual-8086 Mode Exceptions
#GP(0)
If the CPL is greater (has less privilege) than the IOPL of the current
program or procedure.