-
Notifications
You must be signed in to change notification settings - Fork 0
/
opcode.json
246 lines (246 loc) · 11.4 KB
/
opcode.json
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
[{"mnemonic":"ACI Data","opcode":"CE","bytes":2},
{"mnemonic":"ADC A","opcode":"8F","bytes":1},
{"mnemonic":"ADC B","opcode":"88","bytes":1},
{"mnemonic":"ADC C","opcode":"89","bytes":1},
{"mnemonic":"ADC D","opcode":"8A","bytes":1},
{"mnemonic":"ADC E","opcode":"8B","bytes":1},
{"mnemonic":"ADC H","opcode":"8C","bytes":1},
{"mnemonic":"ADC L","opcode":"8D","bytes":1},
{"mnemonic":"ADC M","opcode":"8E","bytes":1},
{"mnemonic":"ADD A","opcode":"87","bytes":1},
{"mnemonic":"ADD B","opcode":"80","bytes":1},
{"mnemonic":"ADD C","opcode":"81","bytes":1},
{"mnemonic":"ADD D","opcode":"82","bytes":1},
{"mnemonic":"ADD E","opcode":"83","bytes":1},
{"mnemonic":"ADD H","opcode":"84","bytes":1},
{"mnemonic":"ADD L","opcode":"85","bytes":1},
{"mnemonic":"ADD M","opcode":"86","bytes":1},
{"mnemonic":"ADI Data","opcode":"C6","bytes":2},
{"mnemonic":"ANA A","opcode":"A7","bytes":1},
{"mnemonic":"ANA B","opcode":"A0","bytes":1},
{"mnemonic":"ANA C","opcode":"A1","bytes":1},
{"mnemonic":"ANA D","opcode":"A2","bytes":1},
{"mnemonic":"ANA E","opcode":"A3","bytes":1},
{"mnemonic":"ANA H","opcode":"A4","bytes":1},
{"mnemonic":"ANA L","opcode":"A5","bytes":1},
{"mnemonic":"ANA M","opcode":"A6","bytes":1},
{"mnemonic":"ANI Data","opcode":"E6","bytes":2},
{"mnemonic":"CALL Label","opcode":"CD","bytes":3},
{"mnemonic":"CC Label","opcode":"DC","bytes":3},
{"mnemonic":"CM Label","opcode":"FC","bytes":3},
{"mnemonic":"CMA","opcode":"2F","bytes":1},
{"mnemonic":"CMC","opcode":"3F","bytes":1},
{"mnemonic":"CMP A","opcode":"BF","bytes":1},
{"mnemonic":"CMP B","opcode":"B8","bytes":1},
{"mnemonic":"CMP C","opcode":"B9","bytes":1},
{"mnemonic":"CMP D","opcode":"BA","bytes":1},
{"mnemonic":"CMP E","opcode":"BB","bytes":1},
{"mnemonic":"CMP H","opcode":"BC","bytes":1},
{"mnemonic":"CMP L","opcode":"BD","bytes":1},
{"mnemonic":"CMP M","opcode":"BD","bytes":1},
{"mnemonic":"CNC Label","opcode":"D4","bytes":3},
{"mnemonic":"CNZ Label","opcode":"C4","bytes":3},
{"mnemonic":"CP Label","opcode":"F4","bytes":3},
{"mnemonic":"CPE Label","opcode":"EC","bytes":3},
{"mnemonic":"CPI Data","opcode":"FE","bytes":2},
{"mnemonic":"CPO Label","opcode":"E4","bytes":3},
{"mnemonic":"CZ Label","opcode":"CC","bytes":3},
{"mnemonic":"DAA","opcode":"27","bytes":1},
{"mnemonic":"DAD B","opcode":"9","bytes":1},
{"mnemonic":"DAD D","opcode":"19","bytes":1},
{"mnemonic":"DAD H","opcode":"29","bytes":1},
{"mnemonic":"DAD SP","opcode":"39","bytes":1},
{"mnemonic":"DCR A","opcode":"3D","bytes":1},
{"mnemonic":"DCR B","opcode":"5","bytes":1},
{"mnemonic":"DCR C","opcode":"0D","bytes":1},
{"mnemonic":"DCR D","opcode":"15","bytes":1},
{"mnemonic":"DCR E","opcode":"1D","bytes":1},
{"mnemonic":"DCR H","opcode":"25","bytes":1},
{"mnemonic":"DCR L","opcode":"2D","bytes":1},
{"mnemonic":"DCR M","opcode":"35","bytes":1},
{"mnemonic":"DCX B","opcode":"0B","bytes":1},
{"mnemonic":"DCX D","opcode":"1B","bytes":1},
{"mnemonic":"DCX H","opcode":"2B","bytes":1},
{"mnemonic":"DCX SP","opcode":"3B","bytes":1},
{"mnemonic":"DI","opcode":"F3","bytes":1},
{"mnemonic":"EI","opcode":"FB","bytes":1},
{"mnemonic":"HLT","opcode":"76","bytes":1},
{"mnemonic":"IN Port-address","opcode":"DB","bytes":2},
{"mnemonic":"INR A","opcode":"3C","bytes":1},
{"mnemonic":"INR B","opcode":"4","bytes":1},
{"mnemonic":"INR C","opcode":"0C","bytes":1},
{"mnemonic":"INR D","opcode":"14","bytes":1},
{"mnemonic":"INR E","opcode":"1C","bytes":1},
{"mnemonic":"INR H","opcode":"24","bytes":1},
{"mnemonic":"INR L","opcode":"2C","bytes":1},
{"mnemonic":"INR M","opcode":"34","bytes":1},
{"mnemonic":"INX B","opcode":"3","bytes":1},
{"mnemonic":"INX D","opcode":"13","bytes":1},
{"mnemonic":"INX H","opcode":"23","bytes":1},
{"mnemonic":"INX SP","opcode":"33","bytes":1},
{"mnemonic":"JC Label","opcode":"DA","bytes":3},
{"mnemonic":"JM Label","opcode":"FA","bytes":3},
{"mnemonic":"JMP Label","opcode":"C3","bytes":3},
{"mnemonic":"JNC Label","opcode":"D2","bytes":3},
{"mnemonic":"JNZ Label","opcode":"C2","bytes":3},
{"mnemonic":"JP Label","opcode":"F2","bytes":3},
{"mnemonic":"JPE Label","opcode":"EA","bytes":3},
{"mnemonic":"JPO Label","opcode":"E2","bytes":3},
{"mnemonic":"JZ Label","opcode":"CA","bytes":3},
{"mnemonic":"LDA Address","opcode":"3A","bytes":3},
{"mnemonic":"LDAX B","opcode":"0A","bytes":1},
{"mnemonic":"LDAX D","opcode":"1A","bytes":1},
{"mnemonic":"LHLD Address","opcode":"2A","bytes":3},
{"mnemonic":"LXI B","opcode":"1","bytes":3},
{"mnemonic":"LXI D","opcode":"11","bytes":3},
{"mnemonic":"LXI H","opcode":"21","bytes":3},
{"mnemonic":"LXI SP","opcode":"31","bytes":3},
{"mnemonic":"MOV A, A","opcode":"7F","bytes":1},
{"mnemonic":"MOV A, B","opcode":"78","bytes":1},
{"mnemonic":"MOV A, C","opcode":"79","bytes":1},
{"mnemonic":"MOV A, D","opcode":"7A","bytes":1},
{"mnemonic":"MOV A, E","opcode":"7B","bytes":1},
{"mnemonic":"MOV A, H","opcode":"7C","bytes":1},
{"mnemonic":"MOV A, L","opcode":"7D","bytes":1},
{"mnemonic":"MOV A, M","opcode":"7E","bytes":1},
{"mnemonic":"MOV B, A","opcode":"47","bytes":1},
{"mnemonic":"MOV B, B","opcode":"40","bytes":1},
{"mnemonic":"MOV B, C","opcode":"41","bytes":1},
{"mnemonic":"MOV B, D","opcode":"42","bytes":1},
{"mnemonic":"MOV B, E","opcode":"43","bytes":1},
{"mnemonic":"MOV B, H","opcode":"44","bytes":1},
{"mnemonic":"MOV B, L","opcode":"45","bytes":1},
{"mnemonic":"MOV B, M","opcode":"46","bytes":1},
{"mnemonic":"MOV C, A","opcode":"4F","bytes":1},
{"mnemonic":"MOV C, B","opcode":"48","bytes":1},
{"mnemonic":"MOV C, C","opcode":"49","bytes":1},
{"mnemonic":"MOV C, D","opcode":"4A","bytes":1},
{"mnemonic":"MOV C, E","opcode":"4B","bytes":1},
{"mnemonic":"MOV C, H","opcode":"4C","bytes":1},
{"mnemonic":"MOV C, L","opcode":"4D","bytes":1},
{"mnemonic":"MOV C, M","opcode":"4E","bytes":1},
{"mnemonic":"MOV D, A","opcode":"57","bytes":1},
{"mnemonic":"MOV D, B","opcode":"50","bytes":1},
{"mnemonic":"MOV D, C","opcode":"51","bytes":1},
{"mnemonic":"MOV D, D","opcode":"52","bytes":1},
{"mnemonic":"MOV D, E","opcode":"53","bytes":1},
{"mnemonic":"MOV D, H","opcode":"54","bytes":1},
{"mnemonic":"MOV D, L","opcode":"55","bytes":1},
{"mnemonic":"MOV D, M","opcode":"56","bytes":1},
{"mnemonic":"MOV E, A","opcode":"5F","bytes":1},
{"mnemonic":"MOV E, B","opcode":"58","bytes":1},
{"mnemonic":"MOV E, C","opcode":"59","bytes":1},
{"mnemonic":"MOV E, D","opcode":"5A","bytes":1},
{"mnemonic":"MOV E, E","opcode":"5B","bytes":1},
{"mnemonic":"MOV E, H","opcode":"5C","bytes":1},
{"mnemonic":"MOV E, L","opcode":"5D","bytes":1},
{"mnemonic":"MOV E, M","opcode":"5E","bytes":1},
{"mnemonic":"MOV H, A","opcode":"67","bytes":1},
{"mnemonic":"MOV H, B","opcode":"60","bytes":1},
{"mnemonic":"MOV H, C","opcode":"61","bytes":1},
{"mnemonic":"MOV H, D","opcode":"62","bytes":1},
{"mnemonic":"MOV H, E","opcode":"63","bytes":1},
{"mnemonic":"MOV H, H","opcode":"64","bytes":1},
{"mnemonic":"MOV H, L","opcode":"65","bytes":1},
{"mnemonic":"MOV H, M","opcode":"66","bytes":1},
{"mnemonic":"MOV L, A","opcode":"6F","bytes":1},
{"mnemonic":"MOV L, B","opcode":"68","bytes":1},
{"mnemonic":"MOV L, C","opcode":"69","bytes":1},
{"mnemonic":"MOV L, D","opcode":"6A","bytes":1},
{"mnemonic":"MOV L, E","opcode":"6B","bytes":1},
{"mnemonic":"MOV L, H","opcode":"6C","bytes":1},
{"mnemonic":"MOV L, L","opcode":"6D","bytes":1},
{"mnemonic":"MOV L, M","opcode":"6E","bytes":1},
{"mnemonic":"MOV M, A","opcode":"77","bytes":1},
{"mnemonic":"MOV M, B","opcode":"70","bytes":1},
{"mnemonic":"MOV M, C","opcode":"71","bytes":1},
{"mnemonic":"MOV M, D","opcode":"72","bytes":1},
{"mnemonic":"MOV M, E","opcode":"73","bytes":1},
{"mnemonic":"MOV M, H","opcode":"74","bytes":1},
{"mnemonic":"MOV M, L","opcode":"75","bytes":1},
{"mnemonic":"MVI A, Data","opcode":"3E","bytes":2},
{"mnemonic":"MVI B, Data","opcode":"6","bytes":2},
{"mnemonic":"MVI C, Data","opcode":"0E","bytes":2},
{"mnemonic":"MVI D, Data","opcode":"16","bytes":2},
{"mnemonic":"MVI E, Data","opcode":"1E","bytes":2},
{"mnemonic":"MVI H, Data","opcode":"26","bytes":2},
{"mnemonic":"MVI L, Data","opcode":"2E","bytes":2},
{"mnemonic":"MVI M, Data","opcode":"36","bytes":2},
{"mnemonic":"NOP","opcode":"0","bytes":1},
{"mnemonic":"ORA A","opcode":"B7","bytes":1},
{"mnemonic":"ORA B","opcode":"B0","bytes":1},
{"mnemonic":"ORA C","opcode":"B1","bytes":1},
{"mnemonic":"ORA D","opcode":"B2","bytes":1},
{"mnemonic":"ORA E","opcode":"B3","bytes":1},
{"mnemonic":"ORA H","opcode":"B4","bytes":1},
{"mnemonic":"ORA L","opcode":"B5","bytes":1},
{"mnemonic":"ORA M","opcode":"B6","bytes":1},
{"mnemonic":"ORI Data","opcode":"F6","bytes":2},
{"mnemonic":"OUT Port-Address","opcode":"D3","bytes":2},
{"mnemonic":"PCHL","opcode":"E9","bytes":1},
{"mnemonic":"POP B","opcode":"C1","bytes":1},
{"mnemonic":"POP D","opcode":"D1","bytes":1},
{"mnemonic":"POP H","opcode":"E1","bytes":1},
{"mnemonic":"POP PSW","opcode":"F1","bytes":1},
{"mnemonic":"PUSH B","opcode":"C5","bytes":1},
{"mnemonic":"PUSH D","opcode":"D5","bytes":1},
{"mnemonic":"PUSH H","opcode":"E5","bytes":1},
{"mnemonic":"PUSH PSW","opcode":"F5","bytes":1},
{"mnemonic":"RAL","opcode":"17","bytes":1},
{"mnemonic":"RAR","opcode":"1F","bytes":1},
{"mnemonic":"RC","opcode":"D8","bytes":1},
{"mnemonic":"RET","opcode":"C9","bytes":1},
{"mnemonic":"RIM","opcode":"20","bytes":1},
{"mnemonic":"RLC","opcode":"7","bytes":1},
{"mnemonic":"RM","opcode":"F8","bytes":1},
{"mnemonic":"RNC","opcode":"D0","bytes":1},
{"mnemonic":"RNZ","opcode":"C0","bytes":1},
{"mnemonic":"RP","opcode":"F0","bytes":1},
{"mnemonic":"RPE","opcode":"E8","bytes":1},
{"mnemonic":"RPO","opcode":"E0","bytes":1},
{"mnemonic":"RRC","opcode":"0F","bytes":1},
{"mnemonic":"RST 0","opcode":"C7","bytes":1},
{"mnemonic":"RST 1","opcode":"CF","bytes":1},
{"mnemonic":"RST 2","opcode":"D7","bytes":1},
{"mnemonic":"RST 3","opcode":"DF","bytes":1},
{"mnemonic":"RST 4","opcode":"E7","bytes":1},
{"mnemonic":"RST 5","opcode":"EF","bytes":1},
{"mnemonic":"RST 6","opcode":"F7","bytes":1},
{"mnemonic":"RST 7","opcode":"FF","bytes":1},
{"mnemonic":"RZ","opcode":"C8","bytes":1},
{"mnemonic":"SBB A","opcode":"9F","bytes":1},
{"mnemonic":"SBB B","opcode":"98","bytes":1},
{"mnemonic":"SBB C","opcode":"99","bytes":1},
{"mnemonic":"SBB D","opcode":"9A","bytes":1},
{"mnemonic":"SBB E","opcode":"9B","bytes":1},
{"mnemonic":"SBB H","opcode":"9C","bytes":1},
{"mnemonic":"SBB L","opcode":"9D","bytes":1},
{"mnemonic":"SBB M","opcode":"9E","bytes":1},
{"mnemonic":"SBI Data","opcode":"DE","bytes":2},
{"mnemonic":"SHLD Address","opcode":"22","bytes":3},
{"mnemonic":"SIM","opcode":"30","bytes":1},
{"mnemonic":"SPHL","opcode":"F9","bytes":1},
{"mnemonic":"STA Address","opcode":"32","bytes":3},
{"mnemonic":"STAX B","opcode":"2","bytes":1},
{"mnemonic":"STAX D","opcode":"12","bytes":1},
{"mnemonic":"STC","opcode":"37","bytes":1},
{"mnemonic":"SUB A","opcode":"97","bytes":1},
{"mnemonic":"SUB B","opcode":"90","bytes":1},
{"mnemonic":"SUB C","opcode":"91","bytes":1},
{"mnemonic":"SUB D","opcode":"92","bytes":1},
{"mnemonic":"SUB E","opcode":"93","bytes":1},
{"mnemonic":"SUB H","opcode":"94","bytes":1},
{"mnemonic":"SUB L","opcode":"95","bytes":1},
{"mnemonic":"SUB M","opcode":"96","bytes":1},
{"mnemonic":"SUI Data","opcode":"D6","bytes":2},
{"mnemonic":"XCHG","opcode":"EB","bytes":1},
{"mnemonic":"XRA A","opcode":"AF","bytes":1},
{"mnemonic":"XRA B","opcode":"A8","bytes":1},
{"mnemonic":"XRA C","opcode":"A9","bytes":1},
{"mnemonic":"XRA D","opcode":"AA","bytes":1},
{"mnemonic":"XRA E","opcode":"AB","bytes":1},
{"mnemonic":"XRA H","opcode":"AC","bytes":1},
{"mnemonic":"XRA L","opcode":"AD","bytes":1},
{"mnemonic":"XRA M","opcode":"AE","bytes":1},
{"mnemonic":"XRI Data","opcode":"EE","bytes":2},
{"mnemonic":"XTHL","opcode":"E3","bytes":1}]