gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 142

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
Instruction Set
POP
direct
Pop from stack.
Function:
Description:
The contents of the internal RAM location addressed by the Stack Pointer is
read, and the Stack Pointer is decremented by 1. The value read is then
transferred to the directly addressed byte indicated. No flags are affected.
The Stack Pointer originally contains the value 32h, and internal RAM locations
Example:
30h through 32h contain the values 20h, 23h, and 01h, respectively. The
instruction sequence,
POP DPH
POP DPL
will leave the Stack Pointer equal to the value 30H and the Data Pointer set to
0123h. At this point the instruction,
POP SP
will leave the Stack Pointer set to 20h. Note that in this special case the Stack
Pointer was decremented to 2Fh before being loaded with the value popped
(20h).
2
Bytes:
Preliminary
2
Cycles:
Encoding:
1
1
0
1
0 0 0 0
direct address
POP
Operation:
(direct)
((SP))
(SP)
(SP) – 1
Page 142 of 187

Related parts for gc80c520a