POPA            Pop All General Registers            Flags: Not altered

POPA CPU: 186+
POPAD CPU: 386+

Logic POP eDI
POP eSI
POP eBP
ADD eSP,n
POP eBX
POP eDX
POP eCX
POP eAX

POPA pops the eight general registers from the stack. The value
for the stack pointer is discarded instead of loaded into SP/ESP.
POPA reverses the action of a previous PUSHA instruction.

POPAD is the 32-bit form of POPA.


Note
Some assemblers support a POPA extension (POPAW) that forces 8
16-bit word-style pop's regardless of the code segment's size
attribute (80386+).


Opcode Format
61 POPA
61 POPAD


Length and timing
Variations Bytes 8088 186 286 386 486 Pentium
popa 1 51 19 24 9 5 NP
popad 1 - - 24 9 5 NP