|
Slide 10.3: PUSH and POP instructions Slide 10.5: Defining and using procedures Home |
|
PUSHFD and POPFD Instructions
PUSHFD pushes the 32-bit EFLAGS register on the stack, and POPFD pops the stack into EFLAGS.
PUSHAD and POPAD Instructions
PUSHAD instruction pushes all of the 32-bit general-purpose registers on the stack in the following order: EAX, ECX, EDX, EBX, ESP (value before executing PUSHAD), EBP, ESI, and EDI.
The POPAD instruction pops the same registers off the stack in reverse order.