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. | ||
− | |||
− | |||
</div> | </div> | ||
Line 32: | Line 30: | ||
{{AssemblerCommandSeeAlso}} | {{AssemblerCommandSeeAlso}} | ||
− | + | {{Template:AssemblerCommandExternalLinks}} | |
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 15:31, 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
Parameter | Description |
---|---|
operand | The registery or data to push |
Examples
push ax
push eax
push rax