Difference between revisions of "Assembler:Commands:PUSH"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
PUSHes (saves) data onto the stack. | PUSHes (saves) data onto the stack. | ||
+ | |||
<div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | <div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | ||
Line 8: | Line 9: | ||
[http://x86.renejeschke.de/html/file_module_x86_id_269.html x86.renejeschke.de/html/file_module_x86_id_269.html] | [http://x86.renejeschke.de/html/file_module_x86_id_269.html x86.renejeschke.de/html/file_module_x86_id_269.html] | ||
</div> | </div> | ||
+ | |||
=== Command Parameters === | === Command Parameters === |
Revision as of 07:19, 14 March 2017
command push operand
PUSHes (saves) data onto the stack.
Decrements the stack pointer and then stores the source operand on the top of the stack.
Command Parameters
Parameter | Description |
---|---|
operand | The registery or data to push |
Examples
push ax
push eax
push rax