English
Language : 

S3P7588X Datasheet, PDF (170/326 Pages) Samsung semiconductor – 4-BIT RISC MICROPROCESSOR
S3P7588X
INSTRUCTION SET
POP — Pop From Stack
POP
dst
Operation:
Operand
RR
SB
Operation Summary
Pop to register pair from stack
Pop SMB and SRB values from stack
Bytes
1
2
Cycles
1
2
Description: The contents of the RAM location addressed by the stack pointer is read, and the SP is
incremented by two. The value read is then transferred to the variable indicated by the
destination operand.
Operand
RR
SB
Binary Code
Operation Notation
0 0 1 0 1 r2 r1 0 RRL ← (SP), RRH ← (SP+1)
SP ← SP+2
1 1 0 1 1 1 0 1 (SRB) ← (SP), SMB ← (SP+1),
SP ← SP+2
01100110
Example:
The SP value is equal to 0EDH, and RAM locations 0EFH through 0EDH contain the values 2H,
3H, and 4H, respectively. The instruction
POP
HL
leaves the stack pointer set to 0EFH and the data pointer pair HL set to 34H.
5-73