Difference between revisions of "Assembler:Commands:POP"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
 
'''command''' pop ''operand''
 
'''command''' pop ''operand''
  
POPs (clears) data from the stack.
+
POPs (restores) data from the stack.
  
 
Used to restore state after a call to [[Assembler:Commands:PUSH|PUSH]].
 
Used to restore state after a call to [[Assembler:Commands:PUSH|PUSH]].
  
 +
 +
<div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;">
 
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.
 
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.
 +
 +
[http://x86.renejeschke.de/html/file_module_x86_id_248.html x86.renejeschke.de/html/file_module_x86_id_248.html]
 +
</div>
 +
  
 
=== Command Parameters ===
 
=== Command Parameters ===
Line 23: Line 29:
  
 
  pop rax
 
  pop rax
 
  
 
== See also ==
 
== See also ==
Line 29: Line 34:
 
* [[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 07:21, 14 March 2017

command pop operand

POPs (restores) 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.

x86.renejeschke.de/html/file_module_x86_id_248.html


Command Parameters

Parameter Description
operand The registery or data to pop


Examples

pop ax
pop eax
pop rax

See also

External links