popfw

8086 and later

Pop Flags Register

popfw
  • POPFW pops a word from the stack and stores it in the bottom 16 bits of the flags register (or the whole flags register, on processors below a 386).

  • POPFD pops a doubleword and stores it in the entire flags register.

POPF is an alias mnemonic for either POPFW or POPFD, depending on the current BITS setting.

See also PUSHF (PUSHF).

Forms

Every form of popfw the assembler accepts.

FormSinceNotes
popfw 8086