Kód na instrukci
0 |
NOP |
1 |
40 |
LD B,B |
1 |
80 |
ADD B |
1 |
C0 |
RET NZ |
1 |
|||
1 |
LD BC,nn |
3 |
41 |
LD B,C |
1 |
81 |
ADD C |
1 |
C1 |
POP BC |
1 |
|||
2 |
LD (BC),A |
1 |
42 |
LD B,D |
1 |
82 |
ADD D |
1 |
C2 |
JP NZ,nn |
3 |
|||
3 |
INC BC |
1 |
43 |
LD B,E |
1 |
83 |
ADD E |
1 |
C3 |
JMP nn |
3 |
|||
4 |
INC B |
1 |
44 |
LD B,H |
1 |
84 |
ADD H |
1 |
C4 |
CALL NZ,nn |
3 |
|||
5 |
DEC B |
1 |
45 |
LD B,L |
1 |
85 |
ADD L |
1 |
C5 |
PUSH BC |
1 |
|||
6 |
LD B,n |
2 |
46 |
LD B,M |
1 |
86 |
ADD M |
1 |
C6 |
ADD n |
2 |
|||
7 |
RLCA |
1 |
47 |
LD B,A |
1 |
87 |
ADD A |
1 |
C7 |
RST 00 |
1 |
|||
8 |
EXAF |
1 |
48 |
LD C,B |
1 |
88 |
ADC B |
1 |
C8 |
RET Z |
1 |
|||
9 |
ADD HL,BC |
1 |
49 |
LD C,C |
1 |
89 |
ADC C |
1 |
C9 |
RET |
1 |
|||
0A |
LD A,(BC) |
1 |
4A |
LD C,D |
1 |
8A |
ADC D |
1 |
CA |
JP Z,nn |
3 |
|||
0B |
DEC BC |
1 |
4B |
LD C,E |
1 |
8B |
ADC E |
1 |
CB |
|
|
|||
0C |
INC C |
1 |
4C |
LD C,H |
1 |
8C |
ADC H |
1 |
CC |
CALL Z,nn |
3 |
|||
0D |
DEC C |
1 |
4D |
LD C,L |
1 |
8D |
ADC L |
1 |
CD |
CALL nn |
3 |
|||
0E |
LD C,n |
2 |
4E |
LD C,M |
1 |
8E |
ADC M |
1 |
CE |
ADC n |
2 |
|||
0F |
RRCA |
1 |
4F |
LD C,A |
1 |
8F |
ADC A |
1 |
CF |
RST 08 |
1 |
|||
10 |
DJNZ e |
2 |
50 |
LD D,B |
1 |
90 |
SUB B |
1 |
D0 |
RET NC |
1 |
|||
11 |
LD DE,nn |
3 |
51 |
LD D,C |
1 |
91 |
SUB C |
1 |
D1 |
POP DE |
1 |
|||
12 |
LD (DE),A |
1 |
52 |
LD D,D |
1 |
92 |
SUB D |
1 |
D2 |
JP NC,nn |
3 |
|||
13 |
INC DE |
1 |
53 |
LD D,E |
1 |
93 |
SUB E |
1 |
D3 |
OUT n |
2 |
|||
14 |
INC D |
1 |
54 |
LD D,H |
1 |
94 |
SUB H |
1 |
D4 |
CALL NC,nn |
3 |
|||
15 |
DEC D |
1 |
55 |
LD D,L |
1 |
95 |
SUB L |
1 |
D5 |
PUSH DE |
1 |
|||
16 |
LD D,n |
2 |
56 |
LD D,M |
1 |
96 |
SUB M |
1 |
D6 |
SUB n |
2 |
|||
17 |
RLA |
1 |
57 |
LD D,A |
1 |
97 |
SUB A |
1 |
D7 |
RST 10 |
1 |
|||
18 |
JR e |
2 |
58 |
LD E,B |
1 |
98 |
SBC B |
1 |
D8 |
RET C |
1 |
|||
19 |
ADD HL,DE |
1 |
59 |
LD E,C |
1 |
99 |
SBC C |
1 |
D9 |
EXX |
1 |
|||
1A |
LD A,(DE) |
1 |
5A |
LD E,D |
1 |
9A |
SBC D |
1 |
DA |
JP C,nn |
3 |
|||
1B |
DEC DE |
1 |
5B |
LD E,E |
1 |
9B |
SBC E |
1 |
DB |
IN n |
2 |
|||
1C |
INC E |
1 |
5C |
LD E,H |
1 |
9C |
SBC H |
1 |
DC |
CALL C,nn |
3 |
|||
1D |
DEC E |
1 |
5D |
LD E,L |
1 |
9D |
SBC L |
1 |
DD |
|
|
|||
1E |
LD E,n |
2 |
5E |
LD E,M |
1 |
9E |
SBC M |
1 |
DE |
SBC n |
2 |
|||
1F |
RRA |
1 |
5F |
LD E,A |
1 |
9F |
SBC A |
1 |
DF |
RST 18 |
1 |
|||
20 |
JRNZ e |
2 |
60 |
LD H,B |
1 |
A0 |
AND B |
1 |
E0 |
RET PO |
1 |
|||
21 |
LD HL,nn |
3 |
61 |
LD H,C |
1 |
A1 |
AND C |
1 |
E1 |
POP HL |
1 |
|||
22 |
LD nn,(HL) |
3 |
62 |
LD H,D |
1 |
A2 |
AND D |
1 |
E2 |
JP PO,nn |
2 |
|||
23 |
INC HL |
1 |
63 |
LD H,E |
1 |
A3 |
AND E |
1 |
E3 |
EX (SP),HL |
1 |
|||
24 |
INL H |
1 |
64 |
LD H,H |
1 |
A4 |
AND H |
1 |
E4 |
CALL PO,nn |
3 |
|||
25 |
DEC H |
1 |
65 |
LD H,L |
1 |
A5 |
AND L |
1 |
E5 |
PUSH HL |
1 |
|||
26 |
LD H,n |
2 |
66 |
LD H,M |
1 |
A6 |
AND M |
1 |
E6 |
AND n |
2 |
|||
27 |
DAA |
1 |
67 |
LD H,A |
1 |
A7 |
AND A |
1 |
E7 |
RST 20 |
1 |
|||
28 |
JRNZ e |
2 |
68 |
LD L,B |
1 |
A8 |
XOR B |
1 |
E8 |
RET PE |
1 |
|||
29 |
ADD HL,HL |
1 |
69 |
LD L,C |
1 |
A9 |
XOR C |
1 |
E9 |
JMP (HL) |
1 |
|||
2A |
LD HL,(nn) |
3 |
6A |
LD L,D |
1 |
AA |
XOR D |
1 |
EA |
JP PE,nn |
3 |
|||
2B |
DEC HL |
1 |
6B |
LD L,E |
1 |
AB |
XOR E |
1 |
EB |
EX DE,HL |
1 |
|||
2C |
INC L |
1 |
6C |
LD L,H |
1 |
AC |
XOR H |
1 |
EC |
CALL PE,nn |
3 |
|||
2D |
DEC L |
1 |
6D |
LD L,L |
1 |
AD |
XOR L |
1 |
ED |
|
|
|||
2E |
LD L,n |
2 |
6E |
LD L,M |
1 |
AE |
XOR M |
1 |
EE |
XOR n |
2 |
|||
2F |
CPL |
1 |
6F |
LD L,A |
1 |
AF |
XOR A |
1 |
EF |
RST 28 |
1 |
|||
30 |
JRNC e |
2 |
70 |
LD M,B |
1 |
B0 |
OR B |
1 |
F0 |
RET P |
1 |
|||
31 |
LD SP,nn |
3 |
71 |
LD M,C |
1 |
B1 |
OR C |
1 |
F1 |
POP AF |
1 |
|||
32 |
LD (nn),A |
3 |
72 |
LD M,D |
1 |
B2 |
OR D |
1 |
F2 |
JP P,nn |
3 |
|||
33 |
INC SP |
1 |
73 |
LD M,E |
1 |
B3 |
OR E |
1 |
F3 |
DI |
1 |
|||
34 |
INC H |
1 |
74 |
LD M,H |
1 |
B4 |
OR H |
1 |
F4 |
CALL P,nn |
3 |
|||
35 |
DEC H |
1 |
75 |
LD M,L |
1 |
B5 |
OR L |
1 |
F5 |
PUSH AF |
1 |
|||
36 |
LD M,N |
2 |
76 |
HALT |
1 |
B6 |
OR M |
1 |
F6 |
OR n |
2 |
|||
37 |
SCF |
1 |
77 |
LD M,A |
1 |
B7 |
OR A |
1 |
F7 |
RST 30 |
1 |
|||
38 |
JRC e |
2 |
78 |
LD A,B |
1 |
B8 |
CMP B |
1 |
F8 |
RET H |
1 |
|||
39 |
ADD HL,SP |
1 |
79 |
LD A,C |
1 |
B9 |
CMP C |
1 |
F9 |
LD SP,HL |
1 |
|||
3A |
LD A,(nn) |
3 |
7A |
LD A,D |
1 |
BA |
CMP D |
1 |
FA |
JP M,nn |
3 |
|||
3B |
DEC SP |
1 |
7B |
LD A,E |
1 |
BB |
CMP E |
1 |
FB |
EI |
1 |
|||
3C |
INC A |
1 |
7C |
LD A,H |
1 |
BC |
CMP H |
1 |
FC |
CALL M,nn |
3 |
|||
3D |
DEC A |
1 |
7D |
LD A,L |
1 |
BD |
CMP L |
1 |
FD |
|
|
|||
3E |
LD A,n |
2 |
7E |
LD A,M |
1 |
BE |
CMP M |
1 |
FE |
CMP n |
2 |
|||
3F |
CCF |
1 |
7F |
LD A,A |
1 |
BF |
CMP A |
1 |
FF |
RST 38 |
1 |
(c)
by fy. SCAV for SHARP MZ-821
|
Tento soubor informací o SHARP MZ-800 není určen jako učební text, ale jako příručka programátora, proto se v něm nezmiňuji o podrobnějších detailech Hardware. Informace o mikroprocesorové technice byly čerpány z katalogů, technické dokumentace firem INTEL, ATES, SOKODI, SGS-THOMSON, časopisů AMATÉRSKÉ RADIO, ELEKTRONIKA, a zpracováním informačních souborů o SHARP MZ-800. Jako příloha je dodán plánek počítače zpracovaný ing. Martinem Váňou, plánek o maskovatelném přerušení otisknutý v časopise Elektronika 5/92, plánky řadičů FD, plánky ramdisků a znakové sady.
|
Zpracováno 4.10.1996
|
Autor textu: Pavel Brázda (SCAV) upraveno 23.10.2006