You are here : assembly8086POP

POP - 8086

Get 16 bit value from the stack.

Algorithm:

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


Syntax

POP Reg
POP SReg
POP memory


Example

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


Output / Return Value


Limitations


Alternatives / See Also


Reference