Difference between revisions of "Assembler:Commands:PUSH"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | <div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> | ||
Decrements the stack pointer and then stores the source operand on the top of the stack. | Decrements the stack pointer and then stores the source operand on the top of the stack. | ||
+ | |||
+ | [http://c9x.me/x86/html/file_module_x86_id_269.html c9x.me/x86/html/file_module_x86_id_269.html] | ||
</div> | </div> | ||
Latest revision as of 16:03, 3 January 2018
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[edit]
Parameter | Description |
---|---|
operand | The registery or data to push |
Examples[edit]
push ax
push eax
push rax