8051 Instruction Set Manual

POP

The POP instruction reads a byte from the address indirectly referenced by the SP register. The value read is stored at the specified address and the stack pointer is decremented. No flags are affected by this instruction.

See Also: PUSH

POP direct
CACF0RS1RS0OV P
Bytes2
Cycles2
Encoding
11010000direct
Operation
POP
(direct) = (SP)
SP = SP - 1
Example
POP 34h