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, setting and/or clearing:
“it is finally as though that thing of monstrous interest
were happening in the sky
but the sun is setting and prevents you from seeing it”
—John Ashbery (b. 1927)
“something far more deeply interfused,
Whose dwelling is the light of setting suns,”
—William Wordsworth (17701850)
“Though the words Canada East on the map stretch over many rivers and lakes and unexplored wildernesses, the actual Canada, which might be the colored portion of the map, is but a little clearing on the banks of the river, which one of those syllables would more than cover.”
—Henry David Thoreau (18171862)