popad

Pop all general-purpose registers, 32-bit

Pops eight 32-bit values into edi, esi, ebp, ebx, edx, ecx and eax, discarding the saved esp.

386 and laterNot available in 64-bit mode

Intel's reference: POPA/POPAD

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

Forms

  • popad

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.