
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
MSB
LSB
MSB
LSB
C –
Z –
D –
I –
C –
Z –
D –
I –
S1C6200/6200A CORE CPU MANUAL
EPSON
37
3 INSTRUCTION SET
CP YH,i
Compare immediate data i with YH
CP YH,i
YH - i
3
to i
0
1
0
1
0
0
1
1
0
i
3
i
2
i
1
i
0
A60H to A6FH
IV
7
Set if YH < i
3
to i
0
; otherwise, reset.
Set if YH = i
3
to i
0
; otherwise, reset.
Not affected
Not affected
Compares immediate data i to YH by subtracting i from the contents of YH. YH
remains unchanged.
1. When Z = 0 and C = 0 then i < YH
2. When Z = 1 and C = 0 then i = YH
3. When Z = 0 and C = 1 then i > YH
CP YH,0AH
CP YH,3
CP YH,0FH
YH register
1010
1010
1010
1010
C flag
1
0
0
1
Z flag
0
1
0
0
CP YL,i
Compare immediate data i with YL
CP YL,i
YL - i
3
to i
0
1
0
1
0
0
1
1
1
i
3
i
2
i
1
i
0
A70H to A7FH
IV
7
Set if YL < i
3
to i
0
; otherwise, reset.
Set if YL = i
3
to i
0
; otherwise, reset.
Not affected
Not affected
Compares immediate data i to YL by subtracting i from the contents of YL. YL
remains unchanged.
1. When Z = 0 and C = 0 then i < YL
2. When Z = 1 and C = 0 then i = YL
3. When Z = 0 and C = 1 then i > YL
CP YL,5
CP YL,1
CP YL,4
YL register
0100
0100
0100
0100
C flag
0
1
0
0
Z flag
1
0
0
1
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
Summary of Contents for 6200A
Page 1: ...MF297 07a Core CPU Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C6200 6200A ...
Page 4: ......
Page 6: ......