English
Language : 

GMS81C50 Datasheet, PDF (85/99 Pages) Hynix Semiconductor – 8-BIT SINGLE CHIP MICROCONTROLLERS
Appendix A. GMS800 Series Instruction
2. Alphabetic order table of instruction
NO.
MNENONIC
1 ADC #imm
2 ADC dp
3 ADC dp + X
4 ADC !abs
5 ADC !abs+Y
6 ADC [dp+X]
7 ADC [dp]+Y
8 ADC {X}
9 ADDW dp
10 AND #imm
11 AND dp
12 AND dp + X
13 AND !abs
14 AND !abs+Y
15 AND [dp+X]
16 AND [dp] + Y
17 AND {X}
18 AND1 M.bit
19 AND1B M.bit
20 ASL A
21 ASL dp
22 ASL dp + X
23 ASL !abs
24 BBC A.bit,rel
25 BBC dp.bit,rel
26 BBS A.bit,rel
27 BBS dp.bit,rel
28 BCC rel
29 BCS rel
30 BEQ rel
31 BIT dp
32 BIT !abs
33 BMI rel
34 BNE rel
35 BPL rel
36 BRA rel
37 BRK
38 BVC rel
39 BVS rel
OP
CODE
04
05
06
07
15
16
17
14
1D
84
85
86
87
95
96
97
94
8B
8B
08
09
19
18
y2
y3
x2
x3
50
D0
F0
0C
1C
90
70
10
2F
0F
30
B0
BYTE
NO.
2
2
2
3
3
2
2
1
2
2
2
2
3
3
2
2
1
3
3
1
2
2
3
2
3
2
3
2
2
2
2
3
2
2
2
2
1
2
2
CYCLE
NO
2
3
4
4
5
6
6
3
5
2
3
4
4
5
6
6
3
4
4
2
4
5
5
4/6
5/7
4/6
5/7
2/4
2/4
2/4
4
5
2/4
2/4
2/4
4
8
2/4
2/4
Add with carry.
A ← A + (M) + C
OPERATION
16-bits add without carry : YA ← YA + (dp+1)(dp)
Logical AND
A ← A ^ (M)
Bit AND C-flag : C ← C ^ (M.bit)
Bit AND C-flag and NOT : C ← C ^ ~(M.bit)
Arithmetic shift left
C 76543210
← ← ← ← ← ← ← ← ← ← "0"
Branch if bit clear :
if(bit) = 0, then PC ← PC + rel
Branch if bit clear :
if(bit) = 1, then PC ← PC + rel
Branch if carry bit clear :
if(C) = 0, then PC ← PC + rel
Branch if carry bit set : If (C) =1, then PC ← PC + rel
Branch if equal : if (Z) = 1, then PC ← PC + rel
Bit test A with memory :
Z ← A ^ M, N ← (M7), V ← (M6)
Branch if munus : if (N) = 1, then PC ← PC + rel
Branch if not equal : if (Z) = 0, then PC ← PC + rel
Branch if not minus : if (N) = 0, then PC ← PC + rel
Branch always : PC ← PC + rel
Software interrupt:
B ← “1”, M(SP) ← (PCH), SP ← SP - 1,
M(s) ← (PCL), SP ← S - 1, M(SP) ← PSW,
SP ← SP - 1, PCL ← (0FFDEH), PCH ← (0FFDFH)
Branch if overflow bit clear :
If (V) = 0, then PC ← PC + rel
Branch if overflow bit set :
If (V) = 1, then PC ← PC + rel
FLAG
NVGBHIZC
NV - - H - ZC
NV - - H - ZC
N-----Z-
-------C
-------C
N - - - - - ZC
--------
--------
MM - - - - Z -
--------
--------
MM - - - - Z -
--------
--------
--------
--------
---1-0--
--------
--------
A-2