You are here : assembly8086PUSH

PUSH - 8086

Store 16 bit value in the stack.

Algorithm:

  •  SP = SP - 2
  •  SS:[SP] (top of the stack) = operand


Syntax

PUSH REG
PUSH SREG
PUSH memory


Example

MOV AX, 1234h
PUSH AX
POP DX ; DX = 1234h
RET


Output / Return Value


Limitations


Alternatives / See Also


Reference