Keil Logo Arm Logo

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
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 2
Encoding
11010000 direct
Operation
POP
(direct) = (SP)
SP = SP - 1
Example
POP 34h

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.