popaw

Pop all general-purpose registers, 16-bit

Pops eight 16-bit words into di, si, bp, bx, dx, cx and ax, discarding the saved sp.

186 and laterNot available in 64-bit mode

Intel's reference: POPA/POPAD

CFPFAFZFSFDFOF –––––––
  • Changes no flag

Forms

  • popaw

It is intended to reverse the operation of PUSHAW, but it ignores the value for SP that was pushed on the stack by PUSHAW.

  • POPAD pops twice as much data, and places the results in EDI, ESI, EBP, nothing (placeholder for ESP), EBX, EDX, ECX and EAX. It reverses the operation of PUSHAD.

POPA is an alias mnemonic for either POPAW or POPAD, depending on the current BITS setting.

Note that the registers are popped in reverse order of their numeric values in opcodes.