Push Xp; Push Xp Onto Stack; Push Yh; Push Yh Onto Stack - Epson 6200A Core Cpu Manual

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

Advertisement

3 INSTRUCTION SET

PUSH XP

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

PUSH YH

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

Push XP onto stack

PUSH XP
SP'
SP - 1, M(SP')
1 1 1 1 1 1 0 0
MSB
VI
5
C –
Not affected
Z –
Not affected
D –
Not affected
I –
Not affected
Decrements the stack pointer by 1 and loads the contents of XP, the page part of
IX, into the data memory location addressed by SP.
SP
D0
Memory (CFH)
0011
XP register
0000

Push YH onto stack

PUSH YH
SP'
SP - 1, M(SP')
1 1 1 1 1 1 0 0
MSB
VI
5
C –
Not affected
Z –
Not affected
D –
Not affected
I –
Not affected
Decrements the stack pointer by 1 and loads the contents of YH, the four high-
order bits of YHL, into the data memory location addressed by SP.
SP
BF
Memory (BEH)
0100
YH register
0001
XP
0 1 0 0
LSB
M(SP) =
PUSH XP
CF
0000
0000
YH
1 0 0 0
LSB
M(SP) =
PUSH YH
BE
0001
0001
EPSON
FC4H
3
2
1
0
2
2
2
2
2
2
2
2
FC8H
2
3
2
2
2
1
2
0
2
2
2
2
S1C6200/6200A CORE CPU MANUAL
0
1
= XP
2
3
0
1
= YH
2
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c6200S1c6200a

Table of Contents