English
Language : 

GMS81C50 Datasheet, PDF (86/99 Pages) Hynix Semiconductor – 8-BIT SINGLE CHIP MICROCONTROLLERS
Appendix A. GMS800 Series Instruction
NO.
MNENONIC
40 CALL !abs
41 CALL [dp]
42 CBNE dp,rel
43 CBNE dp + X, rel
44 CLR1 dp.bit
45 CLR1A A.bit
46 CLRC
47 CLRG
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
OP
CODE
3B
5F
FD
8D
y1
2B
20
40
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
BYTE
NO.
3
2
3
3
2
2
1
1
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
CYCLE
NO
8
8
5/7
6/8
4
2
2
2
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
OPERATION
Subroutine call
M(SP) ← (PCH), SP ← SP-1, M(SP) ← (PCL), SP←SP-1
if !abs, PC ← abs ; if [dp], PCL ← (dp), PCH ← (dp+1)
Compare and branch if not equal ;
If A ≠ (M), then PC ← PC + rel.
Clear bit : (M.bit) ← “0”
Clear A.bit : (A.bit) ← “0”
Clear C-flag : C ← “0”
Clear G-flag : G ← “0”
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/X ← Q:A, R:Y
Enable interrupts : I ← “1”
FLAG
NVGBHIZC
--------
--------
--------
--------
-------0
--0-----
-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--
A-3