Difference between revisions of "Assembler:Commands:PUSHA"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Assembler]] | ||
'''command''' pusha | '''command''' pusha | ||
Line 8: | Line 9: | ||
Note: Not available in 64 bit mode. | Note: Not available in 64 bit mode. | ||
− | |||
− | |||
+ | {{AssemblerCommandParametersNone}} | ||
== Examples == | == Examples == | ||
pusha | pusha | ||
+ | {{AssemblerCommandSeeAlso}} | ||
− | + | {{Template:AssemblerCommandExternalLinks}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:32, 3 January 2018
command pusha
This instruction PUSHes all the general purpose registers onto the stack in the following order: AX, CX, DX, BX, SP, BP, SI, DI. The value of SP pushed is the value before the instruction is executed. It is useful for saving state before an operation that could potential change these registers.
Note: Not available in 64 bit mode.
Command Parameters[edit]
<none>
Examples[edit]
pusha