Difference between revisions of "Assembler:Commands:PUSH"
Jump to navigation
Jump to search
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | [[Category:Assembler]] | ||
'''command''' push ''operand'' | '''command''' push ''operand'' | ||
PUSHes (saves) data onto the stack. | PUSHes (saves) data onto the stack. | ||
| + | |||
| + | |||
| + | <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. | ||
| + | |||
| + | [http://c9x.me/x86/html/file_module_x86_id_269.html c9x.me/x86/html/file_module_x86_id_269.html] | ||
| + | </div> | ||
| + | |||
=== Command Parameters === | === Command Parameters === | ||
| Line 21: | Line 30: | ||
| − | + | {{AssemblerCommandSeeAlso}} | |
| − | |||
| − | |||
| − | |||
| − | + | {{Template:AssemblerCommandExternalLinks}} | |
| − | |||
| − | |||
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