pushfd

386 and later

Push Flags Register

pushfd
  • PUSHFW pushes the bottom 16 bits of the flags register (or the whole flags register, on processors below a 386) onto the stack.

  • PUSHFD pushes the entire flags register onto the stack.

PUSHF is an alias mnemonic for either PUSHFW or PUSHFD, depending on the current BITS setting.

See also POPF (POPF).

No example here: this instruction either stops the program, or belongs to a mode this emulator does not run.

Forms

Every form of pushfd the assembler accepts, from NASM's own instruction table. The second column is the processor that introduced the form; a badge marks a form that needs an extension, that is lockable, or that long mode dropped.

FormSinceNotes
pushfd 386