1 |
12 |
alfik |
package ao68000_tool;
|
2 |
|
|
class Parser {
|
3 |
|
|
boolean newline;
|
4 |
|
|
Parser() { this(true); }
|
5 |
|
|
Parser(boolean newline) { this.newline = newline; }
|
6 |
|
|
Parser EA_REG_IR_2_0() throws Exception {
|
7 |
|
|
GenerateMicrocode.entry(newline, "EA_REG_IR_2_0");
|
8 |
|
|
return new Parser(false);
|
9 |
|
|
}
|
10 |
|
|
Parser EA_REG_IR_11_9() throws Exception {
|
11 |
|
|
GenerateMicrocode.entry(newline, "EA_REG_IR_11_9");
|
12 |
|
|
return new Parser(false);
|
13 |
|
|
}
|
14 |
|
|
Parser EA_REG_MOVEM_REG_2_0() throws Exception {
|
15 |
|
|
GenerateMicrocode.entry(newline, "EA_REG_MOVEM_REG_2_0");
|
16 |
|
|
return new Parser(false);
|
17 |
|
|
}
|
18 |
|
|
Parser EA_REG_3b111() throws Exception {
|
19 |
|
|
GenerateMicrocode.entry(newline, "EA_REG_3b111");
|
20 |
|
|
return new Parser(false);
|
21 |
|
|
}
|
22 |
|
|
Parser EA_REG_3b100() throws Exception {
|
23 |
|
|
GenerateMicrocode.entry(newline, "EA_REG_3b100");
|
24 |
|
|
return new Parser(false);
|
25 |
|
|
}
|
26 |
|
|
Parser EA_MOD_IR_5_3() throws Exception {
|
27 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_IR_5_3");
|
28 |
|
|
return new Parser(false);
|
29 |
|
|
}
|
30 |
|
|
Parser EA_MOD_MOVEM_MOD_5_3() throws Exception {
|
31 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_MOVEM_MOD_5_3");
|
32 |
|
|
return new Parser(false);
|
33 |
|
|
}
|
34 |
|
|
Parser EA_MOD_IR_8_6() throws Exception {
|
35 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_IR_8_6");
|
36 |
|
|
return new Parser(false);
|
37 |
|
|
}
|
38 |
|
|
Parser EA_MOD_PREDEC() throws Exception {
|
39 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_PREDEC");
|
40 |
|
|
return new Parser(false);
|
41 |
|
|
}
|
42 |
|
|
Parser EA_MOD_3b111() throws Exception {
|
43 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_3b111");
|
44 |
|
|
return new Parser(false);
|
45 |
|
|
}
|
46 |
|
|
Parser EA_MOD_DN_PREDEC() throws Exception {
|
47 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_DN_PREDEC");
|
48 |
|
|
return new Parser(false);
|
49 |
|
|
}
|
50 |
|
|
Parser EA_MOD_DN_AN_EXG() throws Exception {
|
51 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_DN_AN_EXG");
|
52 |
|
|
return new Parser(false);
|
53 |
|
|
}
|
54 |
|
|
Parser EA_MOD_POSTINC() throws Exception {
|
55 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_POSTINC");
|
56 |
|
|
return new Parser(false);
|
57 |
|
|
}
|
58 |
|
|
Parser EA_MOD_AN() throws Exception {
|
59 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_AN");
|
60 |
|
|
return new Parser(false);
|
61 |
|
|
}
|
62 |
|
|
Parser EA_MOD_DN() throws Exception {
|
63 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_DN");
|
64 |
|
|
return new Parser(false);
|
65 |
|
|
}
|
66 |
|
|
Parser EA_MOD_INDIRECTOFFSET() throws Exception {
|
67 |
|
|
GenerateMicrocode.entry(newline, "EA_MOD_INDIRECTOFFSET");
|
68 |
|
|
return new Parser(false);
|
69 |
|
|
}
|
70 |
|
|
Parser EA_TYPE_ALL() throws Exception {
|
71 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_ALL");
|
72 |
|
|
return new Parser(false);
|
73 |
|
|
}
|
74 |
|
|
Parser EA_TYPE_CONTROL_POSTINC() throws Exception {
|
75 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_CONTROL_POSTINC");
|
76 |
|
|
return new Parser(false);
|
77 |
|
|
}
|
78 |
|
|
Parser EA_TYPE_CONTROLALTER_PREDEC() throws Exception {
|
79 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_CONTROLALTER_PREDEC");
|
80 |
|
|
return new Parser(false);
|
81 |
|
|
}
|
82 |
|
|
Parser EA_TYPE_CONTROL() throws Exception {
|
83 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_CONTROL");
|
84 |
|
|
return new Parser(false);
|
85 |
|
|
}
|
86 |
|
|
Parser EA_TYPE_DATAALTER() throws Exception {
|
87 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_DATAALTER");
|
88 |
|
|
return new Parser(false);
|
89 |
|
|
}
|
90 |
|
|
Parser EA_TYPE_DN_AN() throws Exception {
|
91 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_DN_AN");
|
92 |
|
|
return new Parser(false);
|
93 |
|
|
}
|
94 |
|
|
Parser EA_TYPE_MEMORYALTER() throws Exception {
|
95 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_MEMORYALTER");
|
96 |
|
|
return new Parser(false);
|
97 |
|
|
}
|
98 |
|
|
Parser EA_TYPE_DATA() throws Exception {
|
99 |
|
|
GenerateMicrocode.entry(newline, "EA_TYPE_DATA");
|
100 |
|
|
return new Parser(false);
|
101 |
|
|
}
|
102 |
|
|
Parser OP1_FROM_OP2() throws Exception {
|
103 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_OP2");
|
104 |
|
|
return new Parser(false);
|
105 |
|
|
}
|
106 |
|
|
Parser OP1_FROM_ADDRESS() throws Exception {
|
107 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_ADDRESS");
|
108 |
|
|
return new Parser(false);
|
109 |
|
|
}
|
110 |
|
|
Parser OP1_FROM_DATA() throws Exception {
|
111 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_DATA");
|
112 |
|
|
return new Parser(false);
|
113 |
|
|
}
|
114 |
|
|
Parser OP1_FROM_IMMEDIATE() throws Exception {
|
115 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_IMMEDIATE");
|
116 |
|
|
return new Parser(false);
|
117 |
|
|
}
|
118 |
|
|
Parser OP1_FROM_RESULT() throws Exception {
|
119 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_RESULT");
|
120 |
|
|
return new Parser(false);
|
121 |
|
|
}
|
122 |
|
|
Parser OP1_MOVEQ() throws Exception {
|
123 |
|
|
GenerateMicrocode.entry(newline, "OP1_MOVEQ");
|
124 |
|
|
return new Parser(false);
|
125 |
|
|
}
|
126 |
|
|
Parser OP1_FROM_PC() throws Exception {
|
127 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_PC");
|
128 |
|
|
return new Parser(false);
|
129 |
|
|
}
|
130 |
|
|
Parser OP1_LOAD_ZEROS() throws Exception {
|
131 |
|
|
GenerateMicrocode.entry(newline, "OP1_LOAD_ZEROS");
|
132 |
|
|
return new Parser(false);
|
133 |
|
|
}
|
134 |
|
|
Parser OP1_LOAD_ONES() throws Exception {
|
135 |
|
|
GenerateMicrocode.entry(newline, "OP1_LOAD_ONES");
|
136 |
|
|
return new Parser(false);
|
137 |
|
|
}
|
138 |
|
|
Parser OP1_FROM_SR() throws Exception {
|
139 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_SR");
|
140 |
|
|
return new Parser(false);
|
141 |
|
|
}
|
142 |
|
|
Parser OP1_FROM_USP() throws Exception {
|
143 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_USP");
|
144 |
|
|
return new Parser(false);
|
145 |
|
|
}
|
146 |
|
|
Parser OP1_FROM_AN() throws Exception {
|
147 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_AN");
|
148 |
|
|
return new Parser(false);
|
149 |
|
|
}
|
150 |
|
|
Parser OP1_FROM_DN() throws Exception {
|
151 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_DN");
|
152 |
|
|
return new Parser(false);
|
153 |
|
|
}
|
154 |
|
|
Parser OP1_FROM_IR() throws Exception {
|
155 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_IR");
|
156 |
|
|
return new Parser(false);
|
157 |
|
|
}
|
158 |
|
|
Parser OP1_FROM_FAULT_ADDRESS() throws Exception {
|
159 |
|
|
GenerateMicrocode.entry(newline, "OP1_FROM_FAULT_ADDRESS");
|
160 |
|
|
return new Parser(false);
|
161 |
|
|
}
|
162 |
|
|
Parser OP2_FROM_OP1() throws Exception {
|
163 |
|
|
GenerateMicrocode.entry(newline, "OP2_FROM_OP1");
|
164 |
|
|
return new Parser(false);
|
165 |
|
|
}
|
166 |
|
|
Parser OP2_LOAD_1() throws Exception {
|
167 |
|
|
GenerateMicrocode.entry(newline, "OP2_LOAD_1");
|
168 |
|
|
return new Parser(false);
|
169 |
|
|
}
|
170 |
|
|
Parser OP2_LOAD_COUNT() throws Exception {
|
171 |
|
|
GenerateMicrocode.entry(newline, "OP2_LOAD_COUNT");
|
172 |
|
|
return new Parser(false);
|
173 |
|
|
}
|
174 |
|
|
Parser OP2_ADDQ_SUBQ() throws Exception {
|
175 |
|
|
GenerateMicrocode.entry(newline, "OP2_ADDQ_SUBQ");
|
176 |
|
|
return new Parser(false);
|
177 |
|
|
}
|
178 |
|
|
Parser OP2_MOVE_OFFSET() throws Exception {
|
179 |
|
|
GenerateMicrocode.entry(newline, "OP2_MOVE_OFFSET");
|
180 |
|
|
return new Parser(false);
|
181 |
|
|
}
|
182 |
|
|
Parser OP2_MOVE_ADDRESS_BUS_INFO() throws Exception {
|
183 |
|
|
GenerateMicrocode.entry(newline, "OP2_MOVE_ADDRESS_BUS_INFO");
|
184 |
|
|
return new Parser(false);
|
185 |
|
|
}
|
186 |
|
|
Parser OP2_DECR_BY_1() throws Exception {
|
187 |
|
|
GenerateMicrocode.entry(newline, "OP2_DECR_BY_1");
|
188 |
|
|
return new Parser(false);
|
189 |
|
|
}
|
190 |
|
|
Parser ADDRESS_INCR_BY_SIZE() throws Exception {
|
191 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_INCR_BY_SIZE");
|
192 |
|
|
return new Parser(false);
|
193 |
|
|
}
|
194 |
|
|
Parser ADDRESS_DECR_BY_SIZE() throws Exception {
|
195 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_DECR_BY_SIZE");
|
196 |
|
|
return new Parser(false);
|
197 |
|
|
}
|
198 |
|
|
Parser ADDRESS_INCR_BY_2() throws Exception {
|
199 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_INCR_BY_2");
|
200 |
|
|
return new Parser(false);
|
201 |
|
|
}
|
202 |
|
|
Parser ADDRESS_FROM_AN_OUTPUT() throws Exception {
|
203 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_FROM_AN_OUTPUT");
|
204 |
|
|
return new Parser(false);
|
205 |
|
|
}
|
206 |
|
|
Parser ADDRESS_FROM_BASE_INDEX_OFFSET() throws Exception {
|
207 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_FROM_BASE_INDEX_OFFSET");
|
208 |
|
|
return new Parser(false);
|
209 |
|
|
}
|
210 |
|
|
Parser ADDRESS_FROM_IMM_16() throws Exception {
|
211 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_FROM_IMM_16");
|
212 |
|
|
return new Parser(false);
|
213 |
|
|
}
|
214 |
|
|
Parser ADDRESS_FROM_IMM_32() throws Exception {
|
215 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_FROM_IMM_32");
|
216 |
|
|
return new Parser(false);
|
217 |
|
|
}
|
218 |
|
|
Parser ADDRESS_FROM_PC_INDEX_OFFSET() throws Exception {
|
219 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_FROM_PC_INDEX_OFFSET");
|
220 |
|
|
return new Parser(false);
|
221 |
|
|
}
|
222 |
|
|
Parser ADDRESS_FROM_TRAP() throws Exception {
|
223 |
|
|
GenerateMicrocode.entry(newline, "ADDRESS_FROM_TRAP");
|
224 |
|
|
return new Parser(false);
|
225 |
|
|
}
|
226 |
|
|
Parser SIZE_BYTE() throws Exception {
|
227 |
|
|
GenerateMicrocode.entry(newline, "SIZE_BYTE");
|
228 |
|
|
return new Parser(false);
|
229 |
|
|
}
|
230 |
|
|
Parser SIZE_WORD() throws Exception {
|
231 |
|
|
GenerateMicrocode.entry(newline, "SIZE_WORD");
|
232 |
|
|
return new Parser(false);
|
233 |
|
|
}
|
234 |
|
|
Parser SIZE_LONG() throws Exception {
|
235 |
|
|
GenerateMicrocode.entry(newline, "SIZE_LONG");
|
236 |
|
|
return new Parser(false);
|
237 |
|
|
}
|
238 |
|
|
Parser SIZE_1() throws Exception {
|
239 |
|
|
GenerateMicrocode.entry(newline, "SIZE_1");
|
240 |
|
|
return new Parser(false);
|
241 |
|
|
}
|
242 |
|
|
Parser SIZE_1_PLUS() throws Exception {
|
243 |
|
|
GenerateMicrocode.entry(newline, "SIZE_1_PLUS");
|
244 |
|
|
return new Parser(false);
|
245 |
|
|
}
|
246 |
|
|
Parser SIZE_2() throws Exception {
|
247 |
|
|
GenerateMicrocode.entry(newline, "SIZE_2");
|
248 |
|
|
return new Parser(false);
|
249 |
|
|
}
|
250 |
|
|
Parser SIZE_3() throws Exception {
|
251 |
|
|
GenerateMicrocode.entry(newline, "SIZE_3");
|
252 |
|
|
return new Parser(false);
|
253 |
|
|
}
|
254 |
|
|
Parser SIZE_4() throws Exception {
|
255 |
|
|
GenerateMicrocode.entry(newline, "SIZE_4");
|
256 |
|
|
return new Parser(false);
|
257 |
|
|
}
|
258 |
|
|
Parser SIZE_5() throws Exception {
|
259 |
|
|
GenerateMicrocode.entry(newline, "SIZE_5");
|
260 |
|
|
return new Parser(false);
|
261 |
|
|
}
|
262 |
|
|
Parser SIZE_6() throws Exception {
|
263 |
|
|
GenerateMicrocode.entry(newline, "SIZE_6");
|
264 |
|
|
return new Parser(false);
|
265 |
|
|
}
|
266 |
|
|
Parser MOVEM_MODREG_LOAD_0() throws Exception {
|
267 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_MODREG_LOAD_0");
|
268 |
|
|
return new Parser(false);
|
269 |
|
|
}
|
270 |
|
|
Parser MOVEM_MODREG_LOAD_6b001111() throws Exception {
|
271 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_MODREG_LOAD_6b001111");
|
272 |
|
|
return new Parser(false);
|
273 |
|
|
}
|
274 |
|
|
Parser MOVEM_MODREG_INCR_BY_1() throws Exception {
|
275 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_MODREG_INCR_BY_1");
|
276 |
|
|
return new Parser(false);
|
277 |
|
|
}
|
278 |
|
|
Parser MOVEM_MODREG_DECR_BY_1() throws Exception {
|
279 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_MODREG_DECR_BY_1");
|
280 |
|
|
return new Parser(false);
|
281 |
|
|
}
|
282 |
|
|
Parser MOVEM_LOOP_LOAD_0() throws Exception {
|
283 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_LOOP_LOAD_0");
|
284 |
|
|
return new Parser(false);
|
285 |
|
|
}
|
286 |
|
|
Parser MOVEM_LOOP_INCR_BY_1() throws Exception {
|
287 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_LOOP_INCR_BY_1");
|
288 |
|
|
return new Parser(false);
|
289 |
|
|
}
|
290 |
|
|
Parser MOVEM_REG_FROM_OP1() throws Exception {
|
291 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_REG_FROM_OP1");
|
292 |
|
|
return new Parser(false);
|
293 |
|
|
}
|
294 |
|
|
Parser MOVEM_REG_SHIFT_RIGHT() throws Exception {
|
295 |
|
|
GenerateMicrocode.entry(newline, "MOVEM_REG_SHIFT_RIGHT");
|
296 |
|
|
return new Parser(false);
|
297 |
|
|
}
|
298 |
|
|
Parser IR_LOAD_WHEN_PREFETCH_VALID() throws Exception {
|
299 |
|
|
GenerateMicrocode.entry(newline, "IR_LOAD_WHEN_PREFETCH_VALID");
|
300 |
|
|
return new Parser(false);
|
301 |
|
|
}
|
302 |
|
|
Parser PC_FROM_RESULT() throws Exception {
|
303 |
|
|
GenerateMicrocode.entry(newline, "PC_FROM_RESULT");
|
304 |
|
|
return new Parser(false);
|
305 |
|
|
}
|
306 |
|
|
Parser PC_INCR_BY_2() throws Exception {
|
307 |
|
|
GenerateMicrocode.entry(newline, "PC_INCR_BY_2");
|
308 |
|
|
return new Parser(false);
|
309 |
|
|
}
|
310 |
|
|
Parser PC_INCR_BY_4() throws Exception {
|
311 |
|
|
GenerateMicrocode.entry(newline, "PC_INCR_BY_4");
|
312 |
|
|
return new Parser(false);
|
313 |
|
|
}
|
314 |
|
|
Parser PC_INCR_BY_SIZE() throws Exception {
|
315 |
|
|
GenerateMicrocode.entry(newline, "PC_INCR_BY_SIZE");
|
316 |
|
|
return new Parser(false);
|
317 |
|
|
}
|
318 |
|
|
Parser PC_FROM_PREFETCH_IR() throws Exception {
|
319 |
|
|
GenerateMicrocode.entry(newline, "PC_FROM_PREFETCH_IR");
|
320 |
|
|
return new Parser(false);
|
321 |
|
|
}
|
322 |
|
|
Parser PC_INCR_BY_2_IN_MAIN_LOOP() throws Exception {
|
323 |
|
|
GenerateMicrocode.entry(newline, "PC_INCR_BY_2_IN_MAIN_LOOP");
|
324 |
|
|
return new Parser(false);
|
325 |
|
|
}
|
326 |
|
|
Parser TRAP_ILLEGAL_INSTR() throws Exception {
|
327 |
|
|
GenerateMicrocode.entry(newline, "TRAP_ILLEGAL_INSTR");
|
328 |
|
|
return new Parser(false);
|
329 |
|
|
}
|
330 |
|
|
Parser TRAP_DIV_BY_ZERO() throws Exception {
|
331 |
|
|
GenerateMicrocode.entry(newline, "TRAP_DIV_BY_ZERO");
|
332 |
|
|
return new Parser(false);
|
333 |
|
|
}
|
334 |
|
|
Parser TRAP_CHK() throws Exception {
|
335 |
|
|
GenerateMicrocode.entry(newline, "TRAP_CHK");
|
336 |
|
|
return new Parser(false);
|
337 |
|
|
}
|
338 |
|
|
Parser TRAP_TRAPV() throws Exception {
|
339 |
|
|
GenerateMicrocode.entry(newline, "TRAP_TRAPV");
|
340 |
|
|
return new Parser(false);
|
341 |
|
|
}
|
342 |
|
|
Parser TRAP_PRIVIL_VIOLAT() throws Exception {
|
343 |
|
|
GenerateMicrocode.entry(newline, "TRAP_PRIVIL_VIOLAT");
|
344 |
|
|
return new Parser(false);
|
345 |
|
|
}
|
346 |
|
|
Parser TRAP_TRACE() throws Exception {
|
347 |
|
|
GenerateMicrocode.entry(newline, "TRAP_TRACE");
|
348 |
|
|
return new Parser(false);
|
349 |
|
|
}
|
350 |
|
|
Parser TRAP_TRAP() throws Exception {
|
351 |
|
|
GenerateMicrocode.entry(newline, "TRAP_TRAP");
|
352 |
|
|
return new Parser(false);
|
353 |
|
|
}
|
354 |
|
|
Parser TRAP_FROM_DECODER() throws Exception {
|
355 |
|
|
GenerateMicrocode.entry(newline, "TRAP_FROM_DECODER");
|
356 |
|
|
return new Parser(false);
|
357 |
|
|
}
|
358 |
|
|
Parser TRAP_FROM_INTERRUPT() throws Exception {
|
359 |
|
|
GenerateMicrocode.entry(newline, "TRAP_FROM_INTERRUPT");
|
360 |
|
|
return new Parser(false);
|
361 |
|
|
}
|
362 |
|
|
Parser OFFSET_IMM_8() throws Exception {
|
363 |
|
|
GenerateMicrocode.entry(newline, "OFFSET_IMM_8");
|
364 |
|
|
return new Parser(false);
|
365 |
|
|
}
|
366 |
|
|
Parser OFFSET_IMM_16() throws Exception {
|
367 |
|
|
GenerateMicrocode.entry(newline, "OFFSET_IMM_16");
|
368 |
|
|
return new Parser(false);
|
369 |
|
|
}
|
370 |
|
|
Parser INDEX_0() throws Exception {
|
371 |
|
|
GenerateMicrocode.entry(newline, "INDEX_0");
|
372 |
|
|
return new Parser(false);
|
373 |
|
|
}
|
374 |
|
|
Parser INDEX_LOAD_EXTENDED() throws Exception {
|
375 |
|
|
GenerateMicrocode.entry(newline, "INDEX_LOAD_EXTENDED");
|
376 |
|
|
return new Parser(false);
|
377 |
|
|
}
|
378 |
|
|
Parser STOP_FLAG_SET() throws Exception {
|
379 |
|
|
GenerateMicrocode.entry(newline, "STOP_FLAG_SET");
|
380 |
|
|
return new Parser(false);
|
381 |
|
|
}
|
382 |
|
|
Parser STOP_FLAG_CLEAR() throws Exception {
|
383 |
|
|
GenerateMicrocode.entry(newline, "STOP_FLAG_CLEAR");
|
384 |
|
|
return new Parser(false);
|
385 |
|
|
}
|
386 |
|
|
Parser TRACE_FLAG_COPY_WHEN_NO_STOP() throws Exception {
|
387 |
|
|
GenerateMicrocode.entry(newline, "TRACE_FLAG_COPY_WHEN_NO_STOP");
|
388 |
|
|
return new Parser(false);
|
389 |
|
|
}
|
390 |
|
|
Parser GROUP_0_FLAG_SET() throws Exception {
|
391 |
|
|
GenerateMicrocode.entry(newline, "GROUP_0_FLAG_SET");
|
392 |
|
|
return new Parser(false);
|
393 |
|
|
}
|
394 |
|
|
Parser GROUP_0_FLAG_CLEAR_WHEN_VALID_PREFETCH() throws Exception {
|
395 |
|
|
GenerateMicrocode.entry(newline, "GROUP_0_FLAG_CLEAR_WHEN_VALID_PREFETCH");
|
396 |
|
|
return new Parser(false);
|
397 |
|
|
}
|
398 |
|
|
Parser INSTRUCTION_FLAG_SET() throws Exception {
|
399 |
|
|
GenerateMicrocode.entry(newline, "INSTRUCTION_FLAG_SET");
|
400 |
|
|
return new Parser(false);
|
401 |
|
|
}
|
402 |
|
|
Parser INSTRUCTION_FLAG_CLEAR_IN_MAIN_LOOP() throws Exception {
|
403 |
|
|
GenerateMicrocode.entry(newline, "INSTRUCTION_FLAG_CLEAR_IN_MAIN_LOOP");
|
404 |
|
|
return new Parser(false);
|
405 |
|
|
}
|
406 |
|
|
Parser READ_MODIFY_WRITE_FLAG_SET() throws Exception {
|
407 |
|
|
GenerateMicrocode.entry(newline, "READ_MODIFY_WRITE_FLAG_SET");
|
408 |
|
|
return new Parser(false);
|
409 |
|
|
}
|
410 |
|
|
Parser READ_MODIFY_WRITE_FLAG_CLEAR() throws Exception {
|
411 |
|
|
GenerateMicrocode.entry(newline, "READ_MODIFY_WRITE_FLAG_CLEAR");
|
412 |
|
|
return new Parser(false);
|
413 |
|
|
}
|
414 |
|
|
Parser DO_RESET_FLAG_SET() throws Exception {
|
415 |
|
|
GenerateMicrocode.entry(newline, "DO_RESET_FLAG_SET");
|
416 |
|
|
return new Parser(false);
|
417 |
|
|
}
|
418 |
|
|
Parser DO_RESET_FLAG_CLEAR() throws Exception {
|
419 |
|
|
GenerateMicrocode.entry(newline, "DO_RESET_FLAG_CLEAR");
|
420 |
|
|
return new Parser(false);
|
421 |
|
|
}
|
422 |
|
|
Parser DO_INTERRUPT_FLAG_SET_IF_ACTIVE() throws Exception {
|
423 |
|
|
GenerateMicrocode.entry(newline, "DO_INTERRUPT_FLAG_SET_IF_ACTIVE");
|
424 |
|
|
return new Parser(false);
|
425 |
|
|
}
|
426 |
|
|
Parser DO_INTERRUPT_FLAG_CLEAR() throws Exception {
|
427 |
|
|
GenerateMicrocode.entry(newline, "DO_INTERRUPT_FLAG_CLEAR");
|
428 |
|
|
return new Parser(false);
|
429 |
|
|
}
|
430 |
|
|
Parser DO_READ_FLAG_SET() throws Exception {
|
431 |
|
|
GenerateMicrocode.entry(newline, "DO_READ_FLAG_SET");
|
432 |
|
|
return new Parser(false);
|
433 |
|
|
}
|
434 |
|
|
Parser DO_READ_FLAG_CLEAR() throws Exception {
|
435 |
|
|
GenerateMicrocode.entry(newline, "DO_READ_FLAG_CLEAR");
|
436 |
|
|
return new Parser(false);
|
437 |
|
|
}
|
438 |
|
|
Parser DO_WRITE_FLAG_SET() throws Exception {
|
439 |
|
|
GenerateMicrocode.entry(newline, "DO_WRITE_FLAG_SET");
|
440 |
|
|
return new Parser(false);
|
441 |
|
|
}
|
442 |
|
|
Parser DO_WRITE_FLAG_CLEAR() throws Exception {
|
443 |
|
|
GenerateMicrocode.entry(newline, "DO_WRITE_FLAG_CLEAR");
|
444 |
|
|
return new Parser(false);
|
445 |
|
|
}
|
446 |
|
|
Parser DO_BLOCKED_FLAG_SET() throws Exception {
|
447 |
|
|
GenerateMicrocode.entry(newline, "DO_BLOCKED_FLAG_SET");
|
448 |
|
|
return new Parser(false);
|
449 |
|
|
}
|
450 |
|
|
Parser DATA_WRITE_FROM_RESULT() throws Exception {
|
451 |
|
|
GenerateMicrocode.entry(newline, "DATA_WRITE_FROM_RESULT");
|
452 |
|
|
return new Parser(false);
|
453 |
|
|
}
|
454 |
|
|
Parser AN_ADDRESS_FROM_EXTENDED() throws Exception {
|
455 |
|
|
GenerateMicrocode.entry(newline, "AN_ADDRESS_FROM_EXTENDED");
|
456 |
|
|
return new Parser(false);
|
457 |
|
|
}
|
458 |
|
|
Parser AN_ADDRESS_USP() throws Exception {
|
459 |
|
|
GenerateMicrocode.entry(newline, "AN_ADDRESS_USP");
|
460 |
|
|
return new Parser(false);
|
461 |
|
|
}
|
462 |
|
|
Parser AN_ADDRESS_SSP() throws Exception {
|
463 |
|
|
GenerateMicrocode.entry(newline, "AN_ADDRESS_SSP");
|
464 |
|
|
return new Parser(false);
|
465 |
|
|
}
|
466 |
|
|
Parser AN_WRITE_ENABLE_SET() throws Exception {
|
467 |
|
|
GenerateMicrocode.entry(newline, "AN_WRITE_ENABLE_SET");
|
468 |
|
|
return new Parser(false);
|
469 |
|
|
}
|
470 |
|
|
Parser AN_INPUT_FROM_ADDRESS() throws Exception {
|
471 |
|
|
GenerateMicrocode.entry(newline, "AN_INPUT_FROM_ADDRESS");
|
472 |
|
|
return new Parser(false);
|
473 |
|
|
}
|
474 |
|
|
Parser AN_INPUT_FROM_PREFETCH_IR() throws Exception {
|
475 |
|
|
GenerateMicrocode.entry(newline, "AN_INPUT_FROM_PREFETCH_IR");
|
476 |
|
|
return new Parser(false);
|
477 |
|
|
}
|
478 |
|
|
Parser DN_ADDRESS_FROM_EXTENDED() throws Exception {
|
479 |
|
|
GenerateMicrocode.entry(newline, "DN_ADDRESS_FROM_EXTENDED");
|
480 |
|
|
return new Parser(false);
|
481 |
|
|
}
|
482 |
|
|
Parser DN_WRITE_ENABLE_SET() throws Exception {
|
483 |
|
|
GenerateMicrocode.entry(newline, "DN_WRITE_ENABLE_SET");
|
484 |
|
|
return new Parser(false);
|
485 |
|
|
}
|
486 |
|
|
Parser ALU_SR_SET_INTERRUPT() throws Exception {
|
487 |
|
|
GenerateMicrocode.entry(newline, "ALU_SR_SET_INTERRUPT");
|
488 |
|
|
return new Parser(false);
|
489 |
|
|
}
|
490 |
|
|
Parser ALU_SR_SET_TRAP() throws Exception {
|
491 |
|
|
GenerateMicrocode.entry(newline, "ALU_SR_SET_TRAP");
|
492 |
|
|
return new Parser(false);
|
493 |
|
|
}
|
494 |
|
|
Parser ALU_MOVEP_M2R_1() throws Exception {
|
495 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_M2R_1");
|
496 |
|
|
return new Parser(false);
|
497 |
|
|
}
|
498 |
|
|
Parser ALU_MOVEP_M2R_2() throws Exception {
|
499 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_M2R_2");
|
500 |
|
|
return new Parser(false);
|
501 |
|
|
}
|
502 |
|
|
Parser ALU_MOVEP_M2R_3() throws Exception {
|
503 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_M2R_3");
|
504 |
|
|
return new Parser(false);
|
505 |
|
|
}
|
506 |
|
|
Parser ALU_MOVEP_M2R_4() throws Exception {
|
507 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_M2R_4");
|
508 |
|
|
return new Parser(false);
|
509 |
|
|
}
|
510 |
|
|
Parser ALU_MOVEP_R2M_1() throws Exception {
|
511 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_R2M_1");
|
512 |
|
|
return new Parser(false);
|
513 |
|
|
}
|
514 |
|
|
Parser ALU_MOVEP_R2M_2() throws Exception {
|
515 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_R2M_2");
|
516 |
|
|
return new Parser(false);
|
517 |
|
|
}
|
518 |
|
|
Parser ALU_MOVEP_R2M_3() throws Exception {
|
519 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_R2M_3");
|
520 |
|
|
return new Parser(false);
|
521 |
|
|
}
|
522 |
|
|
Parser ALU_MOVEP_R2M_4() throws Exception {
|
523 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVEP_R2M_4");
|
524 |
|
|
return new Parser(false);
|
525 |
|
|
}
|
526 |
|
|
Parser ALU_SIGN_EXTEND() throws Exception {
|
527 |
|
|
GenerateMicrocode.entry(newline, "ALU_SIGN_EXTEND");
|
528 |
|
|
return new Parser(false);
|
529 |
|
|
}
|
530 |
|
|
Parser ALU_ARITHMETIC_LOGIC() throws Exception {
|
531 |
|
|
GenerateMicrocode.entry(newline, "ALU_ARITHMETIC_LOGIC");
|
532 |
|
|
return new Parser(false);
|
533 |
|
|
}
|
534 |
17 |
alfik |
Parser ALU_ABCD_SBCD_ADDX_SUBX_prepare() throws Exception {
|
535 |
|
|
GenerateMicrocode.entry(newline, "ALU_ABCD_SBCD_ADDX_SUBX_prepare");
|
536 |
|
|
return new Parser(false);
|
537 |
|
|
}
|
538 |
12 |
alfik |
Parser ALU_ABCD_SBCD_ADDX_SUBX() throws Exception {
|
539 |
|
|
GenerateMicrocode.entry(newline, "ALU_ABCD_SBCD_ADDX_SUBX");
|
540 |
|
|
return new Parser(false);
|
541 |
|
|
}
|
542 |
|
|
Parser ALU_ASL_LSL_ROL_ROXL_ASR_LSR_ROR_ROXR_prepare() throws Exception {
|
543 |
|
|
GenerateMicrocode.entry(newline, "ALU_ASL_LSL_ROL_ROXL_ASR_LSR_ROR_ROXR_prepare");
|
544 |
|
|
return new Parser(false);
|
545 |
|
|
}
|
546 |
|
|
Parser ALU_ASL_LSL_ROL_ROXL_ASR_LSR_ROR_ROXR() throws Exception {
|
547 |
|
|
GenerateMicrocode.entry(newline, "ALU_ASL_LSL_ROL_ROXL_ASR_LSR_ROR_ROXR");
|
548 |
|
|
return new Parser(false);
|
549 |
|
|
}
|
550 |
|
|
Parser ALU_MOVE() throws Exception {
|
551 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVE");
|
552 |
|
|
return new Parser(false);
|
553 |
|
|
}
|
554 |
|
|
Parser ALU_ADDA_SUBA_CMPA_ADDQ_SUBQ() throws Exception {
|
555 |
|
|
GenerateMicrocode.entry(newline, "ALU_ADDA_SUBA_CMPA_ADDQ_SUBQ");
|
556 |
|
|
return new Parser(false);
|
557 |
|
|
}
|
558 |
|
|
Parser ALU_CHK() throws Exception {
|
559 |
|
|
GenerateMicrocode.entry(newline, "ALU_CHK");
|
560 |
|
|
return new Parser(false);
|
561 |
|
|
}
|
562 |
|
|
Parser ALU_MULS_MULU_DIVS_DIVU() throws Exception {
|
563 |
|
|
GenerateMicrocode.entry(newline, "ALU_MULS_MULU_DIVS_DIVU");
|
564 |
|
|
return new Parser(false);
|
565 |
|
|
}
|
566 |
|
|
Parser ALU_BCHG_BCLR_BSET_BTST() throws Exception {
|
567 |
|
|
GenerateMicrocode.entry(newline, "ALU_BCHG_BCLR_BSET_BTST");
|
568 |
|
|
return new Parser(false);
|
569 |
|
|
}
|
570 |
|
|
Parser ALU_TAS() throws Exception {
|
571 |
|
|
GenerateMicrocode.entry(newline, "ALU_TAS");
|
572 |
|
|
return new Parser(false);
|
573 |
|
|
}
|
574 |
|
|
Parser ALU_NEGX_CLR_NEG_NOT_NBCD_SWAP_EXT() throws Exception {
|
575 |
|
|
GenerateMicrocode.entry(newline, "ALU_NEGX_CLR_NEG_NOT_NBCD_SWAP_EXT");
|
576 |
|
|
return new Parser(false);
|
577 |
|
|
}
|
578 |
|
|
Parser ALU_SIMPLE_LONG_ADD() throws Exception {
|
579 |
|
|
GenerateMicrocode.entry(newline, "ALU_SIMPLE_LONG_ADD");
|
580 |
|
|
return new Parser(false);
|
581 |
|
|
}
|
582 |
|
|
Parser ALU_SIMPLE_LONG_SUB() throws Exception {
|
583 |
|
|
GenerateMicrocode.entry(newline, "ALU_SIMPLE_LONG_SUB");
|
584 |
|
|
return new Parser(false);
|
585 |
|
|
}
|
586 |
|
|
Parser ALU_MOVE_TO_CCR_SR_RTE_RTR_STOP_LOGIC_TO_CCR_SR() throws Exception {
|
587 |
|
|
GenerateMicrocode.entry(newline, "ALU_MOVE_TO_CCR_SR_RTE_RTR_STOP_LOGIC_TO_CCR_SR");
|
588 |
|
|
return new Parser(false);
|
589 |
|
|
}
|
590 |
|
|
Parser ALU_SIMPLE_MOVE() throws Exception {
|
591 |
|
|
GenerateMicrocode.entry(newline, "ALU_SIMPLE_MOVE");
|
592 |
|
|
return new Parser(false);
|
593 |
|
|
}
|
594 |
|
|
Parser ALU_LINK_MOVE() throws Exception {
|
595 |
|
|
GenerateMicrocode.entry(newline, "ALU_LINK_MOVE");
|
596 |
|
|
return new Parser(false);
|
597 |
|
|
}
|
598 |
|
|
Parser BRANCH_movem_loop() throws Exception {
|
599 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_movem_loop");
|
600 |
|
|
return new Parser(false);
|
601 |
|
|
}
|
602 |
|
|
Parser BRANCH_movem_reg() throws Exception {
|
603 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_movem_reg");
|
604 |
|
|
return new Parser(false);
|
605 |
|
|
}
|
606 |
|
|
Parser BRANCH_operand2() throws Exception {
|
607 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_operand2");
|
608 |
|
|
return new Parser(false);
|
609 |
|
|
}
|
610 |
13 |
alfik |
Parser BRANCH_alu_signal() throws Exception {
|
611 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_alu_signal");
|
612 |
12 |
alfik |
return new Parser(false);
|
613 |
|
|
}
|
614 |
13 |
alfik |
Parser BRANCH_alu_mult_div_ready() throws Exception {
|
615 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_alu_mult_div_ready");
|
616 |
12 |
alfik |
return new Parser(false);
|
617 |
|
|
}
|
618 |
|
|
Parser BRANCH_condition_0() throws Exception {
|
619 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_condition_0");
|
620 |
|
|
return new Parser(false);
|
621 |
|
|
}
|
622 |
|
|
Parser BRANCH_condition_1() throws Exception {
|
623 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_condition_1");
|
624 |
|
|
return new Parser(false);
|
625 |
|
|
}
|
626 |
|
|
Parser BRANCH_result() throws Exception {
|
627 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_result");
|
628 |
|
|
return new Parser(false);
|
629 |
|
|
}
|
630 |
|
|
Parser BRANCH_V() throws Exception {
|
631 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_V");
|
632 |
|
|
return new Parser(false);
|
633 |
|
|
}
|
634 |
|
|
Parser BRANCH_movep_16() throws Exception {
|
635 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_movep_16");
|
636 |
|
|
return new Parser(false);
|
637 |
|
|
}
|
638 |
|
|
Parser BRANCH_stop_flag_wait_ir_decode() throws Exception {
|
639 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_stop_flag_wait_ir_decode");
|
640 |
|
|
return new Parser(false);
|
641 |
|
|
}
|
642 |
|
|
Parser BRANCH_ir() throws Exception {
|
643 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_ir");
|
644 |
|
|
return new Parser(false);
|
645 |
|
|
}
|
646 |
|
|
Parser BRANCH_trace_flag_and_interrupt() throws Exception {
|
647 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_trace_flag_and_interrupt");
|
648 |
|
|
return new Parser(false);
|
649 |
|
|
}
|
650 |
|
|
Parser BRANCH_group_0_flag() throws Exception {
|
651 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_group_0_flag");
|
652 |
|
|
return new Parser(false);
|
653 |
|
|
}
|
654 |
|
|
Parser BRANCH_procedure() throws Exception {
|
655 |
|
|
GenerateMicrocode.entry(newline, "BRANCH_procedure");
|
656 |
|
|
return new Parser(false);
|
657 |
|
|
}
|
658 |
|
|
Parser PROCEDURE_call_load_ea() throws Exception {
|
659 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_load_ea");
|
660 |
|
|
return new Parser(false);
|
661 |
|
|
}
|
662 |
|
|
Parser PROCEDURE_call_perform_ea_read() throws Exception {
|
663 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_perform_ea_read");
|
664 |
|
|
return new Parser(false);
|
665 |
|
|
}
|
666 |
|
|
Parser PROCEDURE_call_perform_ea_write() throws Exception {
|
667 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_perform_ea_write");
|
668 |
|
|
return new Parser(false);
|
669 |
|
|
}
|
670 |
|
|
Parser PROCEDURE_call_save_ea() throws Exception {
|
671 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_save_ea");
|
672 |
|
|
return new Parser(false);
|
673 |
|
|
}
|
674 |
|
|
Parser PROCEDURE_return() throws Exception {
|
675 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_return");
|
676 |
|
|
return new Parser(false);
|
677 |
|
|
}
|
678 |
|
|
Parser PROCEDURE_wait_finished() throws Exception {
|
679 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_wait_finished");
|
680 |
|
|
return new Parser(false);
|
681 |
|
|
}
|
682 |
|
|
Parser PROCEDURE_wait_prefetch_valid() throws Exception {
|
683 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_wait_prefetch_valid");
|
684 |
|
|
return new Parser(false);
|
685 |
|
|
}
|
686 |
|
|
Parser PROCEDURE_wait_prefetch_valid_32() throws Exception {
|
687 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_wait_prefetch_valid_32");
|
688 |
|
|
return new Parser(false);
|
689 |
|
|
}
|
690 |
|
|
Parser PROCEDURE_jump_to_main_loop() throws Exception {
|
691 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_jump_to_main_loop");
|
692 |
|
|
return new Parser(false);
|
693 |
|
|
}
|
694 |
|
|
Parser PROCEDURE_push_micropc() throws Exception {
|
695 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_push_micropc");
|
696 |
|
|
return new Parser(false);
|
697 |
|
|
}
|
698 |
|
|
Parser PROCEDURE_call_trap() throws Exception {
|
699 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_trap");
|
700 |
|
|
return new Parser(false);
|
701 |
|
|
}
|
702 |
|
|
Parser PROCEDURE_pop_micropc() throws Exception {
|
703 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_pop_micropc");
|
704 |
|
|
return new Parser(false);
|
705 |
|
|
}
|
706 |
|
|
Parser PROCEDURE_interrupt_mask() throws Exception {
|
707 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_interrupt_mask");
|
708 |
|
|
return new Parser(false);
|
709 |
|
|
}
|
710 |
|
|
Parser PROCEDURE_call_read() throws Exception {
|
711 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_read");
|
712 |
|
|
return new Parser(false);
|
713 |
|
|
}
|
714 |
|
|
Parser PROCEDURE_call_write() throws Exception {
|
715 |
|
|
GenerateMicrocode.entry(newline, "PROCEDURE_call_write");
|
716 |
|
|
return new Parser(false);
|
717 |
|
|
}
|
718 |
|
|
void label(String label) throws Exception { GenerateMicrocode.entry(newline, "label_" + label); }
|
719 |
|
|
Parser offset(String label) throws Exception {
|
720 |
|
|
GenerateMicrocode.entry(newline, "offset_" + label);
|
721 |
|
|
return new Parser(false);
|
722 |
|
|
}
|
723 |
|
|
}
|