Difference between revisions of "Assembler:Commands:PUSHA"

From Cheat Engine
Jump to navigation Jump to search
Line 14: Line 14:
  
  
=== Command Parameters ===
+
{{AssemblerCommandParametersNone}}
<none>
 
  
 
== Examples ==
 
== Examples ==
 
  pusha
 
  pusha
  
== See also ==
+
{{AssemblerCommandSeeAlso}}
* [[Assembler]]
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Assembler:Commands|Assembler Commands]]
 
  
 
== External links ==
 
== External links ==

Revision as of 22:17, 19 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.

x86.renejeschke.de/html/file_module_x86_id_270.html


Command Parameters

<none>

Examples

pusha

See also

External links