Difference between revisions of "Assembler:Commands:PUSHA"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
Note: Not available in 64 bit mode. | Note: Not available in 64 bit mode. | ||
+ | |||
+ | <div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | ||
+ | [http://x86.renejeschke.de/html/file_module_x86_id_270.html x86.renejeschke.de/html/file_module_x86_id_270.html] | ||
+ | </div> | ||
+ | |||
=== Command Parameters === | === Command Parameters === | ||
<none> | <none> | ||
− | |||
== Examples == | == Examples == | ||
pusha | pusha | ||
− | |||
== See also == | == See also == | ||
Line 20: | Line 23: | ||
* [[Cheat_Engine:Auto Assembler|Auto Assembler]] | * [[Cheat_Engine:Auto Assembler|Auto Assembler]] | ||
* [[Assembler:Commands|Assembler Commands]] | * [[Assembler:Commands|Assembler Commands]] | ||
− | |||
− | |||
== External links == | == External links == |
Revision as of 07:35, 14 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