Difference between revisions of "Assembler:Commands:PUSHAD"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Note: Not available in 64 bit mode. | Note: Not available in 64 bit mode. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 22: | Line 17: | ||
{{AssemblerCommandSeeAlso}} | {{AssemblerCommandSeeAlso}} | ||
− | + | {{Template:AssemblerCommandExternalLinks}} | |
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:32, 3 January 2018
command pushad
This instruction PUSHes all the general purpose registers onto the stack in the following order: EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI. The value of ESP pushed is the value before the instruction is executed. It is useful for saving state before an operation that could potential change these registers.
Note: Not available in 64 bit mode.
Command Parameters[edit]
<none>
Examples[edit]
pushad