Opcode/ Instruction |
Op/ En |
64/32 bit Mode Support |
CPUID Feature Flag |
Description |
F3 0F 01 EF STUI |
ZO |
V/I |
UINTR |
Set user interrupt flag. |
Op/En |
Tuple |
Operand 1 |
Operand 2 |
Operand 3 |
Operand 4 |
ZO |
N/A |
N/A |
N/A |
N/A |
N/A |
STUI sets the user interrupt flag (UIF). Its effect takes place immediately; a user interrupt may be delivered on the instruction boundary following STUI. (This is in contrast with STI, whose effect is delayed by one instruction).
An execution of STUI inside a transactional region causes a transactional abort; the abort loads EAX as it would have had it been due to an execution of STI.
UIF := 1;
None.
#UD |
The STUI instruction is not recognized in protected mode. |
#UD |
The STUI instruction is not recognized in real-address mode. |
#UD |
The STUI instruction is not recognized in virtual-8086 mode. |
#UD |
The STUI instruction is not recognized in compatibility mode. |
#UD |
If the LOCK prefix is used. If executed inside an enclave. If CR4.UINTR = 0. If CPUID.07H.0H:EDX.UINTR[bit 5] = 0. |