命令コード早見表
すべて「KUE-CHIP2教育用ボードリファレンスマニュアル」からの抜粋です
ACCに対する代入および算術命令
|
ACC |
IX |
d |
[d] |
(d) |
[IX+d] |
(IX+d) |
LD ACC, |
60 |
61 |
62 |
64 |
65 |
66 |
67 |
ST ACC, |
- |
- |
- |
74 |
75 |
76 |
77 |
SBC ACC, |
80 |
81 |
82 |
84 |
85 |
86 |
87 |
ADC ACC, |
90 |
91 |
92 |
94 |
95 |
96 |
97 |
SUB ACC, |
A0 |
A1 |
A2 |
A4 |
A5 |
A6 |
A7 |
ADD ACC, |
B0 |
B1 |
B2 |
B4 |
B5 |
B6 |
B7 |
EOR ACC, |
C0 |
C1 |
C2 |
C4 |
C5 |
C6 |
C7 |
OR ACC, |
D0 |
D1 |
D2 |
D4 |
D5 |
D6 |
D7 |
AND ACC, |
E0 |
E1 |
E2 |
E4 |
E5 |
E6 |
E7 |
CMP ACC, |
F0 |
F1 |
F2 |
F4 |
F5 |
F6 |
F7 |
IXに対する代入および算術命令
|
ACC |
IX |
d |
[d] |
(d) |
[IX+d] |
(IX+d) |
LD IX, |
68 |
69 |
6A |
6C |
6D |
6E |
6F |
ST IX, |
- |
- |
- |
7C |
7D |
7E |
7F |
SBC IX, |
88 |
89 |
8A |
8C |
8D |
8E |
8F |
ADC IX, |
98 |
99 |
9A |
9C |
9D |
9E |
9F |
SUB IX, |
A8 |
A9 |
AA |
AC |
AD |
AE |
AF |
ADD IX, |
B8 |
B9 |
BA |
BC |
BD |
BE |
BF |
EOR IX, |
C8 |
C9 |
CA |
CC |
CD |
CE |
CF |
OR IX, |
D8 |
D9 |
DA |
DC |
DD |
DE |
DF |
AND IX, |
E8 |
E9 |
EA |
EC |
ED |
EE |
EF |
CMP IX, |
F8 |
F9 |
FA |
FC |
FD |
FE |
FF |
シフト命令
|
ACC |
IX |
SRA |
40 |
48 |
SLA |
41 |
49 |
SRL |
42 |
4A |
SLL |
43 |
4B |
RRA |
44 |
4C |
RLA |
45 |
4D |
RRL |
46 |
4E |
RLL |
47 |
4F |
分岐命令
BA |
30 |
BVF |
38 |
BNZ |
31 |
BZP |
32 |
BP |
33 |
BNI |
34 |
BNC |
35 |
BGE |
36 |
BGT |
37 |
BZ |
39 |
BN |
3A |
BZN |
3B |
BNO |
3C |
BC |
3D |
BLT |
3E |
BLE |
3F |
制御命令
NOP |
00 |
HLT |
0F |
OUT |
10 |
IN |
1F |
RCF |
20 |
SCF |
2F |