English
Language : 

GMS82524 Datasheet, PDF (83/93 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
HYUNDAI MicroElectronics
GMS82512/16/24
NO.
MNENONIC
OP BYTE CYCLE
CODE NO. NO
OPERATION
FLAG
NVGBHIZC
40 CALL !abs
3B
3
8
Subroutine call
41 CALL [dp]
5F
2
8
M(SP)(PCH), SPSP-1, M(SP)(PCL), SPSP-1 - - - - - - - -
if !abs, PC  abs ; if [dp], PCL  (dp), PCH  (dp+1)
42 CBNE dp,rel
FD
3
5/7 Compare and branch if not equal ;
43
CBNE dp + X,
rel
8D
3
6/8 If A ≠ (M), then PC  PC + rel.
--------
44 CLR1 dp.bit
y1
2
4
Clear bit : (M.bit)  “0”
--------
45 CLR1A A.bit
2B
2
2
Clear A.bit : (A.bit)  “0”
--------
46 CLRC
20
1
2
Clear C-flag : C  “0”
-------0
47 CLRG
40
1
2
Clear G-flag : G  “0”
--0-----
48 CLRV
49 CMP #imm
80
1
44
2
2
Clear V-flag : V  “0”
-0--0---
2
Compare accumulator contents with memory contents
50 CMP dp
45
2
3
A - (M)
51 CMP dp + X
46
2
4
52 CMP !abs
47
3
4
53 CMP !abs + Y 55
3
5
N - - - - - ZC
54 CMP [dp + X] 56
2
6
55 CMP [dp] + Y 57
2
6
56 CMP {X}
54
1
3
57 CMPW dp
5D
2
4
Compare YA contents with memory pair contents :
N - - - - - ZC
YA - (dp+1)(dp)
58 CMPX #imm
5E
2
2
Compare X contents with memory contents
59 CMPX dp
6C
2
3
X - (M)
N - - - - - ZC
60 CMPX !abs
7C
3
4
61 CMPY #imm
7E
2
2
Compare Y contents with memory contents
62 CMPY dp
8C
2
3
Y - (M)
N - - - - - ZC
63 CMPY !abs
9C
3
4
64 COM dp
65 DAA
2C
2
DF
1
4
1’s complement : (dp)  (dp)
3
Decimal adjust for addition
N-----Z-
N - - - - - ZC
66 DAS
CF
1
3
Decimal adjust for substraction
N - - - - - ZC
67 DBNE dp,rel AC
3
5/7 Decrement and branch if not equal :
68 DBNE Y,rel
7B
2
4/6 if (M) ≠ 0, then PC  PC + rel.
69 DEC A
A8
1
2
Decrement
--------
70 DEC dp
A9
2
4
MM - 1
71 DEC dp + X
B9
2
5
72 DEC !abs
B8
3
5
N-----Z-
73 DEC X
AF
1
2
74 DEC Y
BE
1
2
75 DECW dp
BD
2
6
Decrement memory pair : (dp+1)(dp)  {(dp+1)(dp)} - 1 N - - - - - Z -
76 DI
60
1
3
Disable interrupts : I  “0”
-----0--
77 DIV
9B
1
12 Divide : YA  A  Q:A, R:Y
NV - - H - Z -
78 EI
E0
1
3
Enable interrupts : I  “1”
-----1--
FEB. 2000 Ver 1.00
x