Difference between revisions of "Assembler:Commands:PUSHA"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
* [http://x86.renejeschke.de/ x86.renejeschke.de] | * [http://x86.renejeschke.de/ x86.renejeschke.de] | ||
* [http://www.asmpedia.org/index.php?title=Main_Page asmpedia.org] | * [http://www.asmpedia.org/index.php?title=Main_Page asmpedia.org] | ||
+ | * [http://ref.x86asm.net/ ref.x86asm.net] |
Revision as of 04:35, 15 March 2017
command pusha
This instruction PUSHes all the general purpose registers onto the stack in the following order: AX, CX, DX, BX, SP, BP, SI, DI. The value of SP 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
<none>
Examples
pusha