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. | ||
+ | |||
+ | Decrements the stack pointer and then stores the source operand on the top of the stack. | ||
=== Command Parameters === | === Command Parameters === |
Revision as of 04:56, 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