Setting and Clearing
The flag may be set or cleared using the CLI (Clear Interrupts), STI (Set Interrupts) and POPF (Pop Flags) instructions.
CLI clears IF (sets to 0), while STI sets IF to 1. POPF pops 16 bits off the stack into the FLAGS register, which means IF will be set or cleared based on the ninth bit on the top of the stack.
Read more about this topic: Interrupt Flag
Famous quotes containing the words setting and/or clearing:
“A fit abode for a poet. Stage setting at least correct.”
—Ezra Pound (18851972)
“[Panurge] spent everything in a thousand little banquets and joyous feasts open to all comers, particularly jolly companions, young lasses, and delightful wenches, and in clearing his lands, burning the big logs to sell the ashes, taking money in advance, buying dear, selling cheap, and eating his wheat in the blade.”
—François Rabelais (14941553)