Clear User Interrupt Flag

Encoding

EncodingOperand
zoNone

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

ExceptionModeCause of Exception
Real
Mode
Virtual
8086
Protected and CompatibilityLong
Mode
#UDXX If in Real or Virtual-8086 Mode.
X If in Protected or Compatibility Mode.
XIf the LOCK prefix is used.
XIf inside an enclave.
XIf CR4.UINTR is cleared.