English
Language : 

GMS87C4060 Datasheet, PDF (95/102 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
PRELIMINARY
GMS81C4040/87C4060
NO.
MNENONIC
48 CLRV
49 CMP #imm
50 CMP dp
51 CMP dp + X
52 CMP !abs
53 CMP !abs + Y
54 CMP [dp + X]
55 CMP [dp] + Y
56 CMP {X}
57 CMPW dp
58 CMPX #imm
59 CMPX dp
60 CMPX !abs
61 CMPY #imm
62 CMPY dp
63 CMPY !abs
64 COM dp
65 DAA
66 DAS
67 DBNE dp,rel
68 DBNE Y,rel
69 DEC A
70 DEC dp
71 DEC dp + X
72 DEC !abs
73 DEC X
74 DEC Y
75 DECW dp
76 DI
77 DIV
78 EI
79 EOR #imm
80 EOR dp
81 EOR dp + X
82 EOR !abs
83 EOR !abs + Y
84 EOR [ dp + X]
85 EOR [dp] + Y
86 EOR {X}
87 EOR1 M.bit
88 EOR1B M.bit
89 INC A
90 INC dp
91 INC dp + X
92 INC !abs
93 INC X
94 INC Y
95 INCW dp
96 JMP !abs
97 JMP [!abs]
98 JMP [dp]
OP
CODE
80
44
45
46
47
55
56
57
54
5D
5E
6C
7C
7E
8C
9C
2C
DF
CF
AC
7B
A8
A9
B9
B8
AF
BE
BD
60
9B
E0
A4
A5
A6
A7
B5
96
97
94
AB
AB
88
89
99
98
8F
9E
9D
1B
1F
3F
BYTE
NO.
1
2
2
2
3
3
2
2
1
2
2
2
3
2
2
3
2
1
1
3
2
1
2
2
3
1
1
2
1
1
1
2
2
2
3
3
2
2
1
3
3
1
2
2
3
1
1
2
3
3
2
CYCLE
NO
2
2
3
4
4
5
6
6
3
4
2
3
4
2
3
4
4
3
3
5/7
4/6
2
4
5
5
2
2
6
3
12
3
2
3
4
4
5
6
6
3
5
5
2
4
5
5
2
2
6
3
5
4
OPERATION
Clear V-flag : V ← “0”
Compare accumulator contents with memory contents
A - (M)
Compare YA contents with memory pair contents :
YA - (dp+1)(dp)
Compare X contents with memory contents
X - (M)
Compare Y contents with memory contents
Y - (M)
1’s complement : (dp) ← ~(dp)
Decimal adjust for addition
Decimal adjust for substraction
Decrement and branch if not equal :
if (M) ≠ 0, then PC ← PC + rel.
Decrement
M←M-1
Decrement memory pair : (dp+1)(dp) ← {(dp+1)(dp)} - 1
Disable interrupts : I ← “0”
Divide : YA/A ← Q:A, R:Y
Enable interrupts : I ← “1”
Exclusive OR
A ← A ⊕ (M)
Bit exclusive-OR C-flag : C ← C ⊕ (M.bit)
Bit exclusive-OR C-flag and NOT : C ← C ⊕ ∼(M.bit)
Increment
(M) ← (M) + 1
Increment memory pair : (dp+1)(dp) ← {(dp+1)(dp)} + 1
Unconditional jump
PC ← jump address
FLAG
NVGBHIZC
-0--0---
N - - - - - ZC
N - - - - - ZC
N - - - - - ZC
N - - - - - ZC
N-----Z-
N - - - - - ZC
N - - - - - ZC
--------
N-----Z-
N-----Z-
-----0--
NV - - H - Z -
-----1--
N-----Z-
-------C
-------C
N - - - - - ZC
N-----Z-
N-----Z-
--------
Nov. 1999 Ver 1.0
PRELIMINARY
91