Difference between revisions of "Assembler:Commands:POP"

From Cheat Engine
Jump to navigation Jump to search
Line 4: Line 4:
  
 
Used to restore state after a call to [[Assembler:Commands:PUSH|PUSH]].
 
Used to restore state after a call to [[Assembler:Commands:PUSH|PUSH]].
 +
 +
Loads the value from the top of the stack to the location specified with the destination operand and then increments the stack pointer. The destination operand can be a general-purpose register, memory location, or segment register.
  
 
=== Command Parameters ===
 
=== Command Parameters ===
Line 27: Line 29:
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Assembler:Commands|Assembler Commands]]
 
* [[Assembler:Commands|Assembler Commands]]
 +
 +
* [http://x86.renejeschke.de/html/file_module_x86_id_248.html x86.renejeschke.de/html/file_module_x86_id_248.html]
  
 
== External links ==
 
== External links ==

Revision as of 04:51, 14 March 2017

command pop operand

POPs (clears) data from the stack.

Used to restore state after a call to PUSH.

Loads the value from the top of the stack to the location specified with the destination operand and then increments the stack pointer. The destination operand can be a general-purpose register, memory location, or segment register.

Command Parameters

Parameter Description
operand The registery or data to pop


Examples

pop ax
pop eax
pop rax


See also

External links