Pop Yh; Pop Stack Data Into Yh; Pop Yl; Pop Stack Data Into Yl - Epson 6200A Core Cpu Manual

Core cpu cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

3 INSTRUCTION SET

POP YH

Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:

POP YL

Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
66

Pop stack data into YH

POP YH
YH
M(SP), SP
SP + 1
1 1 1 1 1 1 0 1
MSB
VI
5
C –
Not affected
Z –
Not affected
D –
Not affected
I –
Not affected
Loads the contents of the data memory location addressed by the stack pointer
into YH, the four high-order bits of Y. SP is incremented by 1.
SP
C1
Memory (C1H)
1101
YH register
0010

Pop stack data into YL

POP YL
YL
M(SP), SP
SP + 1
1 1 1 1 1 1 0 1
MSB
VI
5
C –
Not affected
Z –
Not affected
D –
Not affected
I –
Not affected
Loads the contents of the data memory location addressed by the stack pointer
into YL, the four low-order bits of Y. SP is incremented by 1.
SP
CA
Memory (CAH)
0100
YL register
0101
1 0 0 0
FD8H
LSB
M(SP) =
POP YH
C2
1101
1101
1 0 0 1
FD9H
LSB
POP YL
M(SP) =
CB
0100
0100
EPSON
3
2
1
0
2
2
2
2
2
0
1
2
= YH
2
2
2
3
2
3
2
2
2
1
2
0
0
2
2
1
= YL
2
2
3
2
S1C6200/6200A CORE CPU MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c6200S1c6200a

Table of Contents