dos_compilers/Manx Aztec C86 v340a/EMU/Z80.TXT
2024-07-01 06:45:15 -07:00

257 lines
3.2 KiB
Plaintext

00 NOP
01 LD BC,nnnn
02 LD (BC),A
03 INC BC
04 INC B
05 DEC B
06 LD B,nn
07 RLCA
08 EX AF,AF'
09 ADD HL,BC
0A LD A,(BC)
0B DEC BC
0C INC C
0D DEC C
0E LD C,nn
0F RRCA
10 DJNZ dd
11 LD DE,nnnn
12 LD DE,A
13 INC DE
14 INC D
15 DEC D
16 LD D,nn
17 RLA
18 JR dd
19 ADD HL,DE
1A LD A,DE
1B DEC DE
1C INC E
1D DEC E
1E LD E,nn
1F RRA
20 JR NZ,dd
21 LD HL,nnnn
22 LD (nnnn),HL
23 INC HL
24 INC H
25 DEC H
26 LD H,nn
27 DAA
28 JR Z,dd
29 ADD HL,HL
2A LD HL,(nnnn)
2B DEC HL
2C INC L
2D DEC L
2E LD L,nn
2F CPL
30 JR NC,dd
31 LD SP,nnnn
32 LD (nnnn),A
33 INC SP
34 INC (HL)
35 DEC (HL)
36 LD (HL),nn
37 SCF
38 JR C,dd
39 ADD HL,SP
3A LD A,(nnnn)
3B DEC SP
3C INC A
3D DEC A
3E LD A,nn
3F CCF
40 LD B,B
41 LD B,C
42 LD B,D
43 LD B,E
44 LD B,H
45 LD B,L
46 LD B,(HL)
47 LD B,A
48 LD C,B
49 LD C,C
4A LD C,D
4B LD C,E
4C LD C,H
4D LD C,L
4E LD C,(HL)
4F LD C,A
50 LD D,B
51 LD D,C
52 LD D,D
53 LD D,E
54 LD D,H
55 LD D,L
56 LD D,(HL)
57 LD D,A
58 LD E,B
59 LD E,C
5A LD E,D
5B LD E,E
5C LD E,H
5D LD E,L
5E LD E,(HL)
5F LD E,A
60 LD H,B
61 LD H,C
62 LD H,D
63 LD H,E
64 LD H,H
65 LD H,L
66 LD H,(HL)
67 LD H,A
68 LD L,B
69 LD L,C
6A LD L,D
6B LD L,E
6C LD L,H
6D LD L,L
6E LD L,(HL)
6F LD L,A
70 LD (HL),B
71 LD (HL),C
72 LD (HL),D
73 LD (HL),E
74 LD (HL),H
75 LD (HL),L
76 HALT
77 LD (HL),A
78 LD A,B
79 LD A,C
7A LD A,D
7B LD A,E
7C LD A,H
7D LD A,L
7E LD A,(HL)
7F LD A,A
80 ADD A,B
81 ADD A,C
82 ADD A,D
83 ADD A,E
84 ADD A,H
85 ADD A,L
86 ADD A,(HL)
87 ADD A,A
88 ADC A,B
89 ADC A,C
8A ADC A,D
8B ADC A,E
8C ADC A,H
8D ADC A,L
8E ADC A,(HL)
8F ADC A,A
90 SUB B
91 SUB C
92 SUB D
93 SUB E
94 SUB H
95 SUB L
96 SUB (HL)
97 SUB A
98 SBC A,B
99 SBC A,C
9A SBC A,D
9B SBC A,E
9C SBC A,H
9D SBC A,L
9E SBC A,(HL)
9F SBC A,A
A0 AND B
A1 AND C
A2 AND D
A3 AND E
A4 AND H
A5 AND L
A6 AND (HL)
A7 AND A
A8 XOR B
A9 XOR C
AA XOR D
AB XOR E
AC XOR H
AD XOR L
AE XOR (HL)
AF XOR A
B0 OR B
B1 OR C
B2 OR D
B3 OR E
B4 OR H
B5 OR L
B6 OR (HL)
B7 OR A
B8 CP B
B9 CP C
BA CP D
BB CP E
BC CP H
BD CP L
BE CP (HL)
BF CP A
C0 RET NZ
C1 POP BC
C2 JP NZ,nnnn
C3 JP nnnn
C4 CALL NZ,nnnn
C5 PUSH BC
C6 ADD A,nn
C7 RST 0
C8 RET Z
C9 RET
CA JP Z,nnnn
CB
CC CALL Z,nnnn
CD CALL nnnn
CE ADC A,nn
CF RST 8
D0 RET NC
D1 POP DE
D2 JP NC,nnnn
D3 OUT (nn),A
D4 CALL NC,nnnn
D5 PUSH DE
D6 SUB nn
D7 RST 10H
D8 RET C
D9 EXX
DA JP C,nnnn
DB IN A,(nn)
DC CALL C,nnnn
DD
DE SBC A,nn
DF RST 18H
E0 RET PO
E1 POP HL
E2 JP PO,nnnn
E3 EX (SP),HL
E4 CALL PO,nnnn
E5 PUSH HL
E6 AND nn
E7 RST 20H
E8 RET PE
E9 JP (HL)
EA JP PE,nnnn
EB EX DE,HL
EC CALL PE,nnnn
ED
EE XOR nn
EF RST 28H
F0 RET P
F1 POP AF
F2 JP P,nnnn
F3 DI
F4 CALL P,nnnn
F5 PUSH AF
F6 OR nn
F7 RST 30H
F8 RET M
F9 LD SP,HL
FA JP M,nnnn
FB EI
FC CALL M,nnnn
FD
FE CP nn
FF RST 38H