Opcode | Encoding | 16-bit | 32-bit | 64-bit | CPUID Feature Flag(s) | Description |
---|---|---|---|---|---|---|
F3 0F 01 EE CLUI | zo | Invalid | Invalid | Valid | uintr | Clear the user interrupt flag. |
Encoding
Encoding | Operand |
---|---|
zo | None |
Description
The CLUI
instruction clears the user interrupt flag (UIF
). The effect takes place immediately. When cleared, user interrupts cannot be delivered.
Operation
public void CLUI()
{
UIF = false;
}
Exceptions
Exception | Mode | Cause of Exception | |||
---|---|---|---|---|---|
Real Mode | Virtual 8086 | Protected and Compatibility | Long Mode | ||
#UD | X | X | If in Real or Virtual-8086 Mode. | ||
X | If in Protected or Compatibility Mode. | ||||
X | If the LOCK prefix is used. | ||||
X | If inside an enclave. | ||||
X | If CR4.UINTR is cleared. |