IA-32 Assembly Language Reference Manual

Clear Interrupt Flag (cli)

cli
Operation

0 -> IF

Description

Clears the interrupt flag if the current privilege level is at least as privileged as IOPL; affects no other flags. External interrupts disabled at the end of the cli instruction or from that point on until the interrupt flag is set.

Example

Clear the interrupt flag:

cli