SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 231

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Operation:
Encoding:
Bytes:
Cycles:
POP
Function:
Description:
Example:
Semiconductor Group
direct
Pop from stack
The contents of the internal RAM location addressed by the stack pointer is read,
and the stack pointer is decremented by one. The value read is the transfer to the
directly addressed byte indicated. No flags are affected.
The stack pointer originally contains the value 32 H , and internal RAM locations 30 H
through 32 H contain the values 20 H , 23 H , and 01 H , respectively. The instruction
sequence
POP
POP
will leave the stack pointer equal to the value 30 H and the data pointer set to 0123 H .
At this point the instruction
POP
will leave the stack pointer set to 20 H . Note that in this special case the stack pointer
was decremented to 2F H before being loaded with the value popped (20 H ).
POP
(direct)
(SP)
2
2
1 1 0 1
(SP) – 1
DPH
DPL
SP
((SP))
0 0 0 0
direct address
232
Instruction Set

Related parts for SAB80C517-M16