forked from rileym65/RcAsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path8080.txt
70 lines (68 loc) · 4.98 KB
/
8080.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
0 1 2 3 4 5 6 7
+--------+--------+--------+--------+--------+--------+--------+--------+
0| NOP | LXI B | STAX B | INX B | INR B | DCR B | MVI B | RLC |
+--------+--------+--------+--------+--------+--------+--------+--------+
1| | LXI D | STAX D | INX D | INR D | DCR D | MVI D | RAL |
+--------+--------+--------+--------+--------+--------+--------+--------+
2| | LXI H | SHLD a | INX H | INR H | DCR H | MVI H | DAA |
+--------+--------+--------+--------+--------+--------+--------+--------+
3| | LXI SP | STA a | INX SP | INR M | DCR M | MVI M | STC |
+--------+--------+--------+--------+--------+--------+--------+--------+
4| MOV B,B| MOV B,C| MOV B,D| MOV B,E| MOV B,H| MOV B,L| MOV B,M| MOV B,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
5| MOV D,B| MOV D,C| MOV D,D| MOV D,E| MOV D,H| MOV D,L| MOV D,M| MOV D,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
6| MOV H,B| MOV H,C| MOV H,D| MOV H,E| MOV H,H| MOV H,L| MOV H,M| MOV H,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
7| MOV M,B| MOV M,C| MOV M,D| MOV M,E| MOV M,H| MOV M,L| HLT | MOV M,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
8| ADD B | ADD C | ADD D | ADD E | ADD H | ADD L | ADD M | ADD A |
+--------+--------+--------+--------+--------+--------+--------+--------+
9| SUB B | SUB C | SUB D | SUB E | SUB H | SUB L | SUB M | SUB A |
+--------+--------+--------+--------+--------+--------+--------+--------+
A| ANA B | ANA C | ANA D | ANA E | ANA H | ANA L | ANA M | ANA A |
+--------+--------+--------+--------+--------+--------+--------+--------+
B| ORA B | ORA C | ORA D | ORA E | ORA H | ORA L | ORA M | ORA A |
+--------+--------+--------+--------+--------+--------+--------+--------+
C| RNZ | POP B | JNZ a | JMP a | CNZ a | PUSH B | ADI n | RST 0 |
+--------+--------+--------+--------+--------+--------+--------+--------+
D| RNC | POP D | JNC a | OUT p | CNC a | PUSH D | SUI n | RST 10 |
+--------+--------+--------+--------+--------+--------+--------+--------+
E| RPO | POP H | JPO a | XTHL | CPO a | PUSH H | ANI n | RST 20 |
+--------+--------+--------+--------+--------+--------+--------+--------+
F| RP | POP SW | JP a | DI | CP a | PUSH P | ORI n | RST 30 |
+--------+--------+--------+--------+--------+--------+--------+--------+
8 9 A B C D E F
+--------+--------+--------+--------+--------+--------+--------+--------+
0| | DAD B | LDAX B | DCX B | INR C | DCR C | MVI C | RRC |
+--------+--------+--------+--------+--------+--------+--------+--------+
1| | DAD D | LDAX D | DCX D | INR E | DCR E | MVI E | RAR |
+--------+--------+--------+--------+--------+--------+--------+--------+
2| | DAD H | LHLD a | DCX H | INR L | DCR L | MVI L | CMA |
+--------+--------+--------+--------+--------+--------+--------+--------+
3| | DAD SP | LDA a | DCX SP | INR A | DCR A | MVI A | CMC |
+--------+--------+--------+--------+--------+--------+--------+--------+
4| MOV C,B| MOV C,C| MOV C,D| MOV C,E| MOV C,H| MOV C,L| MOV C,M| MOV C,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
5| MOV E,B| MOV E,C| MOV E,D| MOV E,E| MOV E,H| MOV E,L| MOV E,M| MOV E,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
6| MOV L,B| MOV L,C| MOV L,D| MOV L,E| MOV L,H| MOV L,L| MOV L,M| MOV L,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
7| MOV A,B| MOV A,C| MOV A,D| MOV A,E| MOV A,H| MOV A,L| MOV A,M| MOV A,A|
+--------+--------+--------+--------+--------+--------+--------+--------+
8| ADC B | ADC C | ADC D | ADC E | ADC H | ADC L | ADC M | ADC A |
+--------+--------+--------+--------+--------+--------+--------+--------+
9| SBB B | SBB C | SBB D | SBB E | SBB H | SBB L | SBB M | SBB A |
+--------+--------+--------+--------+--------+--------+--------+--------+
A| XRA B | XRA C | XRA D | XRA E | XRA H | XRA L | XRA M | XRA A |
+--------+--------+--------+--------+--------+--------+--------+--------+
B| CMP B | CMP C | CMP D | CMD E | CMP H | CMP L | CMP M | CMP A |
+--------+--------+--------+--------+--------+--------+--------+--------+
C| RZ | RET | JZ a | | CZ a | CALL a | ADCI n | RST 8 |
+--------+--------+--------+--------+--------+--------+--------+--------+
D| RC | | JC a | IN p | CC a | | SBI n | RST 18 |
+--------+--------+--------+--------+--------+--------+--------+--------+
E| RPE | PCHL | JPE a | XCHG | CPE a | | XRI n | RST 28 |
+--------+--------+--------+--------+--------+--------+--------+--------+
F| RM | SPHL | JM a | EI | CM a | | CPI n | RST 38 |
+--------+--------+--------+--------+--------+--------+--------+--------+