Difference between revisions of "Assembler:Commands:POP"
Jump to navigation
Jump to search
(Created page with ''''command''' pop ''operand'' POPs (clears) data from the stack. === Command Parameters === {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" !align="…') |
|||
| Line 2: | Line 2: | ||
POPs (clears) data from the stack. | POPs (clears) data from the stack. | ||
| + | |||
| + | Used to restore state after a call to [[Assembler:Commands:PUSH|PUSH]]. | ||
=== Command Parameters === | === Command Parameters === | ||
| Line 28: | Line 30: | ||
== External links == | == External links == | ||
* [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings] | * [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings] | ||
| + | * [https://wikibooks.org/wiki/X86_Assembly/Other_Instructions wikibooks.org/wiki/X86_Assembly/Other_Instructions] | ||
* [http://www.asmpedia.org/index.php?title=Main_Page asmpedia.org] | * [http://www.asmpedia.org/index.php?title=Main_Page asmpedia.org] | ||
Revision as of 10:19, 13 March 2017
command pop operand
POPs (clears) data from the stack.
Used to restore state after a call to PUSH.
Command Parameters
| Parameter | Description |
|---|---|
| operand | The registery or data to pop |
Examples
pop ax
pop eax
pop rax