diff options
Diffstat (limited to 'arch/m68k/ifpsp060/src/itest.S')
-rw-r--r-- | arch/m68k/ifpsp060/src/itest.S | 6386 |
1 files changed, 6386 insertions, 0 deletions
diff --git a/arch/m68k/ifpsp060/src/itest.S b/arch/m68k/ifpsp060/src/itest.S new file mode 100644 index 000000000000..ba4a30cbcbea --- /dev/null +++ b/arch/m68k/ifpsp060/src/itest.S | |||
@@ -0,0 +1,6386 @@ | |||
1 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
2 | MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP | ||
3 | M68000 Hi-Performance Microprocessor Division | ||
4 | M68060 Software Package | ||
5 | Production Release P1.00 -- October 10, 1994 | ||
6 | |||
7 | M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. | ||
8 | |||
9 | THE SOFTWARE is provided on an "AS IS" basis and without warranty. | ||
10 | To the maximum extent permitted by applicable law, | ||
11 | MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED, | ||
12 | INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE | ||
13 | and any warranty against infringement with regard to the SOFTWARE | ||
14 | (INCLUDING ANY MODIFIED VERSIONS THEREOF) and any accompanying written materials. | ||
15 | |||
16 | To the maximum extent permitted by applicable law, | ||
17 | IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER | ||
18 | (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, | ||
19 | BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) | ||
20 | ARISING OF THE USE OR INABILITY TO USE THE SOFTWARE. | ||
21 | Motorola assumes no responsibility for the maintenance and support of the SOFTWARE. | ||
22 | |||
23 | You are hereby granted a copyright license to use, modify, and distribute the SOFTWARE | ||
24 | so long as this entire notice is retained without alteration in any modified and/or | ||
25 | redistributed versions, and that such modified versions are clearly identified as such. | ||
26 | No licenses are granted by implication, estoppel or otherwise under any patents | ||
27 | or trademarks of Motorola, Inc. | ||
28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
29 | ############################################# | ||
30 | set SREGS, -64 | ||
31 | set IREGS, -128 | ||
32 | set SCCR, -130 | ||
33 | set ICCR, -132 | ||
34 | set TESTCTR, -136 | ||
35 | set EAMEM, -140 | ||
36 | set EASTORE, -144 | ||
37 | set DATA, -160 | ||
38 | |||
39 | ############################################# | ||
40 | TESTTOP: | ||
41 | bra.l _060TESTS_ | ||
42 | |||
43 | start_str: | ||
44 | string "Testing 68060 ISP started:\n" | ||
45 | |||
46 | pass_str: | ||
47 | string "passed\n" | ||
48 | fail_str: | ||
49 | string " failed\n" | ||
50 | |||
51 | align 0x4 | ||
52 | chk_test: | ||
53 | tst.l %d0 | ||
54 | bne.b test_fail | ||
55 | test_pass: | ||
56 | pea pass_str(%pc) | ||
57 | bsr.l _print_str | ||
58 | addq.l &0x4,%sp | ||
59 | rts | ||
60 | test_fail: | ||
61 | mov.l %d1,-(%sp) | ||
62 | bsr.l _print_num | ||
63 | addq.l &0x4,%sp | ||
64 | |||
65 | pea fail_str(%pc) | ||
66 | bsr.l _print_str | ||
67 | addq.l &0x4,%sp | ||
68 | rts | ||
69 | |||
70 | ############################################# | ||
71 | _060TESTS_: | ||
72 | link %a6,&-160 | ||
73 | |||
74 | movm.l &0x3f3c,-(%sp) | ||
75 | |||
76 | pea start_str(%pc) | ||
77 | bsr.l _print_str | ||
78 | addq.l &0x4,%sp | ||
79 | |||
80 | ### mul | ||
81 | clr.l TESTCTR(%a6) | ||
82 | pea mulul_str(%pc) | ||
83 | bsr.l _print_str | ||
84 | addq.l &0x4,%sp | ||
85 | |||
86 | bsr.l mulul_0 | ||
87 | |||
88 | bsr.l chk_test | ||
89 | |||
90 | ### div | ||
91 | clr.l TESTCTR(%a6) | ||
92 | pea divul_str(%pc) | ||
93 | bsr.l _print_str | ||
94 | addq.l &0x4,%sp | ||
95 | |||
96 | bsr.l divul_0 | ||
97 | |||
98 | bsr.l chk_test | ||
99 | |||
100 | ### cmp2 | ||
101 | clr.l TESTCTR(%a6) | ||
102 | pea cmp2_str(%pc) | ||
103 | bsr.l _print_str | ||
104 | addq.l &0x4,%sp | ||
105 | |||
106 | bsr.l cmp2_1 | ||
107 | |||
108 | bsr.l chk_test | ||
109 | |||
110 | ### movp | ||
111 | clr.l TESTCTR(%a6) | ||
112 | pea movp_str(%pc) | ||
113 | bsr.l _print_str | ||
114 | addq.l &0x4,%sp | ||
115 | |||
116 | bsr.l movp_0 | ||
117 | |||
118 | bsr.l chk_test | ||
119 | |||
120 | ### ea | ||
121 | clr.l TESTCTR(%a6) | ||
122 | pea ea_str(%pc) | ||
123 | bsr.l _print_str | ||
124 | addq.l &0x4,%sp | ||
125 | |||
126 | mov.l &0x2,EAMEM(%a6) | ||
127 | bsr.l ea_0 | ||
128 | |||
129 | bsr.l chk_test | ||
130 | |||
131 | ### cas | ||
132 | clr.l TESTCTR(%a6) | ||
133 | pea cas_str(%pc) | ||
134 | bsr.l _print_str | ||
135 | addq.l &0x4,%sp | ||
136 | |||
137 | bsr.l cas0 | ||
138 | |||
139 | bsr.l chk_test | ||
140 | |||
141 | ### cas2 | ||
142 | clr.l TESTCTR(%a6) | ||
143 | pea cas2_str(%pc) | ||
144 | bsr.l _print_str | ||
145 | addq.l &0x4,%sp | ||
146 | |||
147 | bsr.l cas20 | ||
148 | |||
149 | bsr.l chk_test | ||
150 | |||
151 | ### | ||
152 | movm.l (%sp)+,&0x3cfc | ||
153 | |||
154 | unlk %a6 | ||
155 | rts | ||
156 | |||
157 | ############################################# | ||
158 | ############################################# | ||
159 | |||
160 | mulul_str: | ||
161 | string "\t64-bit multiply..." | ||
162 | |||
163 | align 0x4 | ||
164 | mulul_0: | ||
165 | addq.l &0x1,TESTCTR(%a6) | ||
166 | |||
167 | movm.l DEF_REGS(%pc),&0x3fff | ||
168 | |||
169 | clr.l %d1 | ||
170 | mov.l &0x99999999,%d2 | ||
171 | mov.l &0x88888888,%d3 | ||
172 | |||
173 | mov.w &0x0004,ICCR(%a6) | ||
174 | mov.w &0x0000,%cc | ||
175 | movm.l &0x7fff,IREGS(%a6) | ||
176 | |||
177 | mulu.l %d1,%d2:%d3 | ||
178 | |||
179 | mov.w %cc,SCCR(%a6) | ||
180 | movm.l &0x7fff,SREGS(%a6) | ||
181 | clr.l IREGS+0x8(%a6) | ||
182 | clr.l IREGS+0xc(%a6) | ||
183 | |||
184 | bsr.l chkregs | ||
185 | tst.b %d0 | ||
186 | bne.l error | ||
187 | |||
188 | mulul_1: | ||
189 | addq.l &0x1,TESTCTR(%a6) | ||
190 | |||
191 | movm.l DEF_REGS(%pc),&0x3fff | ||
192 | |||
193 | mov.l &0x77777777,%d1 | ||
194 | mov.l &0x99999999,%d2 | ||
195 | mov.l &0x00000000,%d3 | ||
196 | |||
197 | mov.w &0x0004,ICCR(%a6) | ||
198 | mov.w &0x0000,%cc | ||
199 | movm.l &0x7fff,IREGS(%a6) | ||
200 | |||
201 | mulu.l %d1,%d2:%d3 | ||
202 | |||
203 | mov.w %cc,SCCR(%a6) | ||
204 | movm.l &0x7fff,SREGS(%a6) | ||
205 | clr.l IREGS+0x8(%a6) | ||
206 | clr.l IREGS+0xc(%a6) | ||
207 | |||
208 | bsr.l chkregs | ||
209 | tst.b %d0 | ||
210 | bne.l error | ||
211 | |||
212 | mulul_2: | ||
213 | addq.l &0x1,TESTCTR(%a6) | ||
214 | |||
215 | movm.l DEF_REGS(%pc),&0x3fff | ||
216 | |||
217 | mov.l &0x00000010,%d1 | ||
218 | mov.l &0x66666666,%d2 | ||
219 | |||
220 | mov.w &0x0000,ICCR(%a6) | ||
221 | mov.w &0x0000,%cc | ||
222 | movm.l &0x7fff,IREGS(%a6) | ||
223 | |||
224 | mulu.l %d1,%d2:%d2 | ||
225 | |||
226 | mov.w %cc,SCCR(%a6) | ||
227 | movm.l &0x7fff,SREGS(%a6) | ||
228 | mov.l &0x00000006,IREGS+0x8(%a6) | ||
229 | |||
230 | bsr.l chkregs | ||
231 | tst.b %d0 | ||
232 | bne.l error | ||
233 | |||
234 | mulul_3: | ||
235 | addq.l &0x1,TESTCTR(%a6) | ||
236 | |||
237 | movm.l DEF_REGS(%pc),&0x3fff | ||
238 | |||
239 | mov.l &0x55555555,%d1 | ||
240 | mov.l &0x00000000,%d2 | ||
241 | mov.l &0x00000003,%d3 | ||
242 | |||
243 | mov.w &0x0000,ICCR(%a6) | ||
244 | mov.w &0x0000,%cc | ||
245 | movm.l &0x7fff,IREGS(%a6) | ||
246 | |||
247 | mulu.l %d1,%d2:%d3 | ||
248 | |||
249 | mov.w %cc,SCCR(%a6) | ||
250 | movm.l &0x7fff,SREGS(%a6) | ||
251 | mov.l &0x00000000,IREGS+0x8(%a6) | ||
252 | mov.l &0xffffffff,IREGS+0xc(%a6) | ||
253 | |||
254 | bsr.l chkregs | ||
255 | tst.b %d0 | ||
256 | bne.l error | ||
257 | |||
258 | mulul_4: | ||
259 | addq.l &0x1,TESTCTR(%a6) | ||
260 | |||
261 | movm.l DEF_REGS(%pc),&0x3fff | ||
262 | |||
263 | mov.l &0x40000000,%d1 | ||
264 | mov.l &0x00000000,%d2 | ||
265 | mov.l &0x00000004,%d3 | ||
266 | |||
267 | mov.w &0x0000,ICCR(%a6) | ||
268 | mov.w &0x0000,%cc | ||
269 | movm.l &0x7fff,IREGS(%a6) | ||
270 | |||
271 | mulu.l %d1,%d2:%d3 | ||
272 | |||
273 | mov.w %cc,SCCR(%a6) | ||
274 | movm.l &0x7fff,SREGS(%a6) | ||
275 | mov.l &0x00000001,IREGS+0x8(%a6) | ||
276 | mov.l &0x00000000,IREGS+0xc(%a6) | ||
277 | |||
278 | bsr.l chkregs | ||
279 | tst.b %d0 | ||
280 | bne.l error | ||
281 | |||
282 | mulul_5: | ||
283 | addq.l &0x1,TESTCTR(%a6) | ||
284 | |||
285 | movm.l DEF_REGS(%pc),&0x3fff | ||
286 | |||
287 | mov.l &0xffffffff,%d1 | ||
288 | mov.l &0x00000000,%d2 | ||
289 | mov.l &0xffffffff,%d3 | ||
290 | |||
291 | mov.w &0x0008,ICCR(%a6) | ||
292 | mov.w &0x0000,%cc | ||
293 | movm.l &0x7fff,IREGS(%a6) | ||
294 | |||
295 | mulu.l %d1,%d2:%d3 | ||
296 | |||
297 | mov.w %cc,SCCR(%a6) | ||
298 | movm.l &0x7fff,SREGS(%a6) | ||
299 | mov.l &0xfffffffe,IREGS+0x8(%a6) | ||
300 | mov.l &0x00000001,IREGS+0xc(%a6) | ||
301 | |||
302 | bsr.l chkregs | ||
303 | tst.b %d0 | ||
304 | bne.l error | ||
305 | |||
306 | mulul_6: | ||
307 | addq.l &0x1,TESTCTR(%a6) | ||
308 | |||
309 | movm.l DEF_REGS(%pc),&0x3fff | ||
310 | |||
311 | mov.l &0x80000000,%d1 | ||
312 | mov.l &0x00000000,%d2 | ||
313 | mov.l &0xffffffff,%d3 | ||
314 | |||
315 | mov.w &0x00000,ICCR(%a6) | ||
316 | mov.w &0x0000,%cc | ||
317 | movm.l &0x7fff,IREGS(%a6) | ||
318 | |||
319 | muls.l %d1,%d2:%d3 | ||
320 | |||
321 | mov.w %cc,SCCR(%a6) | ||
322 | movm.l &0x7fff,SREGS(%a6) | ||
323 | mov.l &0x00000000,IREGS+0x8(%a6) | ||
324 | mov.l &0x80000000,IREGS+0xc(%a6) | ||
325 | |||
326 | bsr.l chkregs | ||
327 | tst.b %d0 | ||
328 | bne.l error | ||
329 | |||
330 | mulul_7: | ||
331 | addq.l &0x1,TESTCTR(%a6) | ||
332 | |||
333 | movm.l DEF_REGS(%pc),&0x3fff | ||
334 | |||
335 | mov.l &0x80000000,%d1 | ||
336 | mov.l &0x00000000,%d2 | ||
337 | mov.l &0x00000001,%d3 | ||
338 | |||
339 | mov.w &0x0008,ICCR(%a6) | ||
340 | mov.w &0x0000,%cc | ||
341 | movm.l &0x7fff,IREGS(%a6) | ||
342 | |||
343 | muls.l %d1,%d2:%d3 | ||
344 | |||
345 | mov.w %cc,SCCR(%a6) | ||
346 | movm.l &0x7fff,SREGS(%a6) | ||
347 | mov.l &0xffffffff,IREGS+0x8(%a6) | ||
348 | mov.l &0x80000000,IREGS+0xc(%a6) | ||
349 | |||
350 | bsr.l chkregs | ||
351 | tst.b %d0 | ||
352 | bne.l error | ||
353 | |||
354 | mulul_8: | ||
355 | addq.l &0x1,TESTCTR(%a6) | ||
356 | |||
357 | movm.l DEF_REGS(%pc),&0x3fff | ||
358 | |||
359 | mov.l &0x00000001,%d1 | ||
360 | mov.l &0x00000000,%d2 | ||
361 | mov.l &0x80000000,%d3 | ||
362 | |||
363 | mov.w &0x0008,ICCR(%a6) | ||
364 | mov.w &0x0000,%cc | ||
365 | movm.l &0x7fff,IREGS(%a6) | ||
366 | |||
367 | muls.l %d1,%d2:%d3 | ||
368 | |||
369 | mov.w %cc,SCCR(%a6) | ||
370 | movm.l &0x7fff,SREGS(%a6) | ||
371 | mov.l &0xffffffff,IREGS+0x8(%a6) | ||
372 | mov.l &0x80000000,IREGS+0xc(%a6) | ||
373 | |||
374 | bsr.l chkregs | ||
375 | tst.b %d0 | ||
376 | bne.l error | ||
377 | |||
378 | mov.l TESTCTR(%a6),%d1 | ||
379 | clr.l %d0 | ||
380 | rts | ||
381 | |||
382 | ############################################# | ||
383 | |||
384 | movp_str: | ||
385 | string "\tmovep..." | ||
386 | |||
387 | align 0x4 | ||
388 | ############################### | ||
389 | # movep.w %d0,(0x0,%a0) # | ||
390 | ############################### | ||
391 | movp_0: | ||
392 | addq.l &0x1,TESTCTR(%a6) | ||
393 | |||
394 | movm.l DEF_REGS(%pc),&0x3fff | ||
395 | |||
396 | lea DATA(%a6),%a0 | ||
397 | mov.w &0xaaaa,%d0 | ||
398 | clr.b 0x0(%a0) | ||
399 | clr.b 0x2(%a0) | ||
400 | |||
401 | mov.w &0x001f,ICCR(%a6) | ||
402 | mov.w &0x001f,%cc | ||
403 | movm.l &0x7fff,IREGS(%a6) | ||
404 | |||
405 | movp.w %d0,(0x0,%a0) | ||
406 | |||
407 | mov.w %cc,SCCR(%a6) | ||
408 | movm.l &0x7fff,SREGS(%a6) | ||
409 | |||
410 | mov.b 0x2(%a0),%d1 | ||
411 | lsl.w &0x8,%d1 | ||
412 | mov.b 0x0(%a0),%d1 | ||
413 | |||
414 | cmp.w %d0,%d1 | ||
415 | bne.l error | ||
416 | |||
417 | bsr.l chkregs | ||
418 | tst.b %d0 | ||
419 | bne.l error | ||
420 | |||
421 | ############################### | ||
422 | # movep.w %d0,(0x0,%a0) # | ||
423 | ############################### | ||
424 | movp_1: | ||
425 | addq.l &0x1,TESTCTR(%a6) | ||
426 | |||
427 | movm.l DEF_REGS(%pc),&0x3fff | ||
428 | |||
429 | lea DATA+0x4(%a6),%a0 | ||
430 | mov.w &0xaaaa,%d0 | ||
431 | clr.l -0x4(%a0) | ||
432 | clr.l (%a0) | ||
433 | clr.l 0x4(%a0) | ||
434 | |||
435 | mov.w &0x001f,ICCR(%a6) | ||
436 | mov.w &0x001f,%cc | ||
437 | movm.l &0x7fff,IREGS(%a6) | ||
438 | |||
439 | movp.w %d0,(0x0,%a0) | ||
440 | |||
441 | mov.w %cc,SCCR(%a6) | ||
442 | movm.l &0x7fff,SREGS(%a6) | ||
443 | |||
444 | tst.l -0x4(%a0) | ||
445 | bne.l error | ||
446 | tst.l 0x4(%a0) | ||
447 | bne.l error | ||
448 | cmpi.l (%a0),&0xaa00aa00 | ||
449 | bne.l error | ||
450 | |||
451 | bsr.l chkregs | ||
452 | tst.b %d0 | ||
453 | bne.l error | ||
454 | |||
455 | ##################################################### | ||
456 | # movep.w %d0,(0x0,%a0) # | ||
457 | # - this test has %cc initially equal to zero # | ||
458 | ##################################################### | ||
459 | movp_2: | ||
460 | addq.l &0x1,TESTCTR(%a6) | ||
461 | |||
462 | movm.l DEF_REGS(%pc),&0x3fff | ||
463 | |||
464 | lea DATA(%a6),%a0 | ||
465 | mov.w &0xaaaa,%d0 | ||
466 | clr.b 0x0(%a0) | ||
467 | clr.b 0x2(%a0) | ||
468 | |||
469 | mov.w &0x0000,ICCR(%a6) | ||
470 | mov.w &0x0000,%cc | ||
471 | movm.l &0x7fff,IREGS(%a6) | ||
472 | |||
473 | movp.w %d0,(0x0,%a0) | ||
474 | |||
475 | mov.w %cc,SCCR(%a6) | ||
476 | movm.l &0x7fff,SREGS(%a6) | ||
477 | |||
478 | mov.b 0x2(%a0),%d1 | ||
479 | lsl.w &0x8,%d1 | ||
480 | mov.b 0x0(%a0),%d1 | ||
481 | |||
482 | cmp.w %d0,%d1 | ||
483 | bne.l error | ||
484 | |||
485 | bsr.l chkregs | ||
486 | tst.b %d0 | ||
487 | bne.l error | ||
488 | |||
489 | ############################### | ||
490 | # movep.w (0x0,%a0),%d0 # | ||
491 | ############################### | ||
492 | movp_3: | ||
493 | addq.l &0x1,TESTCTR(%a6) | ||
494 | |||
495 | movm.l DEF_REGS(%pc),&0x3fff | ||
496 | |||
497 | lea DATA(%a6),%a0 | ||
498 | mov.b &0xaa,0x0(%a0) | ||
499 | mov.b &0xaa,0x2(%a0) | ||
500 | |||
501 | mov.w &0x001f,ICCR(%a6) | ||
502 | mov.w &0x001f,%cc | ||
503 | movm.l &0x7fff,IREGS(%a6) | ||
504 | |||
505 | movp.w (0x0,%a0),%d0 | ||
506 | |||
507 | mov.w %cc,SCCR(%a6) | ||
508 | movm.l &0x7fff,SREGS(%a6) | ||
509 | mov.w &0xaaaa,IREGS+0x2(%a6) | ||
510 | |||
511 | mov.w &0xaaaa,%d1 | ||
512 | |||
513 | cmp.w %d0,%d1 | ||
514 | bne.l error | ||
515 | |||
516 | bsr.l chkregs | ||
517 | tst.b %d0 | ||
518 | bne.l error | ||
519 | |||
520 | ############################### | ||
521 | # movep.l %d0,(0x0,%a0) # | ||
522 | ############################### | ||
523 | movp_4: | ||
524 | addq.l &0x1,TESTCTR(%a6) | ||
525 | |||
526 | movm.l DEF_REGS(%pc),&0x3fff | ||
527 | |||
528 | lea DATA(%a6),%a0 | ||
529 | mov.l &0xaaaaaaaa,%d0 | ||
530 | clr.b 0x0(%a0) | ||
531 | clr.b 0x2(%a0) | ||
532 | clr.b 0x4(%a0) | ||
533 | clr.b 0x6(%a0) | ||
534 | |||
535 | mov.w &0x001f,ICCR(%a6) | ||
536 | mov.w &0x001f,%cc | ||
537 | movm.l &0x7fff,IREGS(%a6) | ||
538 | |||
539 | movp.l %d0,(0x0,%a0) | ||
540 | |||
541 | mov.w %cc,SCCR(%a6) | ||
542 | movm.l &0x7fff,SREGS(%a6) | ||
543 | |||
544 | mov.b 0x6(%a0),%d1 | ||
545 | lsl.l &0x8,%d1 | ||
546 | mov.b 0x4(%a0),%d1 | ||
547 | lsl.l &0x8,%d1 | ||
548 | mov.b 0x2(%a0),%d1 | ||
549 | lsl.l &0x8,%d1 | ||
550 | mov.b 0x0(%a0),%d1 | ||
551 | |||
552 | cmp.l %d0,%d1 | ||
553 | bne.l error | ||
554 | |||
555 | bsr.l chkregs | ||
556 | tst.b %d0 | ||
557 | bne.l error | ||
558 | |||
559 | ############################### | ||
560 | # movep.l %d0,(0x0,%a0) # | ||
561 | ############################### | ||
562 | movp_5: | ||
563 | addq.l &0x1,TESTCTR(%a6) | ||
564 | |||
565 | movm.l DEF_REGS(%pc),&0x3fff | ||
566 | |||
567 | lea DATA+0x4(%a6),%a0 | ||
568 | mov.l &0xaaaaaaaa,%d0 | ||
569 | clr.l -0x4(%a0) | ||
570 | clr.l (%a0) | ||
571 | clr.l 0x4(%a0) | ||
572 | clr.l 0x8(%a0) | ||
573 | |||
574 | mov.w &0x001f,ICCR(%a6) | ||
575 | mov.w &0x001f,%cc | ||
576 | movm.l &0x7fff,IREGS(%a6) | ||
577 | |||
578 | movp.l %d0,(0x0,%a0) | ||
579 | |||
580 | mov.w %cc,SCCR(%a6) | ||
581 | movm.l &0x7fff,SREGS(%a6) | ||
582 | |||
583 | tst.l -0x4(%a0) | ||
584 | bne.l error | ||
585 | tst.l 0x8(%a0) | ||
586 | bne.l error | ||
587 | cmpi.l (%a0),&0xaa00aa00 | ||
588 | bne.l error | ||
589 | cmpi.l 0x4(%a0),&0xaa00aa00 | ||
590 | bne.l error | ||
591 | |||
592 | bsr.l chkregs | ||
593 | tst.b %d0 | ||
594 | bne.l error | ||
595 | |||
596 | ############################### | ||
597 | # movep.l (0x0,%a0),%d0 # | ||
598 | ############################### | ||
599 | movp_6: | ||
600 | addq.l &0x1,TESTCTR(%a6) | ||
601 | |||
602 | movm.l DEF_REGS(%pc),&0x3fff | ||
603 | |||
604 | lea DATA(%a6),%a0 | ||
605 | mov.b &0xaa,0x0(%a0) | ||
606 | mov.b &0xaa,0x2(%a0) | ||
607 | mov.b &0xaa,0x4(%a0) | ||
608 | mov.b &0xaa,0x6(%a0) | ||
609 | |||
610 | mov.w &0x001f,ICCR(%a6) | ||
611 | mov.w &0x001f,%cc | ||
612 | movm.l &0x7fff,IREGS(%a6) | ||
613 | |||
614 | movp.l (0x0,%a0),%d0 | ||
615 | |||
616 | mov.w %cc,SCCR(%a6) | ||
617 | movm.l &0x7fff,SREGS(%a6) | ||
618 | mov.l &0xaaaaaaaa,IREGS(%a6) | ||
619 | |||
620 | mov.l &0xaaaaaaaa,%d1 | ||
621 | |||
622 | cmp.l %d0,%d1 | ||
623 | bne.l error | ||
624 | |||
625 | bsr.l chkregs | ||
626 | tst.b %d0 | ||
627 | bne.l error | ||
628 | |||
629 | ############################### | ||
630 | # movep.w %d7,(0x0,%a0) # | ||
631 | ############################### | ||
632 | movp_7: | ||
633 | addq.l &0x1,TESTCTR(%a6) | ||
634 | |||
635 | movm.l DEF_REGS(%pc),&0x3fff | ||
636 | |||
637 | lea DATA(%a6),%a0 | ||
638 | mov.w &0xaaaa,%d7 | ||
639 | clr.b 0x0(%a0) | ||
640 | clr.b 0x2(%a0) | ||
641 | |||
642 | mov.w &0x001f,ICCR(%a6) | ||
643 | mov.w &0x001f,%cc | ||
644 | movm.l &0x7fff,IREGS(%a6) | ||
645 | |||
646 | movp.w %d7,(0x0,%a0) | ||
647 | |||
648 | mov.w %cc,SCCR(%a6) | ||
649 | movm.l &0x7fff,SREGS(%a6) | ||
650 | |||
651 | mov.b 0x2(%a0),%d1 | ||
652 | lsl.w &0x8,%d1 | ||
653 | mov.b 0x0(%a0),%d1 | ||
654 | |||
655 | cmp.w %d7,%d1 | ||
656 | bne.l error | ||
657 | |||
658 | bsr.l chkregs | ||
659 | tst.b %d0 | ||
660 | bne.l error | ||
661 | |||
662 | ############################### | ||
663 | # movep.w (0x0,%a0),%d7 # | ||
664 | ############################### | ||
665 | movp_8: | ||
666 | addq.l &0x1,TESTCTR(%a6) | ||
667 | |||
668 | movm.l DEF_REGS(%pc),&0x3fff | ||
669 | |||
670 | lea DATA(%a6),%a0 | ||
671 | mov.b &0xaa,0x0(%a0) | ||
672 | mov.b &0xaa,0x2(%a0) | ||
673 | |||
674 | mov.w &0x001f,ICCR(%a6) | ||
675 | mov.w &0x001f,%cc | ||
676 | movm.l &0x7fff,IREGS(%a6) | ||
677 | |||
678 | movp.w (0x0,%a0),%d7 | ||
679 | |||
680 | mov.w %cc,SCCR(%a6) | ||
681 | movm.l &0x7fff,SREGS(%a6) | ||
682 | mov.w &0xaaaa,IREGS+30(%a6) | ||
683 | |||
684 | mov.w &0xaaaa,%d1 | ||
685 | |||
686 | cmp.w %d7,%d1 | ||
687 | bne.l error | ||
688 | |||
689 | bsr.l chkregs | ||
690 | tst.b %d0 | ||
691 | bne.l error | ||
692 | |||
693 | ############################### | ||
694 | # movep.w %d0,(0x0,%a0) # | ||
695 | ############################### | ||
696 | movp_9: | ||
697 | addq.l &0x1,TESTCTR(%a6) | ||
698 | |||
699 | movm.l DEF_REGS(%pc),&0x3fff | ||
700 | |||
701 | lea DATA(%a6),%a0 | ||
702 | mov.w &0xaaaa,%d0 | ||
703 | clr.b 0x0(%a0) | ||
704 | clr.b 0x2(%a0) | ||
705 | |||
706 | mov.w &0x001f,ICCR(%a6) | ||
707 | mov.w &0x001f,%cc | ||
708 | movm.l &0x7fff,IREGS(%a6) | ||
709 | |||
710 | movp.w %d0,(0x0,%a0) | ||
711 | |||
712 | mov.w %cc,SCCR(%a6) | ||
713 | movm.l &0x7fff,SREGS(%a6) | ||
714 | |||
715 | mov.b 0x2(%a0),%d1 | ||
716 | lsl.w &0x8,%d1 | ||
717 | mov.b 0x0(%a0),%d1 | ||
718 | |||
719 | cmp.w %d0,%d1 | ||
720 | bne.l error | ||
721 | |||
722 | bsr.l chkregs | ||
723 | tst.b %d0 | ||
724 | bne.l error | ||
725 | |||
726 | ############################### | ||
727 | # movep.w %d0,(0x8,%a0) # | ||
728 | ############################### | ||
729 | movp_10: | ||
730 | addq.l &0x1,TESTCTR(%a6) | ||
731 | |||
732 | movm.l DEF_REGS(%pc),&0x3fff | ||
733 | |||
734 | lea DATA(%a6),%a0 | ||
735 | mov.w &0xaaaa,%d0 | ||
736 | clr.b 0x0+0x8(%a0) | ||
737 | clr.b 0x2+0x8(%a0) | ||
738 | |||
739 | mov.w &0x001f,ICCR(%a6) | ||
740 | mov.w &0x1f,%cc | ||
741 | movm.l &0x7fff,IREGS(%a6) | ||
742 | |||
743 | movp.w %d0,(0x8,%a0) | ||
744 | |||
745 | mov.w %cc,SCCR(%a6) | ||
746 | movm.l &0x7fff,SREGS(%a6) | ||
747 | |||
748 | mov.b 0x2+0x8(%a0),%d1 | ||
749 | lsl.w &0x8,%d1 | ||
750 | mov.b 0x0+0x8(%a0),%d1 | ||
751 | |||
752 | cmp.w %d0,%d1 | ||
753 | bne.l error | ||
754 | |||
755 | bsr.l chkregs | ||
756 | tst.b %d0 | ||
757 | bne.l error | ||
758 | |||
759 | ############################### | ||
760 | # movep.w (0x8,%a0),%d0 # | ||
761 | ############################### | ||
762 | movp_11: | ||
763 | addq.l &0x1,TESTCTR(%a6) | ||
764 | |||
765 | movm.l DEF_REGS(%pc),&0x3fff | ||
766 | |||
767 | lea DATA(%a6),%a0 | ||
768 | mov.b &0xaa,0x0+0x8(%a0) | ||
769 | mov.b &0xaa,0x2+0x8(%a0) | ||
770 | |||
771 | mov.w &0x001f,ICCR(%a6) | ||
772 | mov.w &0x1f,%cc | ||
773 | movm.l &0x7fff,IREGS(%a6) | ||
774 | |||
775 | movp.w (0x8,%a0),%d0 | ||
776 | |||
777 | mov.w %cc,SCCR(%a6) | ||
778 | movm.l &0x7fff,SREGS(%a6) | ||
779 | mov.w &0xaaaa,IREGS+0x2(%a6) | ||
780 | |||
781 | mov.w &0xaaaa,%d1 | ||
782 | |||
783 | cmp.w %d0,%d1 | ||
784 | bne.l error | ||
785 | |||
786 | bsr.l chkregs | ||
787 | tst.b %d0 | ||
788 | bne.l error | ||
789 | |||
790 | ############################### | ||
791 | # movep.l %d0,(0x8,%a0) # | ||
792 | ############################### | ||
793 | movp_12: | ||
794 | addq.l &0x1,TESTCTR(%a6) | ||
795 | |||
796 | movm.l DEF_REGS(%pc),&0x3fff | ||
797 | |||
798 | lea DATA(%a6),%a0 | ||
799 | mov.l &0xaaaaaaaa,%d0 | ||
800 | clr.b 0x0+0x8(%a0) | ||
801 | clr.b 0x2+0x8(%a0) | ||
802 | clr.b 0x4+0x8(%a0) | ||
803 | clr.b 0x6+0x8(%a0) | ||
804 | |||
805 | mov.w &0x001f,ICCR(%a6) | ||
806 | mov.w &0x1f,%cc | ||
807 | movm.l &0x7fff,IREGS(%a6) | ||
808 | |||
809 | movp.l %d0,(0x8,%a0) | ||
810 | |||
811 | mov.w %cc,SCCR(%a6) | ||
812 | movm.l &0x7fff,SREGS(%a6) | ||
813 | |||
814 | mov.b 0x6+0x8(%a0),%d1 | ||
815 | lsl.l &0x8,%d1 | ||
816 | mov.b 0x4+0x8(%a0),%d1 | ||
817 | lsl.l &0x8,%d1 | ||
818 | mov.b 0x2+0x8(%a0),%d1 | ||
819 | lsl.l &0x8,%d1 | ||
820 | mov.b 0x0+0x8(%a0),%d1 | ||
821 | |||
822 | cmp.l %d0,%d1 | ||
823 | bne.l error | ||
824 | |||
825 | bsr.l chkregs | ||
826 | tst.b %d0 | ||
827 | bne.l error | ||
828 | |||
829 | ############################### | ||
830 | # movep.l (0x8,%a0),%d0 # | ||
831 | ############################### | ||
832 | movp_13: | ||
833 | addq.l &0x1,TESTCTR(%a6) | ||
834 | |||
835 | movm.l DEF_REGS(%pc),&0x3fff | ||
836 | |||
837 | lea DATA(%a6),%a0 | ||
838 | mov.b &0xaa,0x0+0x8(%a0) | ||
839 | mov.b &0xaa,0x2+0x8(%a0) | ||
840 | mov.b &0xaa,0x4+0x8(%a0) | ||
841 | mov.b &0xaa,0x6+0x8(%a0) | ||
842 | |||
843 | mov.w &0x001f,ICCR(%a6) | ||
844 | mov.w &0x1f,%cc | ||
845 | movm.l &0x7fff,IREGS(%a6) | ||
846 | |||
847 | movp.l (0x8,%a0),%d0 | ||
848 | |||
849 | mov.w %cc,SCCR(%a6) | ||
850 | movm.l &0x7fff,SREGS(%a6) | ||
851 | mov.l &0xaaaaaaaa,IREGS(%a6) | ||
852 | |||
853 | mov.l &0xaaaaaaaa,%d1 | ||
854 | |||
855 | cmp.l %d0,%d1 | ||
856 | bne.l error | ||
857 | |||
858 | bsr.l chkregs | ||
859 | tst.b %d0 | ||
860 | bne.l error | ||
861 | |||
862 | ################################ | ||
863 | # movep.w %d0,(-0x8,%a0) # | ||
864 | ################################ | ||
865 | movp_14: | ||
866 | addq.l &0x1,TESTCTR(%a6) | ||
867 | |||
868 | movm.l DEF_REGS(%pc),&0x3fff | ||
869 | |||
870 | lea DATA+0x8(%a6),%a0 | ||
871 | mov.w &0xaaaa,%d0 | ||
872 | clr.b 0x0-0x8(%a0) | ||
873 | clr.b 0x2-0x8(%a0) | ||
874 | |||
875 | mov.w &0x001f,ICCR(%a6) | ||
876 | mov.w &0x1f,%cc | ||
877 | movm.l &0x7fff,IREGS(%a6) | ||
878 | |||
879 | movp.w %d0,(-0x8,%a0) | ||
880 | |||
881 | mov.w %cc,SCCR(%a6) | ||
882 | movm.l &0x7fff,SREGS(%a6) | ||
883 | |||
884 | mov.b 0x2-0x8(%a0),%d1 | ||
885 | lsl.w &0x8,%d1 | ||
886 | mov.b 0x0-0x8(%a0),%d1 | ||
887 | |||
888 | cmp.w %d0,%d1 | ||
889 | bne.l error | ||
890 | |||
891 | bsr.l chkregs | ||
892 | tst.b %d0 | ||
893 | bne.l error | ||
894 | |||
895 | ################################ | ||
896 | # movep.w (-0x8,%a0),%d0 # | ||
897 | ################################ | ||
898 | movp_15: | ||
899 | addq.l &0x1,TESTCTR(%a6) | ||
900 | |||
901 | movm.l DEF_REGS(%pc),&0x3fff | ||
902 | |||
903 | lea DATA+0x8(%a6),%a0 | ||
904 | mov.b &0xaa,0x0-0x8(%a0) | ||
905 | mov.b &0xaa,0x2-0x8(%a0) | ||
906 | |||
907 | mov.w &0x001f,ICCR(%a6) | ||
908 | mov.w &0x1f,%cc | ||
909 | movm.l &0x7fff,IREGS(%a6) | ||
910 | |||
911 | movp.w (-0x8,%a0),%d0 | ||
912 | |||
913 | mov.w %cc,SCCR(%a6) | ||
914 | movm.l &0x7fff,SREGS(%a6) | ||
915 | mov.w &0xaaaa,IREGS+0x2(%a6) | ||
916 | |||
917 | mov.w &0xaaaa,%d1 | ||
918 | |||
919 | cmp.w %d0,%d1 | ||
920 | bne.l error | ||
921 | |||
922 | bsr.l chkregs | ||
923 | tst.b %d0 | ||
924 | bne.l error | ||
925 | |||
926 | ################################ | ||
927 | # movep.l %d0,(-0x8,%a0) # | ||
928 | ################################ | ||
929 | movp_16: | ||
930 | addq.l &0x1,TESTCTR(%a6) | ||
931 | |||
932 | movm.l DEF_REGS(%pc),&0x3fff | ||
933 | |||
934 | lea DATA+0x8(%a6),%a0 | ||
935 | mov.l &0xaaaaaaaa,%d0 | ||
936 | clr.b 0x0-0x8(%a0) | ||
937 | clr.b 0x2-0x8(%a0) | ||
938 | clr.b 0x4-0x8(%a0) | ||
939 | clr.b 0x8-0x8(%a0) | ||
940 | |||
941 | mov.w &0x001f,ICCR(%a6) | ||
942 | mov.w &0x1f,%cc | ||
943 | movm.l &0x7fff,IREGS(%a6) | ||
944 | |||
945 | movp.l %d0,(-0x8,%a0) | ||
946 | |||
947 | mov.w %cc,SCCR(%a6) | ||
948 | movm.l &0x7fff,SREGS(%a6) | ||
949 | |||
950 | mov.b 0x6-0x8(%a0),%d1 | ||
951 | lsl.l &0x8,%d1 | ||
952 | mov.b 0x4-0x8(%a0),%d1 | ||
953 | lsl.l &0x8,%d1 | ||
954 | mov.b 0x2-0x8(%a0),%d1 | ||
955 | lsl.l &0x8,%d1 | ||
956 | mov.b 0x0-0x8(%a0),%d1 | ||
957 | |||
958 | cmp.l %d0,%d1 | ||
959 | bne.l error | ||
960 | |||
961 | bsr.l chkregs | ||
962 | tst.b %d0 | ||
963 | bne.l error | ||
964 | |||
965 | ################################ | ||
966 | # movep.l (-0x8,%a0),%d0 # | ||
967 | ################################ | ||
968 | movp_17: | ||
969 | addq.l &0x1,TESTCTR(%a6) | ||
970 | |||
971 | movm.l DEF_REGS(%pc),&0x3fff | ||
972 | |||
973 | lea DATA+0x8(%a6),%a0 | ||
974 | mov.b &0xaa,0x0-0x8(%a0) | ||
975 | mov.b &0xaa,0x2-0x8(%a0) | ||
976 | mov.b &0xaa,0x4-0x8(%a0) | ||
977 | mov.b &0xaa,0x8-0x8(%a0) | ||
978 | |||
979 | mov.w &0x001f,ICCR(%a6) | ||
980 | mov.w &0x1f,%cc | ||
981 | movm.l &0x7fff,IREGS(%a6) | ||
982 | |||
983 | movp.l (-0x8,%a0),%d0 | ||
984 | |||
985 | mov.w %cc,SCCR(%a6) | ||
986 | movm.l &0x7fff,SREGS(%a6) | ||
987 | mov.l &0xaaaaaaaa,IREGS(%a6) | ||
988 | |||
989 | mov.l &0xaaaaaaaa,%d1 | ||
990 | |||
991 | cmp.l %d0,%d1 | ||
992 | bne.l error | ||
993 | |||
994 | bsr.l chkregs | ||
995 | tst.b %d0 | ||
996 | bne.l error | ||
997 | |||
998 | mov.l TESTCTR(%a6),%d1 | ||
999 | clr.l %d0 | ||
1000 | rts | ||
1001 | |||
1002 | ########################################################### | ||
1003 | |||
1004 | divul_str: | ||
1005 | string "\t64-bit divide..." | ||
1006 | |||
1007 | align 0x4 | ||
1008 | divul_0: | ||
1009 | addq.l &0x1,TESTCTR(%a6) | ||
1010 | |||
1011 | # movm.l DEF_REGS(%pc),&0x3fff | ||
1012 | |||
1013 | # clr.l %d1 | ||
1014 | # mov.l &0x99999999,%d2 | ||
1015 | # mov.l &0x88888888,%d3 | ||
1016 | |||
1017 | # mov.w &0x001e,ICCR(%a6) | ||
1018 | # mov.w &0x001f,%cc | ||
1019 | # movm.l &0x7fff,IREGS(%a6) | ||
1020 | |||
1021 | # divu.l %d1,%d2:%d3 | ||
1022 | |||
1023 | # mov.w %cc,SCCR(%a6) | ||
1024 | # movm.l &0x7fff,SREGS(%a6) | ||
1025 | |||
1026 | # bsr.l chkregs | ||
1027 | # tst.b %d0 | ||
1028 | # bne.l error | ||
1029 | |||
1030 | divul_1: | ||
1031 | addq.l &0x1,TESTCTR(%a6) | ||
1032 | |||
1033 | movm.l DEF_REGS(%pc),&0x3fff | ||
1034 | |||
1035 | mov.l &0x00000001,%d1 | ||
1036 | mov.l &0x00000000,%d2 | ||
1037 | mov.l &0x00000000,%d3 | ||
1038 | |||
1039 | mov.w &0x0014,ICCR(%a6) | ||
1040 | mov.w &0x001f,%cc | ||
1041 | movm.l &0x7fff,IREGS(%a6) | ||
1042 | |||
1043 | divu.l %d1,%d2:%d3 | ||
1044 | |||
1045 | mov.w %cc,SCCR(%a6) | ||
1046 | movm.l &0x7fff,SREGS(%a6) | ||
1047 | |||
1048 | bsr.l chkregs | ||
1049 | tst.b %d0 | ||
1050 | bne.l error | ||
1051 | |||
1052 | divul_2: | ||
1053 | addq.l &0x1,TESTCTR(%a6) | ||
1054 | |||
1055 | movm.l DEF_REGS(%pc),&0x3fff | ||
1056 | |||
1057 | mov.l &0x44444444,%d1 | ||
1058 | mov.l &0x00000000,%d2 | ||
1059 | mov.l &0x55555555,%d3 | ||
1060 | |||
1061 | mov.w &0x0010,ICCR(%a6) | ||
1062 | mov.w &0x001f,%cc | ||
1063 | movm.l &0x7fff,IREGS(%a6) | ||
1064 | |||
1065 | divu.l %d1,%d2:%d3 | ||
1066 | |||
1067 | mov.w %cc,SCCR(%a6) | ||
1068 | movm.l &0x7fff,SREGS(%a6) | ||
1069 | mov.l &0x11111111,IREGS+0x8(%a6) | ||
1070 | mov.l &0x00000001,IREGS+0xc(%a6) | ||
1071 | |||
1072 | bsr.l chkregs | ||
1073 | tst.b %d0 | ||
1074 | bne.l error | ||
1075 | |||
1076 | divul_3: | ||
1077 | addq.l &0x1,TESTCTR(%a6) | ||
1078 | |||
1079 | movm.l DEF_REGS(%pc),&0x3fff | ||
1080 | |||
1081 | mov.l &0x55555555,%d1 | ||
1082 | mov.l &0x00000000,%d2 | ||
1083 | mov.l &0x44444444,%d3 | ||
1084 | |||
1085 | mov.w &0x0014,ICCR(%a6) | ||
1086 | mov.w &0x001f,%cc | ||
1087 | movm.l &0x7fff,IREGS(%a6) | ||
1088 | |||
1089 | divu.l %d1,%d2:%d3 | ||
1090 | |||
1091 | mov.w %cc,SCCR(%a6) | ||
1092 | movm.l &0x7fff,SREGS(%a6) | ||
1093 | mov.l &0x44444444,IREGS+0x8(%a6) | ||
1094 | mov.l &0x00000000,IREGS+0xc(%a6) | ||
1095 | |||
1096 | bsr.l chkregs | ||
1097 | tst.b %d0 | ||
1098 | bne.l error | ||
1099 | |||
1100 | divul_4: | ||
1101 | addq.l &0x1,TESTCTR(%a6) | ||
1102 | |||
1103 | movm.l DEF_REGS(%pc),&0x3fff | ||
1104 | |||
1105 | mov.l &0x11111111,%d1 | ||
1106 | mov.l &0x44444444,%d2 | ||
1107 | mov.l &0x44444444,%d3 | ||
1108 | |||
1109 | mov.w &0x001e,ICCR(%a6) | ||
1110 | mov.w &0x001d,%cc | ||
1111 | movm.l &0x7fff,IREGS(%a6) | ||
1112 | |||
1113 | divu.l %d1,%d2:%d3 | ||
1114 | |||
1115 | mov.w %cc,SCCR(%a6) | ||
1116 | movm.l &0x7fff,SREGS(%a6) | ||
1117 | |||
1118 | bsr.l chkregs | ||
1119 | tst.b %d0 | ||
1120 | bne.l error | ||
1121 | |||
1122 | divul_5: | ||
1123 | addq.l &0x1,TESTCTR(%a6) | ||
1124 | |||
1125 | movm.l DEF_REGS(%pc),&0x3fff | ||
1126 | |||
1127 | mov.l &0xfffffffe,%d1 | ||
1128 | mov.l &0x00000001,%d2 | ||
1129 | mov.l &0x00000002,%d3 | ||
1130 | |||
1131 | mov.w &0x001e,ICCR(%a6) | ||
1132 | mov.w &0x001d,%cc | ||
1133 | movm.l &0x7fff,IREGS(%a6) | ||
1134 | |||
1135 | divs.l %d1,%d2:%d3 | ||
1136 | |||
1137 | mov.w %cc,SCCR(%a6) | ||
1138 | movm.l &0x7fff,SREGS(%a6) | ||
1139 | |||
1140 | bsr.l chkregs | ||
1141 | tst.b %d0 | ||
1142 | bne.l error | ||
1143 | |||
1144 | divul_6: | ||
1145 | addq.l &0x1,TESTCTR(%a6) | ||
1146 | |||
1147 | movm.l DEF_REGS(%pc),&0x3fff | ||
1148 | |||
1149 | mov.l &0xfffffffe,%d1 | ||
1150 | mov.l &0x00000001,%d2 | ||
1151 | mov.l &0x00000000,%d3 | ||
1152 | |||
1153 | mov.w &0x0018,ICCR(%a6) | ||
1154 | mov.w &0x001d,%cc | ||
1155 | movm.l &0x7fff,IREGS(%a6) | ||
1156 | |||
1157 | divs.l %d1,%d2:%d3 | ||
1158 | |||
1159 | mov.w %cc,SCCR(%a6) | ||
1160 | movm.l &0x7fff,SREGS(%a6) | ||
1161 | mov.l &0x00000000,IREGS+0x8(%a6) | ||
1162 | mov.l &0x80000000,IREGS+0xc(%a6) | ||
1163 | |||
1164 | bsr.l chkregs | ||
1165 | tst.b %d0 | ||
1166 | bne.l error | ||
1167 | |||
1168 | divul_7: | ||
1169 | addq.l &0x1,TESTCTR(%a6) | ||
1170 | |||
1171 | movm.l DEF_REGS(%pc),&0x3fff | ||
1172 | |||
1173 | mov.l &0x00000002,%d1 | ||
1174 | mov.l &0x00000001,%d2 | ||
1175 | mov.l &0x00000000,%d3 | ||
1176 | |||
1177 | mov.w &0x001e,ICCR(%a6) | ||
1178 | mov.w &0x001d,%cc | ||
1179 | movm.l &0x7fff,IREGS(%a6) | ||
1180 | |||
1181 | divs.l %d1,%d2:%d3 | ||
1182 | |||
1183 | mov.w %cc,SCCR(%a6) | ||
1184 | movm.l &0x7fff,SREGS(%a6) | ||
1185 | |||
1186 | bsr.l chkregs | ||
1187 | tst.b %d0 | ||
1188 | bne.l error | ||
1189 | |||
1190 | divul_8: | ||
1191 | addq.l &0x1,TESTCTR(%a6) | ||
1192 | |||
1193 | movm.l DEF_REGS(%pc),&0x3fff | ||
1194 | |||
1195 | mov.l &0xffffffff,%d1 | ||
1196 | mov.l &0xfffffffe,%d2 | ||
1197 | mov.l &0xffffffff,%d3 | ||
1198 | |||
1199 | mov.w &0x0008,ICCR(%a6) | ||
1200 | mov.w &0x0000,%cc | ||
1201 | movm.l &0x7fff,IREGS(%a6) | ||
1202 | |||
1203 | divu.l %d1,%d2:%d3 | ||
1204 | |||
1205 | mov.w %cc,SCCR(%a6) | ||
1206 | movm.l &0x7fff,SREGS(%a6) | ||
1207 | |||
1208 | bsr.l chkregs | ||
1209 | tst.b %d0 | ||
1210 | bne.l error | ||
1211 | |||
1212 | divul_9: | ||
1213 | addq.l &0x1,TESTCTR(%a6) | ||
1214 | |||
1215 | movm.l DEF_REGS(%pc),&0x3fff | ||
1216 | |||
1217 | mov.l &0xffffffff,%d1 | ||
1218 | mov.l &0xfffffffe,%d2 | ||
1219 | mov.l &0xffffffff,%d3 | ||
1220 | |||
1221 | mov.w &0x0008,ICCR(%a6) | ||
1222 | mov.w &0x0000,%cc | ||
1223 | movm.l &0x7fff,IREGS(%a6) | ||
1224 | |||
1225 | divu.l &0xffffffff,%d2:%d2 | ||
1226 | |||
1227 | mov.w %cc,SCCR(%a6) | ||
1228 | movm.l &0x7fff,SREGS(%a6) | ||
1229 | mov.l &0xffffffff,IREGS+0x8(%a6) | ||
1230 | |||
1231 | bsr.l chkregs | ||
1232 | tst.b %d0 | ||
1233 | bne.l error | ||
1234 | |||
1235 | divul_10: | ||
1236 | addq.l &0x1,TESTCTR(%a6) | ||
1237 | |||
1238 | movm.l DEF_REGS(%pc),&0x3fff | ||
1239 | |||
1240 | mov.l &0x0000ffff,%d1 | ||
1241 | mov.l &0x00000001,%d2 | ||
1242 | mov.l &0x55555555,%d3 | ||
1243 | |||
1244 | mov.w &0x0000,ICCR(%a6) | ||
1245 | mov.w &0x0000,%cc | ||
1246 | movm.l &0x7fff,IREGS(%a6) | ||
1247 | |||
1248 | divu.l %d1,%d2:%d3 | ||
1249 | |||
1250 | mov.w %cc,SCCR(%a6) | ||
1251 | movm.l &0x7fff,SREGS(%a6) | ||
1252 | mov.l &0x0000aaab,IREGS+0x8(%a6) | ||
1253 | mov.l &0x00015556,IREGS+0xc(%a6) | ||
1254 | |||
1255 | bsr.l chkregs | ||
1256 | tst.b %d0 | ||
1257 | bne.l error | ||
1258 | |||
1259 | mov.l TESTCTR(%a6),%d1 | ||
1260 | clr.l %d0 | ||
1261 | rts | ||
1262 | |||
1263 | ########################################################### | ||
1264 | |||
1265 | cas_str: | ||
1266 | string "\tcas..." | ||
1267 | |||
1268 | align 0x4 | ||
1269 | cas0: | ||
1270 | addq.l &0x1,TESTCTR(%a6) | ||
1271 | |||
1272 | movm.l DEF_REGS(%pc),&0x3fff | ||
1273 | |||
1274 | lea DATA+0x1(%a6),%a0 | ||
1275 | |||
1276 | mov.w &0xaaaa,(%a0) | ||
1277 | |||
1278 | mov.w &0xaaaa,%d1 | ||
1279 | mov.w &0xbbbb,%d2 | ||
1280 | |||
1281 | mov.w &0x0014,ICCR(%a6) | ||
1282 | mov.w &0x0010,%cc | ||
1283 | movm.l &0x7fff,IREGS(%a6) | ||
1284 | |||
1285 | cas.w %d1,%d2,(%a0) # Dc,Du,<ea> | ||
1286 | |||
1287 | mov.w %cc,SCCR(%a6) | ||
1288 | mov.w (%a0),%d3 | ||
1289 | mov.w &0xbbbb,IREGS+0xc+0x2(%a6) | ||
1290 | movm.l &0x7fff,SREGS(%a6) | ||
1291 | |||
1292 | bsr.l chkregs | ||
1293 | tst.b %d0 | ||
1294 | bne.l error | ||
1295 | |||
1296 | cas1: | ||
1297 | addq.l &0x1,TESTCTR(%a6) | ||
1298 | |||
1299 | movm.l DEF_REGS(%pc),&0x3fff | ||
1300 | |||
1301 | lea DATA+0x1(%a6),%a0 | ||
1302 | |||
1303 | mov.w &0xeeee,(%a0) | ||
1304 | |||
1305 | mov.w &0x0000aaaa,%d1 | ||
1306 | mov.w &0x0000bbbb,%d2 | ||
1307 | |||
1308 | mov.w &0x0000,ICCR(%a6) | ||
1309 | mov.w &0x0000,%cc | ||
1310 | movm.l &0x7fff,IREGS(%a6) | ||
1311 | |||
1312 | cas.w %d1,%d2,(%a0) # Dc,Du,<ea> | ||
1313 | |||
1314 | mov.w %cc,SCCR(%a6) | ||
1315 | mov.w (%a0),%d3 | ||
1316 | mov.w &0xeeee,IREGS+0x4+0x2(%a6) | ||
1317 | mov.w &0xeeee,IREGS+0xc+0x2(%a6) | ||
1318 | movm.l &0x7fff,SREGS(%a6) | ||
1319 | |||
1320 | bsr.l chkregs | ||
1321 | tst.b %d0 | ||
1322 | bne.l error | ||
1323 | |||
1324 | cas2: | ||
1325 | addq.l &0x1,TESTCTR(%a6) | ||
1326 | |||
1327 | movm.l DEF_REGS(%pc),&0x3fff | ||
1328 | |||
1329 | lea DATA+0x2(%a6),%a0 | ||
1330 | |||
1331 | mov.l &0xaaaaaaaa,(%a0) | ||
1332 | |||
1333 | mov.l &0xaaaaaaaa,%d1 | ||
1334 | mov.l &0xbbbbbbbb,%d2 | ||
1335 | |||
1336 | mov.w &0x0004,ICCR(%a6) | ||
1337 | mov.w &0x0000,%cc | ||
1338 | movm.l &0x7fff,IREGS(%a6) | ||
1339 | |||
1340 | cas.l %d1,%d2,(%a0) # Dc,Du,<ea> | ||
1341 | |||
1342 | mov.w %cc,SCCR(%a6) | ||
1343 | mov.l (%a0),%d3 | ||
1344 | mov.l &0xbbbbbbbb,IREGS+0xc(%a6) | ||
1345 | movm.l &0x7fff,SREGS(%a6) | ||
1346 | |||
1347 | bsr.l chkregs | ||
1348 | tst.b %d0 | ||
1349 | bne.l error | ||
1350 | |||
1351 | cas3: | ||
1352 | addq.l &0x1,TESTCTR(%a6) | ||
1353 | |||
1354 | movm.l DEF_REGS(%pc),&0x3fff | ||
1355 | |||
1356 | lea DATA+0x2(%a6),%a0 | ||
1357 | |||
1358 | mov.l &0xeeeeeeee,(%a0) | ||
1359 | |||
1360 | mov.l &0xaaaaaaaa,%d1 | ||
1361 | mov.l &0xbbbbbbbb,%d2 | ||
1362 | |||
1363 | mov.w &0x0000,ICCR(%a6) | ||
1364 | mov.w &0x0000,%cc | ||
1365 | movm.l &0x7fff,IREGS(%a6) | ||
1366 | |||
1367 | cas.l %d1,%d2,(%a0) # Dc,Du,<ea> | ||
1368 | |||
1369 | mov.w %cc,SCCR(%a6) | ||
1370 | mov.l (%a0),%d3 | ||
1371 | mov.l &0xeeeeeeee,IREGS+0x4(%a6) | ||
1372 | mov.l &0xeeeeeeee,IREGS+0xc(%a6) | ||
1373 | movm.l &0x7fff,SREGS(%a6) | ||
1374 | |||
1375 | bsr.l chkregs | ||
1376 | tst.b %d0 | ||
1377 | bne.l error | ||
1378 | |||
1379 | cas4: | ||
1380 | addq.l &0x1,TESTCTR(%a6) | ||
1381 | |||
1382 | movm.l DEF_REGS(%pc),&0x3fff | ||
1383 | |||
1384 | lea DATA+0x1(%a6),%a0 | ||
1385 | |||
1386 | mov.l &0xaaaaaaaa,(%a0) | ||
1387 | |||
1388 | mov.l &0xaaaaaaaa,%d1 | ||
1389 | mov.l &0xbbbbbbbb,%d2 | ||
1390 | |||
1391 | mov.w &0x0004,ICCR(%a6) | ||
1392 | mov.w &0x0000,%cc | ||
1393 | movm.l &0x7fff,IREGS(%a6) | ||
1394 | |||
1395 | cas.l %d1,%d2,(%a0) # Dc,Du,<ea> | ||
1396 | |||
1397 | mov.w %cc,SCCR(%a6) | ||
1398 | mov.l (%a0),%d3 | ||
1399 | mov.l &0xbbbbbbbb,IREGS+0xc(%a6) | ||
1400 | movm.l &0x7fff,SREGS(%a6) | ||
1401 | |||
1402 | bsr.l chkregs | ||
1403 | tst.b %d0 | ||
1404 | bne.l error | ||
1405 | |||
1406 | cas5: | ||
1407 | addq.l &0x1,TESTCTR(%a6) | ||
1408 | |||
1409 | movm.l DEF_REGS(%pc),&0x3fff | ||
1410 | |||
1411 | lea DATA+0x1(%a6),%a0 | ||
1412 | |||
1413 | mov.l &0x7fffffff,(%a0) | ||
1414 | |||
1415 | mov.l &0x80000000,%d1 | ||
1416 | mov.l &0xbbbbbbbb,%d2 | ||
1417 | |||
1418 | mov.w &0x001b,ICCR(%a6) | ||
1419 | mov.w &0x0010,%cc | ||
1420 | movm.l &0x7fff,IREGS(%a6) | ||
1421 | |||
1422 | cas.l %d1,%d2,(%a0) # Dc,Du,<ea> | ||
1423 | |||
1424 | mov.w %cc,SCCR(%a6) | ||
1425 | mov.l (%a0),%d3 | ||
1426 | mov.l &0x7fffffff,IREGS+0x4(%a6) | ||
1427 | mov.l &0x7fffffff,IREGS+0xc(%a6) | ||
1428 | movm.l &0x7fff,SREGS(%a6) | ||
1429 | |||
1430 | bsr.l chkregs | ||
1431 | tst.b %d0 | ||
1432 | bne.l error | ||
1433 | |||
1434 | mov.l TESTCTR(%a6),%d1 | ||
1435 | clr.l %d0 | ||
1436 | rts | ||
1437 | |||
1438 | ########################################################### | ||
1439 | |||
1440 | cas2_str: | ||
1441 | string "\tcas2..." | ||
1442 | |||
1443 | align 0x4 | ||
1444 | cas20: | ||
1445 | addq.l &0x1,TESTCTR(%a6) | ||
1446 | |||
1447 | movm.l DEF_REGS(%pc),&0x3fff | ||
1448 | |||
1449 | lea DATA+0x0(%a6),%a0 | ||
1450 | lea DATA+0x4(%a6),%a1 | ||
1451 | |||
1452 | mov.l &0xaaaaaaaa,(%a0) | ||
1453 | mov.l &0xbbbbbbbb,(%a1) | ||
1454 | |||
1455 | mov.l &0xaaaaaaaa,%d1 | ||
1456 | mov.l &0xbbbbbbbb,%d2 | ||
1457 | mov.l &0xcccccccc,%d3 | ||
1458 | mov.l &0xdddddddd,%d4 | ||
1459 | |||
1460 | mov.w &0x0014,ICCR(%a6) | ||
1461 | mov.w &0x0010,%cc | ||
1462 | movm.l &0x7fff,IREGS(%a6) | ||
1463 | |||
1464 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1465 | |||
1466 | mov.w %cc,SCCR(%a6) | ||
1467 | mov.l (%a0),%d5 | ||
1468 | mov.l (%a1),%d6 | ||
1469 | mov.l &0xcccccccc,IREGS+0x14(%a6) | ||
1470 | mov.l &0xdddddddd,IREGS+0x18(%a6) | ||
1471 | movm.l &0x7fff,SREGS(%a6) | ||
1472 | |||
1473 | bsr.l chkregs | ||
1474 | tst.b %d0 | ||
1475 | bne.l error | ||
1476 | |||
1477 | cas21: | ||
1478 | addq.l &0x1,TESTCTR(%a6) | ||
1479 | |||
1480 | movm.l DEF_REGS(%pc),&0x3fff | ||
1481 | |||
1482 | lea DATA+0x1(%a6),%a0 | ||
1483 | lea DATA+0x5(%a6),%a1 | ||
1484 | |||
1485 | mov.l &0xaaaaaaaa,(%a0) | ||
1486 | mov.l &0xbbbbbbbb,(%a1) | ||
1487 | |||
1488 | mov.l &0xaaaaaaaa,%d1 | ||
1489 | mov.l &0xbbbbbbbb,%d2 | ||
1490 | mov.l &0xcccccccc,%d3 | ||
1491 | mov.l &0xdddddddd,%d4 | ||
1492 | |||
1493 | mov.w &0x0014,ICCR(%a6) | ||
1494 | mov.w &0x0010,%cc | ||
1495 | movm.l &0x7fff,IREGS(%a6) | ||
1496 | |||
1497 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1498 | |||
1499 | mov.w %cc,SCCR(%a6) | ||
1500 | mov.l (%a0),%d5 | ||
1501 | mov.l (%a1),%d6 | ||
1502 | mov.l &0xcccccccc,IREGS+0x14(%a6) | ||
1503 | mov.l &0xdddddddd,IREGS+0x18(%a6) | ||
1504 | movm.l &0x7fff,SREGS(%a6) | ||
1505 | |||
1506 | bsr.l chkregs | ||
1507 | tst.b %d0 | ||
1508 | bne.l error | ||
1509 | |||
1510 | cas22: | ||
1511 | addq.l &0x1,TESTCTR(%a6) | ||
1512 | |||
1513 | movm.l DEF_REGS(%pc),&0x3fff | ||
1514 | |||
1515 | lea DATA+0x2(%a6),%a0 | ||
1516 | lea DATA+0x6(%a6),%a1 | ||
1517 | |||
1518 | mov.l &0xaaaaaaaa,(%a0) | ||
1519 | mov.l &0xbbbbbbbb,(%a1) | ||
1520 | |||
1521 | mov.l &0xaaaaaaaa,%d1 | ||
1522 | mov.l &0xbbbbbbbb,%d2 | ||
1523 | mov.l &0xcccccccc,%d3 | ||
1524 | mov.l &0xdddddddd,%d4 | ||
1525 | |||
1526 | mov.w &0x0014,ICCR(%a6) | ||
1527 | mov.w &0x0010,%cc | ||
1528 | movm.l &0x7fff,IREGS(%a6) | ||
1529 | |||
1530 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1531 | |||
1532 | mov.w %cc,SCCR(%a6) | ||
1533 | mov.l (%a0),%d5 | ||
1534 | mov.l (%a1),%d6 | ||
1535 | mov.l &0xcccccccc,IREGS+0x14(%a6) | ||
1536 | mov.l &0xdddddddd,IREGS+0x18(%a6) | ||
1537 | movm.l &0x7fff,SREGS(%a6) | ||
1538 | |||
1539 | bsr.l chkregs | ||
1540 | tst.b %d0 | ||
1541 | bne.l error | ||
1542 | |||
1543 | cas23: | ||
1544 | addq.l &0x1,TESTCTR(%a6) | ||
1545 | |||
1546 | movm.l DEF_REGS(%pc),&0x3fff | ||
1547 | |||
1548 | lea DATA+0x0(%a6),%a0 | ||
1549 | lea DATA+0x4(%a6),%a1 | ||
1550 | |||
1551 | mov.l &0xeeeeeeee,(%a0) | ||
1552 | mov.l &0xbbbbbbbb,(%a1) | ||
1553 | |||
1554 | mov.l &0xaaaaaaaa,%d1 | ||
1555 | mov.l &0xbbbbbbbb,%d2 | ||
1556 | mov.l &0xcccccccc,%d3 | ||
1557 | mov.l &0xdddddddd,%d4 | ||
1558 | |||
1559 | mov.w &0x0000,ICCR(%a6) | ||
1560 | mov.w &0x0000,%cc | ||
1561 | movm.l &0x7fff,IREGS(%a6) | ||
1562 | |||
1563 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1564 | |||
1565 | mov.w %cc,SCCR(%a6) | ||
1566 | mov.l (%a0),%d5 | ||
1567 | mov.l (%a1),%d6 | ||
1568 | mov.l &0xeeeeeeee,IREGS+0x4(%a6) | ||
1569 | mov.l &0xbbbbbbbb,IREGS+0x8(%a6) | ||
1570 | mov.l &0xeeeeeeee,IREGS+0x14(%a6) | ||
1571 | mov.l &0xbbbbbbbb,IREGS+0x18(%a6) | ||
1572 | movm.l &0x7fff,SREGS(%a6) | ||
1573 | |||
1574 | bsr.l chkregs | ||
1575 | tst.b %d0 | ||
1576 | bne.l error | ||
1577 | |||
1578 | cas24: | ||
1579 | addq.l &0x1,TESTCTR(%a6) | ||
1580 | |||
1581 | movm.l DEF_REGS(%pc),&0x3fff | ||
1582 | |||
1583 | lea DATA+0x1(%a6),%a0 | ||
1584 | lea DATA+0x5(%a6),%a1 | ||
1585 | |||
1586 | mov.l &0xeeeeeeee,(%a0) | ||
1587 | mov.l &0xbbbbbbbb,(%a1) | ||
1588 | |||
1589 | mov.l &0xaaaaaaaa,%d1 | ||
1590 | mov.l &0xbbbbbbbb,%d2 | ||
1591 | mov.l &0xcccccccc,%d3 | ||
1592 | mov.l &0xdddddddd,%d4 | ||
1593 | |||
1594 | mov.w &0x0000,ICCR(%a6) | ||
1595 | mov.w &0x0000,%cc | ||
1596 | movm.l &0x7fff,IREGS(%a6) | ||
1597 | |||
1598 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1599 | |||
1600 | mov.w %cc,SCCR(%a6) | ||
1601 | mov.l (%a0),%d5 | ||
1602 | mov.l (%a1),%d6 | ||
1603 | mov.l &0xeeeeeeee,IREGS+0x4(%a6) | ||
1604 | mov.l &0xbbbbbbbb,IREGS+0x8(%a6) | ||
1605 | mov.l &0xeeeeeeee,IREGS+0x14(%a6) | ||
1606 | mov.l &0xbbbbbbbb,IREGS+0x18(%a6) | ||
1607 | movm.l &0x7fff,SREGS(%a6) | ||
1608 | |||
1609 | bsr.l chkregs | ||
1610 | tst.b %d0 | ||
1611 | bne.l error | ||
1612 | |||
1613 | cas25: | ||
1614 | addq.l &0x1,TESTCTR(%a6) | ||
1615 | |||
1616 | movm.l DEF_REGS(%pc),&0x3fff | ||
1617 | |||
1618 | lea DATA+0x2(%a6),%a0 | ||
1619 | lea DATA+0x6(%a6),%a1 | ||
1620 | |||
1621 | mov.l &0xeeeeeeee,(%a0) | ||
1622 | mov.l &0xbbbbbbbb,(%a1) | ||
1623 | |||
1624 | mov.l &0xaaaaaaaa,%d1 | ||
1625 | mov.l &0xbbbbbbbb,%d2 | ||
1626 | mov.l &0xcccccccc,%d3 | ||
1627 | mov.l &0xdddddddd,%d4 | ||
1628 | |||
1629 | mov.w &0x0000,ICCR(%a6) | ||
1630 | mov.w &0x0000,%cc | ||
1631 | movm.l &0x7fff,IREGS(%a6) | ||
1632 | |||
1633 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1634 | |||
1635 | mov.w %cc,SCCR(%a6) | ||
1636 | mov.l (%a0),%d5 | ||
1637 | mov.l (%a1),%d6 | ||
1638 | mov.l &0xeeeeeeee,IREGS+0x4(%a6) | ||
1639 | mov.l &0xbbbbbbbb,IREGS+0x8(%a6) | ||
1640 | mov.l &0xeeeeeeee,IREGS+0x14(%a6) | ||
1641 | mov.l &0xbbbbbbbb,IREGS+0x18(%a6) | ||
1642 | movm.l &0x7fff,SREGS(%a6) | ||
1643 | |||
1644 | bsr.l chkregs | ||
1645 | tst.b %d0 | ||
1646 | bne.l error | ||
1647 | |||
1648 | cas26: | ||
1649 | addq.l &0x1,TESTCTR(%a6) | ||
1650 | |||
1651 | movm.l DEF_REGS(%pc),&0x3fff | ||
1652 | |||
1653 | lea DATA+0x0(%a6),%a0 | ||
1654 | lea DATA+0x4(%a6),%a1 | ||
1655 | |||
1656 | mov.l &0xaaaaaaaa,(%a0) | ||
1657 | mov.l &0xeeeeeeee,(%a1) | ||
1658 | |||
1659 | mov.l &0xaaaaaaaa,%d1 | ||
1660 | mov.l &0xbbbbbbbb,%d2 | ||
1661 | mov.l &0xcccccccc,%d3 | ||
1662 | mov.l &0xdddddddd,%d4 | ||
1663 | |||
1664 | mov.w &0x0000,ICCR(%a6) | ||
1665 | mov.w &0x0000,%cc | ||
1666 | movm.l &0x7fff,IREGS(%a6) | ||
1667 | |||
1668 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1669 | |||
1670 | mov.w %cc,SCCR(%a6) | ||
1671 | mov.l (%a0),%d5 | ||
1672 | mov.l (%a1),%d6 | ||
1673 | mov.l &0xaaaaaaaa,IREGS+0x4(%a6) | ||
1674 | mov.l &0xeeeeeeee,IREGS+0x8(%a6) | ||
1675 | mov.l &0xaaaaaaaa,IREGS+0x14(%a6) | ||
1676 | mov.l &0xeeeeeeee,IREGS+0x18(%a6) | ||
1677 | movm.l &0x7fff,SREGS(%a6) | ||
1678 | |||
1679 | bsr.l chkregs | ||
1680 | tst.b %d0 | ||
1681 | bne.l error | ||
1682 | |||
1683 | cas27: | ||
1684 | addq.l &0x1,TESTCTR(%a6) | ||
1685 | |||
1686 | movm.l DEF_REGS(%pc),&0x3fff | ||
1687 | |||
1688 | lea DATA+0x1(%a6),%a0 | ||
1689 | lea DATA+0x5(%a6),%a1 | ||
1690 | |||
1691 | mov.l &0xaaaaaaaa,(%a0) | ||
1692 | mov.l &0xeeeeeeee,(%a1) | ||
1693 | |||
1694 | mov.l &0xaaaaaaaa,%d1 | ||
1695 | mov.l &0xbbbbbbbb,%d2 | ||
1696 | mov.l &0xcccccccc,%d3 | ||
1697 | mov.l &0xdddddddd,%d4 | ||
1698 | |||
1699 | mov.w &0x0000,ICCR(%a6) | ||
1700 | mov.w &0x0000,%cc | ||
1701 | movm.l &0x7fff,IREGS(%a6) | ||
1702 | |||
1703 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1704 | |||
1705 | mov.w %cc,SCCR(%a6) | ||
1706 | mov.l (%a0),%d5 | ||
1707 | mov.l (%a1),%d6 | ||
1708 | mov.l &0xaaaaaaaa,IREGS+0x4(%a6) | ||
1709 | mov.l &0xeeeeeeee,IREGS+0x8(%a6) | ||
1710 | mov.l &0xaaaaaaaa,IREGS+0x14(%a6) | ||
1711 | mov.l &0xeeeeeeee,IREGS+0x18(%a6) | ||
1712 | movm.l &0x7fff,SREGS(%a6) | ||
1713 | |||
1714 | bsr.l chkregs | ||
1715 | tst.b %d0 | ||
1716 | bne.l error | ||
1717 | |||
1718 | cas28: | ||
1719 | addq.l &0x1,TESTCTR(%a6) | ||
1720 | |||
1721 | movm.l DEF_REGS(%pc),&0x3fff | ||
1722 | |||
1723 | lea DATA+0x2(%a6),%a0 | ||
1724 | lea DATA+0x6(%a6),%a1 | ||
1725 | |||
1726 | mov.l &0xaaaaaaaa,(%a0) | ||
1727 | mov.l &0x7fffffff,(%a1) | ||
1728 | |||
1729 | mov.l &0xaaaaaaaa,%d1 | ||
1730 | mov.l &0x80000000,%d2 | ||
1731 | mov.l &0xcccccccc,%d3 | ||
1732 | mov.l &0xdddddddd,%d4 | ||
1733 | |||
1734 | mov.w &0x000b,ICCR(%a6) | ||
1735 | mov.w &0x0000,%cc | ||
1736 | movm.l &0x7fff,IREGS(%a6) | ||
1737 | |||
1738 | cas2.l %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1739 | |||
1740 | mov.w %cc,SCCR(%a6) | ||
1741 | mov.l (%a0),%d5 | ||
1742 | mov.l (%a1),%d6 | ||
1743 | mov.l &0xaaaaaaaa,IREGS+0x4(%a6) | ||
1744 | mov.l &0x7fffffff,IREGS+0x8(%a6) | ||
1745 | mov.l &0xaaaaaaaa,IREGS+0x14(%a6) | ||
1746 | mov.l &0x7fffffff,IREGS+0x18(%a6) | ||
1747 | movm.l &0x7fff,SREGS(%a6) | ||
1748 | |||
1749 | bsr.l chkregs | ||
1750 | tst.b %d0 | ||
1751 | bne.l error | ||
1752 | |||
1753 | ################################## | ||
1754 | cas29: | ||
1755 | addq.l &0x1,TESTCTR(%a6) | ||
1756 | |||
1757 | movm.l DEF_REGS(%pc),&0x3fff | ||
1758 | |||
1759 | lea DATA+0x0(%a6),%a0 | ||
1760 | lea DATA+0x4(%a6),%a1 | ||
1761 | |||
1762 | mov.w &0xaaaa,(%a0) | ||
1763 | mov.w &0xbbbb,(%a1) | ||
1764 | |||
1765 | mov.w &0xaaaa,%d1 | ||
1766 | mov.w &0xbbbb,%d2 | ||
1767 | mov.w &0xcccc,%d3 | ||
1768 | mov.w &0xdddd,%d4 | ||
1769 | |||
1770 | mov.w &0x0014,ICCR(%a6) | ||
1771 | mov.w &0x0010,%cc | ||
1772 | movm.l &0x7fff,IREGS(%a6) | ||
1773 | |||
1774 | cas2.w %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1775 | |||
1776 | mov.w %cc,SCCR(%a6) | ||
1777 | mov.w (%a0),%d5 | ||
1778 | mov.w (%a1),%d6 | ||
1779 | mov.w &0xcccc,IREGS+0x14+0x2(%a6) | ||
1780 | mov.w &0xdddd,IREGS+0x18+0x2(%a6) | ||
1781 | movm.l &0x7fff,SREGS(%a6) | ||
1782 | |||
1783 | bsr.l chkregs | ||
1784 | tst.b %d0 | ||
1785 | bne.l error | ||
1786 | |||
1787 | cas210: | ||
1788 | addq.l &0x1,TESTCTR(%a6) | ||
1789 | |||
1790 | movm.l DEF_REGS(%pc),&0x3fff | ||
1791 | |||
1792 | lea DATA+0x1(%a6),%a0 | ||
1793 | lea DATA+0x5(%a6),%a1 | ||
1794 | |||
1795 | mov.w &0xaaaa,(%a0) | ||
1796 | mov.w &0xbbbb,(%a1) | ||
1797 | |||
1798 | mov.w &0xaaaa,%d1 | ||
1799 | mov.w &0xbbbb,%d2 | ||
1800 | mov.w &0xcccc,%d3 | ||
1801 | mov.w &0xdddd,%d4 | ||
1802 | |||
1803 | mov.w &0x0004,ICCR(%a6) | ||
1804 | mov.w &0x0000,%cc | ||
1805 | movm.l &0x7fff,IREGS(%a6) | ||
1806 | |||
1807 | cas2.w %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1808 | |||
1809 | mov.w %cc,SCCR(%a6) | ||
1810 | mov.w (%a0),%d5 | ||
1811 | mov.w (%a1),%d6 | ||
1812 | mov.w &0xcccc,IREGS+0x14+0x2(%a6) | ||
1813 | mov.w &0xdddd,IREGS+0x18+0x2(%a6) | ||
1814 | movm.l &0x7fff,SREGS(%a6) | ||
1815 | |||
1816 | bsr.l chkregs | ||
1817 | tst.b %d0 | ||
1818 | bne.l error | ||
1819 | |||
1820 | cas211: | ||
1821 | addq.l &0x1,TESTCTR(%a6) | ||
1822 | |||
1823 | movm.l DEF_REGS(%pc),&0x3fff | ||
1824 | |||
1825 | lea DATA+0x0(%a6),%a0 | ||
1826 | lea DATA+0x4(%a6),%a1 | ||
1827 | |||
1828 | mov.w &0xeeee,(%a0) | ||
1829 | mov.w &0xbbbb,(%a1) | ||
1830 | |||
1831 | mov.w &0xaaaa,%d1 | ||
1832 | mov.w &0xbbbb,%d2 | ||
1833 | mov.w &0xcccc,%d3 | ||
1834 | mov.w &0xdddd,%d4 | ||
1835 | |||
1836 | mov.w &0x0000,ICCR(%a6) | ||
1837 | mov.w &0x0000,%cc | ||
1838 | movm.l &0x7fff,IREGS(%a6) | ||
1839 | |||
1840 | cas2.w %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1841 | |||
1842 | mov.w %cc,SCCR(%a6) | ||
1843 | mov.w (%a0),%d5 | ||
1844 | mov.w (%a1),%d6 | ||
1845 | mov.w &0xeeee,IREGS+0x4+0x2(%a6) | ||
1846 | mov.w &0xbbbb,IREGS+0x8+0x2(%a6) | ||
1847 | mov.w &0xeeee,IREGS+0x14+0x2(%a6) | ||
1848 | mov.w &0xbbbb,IREGS+0x18+0x2(%a6) | ||
1849 | movm.l &0x7fff,SREGS(%a6) | ||
1850 | |||
1851 | bsr.l chkregs | ||
1852 | tst.b %d0 | ||
1853 | bne.l error | ||
1854 | |||
1855 | cas212: | ||
1856 | addq.l &0x1,TESTCTR(%a6) | ||
1857 | |||
1858 | movm.l DEF_REGS(%pc),&0x3fff | ||
1859 | |||
1860 | lea DATA+0x1(%a6),%a0 | ||
1861 | lea DATA+0x5(%a6),%a1 | ||
1862 | |||
1863 | mov.w &0xeeee,(%a0) | ||
1864 | mov.w &0xbbbb,(%a1) | ||
1865 | |||
1866 | mov.w &0xaaaa,%d1 | ||
1867 | mov.w &0xbbbb,%d2 | ||
1868 | mov.w &0xcccc,%d3 | ||
1869 | mov.w &0xdddd,%d4 | ||
1870 | |||
1871 | mov.w &0x0000,ICCR(%a6) | ||
1872 | mov.w &0x0000,%cc | ||
1873 | movm.l &0x7fff,IREGS(%a6) | ||
1874 | |||
1875 | cas2.w %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1876 | |||
1877 | mov.w %cc,SCCR(%a6) | ||
1878 | mov.w (%a0),%d5 | ||
1879 | mov.w (%a1),%d6 | ||
1880 | mov.w &0xeeee,IREGS+0x4+0x2(%a6) | ||
1881 | mov.w &0xbbbb,IREGS+0x8+0x2(%a6) | ||
1882 | mov.w &0xeeee,IREGS+0x14+0x2(%a6) | ||
1883 | mov.w &0xbbbb,IREGS+0x18+0x2(%a6) | ||
1884 | movm.l &0x7fff,SREGS(%a6) | ||
1885 | |||
1886 | bsr.l chkregs | ||
1887 | tst.b %d0 | ||
1888 | bne.l error | ||
1889 | |||
1890 | cas213: | ||
1891 | addq.l &0x1,TESTCTR(%a6) | ||
1892 | |||
1893 | movm.l DEF_REGS(%pc),&0x3fff | ||
1894 | |||
1895 | lea DATA+0x0(%a6),%a0 | ||
1896 | lea DATA+0x4(%a6),%a1 | ||
1897 | |||
1898 | mov.w &0xaaaa,(%a0) | ||
1899 | mov.w &0xeeee,(%a1) | ||
1900 | |||
1901 | mov.w &0xaaaa,%d1 | ||
1902 | mov.w &0xbbbb,%d2 | ||
1903 | mov.w &0xcccc,%d3 | ||
1904 | mov.w &0xdddd,%d4 | ||
1905 | |||
1906 | mov.w &0x0000,ICCR(%a6) | ||
1907 | mov.w &0x0000,%cc | ||
1908 | movm.l &0x7fff,IREGS(%a6) | ||
1909 | |||
1910 | cas2.w %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1911 | |||
1912 | mov.w %cc,SCCR(%a6) | ||
1913 | mov.w (%a0),%d5 | ||
1914 | mov.w (%a1),%d6 | ||
1915 | mov.w &0xaaaa,IREGS+0x4+0x2(%a6) | ||
1916 | mov.w &0xeeee,IREGS+0x8+0x2(%a6) | ||
1917 | mov.w &0xaaaa,IREGS+0x14+0x2(%a6) | ||
1918 | mov.w &0xeeee,IREGS+0x18+0x2(%a6) | ||
1919 | movm.l &0x7fff,SREGS(%a6) | ||
1920 | |||
1921 | bsr.l chkregs | ||
1922 | tst.b %d0 | ||
1923 | bne.l error | ||
1924 | |||
1925 | cas214: | ||
1926 | addq.l &0x1,TESTCTR(%a6) | ||
1927 | |||
1928 | movm.l DEF_REGS(%pc),&0x3fff | ||
1929 | |||
1930 | lea DATA+0x1(%a6),%a0 | ||
1931 | lea DATA+0x5(%a6),%a1 | ||
1932 | |||
1933 | mov.w &0xaaaa,(%a0) | ||
1934 | mov.w &0x7fff,(%a1) | ||
1935 | |||
1936 | mov.w &0xaaaa,%d1 | ||
1937 | mov.w &0x8000,%d2 | ||
1938 | mov.w &0xcccc,%d3 | ||
1939 | mov.w &0xdddd,%d4 | ||
1940 | |||
1941 | mov.w &0x001b,ICCR(%a6) | ||
1942 | mov.w &0x0010,%cc | ||
1943 | movm.l &0x7fff,IREGS(%a6) | ||
1944 | |||
1945 | cas2.w %d1:%d2,%d3:%d4,(%a0):(%a1) # Dc1:Dc2,Du1:Du2,(Rn1):(Rn2) | ||
1946 | |||
1947 | mov.w %cc,SCCR(%a6) | ||
1948 | mov.w (%a0),%d5 | ||
1949 | mov.w (%a1),%d6 | ||
1950 | mov.w &0xaaaa,IREGS+0x4+0x2(%a6) | ||
1951 | mov.w &0x7fff,IREGS+0x8+0x2(%a6) | ||
1952 | mov.w &0xaaaa,IREGS+0x14+0x2(%a6) | ||
1953 | mov.w &0x7fff,IREGS+0x18+0x2(%a6) | ||
1954 | movm.l &0x7fff,SREGS(%a6) | ||
1955 | |||
1956 | bsr.l chkregs | ||
1957 | tst.b %d0 | ||
1958 | bne.l error | ||
1959 | |||
1960 | mov.l TESTCTR(%a6),%d1 | ||
1961 | clr.l %d0 | ||
1962 | rts | ||
1963 | |||
1964 | ########################################################### | ||
1965 | |||
1966 | cmp2_str: | ||
1967 | string "\tcmp2,chk2..." | ||
1968 | |||
1969 | align 0x4 | ||
1970 | # unsigned - small,small | ||
1971 | cmp2_1: | ||
1972 | addq.l &0x1,TESTCTR(%a6) | ||
1973 | |||
1974 | movm.l DEF_REGS(%pc),&0x3fff | ||
1975 | |||
1976 | mov.w &0x2040,DATA(%a6) | ||
1977 | mov.l &0x11111120,%d1 | ||
1978 | |||
1979 | mov.w &0x0004,ICCR(%a6) | ||
1980 | mov.w &0x0000,%cc | ||
1981 | movm.l &0x7fff,IREGS(%a6) | ||
1982 | |||
1983 | cmp2.b %d1,DATA(%a6) | ||
1984 | |||
1985 | mov.w %cc,SCCR(%a6) | ||
1986 | movm.l &0x7fff,SREGS(%a6) | ||
1987 | |||
1988 | bsr.l chkregs | ||
1989 | tst.b %d0 | ||
1990 | bne.l error | ||
1991 | |||
1992 | cmp2_2: | ||
1993 | addq.l &0x1,TESTCTR(%a6) | ||
1994 | |||
1995 | movm.l DEF_REGS(%pc),&0x3fff | ||
1996 | |||
1997 | mov.w &0x2040,DATA(%a6) | ||
1998 | mov.l &0x00000040,%a1 | ||
1999 | |||
2000 | mov.w &0x0004,ICCR(%a6) | ||
2001 | mov.w &0x0000,%cc | ||
2002 | movm.l &0x7fff,IREGS(%a6) | ||
2003 | |||
2004 | cmp2.b %a1,DATA(%a6) | ||
2005 | |||
2006 | mov.w %cc,SCCR(%a6) | ||
2007 | movm.l &0x7fff,SREGS(%a6) | ||
2008 | |||
2009 | bsr.l chkregs | ||
2010 | tst.b %d0 | ||
2011 | bne.l error | ||
2012 | |||
2013 | cmp2_3: | ||
2014 | addq.l &0x1,TESTCTR(%a6) | ||
2015 | |||
2016 | movm.l DEF_REGS(%pc),&0x3fff | ||
2017 | |||
2018 | mov.w &0x2040,DATA(%a6) | ||
2019 | mov.l &0x11111130,%d1 | ||
2020 | |||
2021 | mov.w &0x0000,ICCR(%a6) | ||
2022 | mov.w &0x0000,%cc | ||
2023 | movm.l &0x7fff,IREGS(%a6) | ||
2024 | |||
2025 | chk2.b DATA(%a6),%d1 | ||
2026 | |||
2027 | mov.w %cc,SCCR(%a6) | ||
2028 | movm.l &0x7fff,SREGS(%a6) | ||
2029 | |||
2030 | bsr.l chkregs | ||
2031 | tst.b %d0 | ||
2032 | bne.l error | ||
2033 | |||
2034 | cmp2_4: | ||
2035 | addq.l &0x1,TESTCTR(%a6) | ||
2036 | |||
2037 | movm.l DEF_REGS(%pc),&0x3fff | ||
2038 | |||
2039 | mov.w &0x2040,DATA(%a6) | ||
2040 | mov.l &0x00000010,%a1 | ||
2041 | |||
2042 | mov.w &0x0001,ICCR(%a6) | ||
2043 | mov.w &0x0000,%cc | ||
2044 | movm.l &0x7fff,IREGS(%a6) | ||
2045 | |||
2046 | cmp2.b %a1,DATA(%a6) | ||
2047 | |||
2048 | mov.w %cc,SCCR(%a6) | ||
2049 | movm.l &0x7fff,SREGS(%a6) | ||
2050 | |||
2051 | bsr.l chkregs | ||
2052 | tst.b %d0 | ||
2053 | bne.l error | ||
2054 | |||
2055 | cmp2_5: | ||
2056 | addq.l &0x1,TESTCTR(%a6) | ||
2057 | |||
2058 | movm.l DEF_REGS(%pc),&0x3fff | ||
2059 | |||
2060 | mov.w &0x2040,DATA(%a6) | ||
2061 | mov.l &0x11111150,%d1 | ||
2062 | |||
2063 | mov.w &0x0001,ICCR(%a6) | ||
2064 | mov.w &0x0000,%cc | ||
2065 | movm.l &0x7fff,IREGS(%a6) | ||
2066 | |||
2067 | cmp2.b %d1,DATA(%a6) | ||
2068 | |||
2069 | mov.w %cc,SCCR(%a6) | ||
2070 | movm.l &0x7fff,SREGS(%a6) | ||
2071 | |||
2072 | bsr.l chkregs | ||
2073 | tst.b %d0 | ||
2074 | bne.l error | ||
2075 | |||
2076 | cmp2_6: | ||
2077 | addq.l &0x1,TESTCTR(%a6) | ||
2078 | |||
2079 | movm.l DEF_REGS(%pc),&0x3fff | ||
2080 | |||
2081 | mov.w &0x2040,DATA(%a6) | ||
2082 | mov.l &0x00000090,%a1 | ||
2083 | |||
2084 | mov.w &0x0001,ICCR(%a6) | ||
2085 | mov.w &0x0000,%cc | ||
2086 | movm.l &0x7fff,IREGS(%a6) | ||
2087 | |||
2088 | cmp2.b %a1,DATA(%a6) | ||
2089 | |||
2090 | mov.w %cc,SCCR(%a6) | ||
2091 | movm.l &0x7fff,SREGS(%a6) | ||
2092 | |||
2093 | bsr.l chkregs | ||
2094 | tst.b %d0 | ||
2095 | bne.l error | ||
2096 | |||
2097 | # unsigned - small,large | ||
2098 | cmp2_7: | ||
2099 | addq.l &0x1,TESTCTR(%a6) | ||
2100 | |||
2101 | movm.l DEF_REGS(%pc),&0x3fff | ||
2102 | |||
2103 | mov.l &0x2000a000,DATA(%a6) | ||
2104 | mov.l &0x11112000,%d1 | ||
2105 | |||
2106 | mov.w &0x0004,ICCR(%a6) | ||
2107 | mov.w &0x0000,%cc | ||
2108 | movm.l &0x7fff,IREGS(%a6) | ||
2109 | |||
2110 | cmp2.w %d1,DATA(%a6) | ||
2111 | |||
2112 | mov.w %cc,SCCR(%a6) | ||
2113 | movm.l &0x7fff,SREGS(%a6) | ||
2114 | |||
2115 | bsr.l chkregs | ||
2116 | tst.b %d0 | ||
2117 | bne.l error | ||
2118 | |||
2119 | cmp2_8: | ||
2120 | addq.l &0x1,TESTCTR(%a6) | ||
2121 | |||
2122 | movm.l DEF_REGS(%pc),&0x3fff | ||
2123 | |||
2124 | mov.l &0x2000a000,DATA(%a6) | ||
2125 | mov.l &0xffffa000,%a1 | ||
2126 | |||
2127 | mov.w &0x0004,ICCR(%a6) | ||
2128 | mov.w &0x0000,%cc | ||
2129 | movm.l &0x7fff,IREGS(%a6) | ||
2130 | |||
2131 | cmp2.w %a1,DATA(%a6) | ||
2132 | |||
2133 | mov.w %cc,SCCR(%a6) | ||
2134 | movm.l &0x7fff,SREGS(%a6) | ||
2135 | |||
2136 | bsr.l chkregs | ||
2137 | tst.b %d0 | ||
2138 | bne.l error | ||
2139 | |||
2140 | cmp2_9: | ||
2141 | addq.l &0x1,TESTCTR(%a6) | ||
2142 | |||
2143 | movm.l DEF_REGS(%pc),&0x3fff | ||
2144 | |||
2145 | mov.l &0x2000a000,DATA(%a6) | ||
2146 | mov.l &0x11113000,%d1 | ||
2147 | |||
2148 | mov.w &0x0000,ICCR(%a6) | ||
2149 | mov.w &0x0000,%cc | ||
2150 | movm.l &0x7fff,IREGS(%a6) | ||
2151 | |||
2152 | chk2.w DATA(%a6),%d1 | ||
2153 | |||
2154 | mov.w %cc,SCCR(%a6) | ||
2155 | movm.l &0x7fff,SREGS(%a6) | ||
2156 | |||
2157 | bsr.l chkregs | ||
2158 | tst.b %d0 | ||
2159 | bne.l error | ||
2160 | |||
2161 | cmp2_10: | ||
2162 | addq.l &0x1,TESTCTR(%a6) | ||
2163 | |||
2164 | movm.l DEF_REGS(%pc),&0x3fff | ||
2165 | |||
2166 | mov.l &0x2000a000,DATA(%a6) | ||
2167 | mov.l &0xffff9000,%a1 | ||
2168 | |||
2169 | mov.w &0x0000,ICCR(%a6) | ||
2170 | mov.w &0x0000,%cc | ||
2171 | movm.l &0x7fff,IREGS(%a6) | ||
2172 | |||
2173 | cmp2.w %a1,DATA(%a6) | ||
2174 | |||
2175 | mov.w %cc,SCCR(%a6) | ||
2176 | movm.l &0x7fff,SREGS(%a6) | ||
2177 | |||
2178 | bsr.l chkregs | ||
2179 | tst.b %d0 | ||
2180 | bne.l error | ||
2181 | |||
2182 | cmp2_11: | ||
2183 | addq.l &0x1,TESTCTR(%a6) | ||
2184 | |||
2185 | movm.l DEF_REGS(%pc),&0x3fff | ||
2186 | |||
2187 | mov.l &0x2000a000,DATA(%a6) | ||
2188 | mov.l &0x11111000,%d1 | ||
2189 | |||
2190 | mov.w &0x0001,ICCR(%a6) | ||
2191 | mov.w &0x0000,%cc | ||
2192 | movm.l &0x7fff,IREGS(%a6) | ||
2193 | |||
2194 | cmp2.w %d1,DATA(%a6) | ||
2195 | |||
2196 | mov.w %cc,SCCR(%a6) | ||
2197 | movm.l &0x7fff,SREGS(%a6) | ||
2198 | |||
2199 | bsr.l chkregs | ||
2200 | tst.b %d0 | ||
2201 | bne.l error | ||
2202 | |||
2203 | cmp2_12: | ||
2204 | addq.l &0x1,TESTCTR(%a6) | ||
2205 | |||
2206 | movm.l DEF_REGS(%pc),&0x3fff | ||
2207 | |||
2208 | mov.l &0x2000a000,DATA(%a6) | ||
2209 | mov.l &0xffffb000,%a1 | ||
2210 | |||
2211 | mov.w &0x0001,ICCR(%a6) | ||
2212 | mov.w &0x0000,%cc | ||
2213 | movm.l &0x7fff,IREGS(%a6) | ||
2214 | |||
2215 | cmp2.w %a1,DATA(%a6) | ||
2216 | |||
2217 | mov.w %cc,SCCR(%a6) | ||
2218 | movm.l &0x7fff,SREGS(%a6) | ||
2219 | |||
2220 | bsr.l chkregs | ||
2221 | tst.b %d0 | ||
2222 | bne.l error | ||
2223 | |||
2224 | # unsigned - large,large | ||
2225 | cmp2_13: | ||
2226 | addq.l &0x1,TESTCTR(%a6) | ||
2227 | |||
2228 | movm.l DEF_REGS(%pc),&0x3fff | ||
2229 | |||
2230 | mov.l &0xa0000000,DATA(%a6) | ||
2231 | mov.l &0xc0000000,DATA+0x4(%a6) | ||
2232 | mov.l &0xa0000000,%d1 | ||
2233 | |||
2234 | mov.w &0x000c,ICCR(%a6) | ||
2235 | mov.w &0x0008,%cc | ||
2236 | movm.l &0x7fff,IREGS(%a6) | ||
2237 | |||
2238 | cmp2.l %d1,DATA(%a6) | ||
2239 | |||
2240 | mov.w %cc,SCCR(%a6) | ||
2241 | movm.l &0x7fff,SREGS(%a6) | ||
2242 | |||
2243 | bsr.l chkregs | ||
2244 | tst.b %d0 | ||
2245 | bne.l error | ||
2246 | |||
2247 | cmp2_14: | ||
2248 | addq.l &0x1,TESTCTR(%a6) | ||
2249 | |||
2250 | movm.l DEF_REGS(%pc),&0x3fff | ||
2251 | |||
2252 | mov.l &0xa0000000,DATA(%a6) | ||
2253 | mov.l &0xc0000000,DATA+0x4(%a6) | ||
2254 | mov.l &0xc0000000,%a1 | ||
2255 | |||
2256 | mov.w &0x000c,ICCR(%a6) | ||
2257 | mov.w &0x0008,%cc | ||
2258 | movm.l &0x7fff,IREGS(%a6) | ||
2259 | |||
2260 | cmp2.l %a1,DATA(%a6) | ||
2261 | |||
2262 | mov.w %cc,SCCR(%a6) | ||
2263 | movm.l &0x7fff,SREGS(%a6) | ||
2264 | |||
2265 | bsr.l chkregs | ||
2266 | tst.b %d0 | ||
2267 | bne.l error | ||
2268 | |||
2269 | cmp2_15: | ||
2270 | addq.l &0x1,TESTCTR(%a6) | ||
2271 | |||
2272 | movm.l DEF_REGS(%pc),&0x3fff | ||
2273 | |||
2274 | mov.l &0xa0000000,DATA(%a6) | ||
2275 | mov.l &0xc0000000,DATA+0x4(%a6) | ||
2276 | mov.l &0xb0000000,%d1 | ||
2277 | |||
2278 | mov.w &0x0008,ICCR(%a6) | ||
2279 | mov.w &0x0008,%cc | ||
2280 | movm.l &0x7fff,IREGS(%a6) | ||
2281 | |||
2282 | chk2.l DATA(%a6),%d1 | ||
2283 | |||
2284 | mov.w %cc,SCCR(%a6) | ||
2285 | movm.l &0x7fff,SREGS(%a6) | ||
2286 | |||
2287 | bsr.l chkregs | ||
2288 | tst.b %d0 | ||
2289 | bne.l error | ||
2290 | |||
2291 | cmp2_16: | ||
2292 | addq.l &0x1,TESTCTR(%a6) | ||
2293 | |||
2294 | movm.l DEF_REGS(%pc),&0x3fff | ||
2295 | |||
2296 | mov.l &0xa0000000,DATA(%a6) | ||
2297 | mov.l &0xc0000000,DATA+0x4(%a6) | ||
2298 | mov.l &0x10000000,%a1 | ||
2299 | |||
2300 | mov.w &0x0009,ICCR(%a6) | ||
2301 | mov.w &0x0008,%cc | ||
2302 | movm.l &0x7fff,IREGS(%a6) | ||
2303 | |||
2304 | cmp2.l %a1,DATA(%a6) | ||
2305 | |||
2306 | mov.w %cc,SCCR(%a6) | ||
2307 | movm.l &0x7fff,SREGS(%a6) | ||
2308 | |||
2309 | bsr.l chkregs | ||
2310 | tst.b %d0 | ||
2311 | bne.l error | ||
2312 | |||
2313 | cmp2_17: | ||
2314 | addq.l &0x1,TESTCTR(%a6) | ||
2315 | |||
2316 | movm.l DEF_REGS(%pc),&0x3fff | ||
2317 | |||
2318 | mov.l &0xa0000000,DATA(%a6) | ||
2319 | mov.l &0xc0000000,DATA+0x4(%a6) | ||
2320 | mov.l &0x90000000,%d1 | ||
2321 | |||
2322 | mov.w &0x0009,ICCR(%a6) | ||
2323 | mov.w &0x0008,%cc | ||
2324 | movm.l &0x7fff,IREGS(%a6) | ||
2325 | |||
2326 | cmp2.l %d1,DATA(%a6) | ||
2327 | |||
2328 | mov.w %cc,SCCR(%a6) | ||
2329 | movm.l &0x7fff,SREGS(%a6) | ||
2330 | |||
2331 | bsr.l chkregs | ||
2332 | tst.b %d0 | ||
2333 | bne.l error | ||
2334 | |||
2335 | cmp2_18: | ||
2336 | addq.l &0x1,TESTCTR(%a6) | ||
2337 | |||
2338 | movm.l DEF_REGS(%pc),&0x3fff | ||
2339 | |||
2340 | mov.l &0xa0000000,DATA(%a6) | ||
2341 | mov.l &0xc0000000,DATA+0x4(%a6) | ||
2342 | mov.l &0xd0000000,%a1 | ||
2343 | |||
2344 | mov.w &0x0009,ICCR(%a6) | ||
2345 | mov.w &0x0008,%cc | ||
2346 | movm.l &0x7fff,IREGS(%a6) | ||
2347 | |||
2348 | cmp2.l %a1,DATA(%a6) | ||
2349 | |||
2350 | mov.w %cc,SCCR(%a6) | ||
2351 | movm.l &0x7fff,SREGS(%a6) | ||
2352 | |||
2353 | bsr.l chkregs | ||
2354 | tst.b %d0 | ||
2355 | bne.l error | ||
2356 | |||
2357 | # signed - negative,positive | ||
2358 | cmp2_19: | ||
2359 | addq.l &0x1,TESTCTR(%a6) | ||
2360 | |||
2361 | movm.l DEF_REGS(%pc),&0x3fff | ||
2362 | |||
2363 | mov.w &0xa040,DATA(%a6) | ||
2364 | mov.l &0x111111a0,%d1 | ||
2365 | |||
2366 | mov.w &0x0004,ICCR(%a6) | ||
2367 | mov.w &0x0000,%cc | ||
2368 | movm.l &0x7fff,IREGS(%a6) | ||
2369 | |||
2370 | cmp2.b %d1,DATA(%a6) | ||
2371 | |||
2372 | mov.w %cc,SCCR(%a6) | ||
2373 | movm.l &0x7fff,SREGS(%a6) | ||
2374 | |||
2375 | bsr.l chkregs | ||
2376 | tst.b %d0 | ||
2377 | bne.l error | ||
2378 | |||
2379 | cmp2_20: | ||
2380 | addq.l &0x1,TESTCTR(%a6) | ||
2381 | |||
2382 | movm.l DEF_REGS(%pc),&0x3fff | ||
2383 | |||
2384 | mov.w &0xa040,DATA(%a6) | ||
2385 | mov.l &0x00000040,%a1 | ||
2386 | |||
2387 | mov.w &0x0004,ICCR(%a6) | ||
2388 | mov.w &0x0000,%cc | ||
2389 | movm.l &0x7fff,IREGS(%a6) | ||
2390 | |||
2391 | chk2.b DATA(%a6),%a1 | ||
2392 | |||
2393 | mov.w %cc,SCCR(%a6) | ||
2394 | movm.l &0x7fff,SREGS(%a6) | ||
2395 | |||
2396 | bsr.l chkregs | ||
2397 | tst.b %d0 | ||
2398 | bne.l error | ||
2399 | |||
2400 | cmp2_21: | ||
2401 | addq.l &0x1,TESTCTR(%a6) | ||
2402 | |||
2403 | movm.l DEF_REGS(%pc),&0x3fff | ||
2404 | |||
2405 | mov.w &0xa040,DATA(%a6) | ||
2406 | mov.l &0x111111b0,%d1 | ||
2407 | |||
2408 | mov.w &0x0000,ICCR(%a6) | ||
2409 | mov.w &0x0000,%cc | ||
2410 | movm.l &0x7fff,IREGS(%a6) | ||
2411 | |||
2412 | cmp2.b %d1,DATA(%a6) | ||
2413 | |||
2414 | mov.w %cc,SCCR(%a6) | ||
2415 | movm.l &0x7fff,SREGS(%a6) | ||
2416 | |||
2417 | bsr.l chkregs | ||
2418 | tst.b %d0 | ||
2419 | bne.l error | ||
2420 | |||
2421 | cmp2_22: | ||
2422 | addq.l &0x1,TESTCTR(%a6) | ||
2423 | |||
2424 | movm.l DEF_REGS(%pc),&0x3fff | ||
2425 | |||
2426 | mov.w &0xa040,DATA(%a6) | ||
2427 | mov.l &0x00000010,%a1 | ||
2428 | |||
2429 | mov.w &0x0000,ICCR(%a6) | ||
2430 | mov.w &0x0000,%cc | ||
2431 | movm.l &0x7fff,IREGS(%a6) | ||
2432 | |||
2433 | cmp2.b %a1,DATA(%a6) | ||
2434 | |||
2435 | mov.w %cc,SCCR(%a6) | ||
2436 | movm.l &0x7fff,SREGS(%a6) | ||
2437 | |||
2438 | bsr.l chkregs | ||
2439 | tst.b %d0 | ||
2440 | bne.l error | ||
2441 | |||
2442 | cmp2_23: | ||
2443 | addq.l &0x1,TESTCTR(%a6) | ||
2444 | |||
2445 | movm.l DEF_REGS(%pc),&0x3fff | ||
2446 | |||
2447 | mov.w &0xa040,DATA(%a6) | ||
2448 | mov.l &0x11111190,%d1 | ||
2449 | |||
2450 | mov.w &0x0001,ICCR(%a6) | ||
2451 | mov.w &0x0000,%cc | ||
2452 | movm.l &0x7fff,IREGS(%a6) | ||
2453 | |||
2454 | cmp2.b %d1,DATA(%a6) | ||
2455 | |||
2456 | mov.w %cc,SCCR(%a6) | ||
2457 | movm.l &0x7fff,SREGS(%a6) | ||
2458 | |||
2459 | bsr.l chkregs | ||
2460 | tst.b %d0 | ||
2461 | bne.l error | ||
2462 | |||
2463 | cmp2_24: | ||
2464 | addq.l &0x1,TESTCTR(%a6) | ||
2465 | |||
2466 | movm.l DEF_REGS(%pc),&0x3fff | ||
2467 | |||
2468 | mov.w &0xa040,DATA(%a6) | ||
2469 | mov.l &0x00000050,%a1 | ||
2470 | |||
2471 | mov.w &0x0001,ICCR(%a6) | ||
2472 | mov.w &0x0000,%cc | ||
2473 | movm.l &0x7fff,IREGS(%a6) | ||
2474 | |||
2475 | cmp2.b %a1,DATA(%a6) | ||
2476 | |||
2477 | mov.w %cc,SCCR(%a6) | ||
2478 | movm.l &0x7fff,SREGS(%a6) | ||
2479 | |||
2480 | bsr.l chkregs | ||
2481 | tst.b %d0 | ||
2482 | bne.l error | ||
2483 | |||
2484 | # signed - negative,negative | ||
2485 | cmp2_25: | ||
2486 | addq.l &0x1,TESTCTR(%a6) | ||
2487 | |||
2488 | movm.l DEF_REGS(%pc),&0x3fff | ||
2489 | |||
2490 | mov.w &0xa0c0,DATA(%a6) | ||
2491 | mov.l &0x111111a0,%d1 | ||
2492 | |||
2493 | mov.w &0x0004,ICCR(%a6) | ||
2494 | mov.w &0x0000,%cc | ||
2495 | movm.l &0x7fff,IREGS(%a6) | ||
2496 | |||
2497 | cmp2.b %d1,DATA(%a6) | ||
2498 | |||
2499 | mov.w %cc,SCCR(%a6) | ||
2500 | movm.l &0x7fff,SREGS(%a6) | ||
2501 | |||
2502 | bsr.l chkregs | ||
2503 | tst.b %d0 | ||
2504 | bne.l error | ||
2505 | |||
2506 | cmp2_26: | ||
2507 | addq.l &0x1,TESTCTR(%a6) | ||
2508 | |||
2509 | movm.l DEF_REGS(%pc),&0x3fff | ||
2510 | |||
2511 | mov.w &0xa0c0,DATA(%a6) | ||
2512 | mov.l &0xffffffc0,%a1 | ||
2513 | |||
2514 | mov.w &0x0004,ICCR(%a6) | ||
2515 | mov.w &0x0000,%cc | ||
2516 | movm.l &0x7fff,IREGS(%a6) | ||
2517 | |||
2518 | cmp2.b %a1,DATA(%a6) | ||
2519 | |||
2520 | mov.w %cc,SCCR(%a6) | ||
2521 | movm.l &0x7fff,SREGS(%a6) | ||
2522 | |||
2523 | bsr.l chkregs | ||
2524 | tst.b %d0 | ||
2525 | bne.l error | ||
2526 | |||
2527 | cmp2_27: | ||
2528 | addq.l &0x1,TESTCTR(%a6) | ||
2529 | |||
2530 | movm.l DEF_REGS(%pc),&0x3fff | ||
2531 | |||
2532 | mov.w &0xa0c0,DATA(%a6) | ||
2533 | mov.l &0x111111b0,%d1 | ||
2534 | |||
2535 | mov.w &0x0000,ICCR(%a6) | ||
2536 | mov.w &0x0000,%cc | ||
2537 | movm.l &0x7fff,IREGS(%a6) | ||
2538 | |||
2539 | chk2.b DATA(%a6),%d1 | ||
2540 | |||
2541 | mov.w %cc,SCCR(%a6) | ||
2542 | movm.l &0x7fff,SREGS(%a6) | ||
2543 | |||
2544 | bsr.l chkregs | ||
2545 | tst.b %d0 | ||
2546 | bne.l error | ||
2547 | |||
2548 | cmp2_28: | ||
2549 | addq.l &0x1,TESTCTR(%a6) | ||
2550 | |||
2551 | movm.l DEF_REGS(%pc),&0x3fff | ||
2552 | |||
2553 | mov.w &0xa0c0,DATA(%a6) | ||
2554 | mov.l &0x11111190,%a1 | ||
2555 | |||
2556 | mov.w &0x0001,ICCR(%a6) | ||
2557 | mov.w &0x0000,%cc | ||
2558 | movm.l &0x7fff,IREGS(%a6) | ||
2559 | |||
2560 | cmp2.b %a1,DATA(%a6) | ||
2561 | |||
2562 | mov.w %cc,SCCR(%a6) | ||
2563 | movm.l &0x7fff,SREGS(%a6) | ||
2564 | |||
2565 | bsr.l chkregs | ||
2566 | tst.b %d0 | ||
2567 | bne.l error | ||
2568 | |||
2569 | cmp2_29: | ||
2570 | addq.l &0x1,TESTCTR(%a6) | ||
2571 | |||
2572 | movm.l DEF_REGS(%pc),&0x3fff | ||
2573 | |||
2574 | mov.w &0xa0c0,DATA(%a6) | ||
2575 | mov.l &0x111111d0,%d1 | ||
2576 | |||
2577 | mov.w &0x0001,ICCR(%a6) | ||
2578 | mov.w &0x0000,%cc | ||
2579 | movm.l &0x7fff,IREGS(%a6) | ||
2580 | |||
2581 | cmp2.b %d1,DATA(%a6) | ||
2582 | |||
2583 | mov.w %cc,SCCR(%a6) | ||
2584 | movm.l &0x7fff,SREGS(%a6) | ||
2585 | |||
2586 | bsr.l chkregs | ||
2587 | tst.b %d0 | ||
2588 | bne.l error | ||
2589 | |||
2590 | cmp2_30: | ||
2591 | addq.l &0x1,TESTCTR(%a6) | ||
2592 | |||
2593 | movm.l DEF_REGS(%pc),&0x3fff | ||
2594 | |||
2595 | mov.w &0xa0c0,DATA(%a6) | ||
2596 | mov.l &0x00000050,%a1 | ||
2597 | |||
2598 | mov.w &0x001b,ICCR(%a6) | ||
2599 | mov.w &0x001f,%cc | ||
2600 | movm.l &0x7fff,IREGS(%a6) | ||
2601 | |||
2602 | cmp2.b %a1,DATA(%a6) | ||
2603 | |||
2604 | mov.w %cc,SCCR(%a6) | ||
2605 | movm.l &0x7fff,SREGS(%a6) | ||
2606 | |||
2607 | bsr.l chkregs | ||
2608 | tst.b %d0 | ||
2609 | bne.l error | ||
2610 | |||
2611 | mov.l TESTCTR(%a6),%d1 | ||
2612 | clr.l %d0 | ||
2613 | rts | ||
2614 | |||
2615 | ########################################################### | ||
2616 | |||
2617 | ea_str: | ||
2618 | string "\tEffective addresses..." | ||
2619 | |||
2620 | align 0x4 | ||
2621 | ea_0: | ||
2622 | addq.l &0x1,TESTCTR(%a6) | ||
2623 | |||
2624 | movm.l DEF_REGS(%pc),&0x3fff | ||
2625 | |||
2626 | clr.l %d2 | ||
2627 | mov.l &0x00000002,%d3 | ||
2628 | lea EAMEM(%a6),%a0 | ||
2629 | |||
2630 | mov.w &0x0000,ICCR(%a6) | ||
2631 | mov.w &0x0000,%cc | ||
2632 | movm.l &0xffff,IREGS(%a6) | ||
2633 | |||
2634 | mulu.l (%a0),%d2:%d3 | ||
2635 | |||
2636 | mov.w %cc,SCCR(%a6) | ||
2637 | movm.l &0xffff,SREGS(%a6) | ||
2638 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2639 | |||
2640 | bsr.l chkregs | ||
2641 | tst.b %d0 | ||
2642 | bne.l error | ||
2643 | |||
2644 | ea_1: | ||
2645 | addq.l &0x1,TESTCTR(%a6) | ||
2646 | |||
2647 | movm.l DEF_REGS(%pc),&0x3fff | ||
2648 | |||
2649 | clr.l %d2 | ||
2650 | mov.l &0x00000002,%d3 | ||
2651 | lea EAMEM(%a6),%a0 | ||
2652 | |||
2653 | mov.w &0x0000,ICCR(%a6) | ||
2654 | mov.w &0x0000,%cc | ||
2655 | movm.l &0xffff,IREGS(%a6) | ||
2656 | |||
2657 | mulu.l (%a0)+,%d2:%d3 | ||
2658 | |||
2659 | mov.w %cc,SCCR(%a6) | ||
2660 | movm.l &0xffff,SREGS(%a6) | ||
2661 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2662 | lea EAMEM+0x4(%a6),%a0 | ||
2663 | mov.l %a0,IREGS+0x20(%a6) | ||
2664 | |||
2665 | bsr.l chkregs | ||
2666 | tst.b %d0 | ||
2667 | bne.l error | ||
2668 | |||
2669 | ea_2: | ||
2670 | addq.l &0x1,TESTCTR(%a6) | ||
2671 | |||
2672 | movm.l DEF_REGS(%pc),&0x3fff | ||
2673 | clr.l %d2 | ||
2674 | mov.l &0x00000002,%d3 | ||
2675 | lea EAMEM+0x4(%a6),%a0 | ||
2676 | |||
2677 | mov.w &0x0000,ICCR(%a6) | ||
2678 | mov.w &0x0000,%cc | ||
2679 | movm.l &0xffff,IREGS(%a6) | ||
2680 | |||
2681 | mulu.l -(%a0),%d2:%d3 | ||
2682 | |||
2683 | mov.w %cc,SCCR(%a6) | ||
2684 | movm.l &0xffff,SREGS(%a6) | ||
2685 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2686 | lea EAMEM(%a6),%a0 | ||
2687 | mov.l %a0,IREGS+0x20(%a6) | ||
2688 | |||
2689 | bsr.l chkregs | ||
2690 | tst.b %d0 | ||
2691 | bne.l error | ||
2692 | |||
2693 | ea_3: | ||
2694 | addq.l &0x1,TESTCTR(%a6) | ||
2695 | |||
2696 | movm.l DEF_REGS(%pc),&0x3fff | ||
2697 | |||
2698 | clr.l %d2 | ||
2699 | mov.l &0x00000002,%d3 | ||
2700 | lea EAMEM+0x1000(%a6),%a0 | ||
2701 | |||
2702 | mov.w &0x0000,ICCR(%a6) | ||
2703 | mov.w &0x0000,%cc | ||
2704 | movm.l &0xffff,IREGS(%a6) | ||
2705 | |||
2706 | mulu.l (-0x1000,%a0),%d2:%d3 | ||
2707 | |||
2708 | mov.w %cc,SCCR(%a6) | ||
2709 | movm.l &0xffff,SREGS(%a6) | ||
2710 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2711 | |||
2712 | bsr.l chkregs | ||
2713 | tst.b %d0 | ||
2714 | bne.l error | ||
2715 | |||
2716 | ea_4: | ||
2717 | addq.l &0x1,TESTCTR(%a6) | ||
2718 | |||
2719 | movm.l DEF_REGS(%pc),&0x3fff | ||
2720 | |||
2721 | clr.l %d2 | ||
2722 | mov.l &0x00000002,%d3 | ||
2723 | lea EAMEM-0x1000(%a6),%a0 | ||
2724 | |||
2725 | mov.w &0x0000,ICCR(%a6) | ||
2726 | mov.w &0x0000,%cc | ||
2727 | movm.l &0xffff,IREGS(%a6) | ||
2728 | |||
2729 | mulu.l (0x1000,%a0),%d2:%d3 | ||
2730 | |||
2731 | mov.w %cc,SCCR(%a6) | ||
2732 | movm.l &0xffff,SREGS(%a6) | ||
2733 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2734 | |||
2735 | bsr.l chkregs | ||
2736 | tst.b %d0 | ||
2737 | bne.l error | ||
2738 | |||
2739 | ea_5: | ||
2740 | addq.l &0x1,TESTCTR(%a6) | ||
2741 | |||
2742 | # movm.l DEF_REGS(%pc),&0x3fff | ||
2743 | |||
2744 | # clr.l %d2 | ||
2745 | # mov.l &0x00000002,%d3 | ||
2746 | |||
2747 | # mov.w &0x0000,ICCR(%a6) | ||
2748 | # mov.w &0x0000,%cc | ||
2749 | # movm.l &0xffff,IREGS(%a6) | ||
2750 | |||
2751 | # mulu.l EAMEM.w,%d2:%d3 | ||
2752 | |||
2753 | # mov.w %cc,SCCR(%a6) | ||
2754 | # movm.l &0xffff,SREGS(%a6) | ||
2755 | # mov.l &0x00000004,IREGS+0xc(%a6) | ||
2756 | |||
2757 | # bsr.l chkregs | ||
2758 | # tst.b %d0 | ||
2759 | # bne.l error | ||
2760 | |||
2761 | ea_6: | ||
2762 | addq.l &0x1,TESTCTR(%a6) | ||
2763 | |||
2764 | # movm.l DEF_REGS(%pc),&0x3fff | ||
2765 | |||
2766 | # clr.l %d2 | ||
2767 | # mov.l &0x00000002,%d3 | ||
2768 | |||
2769 | # mov.w &0x0000,ICCR(%a6) | ||
2770 | # mov.w &0x0000,%cc | ||
2771 | # movm.l &0xffff,IREGS(%a6) | ||
2772 | |||
2773 | # mulu.l EAMEM.l,%d2:%d3 | ||
2774 | |||
2775 | # mov.w %cc,SCCR(%a6) | ||
2776 | # movm.l &0xffff,SREGS(%a6) | ||
2777 | # mov.l &0x00000004,IREGS+0xc(%a6) | ||
2778 | |||
2779 | # bsr.l chkregs | ||
2780 | # tst.b %d0 | ||
2781 | # bne.l error | ||
2782 | |||
2783 | ea_7: | ||
2784 | addq.l &0x1,TESTCTR(%a6) | ||
2785 | |||
2786 | movm.l DEF_REGS(%pc),&0x3fff | ||
2787 | |||
2788 | clr.l %d2 | ||
2789 | mov.l &0x00000002,%d3 | ||
2790 | |||
2791 | mov.w &0x0000,ICCR(%a6) | ||
2792 | mov.w &0x0000,%cc | ||
2793 | movm.l &0xffff,IREGS(%a6) | ||
2794 | |||
2795 | mulu.l &0x00000002,%d2:%d3 | ||
2796 | |||
2797 | mov.w %cc,SCCR(%a6) | ||
2798 | movm.l &0xffff,SREGS(%a6) | ||
2799 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2800 | |||
2801 | bsr.l chkregs | ||
2802 | tst.b %d0 | ||
2803 | bne.l error | ||
2804 | |||
2805 | ea_8: | ||
2806 | addq.l &0x1,TESTCTR(%a6) | ||
2807 | |||
2808 | bra.b ea_8_next | ||
2809 | ea_8_mem: | ||
2810 | long 0x00000002 | ||
2811 | ea_8_next: | ||
2812 | movm.l DEF_REGS(%pc),&0x3fff | ||
2813 | |||
2814 | clr.l %d2 | ||
2815 | mov.l &0x00000002,%d3 | ||
2816 | |||
2817 | mov.w &0x0000,ICCR(%a6) | ||
2818 | mov.w &0x0000,%cc | ||
2819 | movm.l &0xffff,IREGS(%a6) | ||
2820 | |||
2821 | mulu.l (ea_8_mem.w,%pc),%d2:%d3 | ||
2822 | |||
2823 | mov.w %cc,SCCR(%a6) | ||
2824 | movm.l &0xffff,SREGS(%a6) | ||
2825 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2826 | |||
2827 | bsr.l chkregs | ||
2828 | tst.b %d0 | ||
2829 | bne.l error | ||
2830 | |||
2831 | ea_9: | ||
2832 | addq.l &0x1,TESTCTR(%a6) | ||
2833 | |||
2834 | movm.l DEF_REGS(%pc),&0x3fff | ||
2835 | clr.l %d2 | ||
2836 | mov.l &0x00000002,%d3 | ||
2837 | lea EAMEM+0x4(%a6),%a1 | ||
2838 | |||
2839 | mov.w &0x0000,ICCR(%a6) | ||
2840 | mov.w &0x0000,%cc | ||
2841 | movm.l &0xffff,IREGS(%a6) | ||
2842 | |||
2843 | mulu.l -(%a1),%d2:%d3 | ||
2844 | |||
2845 | mov.w %cc,SCCR(%a6) | ||
2846 | movm.l &0xffff,SREGS(%a6) | ||
2847 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2848 | lea EAMEM(%a6),%a0 | ||
2849 | mov.l %a0,IREGS+0x24(%a6) | ||
2850 | |||
2851 | bsr.l chkregs | ||
2852 | tst.b %d0 | ||
2853 | bne.l error | ||
2854 | |||
2855 | ea_10: | ||
2856 | addq.l &0x1,TESTCTR(%a6) | ||
2857 | |||
2858 | movm.l DEF_REGS(%pc),&0x3fff | ||
2859 | clr.l %d2 | ||
2860 | mov.l &0x00000002,%d3 | ||
2861 | lea EAMEM+0x4(%a6),%a2 | ||
2862 | |||
2863 | mov.w &0x0000,ICCR(%a6) | ||
2864 | mov.w &0x0000,%cc | ||
2865 | movm.l &0xffff,IREGS(%a6) | ||
2866 | |||
2867 | mulu.l -(%a2),%d2:%d3 | ||
2868 | |||
2869 | mov.w %cc,SCCR(%a6) | ||
2870 | movm.l &0xffff,SREGS(%a6) | ||
2871 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2872 | lea EAMEM(%a6),%a0 | ||
2873 | mov.l %a0,IREGS+0x28(%a6) | ||
2874 | |||
2875 | bsr.l chkregs | ||
2876 | tst.b %d0 | ||
2877 | bne.l error | ||
2878 | |||
2879 | ea_11: | ||
2880 | addq.l &0x1,TESTCTR(%a6) | ||
2881 | |||
2882 | movm.l DEF_REGS(%pc),&0x3fff | ||
2883 | clr.l %d2 | ||
2884 | mov.l &0x00000002,%d3 | ||
2885 | lea EAMEM+0x4(%a6),%a3 | ||
2886 | |||
2887 | mov.w &0x0000,ICCR(%a6) | ||
2888 | mov.w &0x0000,%cc | ||
2889 | movm.l &0xffff,IREGS(%a6) | ||
2890 | |||
2891 | mulu.l -(%a3),%d2:%d3 | ||
2892 | |||
2893 | mov.w %cc,SCCR(%a6) | ||
2894 | movm.l &0xffff,SREGS(%a6) | ||
2895 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2896 | lea EAMEM(%a6),%a0 | ||
2897 | mov.l %a0,IREGS+0x2c(%a6) | ||
2898 | |||
2899 | bsr.l chkregs | ||
2900 | tst.b %d0 | ||
2901 | bne.l error | ||
2902 | |||
2903 | ea_12: | ||
2904 | addq.l &0x1,TESTCTR(%a6) | ||
2905 | |||
2906 | movm.l DEF_REGS(%pc),&0x3fff | ||
2907 | clr.l %d2 | ||
2908 | mov.l &0x00000002,%d3 | ||
2909 | lea EAMEM+0x4(%a6),%a4 | ||
2910 | |||
2911 | mov.w &0x0000,ICCR(%a6) | ||
2912 | mov.w &0x0000,%cc | ||
2913 | movm.l &0xffff,IREGS(%a6) | ||
2914 | |||
2915 | mulu.l -(%a4),%d2:%d3 | ||
2916 | |||
2917 | mov.w %cc,SCCR(%a6) | ||
2918 | movm.l &0xffff,SREGS(%a6) | ||
2919 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2920 | lea EAMEM(%a6),%a0 | ||
2921 | mov.l %a0,IREGS+0x30(%a6) | ||
2922 | |||
2923 | bsr.l chkregs | ||
2924 | tst.b %d0 | ||
2925 | bne.l error | ||
2926 | |||
2927 | ea_13: | ||
2928 | addq.l &0x1,TESTCTR(%a6) | ||
2929 | |||
2930 | movm.l DEF_REGS(%pc),&0x3fff | ||
2931 | clr.l %d2 | ||
2932 | mov.l &0x00000002,%d3 | ||
2933 | lea EAMEM+0x4(%a6),%a5 | ||
2934 | |||
2935 | mov.w &0x0000,ICCR(%a6) | ||
2936 | mov.w &0x0000,%cc | ||
2937 | movm.l &0xffff,IREGS(%a6) | ||
2938 | |||
2939 | mulu.l -(%a5),%d2:%d3 | ||
2940 | |||
2941 | mov.w %cc,SCCR(%a6) | ||
2942 | movm.l &0xffff,SREGS(%a6) | ||
2943 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2944 | lea EAMEM(%a6),%a0 | ||
2945 | mov.l %a0,IREGS+0x34(%a6) | ||
2946 | |||
2947 | bsr.l chkregs | ||
2948 | tst.b %d0 | ||
2949 | bne.l error | ||
2950 | |||
2951 | ea_14: | ||
2952 | addq.l &0x1,TESTCTR(%a6) | ||
2953 | |||
2954 | movm.l DEF_REGS(%pc),&0x3fff | ||
2955 | |||
2956 | mov.l %a6,%a1 | ||
2957 | |||
2958 | clr.l %d2 | ||
2959 | mov.l &0x00000002,%d3 | ||
2960 | lea EAMEM+0x4(%a1),%a6 | ||
2961 | |||
2962 | mov.w &0x0000,ICCR(%a1) | ||
2963 | mov.w &0x0000,%cc | ||
2964 | movm.l &0xffff,IREGS(%a1) | ||
2965 | |||
2966 | mulu.l -(%a6),%d2:%d3 | ||
2967 | |||
2968 | mov.w %cc,SCCR(%a1) | ||
2969 | movm.l &0xffff,SREGS(%a1) | ||
2970 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
2971 | lea EAMEM(%a1),%a0 | ||
2972 | mov.l %a0,IREGS+0x38(%a1) | ||
2973 | |||
2974 | mov.l %a1,%a6 | ||
2975 | |||
2976 | bsr.l chkregs | ||
2977 | tst.b %d0 | ||
2978 | bne.l error | ||
2979 | |||
2980 | ea_15: | ||
2981 | addq.l &0x1,TESTCTR(%a6) | ||
2982 | |||
2983 | movm.l DEF_REGS(%pc),&0x3fff | ||
2984 | clr.l %d2 | ||
2985 | mov.l &0x00000002,%d3 | ||
2986 | mov.l %a7,%a0 | ||
2987 | lea EAMEM+0x4(%a6),%a7 | ||
2988 | |||
2989 | mov.w &0x0000,ICCR(%a6) | ||
2990 | mov.w &0x0000,%cc | ||
2991 | movm.l &0xffff,IREGS(%a6) | ||
2992 | |||
2993 | mulu.l -(%a7),%d2:%d3 | ||
2994 | |||
2995 | mov.w %cc,SCCR(%a6) | ||
2996 | movm.l &0xffff,SREGS(%a6) | ||
2997 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
2998 | lea EAMEM(%a6),%a1 | ||
2999 | mov.l %a1,IREGS+0x3c(%a6) | ||
3000 | |||
3001 | mov.l %a0,%a7 | ||
3002 | bsr.l chkregs | ||
3003 | tst.b %d0 | ||
3004 | bne.l error | ||
3005 | |||
3006 | ea_16: | ||
3007 | addq.l &0x1,TESTCTR(%a6) | ||
3008 | |||
3009 | movm.l DEF_REGS(%pc),&0x3fff | ||
3010 | |||
3011 | clr.l %d2 | ||
3012 | mov.l &0x00000002,%d3 | ||
3013 | lea EAMEM(%a6),%a0 | ||
3014 | mov.l &-0x10,%d4 | ||
3015 | |||
3016 | mov.w &0x0000,ICCR(%a6) | ||
3017 | mov.w &0x0000,%cc | ||
3018 | movm.l &0xffff,IREGS(%a6) | ||
3019 | |||
3020 | mulu.l (0x10.b,%a0,%d4.w*1),%d2:%d3 | ||
3021 | |||
3022 | mov.w %cc,SCCR(%a6) | ||
3023 | movm.l &0xffff,SREGS(%a6) | ||
3024 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3025 | |||
3026 | bsr.l chkregs | ||
3027 | tst.b %d0 | ||
3028 | bne.l error | ||
3029 | |||
3030 | ea_17: | ||
3031 | addq.l &0x1,TESTCTR(%a6) | ||
3032 | |||
3033 | movm.l DEF_REGS(%pc),&0x3fff | ||
3034 | |||
3035 | clr.l %d2 | ||
3036 | mov.l &0x00000002,%d3 | ||
3037 | lea EAMEM(%a6),%a0 | ||
3038 | mov.l &-0x8,%d4 | ||
3039 | |||
3040 | mov.w &0x0000,ICCR(%a6) | ||
3041 | mov.w &0x0000,%cc | ||
3042 | movm.l &0xffff,IREGS(%a6) | ||
3043 | |||
3044 | mulu.l (0x10.b,%a0,%d4.w*2),%d2:%d3 | ||
3045 | |||
3046 | mov.w %cc,SCCR(%a6) | ||
3047 | movm.l &0xffff,SREGS(%a6) | ||
3048 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3049 | |||
3050 | bsr.l chkregs | ||
3051 | tst.b %d0 | ||
3052 | bne.l error | ||
3053 | |||
3054 | ea_18: | ||
3055 | addq.l &0x1,TESTCTR(%a6) | ||
3056 | |||
3057 | movm.l DEF_REGS(%pc),&0x3fff | ||
3058 | |||
3059 | clr.l %d2 | ||
3060 | mov.l &0x00000002,%d3 | ||
3061 | lea EAMEM(%a6),%a0 | ||
3062 | mov.l &-0x4,%d4 | ||
3063 | |||
3064 | mov.w &0x0000,ICCR(%a6) | ||
3065 | mov.w &0x0000,%cc | ||
3066 | movm.l &0xffff,IREGS(%a6) | ||
3067 | |||
3068 | mulu.l (0x10.b,%a0,%d4.w*4),%d2:%d3 | ||
3069 | |||
3070 | mov.w %cc,SCCR(%a6) | ||
3071 | movm.l &0xffff,SREGS(%a6) | ||
3072 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3073 | |||
3074 | bsr.l chkregs | ||
3075 | tst.b %d0 | ||
3076 | bne.l error | ||
3077 | |||
3078 | ea_19: | ||
3079 | addq.l &0x1,TESTCTR(%a6) | ||
3080 | |||
3081 | movm.l DEF_REGS(%pc),&0x3fff | ||
3082 | |||
3083 | clr.l %d2 | ||
3084 | mov.l &0x00000002,%d3 | ||
3085 | lea EAMEM(%a6),%a0 | ||
3086 | mov.l &-0x2,%d4 | ||
3087 | |||
3088 | mov.w &0x0000,ICCR(%a6) | ||
3089 | mov.w &0x0000,%cc | ||
3090 | movm.l &0xffff,IREGS(%a6) | ||
3091 | |||
3092 | mulu.l (0x10.b,%a0,%d4.w*8),%d2:%d3 | ||
3093 | |||
3094 | mov.w %cc,SCCR(%a6) | ||
3095 | movm.l &0xffff,SREGS(%a6) | ||
3096 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3097 | |||
3098 | bsr.l chkregs | ||
3099 | tst.b %d0 | ||
3100 | bne.l error | ||
3101 | |||
3102 | ea_20: | ||
3103 | addq.l &0x1,TESTCTR(%a6) | ||
3104 | |||
3105 | movm.l DEF_REGS(%pc),&0x3fff | ||
3106 | |||
3107 | clr.l %d2 | ||
3108 | mov.l &0x00000002,%d3 | ||
3109 | lea EAMEM(%a6),%a0 | ||
3110 | mov.l &-0x10,%d4 | ||
3111 | |||
3112 | mov.w &0x0000,ICCR(%a6) | ||
3113 | mov.w &0x0000,%cc | ||
3114 | movm.l &0xffff,IREGS(%a6) | ||
3115 | |||
3116 | mulu.l (0x10.b,%a0,%d4.l*1),%d2:%d3 | ||
3117 | |||
3118 | mov.w %cc,SCCR(%a6) | ||
3119 | movm.l &0xffff,SREGS(%a6) | ||
3120 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3121 | |||
3122 | bsr.l chkregs | ||
3123 | tst.b %d0 | ||
3124 | bne.l error | ||
3125 | |||
3126 | ea_21: | ||
3127 | addq.l &0x1,TESTCTR(%a6) | ||
3128 | |||
3129 | movm.l DEF_REGS(%pc),&0x3fff | ||
3130 | |||
3131 | clr.l %d2 | ||
3132 | mov.l &0x00000002,%d3 | ||
3133 | lea EAMEM(%a6),%a0 | ||
3134 | mov.l &-0x8,%d4 | ||
3135 | |||
3136 | mov.w &0x0000,ICCR(%a6) | ||
3137 | mov.w &0x0000,%cc | ||
3138 | movm.l &0xffff,IREGS(%a6) | ||
3139 | |||
3140 | mulu.l (0x10.b,%a0,%d4.l*2),%d2:%d3 | ||
3141 | |||
3142 | mov.w %cc,SCCR(%a6) | ||
3143 | movm.l &0xffff,SREGS(%a6) | ||
3144 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3145 | |||
3146 | bsr.l chkregs | ||
3147 | tst.b %d0 | ||
3148 | bne.l error | ||
3149 | |||
3150 | ea_22: | ||
3151 | addq.l &0x1,TESTCTR(%a6) | ||
3152 | |||
3153 | movm.l DEF_REGS(%pc),&0x3fff | ||
3154 | |||
3155 | clr.l %d2 | ||
3156 | mov.l &0x00000002,%d3 | ||
3157 | lea EAMEM(%a6),%a0 | ||
3158 | mov.l &-0x4,%d4 | ||
3159 | |||
3160 | mov.w &0x0000,ICCR(%a6) | ||
3161 | mov.w &0x0000,%cc | ||
3162 | movm.l &0xffff,IREGS(%a6) | ||
3163 | |||
3164 | mulu.l (0x10.b,%a0,%d4.l*4),%d2:%d3 | ||
3165 | |||
3166 | mov.w %cc,SCCR(%a6) | ||
3167 | movm.l &0xffff,SREGS(%a6) | ||
3168 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3169 | |||
3170 | bsr.l chkregs | ||
3171 | tst.b %d0 | ||
3172 | bne.l error | ||
3173 | |||
3174 | ea_23: | ||
3175 | addq.l &0x1,TESTCTR(%a6) | ||
3176 | |||
3177 | movm.l DEF_REGS(%pc),&0x3fff | ||
3178 | |||
3179 | clr.l %d2 | ||
3180 | mov.l &0x00000002,%d3 | ||
3181 | lea EAMEM(%a6),%a0 | ||
3182 | mov.l &-0x2,%d4 | ||
3183 | |||
3184 | mov.w &0x0000,ICCR(%a6) | ||
3185 | mov.w &0x0000,%cc | ||
3186 | movm.l &0xffff,IREGS(%a6) | ||
3187 | |||
3188 | mulu.l (0x10.b,%a0,%d4.l*8),%d2:%d3 | ||
3189 | |||
3190 | mov.w %cc,SCCR(%a6) | ||
3191 | movm.l &0xffff,SREGS(%a6) | ||
3192 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3193 | |||
3194 | bsr.l chkregs | ||
3195 | tst.b %d0 | ||
3196 | bne.l error | ||
3197 | |||
3198 | ea_24: | ||
3199 | addq.l &0x1,TESTCTR(%a6) | ||
3200 | |||
3201 | movm.l DEF_REGS(%pc),&0x3fff | ||
3202 | |||
3203 | clr.l %d2 | ||
3204 | mov.l &0x00000002,%d3 | ||
3205 | lea EAMEM(%a6),%a0 | ||
3206 | mov.l &-0x2,%a4 | ||
3207 | |||
3208 | mov.w &0x0000,ICCR(%a6) | ||
3209 | mov.w &0x0000,%cc | ||
3210 | movm.l &0xffff,IREGS(%a6) | ||
3211 | |||
3212 | mulu.l (0x10.b,%a0,%a4.l*8),%d2:%d3 | ||
3213 | |||
3214 | mov.w %cc,SCCR(%a6) | ||
3215 | movm.l &0xffff,SREGS(%a6) | ||
3216 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3217 | |||
3218 | bsr.l chkregs | ||
3219 | tst.b %d0 | ||
3220 | bne.l error | ||
3221 | |||
3222 | ea_25: | ||
3223 | addq.l &0x1,TESTCTR(%a6) | ||
3224 | |||
3225 | movm.l DEF_REGS(%pc),&0x3fff | ||
3226 | |||
3227 | clr.l %d2 | ||
3228 | mov.l &0x00000002,%d3 | ||
3229 | lea EAMEM(%a6),%a0 | ||
3230 | mov.l &0x2,%a4 | ||
3231 | |||
3232 | mov.w &0x0000,ICCR(%a6) | ||
3233 | mov.w &0x0000,%cc | ||
3234 | movm.l &0xffff,IREGS(%a6) | ||
3235 | |||
3236 | mulu.l (-0x10.b,%a0,%a4.l*8),%d2:%d3 | ||
3237 | |||
3238 | mov.w %cc,SCCR(%a6) | ||
3239 | movm.l &0xffff,SREGS(%a6) | ||
3240 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3241 | |||
3242 | bsr.l chkregs | ||
3243 | tst.b %d0 | ||
3244 | bne.l error | ||
3245 | |||
3246 | ea_26: | ||
3247 | addq.l &0x1,TESTCTR(%a6) | ||
3248 | |||
3249 | movm.l DEF_REGS(%pc),&0x3fff | ||
3250 | |||
3251 | clr.l %d2 | ||
3252 | mov.l &0x00000002,%d3 | ||
3253 | lea EAMEM(%a6),%a1 | ||
3254 | mov.l &-0x10,%d4 | ||
3255 | |||
3256 | mov.w &0x0000,ICCR(%a6) | ||
3257 | mov.w &0x0000,%cc | ||
3258 | movm.l &0xffff,IREGS(%a6) | ||
3259 | |||
3260 | mulu.l (0x10.b,%a1,%d4.w*1),%d2:%d3 | ||
3261 | |||
3262 | mov.w %cc,SCCR(%a6) | ||
3263 | movm.l &0xffff,SREGS(%a6) | ||
3264 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3265 | |||
3266 | bsr.l chkregs | ||
3267 | tst.b %d0 | ||
3268 | bne.l error | ||
3269 | |||
3270 | ea_27: | ||
3271 | addq.l &0x1,TESTCTR(%a6) | ||
3272 | |||
3273 | movm.l DEF_REGS(%pc),&0x3fff | ||
3274 | |||
3275 | clr.l %d2 | ||
3276 | mov.l &0x00000002,%d3 | ||
3277 | lea EAMEM(%a6),%a2 | ||
3278 | mov.l &-0x10,%d4 | ||
3279 | |||
3280 | mov.w &0x0000,ICCR(%a6) | ||
3281 | mov.w &0x0000,%cc | ||
3282 | movm.l &0xffff,IREGS(%a6) | ||
3283 | |||
3284 | mulu.l (0x10.b,%a2,%d4.w*1),%d2:%d3 | ||
3285 | |||
3286 | mov.w %cc,SCCR(%a6) | ||
3287 | movm.l &0xffff,SREGS(%a6) | ||
3288 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3289 | |||
3290 | bsr.l chkregs | ||
3291 | tst.b %d0 | ||
3292 | bne.l error | ||
3293 | |||
3294 | ea_28: | ||
3295 | addq.l &0x1,TESTCTR(%a6) | ||
3296 | |||
3297 | movm.l DEF_REGS(%pc),&0x3fff | ||
3298 | |||
3299 | clr.l %d2 | ||
3300 | mov.l &0x00000002,%d3 | ||
3301 | lea EAMEM(%a6),%a3 | ||
3302 | mov.l &-0x10,%d4 | ||
3303 | |||
3304 | mov.w &0x0000,ICCR(%a6) | ||
3305 | mov.w &0x0000,%cc | ||
3306 | movm.l &0xffff,IREGS(%a6) | ||
3307 | |||
3308 | mulu.l (0x10.b,%a3,%d4.w*1),%d2:%d3 | ||
3309 | |||
3310 | mov.w %cc,SCCR(%a6) | ||
3311 | movm.l &0xffff,SREGS(%a6) | ||
3312 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3313 | |||
3314 | bsr.l chkregs | ||
3315 | tst.b %d0 | ||
3316 | bne.l error | ||
3317 | |||
3318 | ea_29: | ||
3319 | addq.l &0x1,TESTCTR(%a6) | ||
3320 | |||
3321 | movm.l DEF_REGS(%pc),&0x3fff | ||
3322 | |||
3323 | clr.l %d2 | ||
3324 | mov.l &0x00000002,%d3 | ||
3325 | lea EAMEM(%a6),%a4 | ||
3326 | mov.l &-0x10,%d4 | ||
3327 | |||
3328 | mov.w &0x0000,ICCR(%a6) | ||
3329 | mov.w &0x0000,%cc | ||
3330 | movm.l &0xffff,IREGS(%a6) | ||
3331 | |||
3332 | mulu.l (0x10.b,%a4,%d4.w*1),%d2:%d3 | ||
3333 | |||
3334 | mov.w %cc,SCCR(%a6) | ||
3335 | movm.l &0xffff,SREGS(%a6) | ||
3336 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3337 | |||
3338 | bsr.l chkregs | ||
3339 | tst.b %d0 | ||
3340 | bne.l error | ||
3341 | |||
3342 | ea_30: | ||
3343 | addq.l &0x1,TESTCTR(%a6) | ||
3344 | |||
3345 | movm.l DEF_REGS(%pc),&0x3fff | ||
3346 | |||
3347 | clr.l %d2 | ||
3348 | mov.l &0x00000002,%d3 | ||
3349 | lea EAMEM(%a6),%a5 | ||
3350 | mov.l &-0x10,%d4 | ||
3351 | |||
3352 | mov.w &0x0000,ICCR(%a6) | ||
3353 | mov.w &0x0000,%cc | ||
3354 | movm.l &0xffff,IREGS(%a6) | ||
3355 | |||
3356 | mulu.l (0x10.b,%a5,%d4.w*1),%d2:%d3 | ||
3357 | |||
3358 | mov.w %cc,SCCR(%a6) | ||
3359 | movm.l &0xffff,SREGS(%a6) | ||
3360 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3361 | |||
3362 | bsr.l chkregs | ||
3363 | tst.b %d0 | ||
3364 | bne.l error | ||
3365 | |||
3366 | ea_31: | ||
3367 | addq.l &0x1,TESTCTR(%a6) | ||
3368 | |||
3369 | movm.l DEF_REGS(%pc),&0x3fff | ||
3370 | |||
3371 | mov.l %a6,%a1 | ||
3372 | |||
3373 | clr.l %d2 | ||
3374 | mov.l &0x00000002,%d3 | ||
3375 | lea EAMEM(%a1),%a6 | ||
3376 | mov.l &-0x10,%d4 | ||
3377 | |||
3378 | mov.w &0x0000,ICCR(%a1) | ||
3379 | mov.w &0x0000,%cc | ||
3380 | movm.l &0xffff,IREGS(%a1) | ||
3381 | |||
3382 | mulu.l (0x10.b,%a6,%d4.w*1),%d2:%d3 | ||
3383 | |||
3384 | mov.w %cc,SCCR(%a1) | ||
3385 | movm.l &0xffff,SREGS(%a1) | ||
3386 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
3387 | |||
3388 | mov.l %a1,%a6 | ||
3389 | |||
3390 | bsr.l chkregs | ||
3391 | tst.b %d0 | ||
3392 | bne.l error | ||
3393 | |||
3394 | ea_32: | ||
3395 | addq.l &0x1,TESTCTR(%a6) | ||
3396 | |||
3397 | movm.l DEF_REGS(%pc),&0x3fff | ||
3398 | |||
3399 | clr.l %d2 | ||
3400 | mov.l &0x00000002,%d3 | ||
3401 | mov.l %a7,%a0 | ||
3402 | lea EAMEM(%a6),%a7 | ||
3403 | mov.l &-0x10,%d4 | ||
3404 | |||
3405 | mov.w &0x0000,ICCR(%a6) | ||
3406 | mov.w &0x0000,%cc | ||
3407 | movm.l &0xffff,IREGS(%a6) | ||
3408 | |||
3409 | mulu.l (0x10.b,%a7,%d4.w*1),%d2:%d3 | ||
3410 | |||
3411 | mov.w %cc,SCCR(%a6) | ||
3412 | movm.l &0xffff,SREGS(%a6) | ||
3413 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3414 | |||
3415 | mov.l %a0,%a7 | ||
3416 | bsr.l chkregs | ||
3417 | tst.b %d0 | ||
3418 | bne.l error | ||
3419 | |||
3420 | ea_33: | ||
3421 | addq.l &0x1,TESTCTR(%a6) | ||
3422 | |||
3423 | movm.l DEF_REGS(%pc),&0x3fff | ||
3424 | |||
3425 | clr.l %d2 | ||
3426 | mov.l &0x00000002,%d3 | ||
3427 | lea EAMEM(%a6),%a1 | ||
3428 | |||
3429 | mov.w &0x0000,ICCR(%a6) | ||
3430 | mov.w &0x0000,%cc | ||
3431 | movm.l &0xffff,IREGS(%a6) | ||
3432 | |||
3433 | mulu.l (%a1),%d2:%d3 | ||
3434 | |||
3435 | mov.w %cc,SCCR(%a6) | ||
3436 | movm.l &0xffff,SREGS(%a6) | ||
3437 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3438 | |||
3439 | bsr.l chkregs | ||
3440 | tst.b %d0 | ||
3441 | bne.l error | ||
3442 | |||
3443 | ea_34: | ||
3444 | addq.l &0x1,TESTCTR(%a6) | ||
3445 | |||
3446 | movm.l DEF_REGS(%pc),&0x3fff | ||
3447 | |||
3448 | clr.l %d2 | ||
3449 | mov.l &0x00000002,%d3 | ||
3450 | lea EAMEM(%a6),%a2 | ||
3451 | |||
3452 | mov.w &0x0000,ICCR(%a6) | ||
3453 | mov.w &0x0000,%cc | ||
3454 | movm.l &0xffff,IREGS(%a6) | ||
3455 | |||
3456 | mulu.l (%a2),%d2:%d3 | ||
3457 | |||
3458 | mov.w %cc,SCCR(%a6) | ||
3459 | movm.l &0xffff,SREGS(%a6) | ||
3460 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3461 | |||
3462 | bsr.l chkregs | ||
3463 | tst.b %d0 | ||
3464 | bne.l error | ||
3465 | |||
3466 | ea_35: | ||
3467 | addq.l &0x1,TESTCTR(%a6) | ||
3468 | |||
3469 | movm.l DEF_REGS(%pc),&0x3fff | ||
3470 | |||
3471 | clr.l %d2 | ||
3472 | mov.l &0x00000002,%d3 | ||
3473 | lea EAMEM(%a6),%a3 | ||
3474 | |||
3475 | mov.w &0x0000,ICCR(%a6) | ||
3476 | mov.w &0x0000,%cc | ||
3477 | movm.l &0xffff,IREGS(%a6) | ||
3478 | |||
3479 | mulu.l (%a3),%d2:%d3 | ||
3480 | |||
3481 | mov.w %cc,SCCR(%a6) | ||
3482 | movm.l &0xffff,SREGS(%a6) | ||
3483 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3484 | |||
3485 | bsr.l chkregs | ||
3486 | tst.b %d0 | ||
3487 | bne.l error | ||
3488 | |||
3489 | ea_36: | ||
3490 | addq.l &0x1,TESTCTR(%a6) | ||
3491 | |||
3492 | movm.l DEF_REGS(%pc),&0x3fff | ||
3493 | |||
3494 | clr.l %d2 | ||
3495 | mov.l &0x00000002,%d3 | ||
3496 | lea EAMEM(%a6),%a4 | ||
3497 | |||
3498 | mov.w &0x0000,ICCR(%a6) | ||
3499 | mov.w &0x0000,%cc | ||
3500 | movm.l &0xffff,IREGS(%a6) | ||
3501 | |||
3502 | mulu.l (%a4),%d2:%d3 | ||
3503 | |||
3504 | mov.w %cc,SCCR(%a6) | ||
3505 | movm.l &0xffff,SREGS(%a6) | ||
3506 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3507 | |||
3508 | bsr.l chkregs | ||
3509 | tst.b %d0 | ||
3510 | bne.l error | ||
3511 | |||
3512 | ea_37: | ||
3513 | addq.l &0x1,TESTCTR(%a6) | ||
3514 | |||
3515 | movm.l DEF_REGS(%pc),&0x3fff | ||
3516 | |||
3517 | clr.l %d2 | ||
3518 | mov.l &0x00000002,%d3 | ||
3519 | lea EAMEM(%a6),%a5 | ||
3520 | |||
3521 | mov.w &0x0000,ICCR(%a6) | ||
3522 | mov.w &0x0000,%cc | ||
3523 | movm.l &0xffff,IREGS(%a6) | ||
3524 | |||
3525 | mulu.l (%a5),%d2:%d3 | ||
3526 | |||
3527 | mov.w %cc,SCCR(%a6) | ||
3528 | movm.l &0xffff,SREGS(%a6) | ||
3529 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3530 | |||
3531 | bsr.l chkregs | ||
3532 | tst.b %d0 | ||
3533 | bne.l error | ||
3534 | |||
3535 | ea_38: | ||
3536 | addq.l &0x1,TESTCTR(%a6) | ||
3537 | |||
3538 | movm.l DEF_REGS(%pc),&0x3fff | ||
3539 | |||
3540 | mov.l %a6,%a1 | ||
3541 | |||
3542 | clr.l %d2 | ||
3543 | mov.l &0x00000002,%d3 | ||
3544 | lea EAMEM(%a1),%a6 | ||
3545 | |||
3546 | mov.w &0x0000,ICCR(%a1) | ||
3547 | mov.w &0x0000,%cc | ||
3548 | movm.l &0xffff,IREGS(%a1) | ||
3549 | |||
3550 | mulu.l (%a6),%d2:%d3 | ||
3551 | |||
3552 | mov.w %cc,SCCR(%a1) | ||
3553 | movm.l &0xffff,SREGS(%a1) | ||
3554 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
3555 | |||
3556 | mov.l %a1,%a6 | ||
3557 | |||
3558 | bsr.l chkregs | ||
3559 | tst.b %d0 | ||
3560 | bne.l error | ||
3561 | |||
3562 | ea_39: | ||
3563 | addq.l &0x1,TESTCTR(%a6) | ||
3564 | |||
3565 | movm.l DEF_REGS(%pc),&0x3fff | ||
3566 | |||
3567 | clr.l %d2 | ||
3568 | mov.l &0x00000002,%d3 | ||
3569 | mov.l %a7,%a0 | ||
3570 | lea EAMEM(%a6),%a7 | ||
3571 | |||
3572 | mov.w &0x0000,ICCR(%a6) | ||
3573 | mov.w &0x0000,%cc | ||
3574 | movm.l &0xffff,IREGS(%a6) | ||
3575 | |||
3576 | mulu.l (%a7),%d2:%d3 | ||
3577 | |||
3578 | mov.w %cc,SCCR(%a6) | ||
3579 | movm.l &0xffff,SREGS(%a6) | ||
3580 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3581 | |||
3582 | mov.l %a0,%a7 | ||
3583 | bsr.l chkregs | ||
3584 | tst.b %d0 | ||
3585 | bne.l error | ||
3586 | |||
3587 | ea_40: | ||
3588 | addq.l &0x1,TESTCTR(%a6) | ||
3589 | |||
3590 | movm.l DEF_REGS(%pc),&0x3fff | ||
3591 | |||
3592 | clr.l %d2 | ||
3593 | mov.l &0x00000002,%d3 | ||
3594 | lea EAMEM(%a6),%a1 | ||
3595 | |||
3596 | mov.w &0x0000,ICCR(%a6) | ||
3597 | mov.w &0x0000,%cc | ||
3598 | movm.l &0xffff,IREGS(%a6) | ||
3599 | |||
3600 | mulu.l (%a1)+,%d2:%d3 | ||
3601 | |||
3602 | mov.w %cc,SCCR(%a6) | ||
3603 | movm.l &0xffff,SREGS(%a6) | ||
3604 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3605 | lea EAMEM+0x4(%a6),%a0 | ||
3606 | mov.l %a0,IREGS+0x24(%a6) | ||
3607 | |||
3608 | bsr.l chkregs | ||
3609 | tst.b %d0 | ||
3610 | bne.l error | ||
3611 | |||
3612 | ea_41: | ||
3613 | addq.l &0x1,TESTCTR(%a6) | ||
3614 | |||
3615 | movm.l DEF_REGS(%pc),&0x3fff | ||
3616 | |||
3617 | clr.l %d2 | ||
3618 | mov.l &0x00000002,%d3 | ||
3619 | lea EAMEM(%a6),%a2 | ||
3620 | |||
3621 | mov.w &0x0000,ICCR(%a6) | ||
3622 | mov.w &0x0000,%cc | ||
3623 | movm.l &0xffff,IREGS(%a6) | ||
3624 | |||
3625 | mulu.l (%a2)+,%d2:%d3 | ||
3626 | |||
3627 | mov.w %cc,SCCR(%a6) | ||
3628 | movm.l &0xffff,SREGS(%a6) | ||
3629 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3630 | lea EAMEM+0x4(%a6),%a0 | ||
3631 | mov.l %a0,IREGS+0x28(%a6) | ||
3632 | |||
3633 | bsr.l chkregs | ||
3634 | tst.b %d0 | ||
3635 | bne.l error | ||
3636 | |||
3637 | ea_42: | ||
3638 | addq.l &0x1,TESTCTR(%a6) | ||
3639 | |||
3640 | movm.l DEF_REGS(%pc),&0x3fff | ||
3641 | |||
3642 | clr.l %d2 | ||
3643 | mov.l &0x00000002,%d3 | ||
3644 | lea EAMEM(%a6),%a3 | ||
3645 | |||
3646 | mov.w &0x0000,ICCR(%a6) | ||
3647 | mov.w &0x0000,%cc | ||
3648 | movm.l &0xffff,IREGS(%a6) | ||
3649 | |||
3650 | mulu.l (%a3)+,%d2:%d3 | ||
3651 | |||
3652 | mov.w %cc,SCCR(%a6) | ||
3653 | movm.l &0xffff,SREGS(%a6) | ||
3654 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3655 | lea EAMEM+0x4(%a6),%a0 | ||
3656 | mov.l %a0,IREGS+0x2c(%a6) | ||
3657 | |||
3658 | bsr.l chkregs | ||
3659 | tst.b %d0 | ||
3660 | bne.l error | ||
3661 | |||
3662 | ea_43: | ||
3663 | addq.l &0x1,TESTCTR(%a6) | ||
3664 | |||
3665 | movm.l DEF_REGS(%pc),&0x3fff | ||
3666 | |||
3667 | clr.l %d2 | ||
3668 | mov.l &0x00000002,%d3 | ||
3669 | lea EAMEM(%a6),%a4 | ||
3670 | |||
3671 | mov.w &0x0000,ICCR(%a6) | ||
3672 | mov.w &0x0000,%cc | ||
3673 | movm.l &0xffff,IREGS(%a6) | ||
3674 | |||
3675 | mulu.l (%a4)+,%d2:%d3 | ||
3676 | |||
3677 | mov.w %cc,SCCR(%a6) | ||
3678 | movm.l &0xffff,SREGS(%a6) | ||
3679 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3680 | lea EAMEM+0x4(%a6),%a0 | ||
3681 | mov.l %a0,IREGS+0x30(%a6) | ||
3682 | |||
3683 | bsr.l chkregs | ||
3684 | tst.b %d0 | ||
3685 | bne.l error | ||
3686 | |||
3687 | ea_44: | ||
3688 | addq.l &0x1,TESTCTR(%a6) | ||
3689 | |||
3690 | movm.l DEF_REGS(%pc),&0x3fff | ||
3691 | |||
3692 | clr.l %d2 | ||
3693 | mov.l &0x00000002,%d3 | ||
3694 | lea EAMEM(%a6),%a5 | ||
3695 | |||
3696 | mov.w &0x0000,ICCR(%a6) | ||
3697 | mov.w &0x0000,%cc | ||
3698 | movm.l &0xffff,IREGS(%a6) | ||
3699 | |||
3700 | mulu.l (%a5)+,%d2:%d3 | ||
3701 | |||
3702 | mov.w %cc,SCCR(%a6) | ||
3703 | movm.l &0xffff,SREGS(%a6) | ||
3704 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3705 | lea EAMEM+0x4(%a6),%a0 | ||
3706 | mov.l %a0,IREGS+0x34(%a6) | ||
3707 | |||
3708 | bsr.l chkregs | ||
3709 | tst.b %d0 | ||
3710 | bne.l error | ||
3711 | |||
3712 | ea_45: | ||
3713 | addq.l &0x1,TESTCTR(%a6) | ||
3714 | |||
3715 | movm.l DEF_REGS(%pc),&0x3fff | ||
3716 | |||
3717 | mov.l %a6,%a1 | ||
3718 | |||
3719 | clr.l %d2 | ||
3720 | mov.l &0x00000002,%d3 | ||
3721 | lea EAMEM(%a1),%a6 | ||
3722 | |||
3723 | mov.w &0x0000,ICCR(%a1) | ||
3724 | mov.w &0x0000,%cc | ||
3725 | movm.l &0xffff,IREGS(%a1) | ||
3726 | |||
3727 | mulu.l (%a6)+,%d2:%d3 | ||
3728 | |||
3729 | mov.w %cc,SCCR(%a1) | ||
3730 | movm.l &0xffff,SREGS(%a1) | ||
3731 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
3732 | lea EAMEM+0x4(%a1),%a0 | ||
3733 | mov.l %a0,IREGS+0x38(%a1) | ||
3734 | |||
3735 | mov.l %a1,%a6 | ||
3736 | |||
3737 | bsr.l chkregs | ||
3738 | tst.b %d0 | ||
3739 | bne.l error | ||
3740 | |||
3741 | ea_46: | ||
3742 | addq.l &0x1,TESTCTR(%a6) | ||
3743 | |||
3744 | movm.l DEF_REGS(%pc),&0x3fff | ||
3745 | |||
3746 | clr.l %d2 | ||
3747 | mov.l &0x00000002,%d3 | ||
3748 | mov.l %a7,%a0 | ||
3749 | lea EAMEM(%a6),%a7 | ||
3750 | |||
3751 | mov.w &0x0000,ICCR(%a6) | ||
3752 | mov.w &0x0000,%cc | ||
3753 | movm.l &0xffff,IREGS(%a6) | ||
3754 | |||
3755 | mulu.l (%a7)+,%d2:%d3 | ||
3756 | |||
3757 | mov.w %cc,SCCR(%a6) | ||
3758 | movm.l &0xffff,SREGS(%a6) | ||
3759 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3760 | lea EAMEM+0x4(%a6),%a1 | ||
3761 | mov.l %a1,IREGS+0x3c(%a6) | ||
3762 | |||
3763 | mov.l %a0,%a7 | ||
3764 | bsr.l chkregs | ||
3765 | tst.b %d0 | ||
3766 | bne.l error | ||
3767 | |||
3768 | ea_47: | ||
3769 | addq.l &0x1,TESTCTR(%a6) | ||
3770 | |||
3771 | movm.l DEF_REGS(%pc),&0x3fff | ||
3772 | |||
3773 | clr.l %d2 | ||
3774 | mov.l &0x00000002,%d3 | ||
3775 | lea EAMEM-0x1000(%a6),%a1 | ||
3776 | |||
3777 | mov.w &0x0000,ICCR(%a6) | ||
3778 | mov.w &0x0000,%cc | ||
3779 | movm.l &0xffff,IREGS(%a6) | ||
3780 | |||
3781 | mulu.l (0x1000,%a1),%d2:%d3 | ||
3782 | |||
3783 | mov.w %cc,SCCR(%a6) | ||
3784 | movm.l &0xffff,SREGS(%a6) | ||
3785 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3786 | |||
3787 | bsr.l chkregs | ||
3788 | tst.b %d0 | ||
3789 | bne.l error | ||
3790 | |||
3791 | ea_48: | ||
3792 | addq.l &0x1,TESTCTR(%a6) | ||
3793 | |||
3794 | movm.l DEF_REGS(%pc),&0x3fff | ||
3795 | |||
3796 | clr.l %d2 | ||
3797 | mov.l &0x00000002,%d3 | ||
3798 | lea EAMEM-0x1000(%a6),%a2 | ||
3799 | |||
3800 | mov.w &0x0000,ICCR(%a6) | ||
3801 | mov.w &0x0000,%cc | ||
3802 | movm.l &0xffff,IREGS(%a6) | ||
3803 | |||
3804 | mulu.l (0x1000,%a2),%d2:%d3 | ||
3805 | |||
3806 | mov.w %cc,SCCR(%a6) | ||
3807 | movm.l &0xffff,SREGS(%a6) | ||
3808 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3809 | |||
3810 | bsr.l chkregs | ||
3811 | tst.b %d0 | ||
3812 | bne.l error | ||
3813 | |||
3814 | ea_49: | ||
3815 | addq.l &0x1,TESTCTR(%a6) | ||
3816 | |||
3817 | movm.l DEF_REGS(%pc),&0x3fff | ||
3818 | |||
3819 | clr.l %d2 | ||
3820 | mov.l &0x00000002,%d3 | ||
3821 | lea EAMEM-0x1000(%a6),%a3 | ||
3822 | |||
3823 | mov.w &0x0000,ICCR(%a6) | ||
3824 | mov.w &0x0000,%cc | ||
3825 | movm.l &0xffff,IREGS(%a6) | ||
3826 | |||
3827 | mulu.l (0x1000,%a3),%d2:%d3 | ||
3828 | |||
3829 | mov.w %cc,SCCR(%a6) | ||
3830 | movm.l &0xffff,SREGS(%a6) | ||
3831 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3832 | |||
3833 | bsr.l chkregs | ||
3834 | tst.b %d0 | ||
3835 | bne.l error | ||
3836 | |||
3837 | ea_50: | ||
3838 | addq.l &0x1,TESTCTR(%a6) | ||
3839 | |||
3840 | movm.l DEF_REGS(%pc),&0x3fff | ||
3841 | |||
3842 | clr.l %d2 | ||
3843 | mov.l &0x00000002,%d3 | ||
3844 | lea EAMEM-0x1000(%a6),%a4 | ||
3845 | |||
3846 | mov.w &0x0000,ICCR(%a6) | ||
3847 | mov.w &0x0000,%cc | ||
3848 | movm.l &0xffff,IREGS(%a6) | ||
3849 | |||
3850 | mulu.l (0x1000,%a4),%d2:%d3 | ||
3851 | |||
3852 | mov.w %cc,SCCR(%a6) | ||
3853 | movm.l &0xffff,SREGS(%a6) | ||
3854 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3855 | |||
3856 | bsr.l chkregs | ||
3857 | tst.b %d0 | ||
3858 | bne.l error | ||
3859 | |||
3860 | ea_51: | ||
3861 | addq.l &0x1,TESTCTR(%a6) | ||
3862 | |||
3863 | movm.l DEF_REGS(%pc),&0x3fff | ||
3864 | |||
3865 | clr.l %d2 | ||
3866 | mov.l &0x00000002,%d3 | ||
3867 | lea EAMEM-0x1000(%a6),%a5 | ||
3868 | |||
3869 | mov.w &0x0000,ICCR(%a6) | ||
3870 | mov.w &0x0000,%cc | ||
3871 | movm.l &0xffff,IREGS(%a6) | ||
3872 | |||
3873 | mulu.l (0x1000,%a5),%d2:%d3 | ||
3874 | |||
3875 | mov.w %cc,SCCR(%a6) | ||
3876 | movm.l &0xffff,SREGS(%a6) | ||
3877 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3878 | |||
3879 | bsr.l chkregs | ||
3880 | tst.b %d0 | ||
3881 | bne.l error | ||
3882 | |||
3883 | ea_52: | ||
3884 | addq.l &0x1,TESTCTR(%a6) | ||
3885 | |||
3886 | movm.l DEF_REGS(%pc),&0x3fff | ||
3887 | |||
3888 | mov.l %a6,%a1 | ||
3889 | |||
3890 | clr.l %d2 | ||
3891 | mov.l &0x00000002,%d3 | ||
3892 | lea EAMEM-0x1000(%a1),%a6 | ||
3893 | |||
3894 | mov.w &0x0000,ICCR(%a1) | ||
3895 | mov.w &0x0000,%cc | ||
3896 | movm.l &0xffff,IREGS(%a1) | ||
3897 | |||
3898 | mulu.l (0x1000,%a6),%d2:%d3 | ||
3899 | |||
3900 | mov.w %cc,SCCR(%a1) | ||
3901 | movm.l &0xffff,SREGS(%a1) | ||
3902 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
3903 | |||
3904 | mov.l %a1,%a6 | ||
3905 | |||
3906 | bsr.l chkregs | ||
3907 | tst.b %d0 | ||
3908 | bne.l error | ||
3909 | |||
3910 | ea_53: | ||
3911 | addq.l &0x1,TESTCTR(%a6) | ||
3912 | |||
3913 | movm.l DEF_REGS(%pc),&0x3fff | ||
3914 | |||
3915 | clr.l %d2 | ||
3916 | mov.l &0x00000002,%d3 | ||
3917 | mov.l %a7,%a0 | ||
3918 | lea EAMEM-0x1000(%a6),%a7 | ||
3919 | |||
3920 | mov.w &0x0000,ICCR(%a6) | ||
3921 | mov.w &0x0000,%cc | ||
3922 | movm.l &0xffff,IREGS(%a6) | ||
3923 | |||
3924 | mulu.l (0x1000,%a7),%d2:%d3 | ||
3925 | |||
3926 | mov.w %cc,SCCR(%a6) | ||
3927 | movm.l &0xffff,SREGS(%a6) | ||
3928 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3929 | |||
3930 | mov.l %a0,%a7 | ||
3931 | bsr.l chkregs | ||
3932 | tst.b %d0 | ||
3933 | bne.l error | ||
3934 | |||
3935 | ea_54: | ||
3936 | addq.l &0x1,TESTCTR(%a6) | ||
3937 | |||
3938 | movm.l DEF_REGS(%pc),&0x3fff | ||
3939 | |||
3940 | clr.l %d2 | ||
3941 | mov.l &0x00000002,%d3 | ||
3942 | lea EAMEM+0x1000(%a6),%a0 | ||
3943 | |||
3944 | mov.w &0x0000,ICCR(%a6) | ||
3945 | mov.w &0x0000,%cc | ||
3946 | movm.l &0xffff,IREGS(%a6) | ||
3947 | |||
3948 | mulu.l (-0x1000,%a0),%d2:%d3 | ||
3949 | |||
3950 | mov.w %cc,SCCR(%a6) | ||
3951 | movm.l &0xffff,SREGS(%a6) | ||
3952 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3953 | |||
3954 | bsr.l chkregs | ||
3955 | tst.b %d0 | ||
3956 | bne.l error | ||
3957 | |||
3958 | ea_55: | ||
3959 | addq.l &0x1,TESTCTR(%a6) | ||
3960 | |||
3961 | bra.b ea_55_next | ||
3962 | |||
3963 | ea_55_data: | ||
3964 | long 0x00000002 | ||
3965 | ea_55_next: | ||
3966 | movm.l DEF_REGS(%pc),&0x3fff | ||
3967 | |||
3968 | clr.l %d2 | ||
3969 | mov.l &0x00000002,%d3 | ||
3970 | |||
3971 | mov.w &0x0000,ICCR(%a6) | ||
3972 | mov.w &0x0000,%cc | ||
3973 | movm.l &0xffff,IREGS(%a6) | ||
3974 | |||
3975 | mulu.l (ea_55_data.w,%pc),%d2:%d3 | ||
3976 | |||
3977 | mov.w %cc,SCCR(%a6) | ||
3978 | movm.l &0xffff,SREGS(%a6) | ||
3979 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
3980 | |||
3981 | bsr.l chkregs | ||
3982 | tst.b %d0 | ||
3983 | bne.l error | ||
3984 | |||
3985 | ea_56: | ||
3986 | addq.l &0x1,TESTCTR(%a6) | ||
3987 | |||
3988 | movm.l DEF_REGS(%pc),&0x3fff | ||
3989 | |||
3990 | clr.l %d2 | ||
3991 | mov.l &0x00000002,%d3 | ||
3992 | lea EAMEM(%a6),%a3 | ||
3993 | mov.l &-0x10,%d4 | ||
3994 | |||
3995 | mov.w &0x0000,ICCR(%a6) | ||
3996 | mov.w &0x0000,%cc | ||
3997 | movm.l &0xffff,IREGS(%a6) | ||
3998 | |||
3999 | mulu.l (0x10.w,%a3,%d4.w*1),%d2:%d3 | ||
4000 | |||
4001 | mov.w %cc,SCCR(%a6) | ||
4002 | movm.l &0xffff,SREGS(%a6) | ||
4003 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4004 | |||
4005 | bsr.l chkregs | ||
4006 | tst.b %d0 | ||
4007 | bne.l error | ||
4008 | |||
4009 | ea_57: | ||
4010 | addq.l &0x1,TESTCTR(%a6) | ||
4011 | |||
4012 | movm.l DEF_REGS(%pc),&0x3fff | ||
4013 | |||
4014 | clr.l %d2 | ||
4015 | mov.l &0x00000002,%d3 | ||
4016 | lea EAMEM(%a6),%a3 | ||
4017 | mov.l &-0x8,%d4 | ||
4018 | |||
4019 | mov.w &0x0000,ICCR(%a6) | ||
4020 | mov.w &0x0000,%cc | ||
4021 | movm.l &0xffff,IREGS(%a6) | ||
4022 | |||
4023 | mulu.l (0x10.w,%a3,%d4.w*2),%d2:%d3 | ||
4024 | |||
4025 | mov.w %cc,SCCR(%a6) | ||
4026 | movm.l &0xffff,SREGS(%a6) | ||
4027 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4028 | |||
4029 | bsr.l chkregs | ||
4030 | tst.b %d0 | ||
4031 | bne.l error | ||
4032 | |||
4033 | ea_58: | ||
4034 | addq.l &0x1,TESTCTR(%a6) | ||
4035 | |||
4036 | movm.l DEF_REGS(%pc),&0x3fff | ||
4037 | |||
4038 | clr.l %d2 | ||
4039 | mov.l &0x00000002,%d3 | ||
4040 | lea EAMEM(%a6),%a3 | ||
4041 | mov.l &-0x4,%d4 | ||
4042 | |||
4043 | mov.w &0x0000,ICCR(%a6) | ||
4044 | mov.w &0x0000,%cc | ||
4045 | movm.l &0xffff,IREGS(%a6) | ||
4046 | |||
4047 | mulu.l (0x10.w,%a3,%d4.w*4),%d2:%d3 | ||
4048 | |||
4049 | mov.w %cc,SCCR(%a6) | ||
4050 | movm.l &0xffff,SREGS(%a6) | ||
4051 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4052 | |||
4053 | bsr.l chkregs | ||
4054 | tst.b %d0 | ||
4055 | bne.l error | ||
4056 | |||
4057 | ea_59: | ||
4058 | addq.l &0x1,TESTCTR(%a6) | ||
4059 | |||
4060 | movm.l DEF_REGS(%pc),&0x3fff | ||
4061 | |||
4062 | clr.l %d2 | ||
4063 | mov.l &0x00000002,%d3 | ||
4064 | lea EAMEM(%a6),%a3 | ||
4065 | mov.l &-0x2,%d4 | ||
4066 | |||
4067 | mov.w &0x0000,ICCR(%a6) | ||
4068 | mov.w &0x0000,%cc | ||
4069 | movm.l &0xffff,IREGS(%a6) | ||
4070 | |||
4071 | mulu.l (0x10.w,%a3,%d4.w*8),%d2:%d3 | ||
4072 | |||
4073 | mov.w %cc,SCCR(%a6) | ||
4074 | movm.l &0xffff,SREGS(%a6) | ||
4075 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4076 | |||
4077 | bsr.l chkregs | ||
4078 | tst.b %d0 | ||
4079 | bne.l error | ||
4080 | |||
4081 | ea_60: | ||
4082 | addq.l &0x1,TESTCTR(%a6) | ||
4083 | |||
4084 | movm.l DEF_REGS(%pc),&0x3fff | ||
4085 | |||
4086 | clr.l %d2 | ||
4087 | mov.l &0x00000002,%d3 | ||
4088 | lea EAMEM(%a6),%a3 | ||
4089 | mov.l &-0x10,%d4 | ||
4090 | |||
4091 | mov.w &0x0000,ICCR(%a6) | ||
4092 | mov.w &0x0000,%cc | ||
4093 | movm.l &0xffff,IREGS(%a6) | ||
4094 | |||
4095 | mulu.l (0x10.w,%a3,%d4.l*1),%d2:%d3 | ||
4096 | |||
4097 | mov.w %cc,SCCR(%a6) | ||
4098 | movm.l &0xffff,SREGS(%a6) | ||
4099 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4100 | |||
4101 | bsr.l chkregs | ||
4102 | tst.b %d0 | ||
4103 | bne.l error | ||
4104 | |||
4105 | ea_61: | ||
4106 | addq.l &0x1,TESTCTR(%a6) | ||
4107 | |||
4108 | movm.l DEF_REGS(%pc),&0x3fff | ||
4109 | |||
4110 | clr.l %d2 | ||
4111 | mov.l &0x00000002,%d3 | ||
4112 | lea EAMEM(%a6),%a3 | ||
4113 | mov.l &-0x8,%d4 | ||
4114 | |||
4115 | mov.w &0x0000,ICCR(%a6) | ||
4116 | mov.w &0x0000,%cc | ||
4117 | movm.l &0xffff,IREGS(%a6) | ||
4118 | |||
4119 | mulu.l (0x10.w,%a3,%d4.l*2),%d2:%d3 | ||
4120 | |||
4121 | mov.w %cc,SCCR(%a6) | ||
4122 | movm.l &0xffff,SREGS(%a6) | ||
4123 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4124 | |||
4125 | bsr.l chkregs | ||
4126 | tst.b %d0 | ||
4127 | bne.l error | ||
4128 | |||
4129 | ea_62: | ||
4130 | addq.l &0x1,TESTCTR(%a6) | ||
4131 | |||
4132 | movm.l DEF_REGS(%pc),&0x3fff | ||
4133 | |||
4134 | clr.l %d2 | ||
4135 | mov.l &0x00000002,%d3 | ||
4136 | lea EAMEM(%a6),%a3 | ||
4137 | mov.l &-0x4,%d4 | ||
4138 | |||
4139 | mov.w &0x0000,ICCR(%a6) | ||
4140 | mov.w &0x0000,%cc | ||
4141 | movm.l &0xffff,IREGS(%a6) | ||
4142 | |||
4143 | mulu.l (0x10.w,%a3,%d4.l*4),%d2:%d3 | ||
4144 | |||
4145 | mov.w %cc,SCCR(%a6) | ||
4146 | movm.l &0xffff,SREGS(%a6) | ||
4147 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4148 | |||
4149 | bsr.l chkregs | ||
4150 | tst.b %d0 | ||
4151 | bne.l error | ||
4152 | |||
4153 | ea_63: | ||
4154 | addq.l &0x1,TESTCTR(%a6) | ||
4155 | |||
4156 | movm.l DEF_REGS(%pc),&0x3fff | ||
4157 | |||
4158 | clr.l %d2 | ||
4159 | mov.l &0x00000002,%d3 | ||
4160 | lea EAMEM(%a6),%a3 | ||
4161 | mov.l &-0x2,%d4 | ||
4162 | |||
4163 | mov.w &0x0000,ICCR(%a6) | ||
4164 | mov.w &0x0000,%cc | ||
4165 | movm.l &0xffff,IREGS(%a6) | ||
4166 | |||
4167 | mulu.l (0x10.w,%a3,%d4.l*8),%d2:%d3 | ||
4168 | |||
4169 | mov.w %cc,SCCR(%a6) | ||
4170 | movm.l &0xffff,SREGS(%a6) | ||
4171 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4172 | |||
4173 | bsr.l chkregs | ||
4174 | tst.b %d0 | ||
4175 | bne.l error | ||
4176 | |||
4177 | ea_64: | ||
4178 | addq.l &0x1,TESTCTR(%a6) | ||
4179 | |||
4180 | movm.l DEF_REGS(%pc),&0x3fff | ||
4181 | |||
4182 | clr.l %d2 | ||
4183 | mov.l &0x00000002,%d3 | ||
4184 | lea EAMEM(%a6),%a3 | ||
4185 | mov.l &0x2,%a4 | ||
4186 | |||
4187 | mov.w &0x0000,ICCR(%a6) | ||
4188 | mov.w &0x0000,%cc | ||
4189 | movm.l &0xffff,IREGS(%a6) | ||
4190 | |||
4191 | mulu.l (-0x10.w,%a3,%a4.l*8),%d2:%d3 | ||
4192 | |||
4193 | mov.w %cc,SCCR(%a6) | ||
4194 | movm.l &0xffff,SREGS(%a6) | ||
4195 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4196 | |||
4197 | bsr.l chkregs | ||
4198 | tst.b %d0 | ||
4199 | bne.l error | ||
4200 | |||
4201 | ea_65: | ||
4202 | addq.l &0x1,TESTCTR(%a6) | ||
4203 | |||
4204 | movm.l DEF_REGS(%pc),&0x3fff | ||
4205 | |||
4206 | clr.l %d2 | ||
4207 | mov.l &0x00000002,%d3 | ||
4208 | lea EAMEM(%a6),%a3 | ||
4209 | mov.l &0x2,%a4 | ||
4210 | |||
4211 | mov.w &0x0000,ICCR(%a6) | ||
4212 | mov.w &0x0000,%cc | ||
4213 | movm.l &0xffff,IREGS(%a6) | ||
4214 | |||
4215 | mulu.l (0x00.w,%a3,%za4.l*8),%d2:%d3 | ||
4216 | |||
4217 | mov.w %cc,SCCR(%a6) | ||
4218 | movm.l &0xffff,SREGS(%a6) | ||
4219 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4220 | |||
4221 | bsr.l chkregs | ||
4222 | tst.b %d0 | ||
4223 | bne.l error | ||
4224 | |||
4225 | ea_66: | ||
4226 | addq.l &0x1,TESTCTR(%a6) | ||
4227 | |||
4228 | movm.l DEF_REGS(%pc),&0x3fff | ||
4229 | |||
4230 | clr.l %d2 | ||
4231 | mov.l &0x00000002,%d3 | ||
4232 | lea EAMEM(%a6),%a3 | ||
4233 | mov.l %a3,%a4 | ||
4234 | add.l &0x10,%a4 | ||
4235 | |||
4236 | mov.w &0x0000,ICCR(%a6) | ||
4237 | mov.w &0x0000,%cc | ||
4238 | movm.l &0xffff,IREGS(%a6) | ||
4239 | |||
4240 | mulu.l (-0x10.w,%za3,%a4.l*1),%d2:%d3 | ||
4241 | |||
4242 | mov.w %cc,SCCR(%a6) | ||
4243 | movm.l &0xffff,SREGS(%a6) | ||
4244 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4245 | |||
4246 | bsr.l chkregs | ||
4247 | tst.b %d0 | ||
4248 | bne.l error | ||
4249 | |||
4250 | ea_67: | ||
4251 | addq.l &0x1,TESTCTR(%a6) | ||
4252 | |||
4253 | movm.l DEF_REGS(%pc),&0x3fff | ||
4254 | |||
4255 | clr.l %d2 | ||
4256 | mov.l &0x00000002,%d3 | ||
4257 | lea EAMEM(%a6),%a3 | ||
4258 | mov.l &0x2,%a4 | ||
4259 | |||
4260 | mov.w &0x0000,ICCR(%a6) | ||
4261 | mov.w &0x0000,%cc | ||
4262 | movm.l &0xffff,IREGS(%a6) | ||
4263 | |||
4264 | mulu.l (-0x10.l,%a3,%a4.l*8),%d2:%d3 | ||
4265 | |||
4266 | mov.w %cc,SCCR(%a6) | ||
4267 | movm.l &0xffff,SREGS(%a6) | ||
4268 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4269 | |||
4270 | bsr.l chkregs | ||
4271 | tst.b %d0 | ||
4272 | bne.l error | ||
4273 | |||
4274 | ea_68: | ||
4275 | addq.l &0x1,TESTCTR(%a6) | ||
4276 | |||
4277 | bra.b ea_68_next | ||
4278 | ea_68_mem: | ||
4279 | long 0x00000002 | ||
4280 | ea_68_next: | ||
4281 | movm.l DEF_REGS(%pc),&0x3fff | ||
4282 | |||
4283 | clr.l %d2 | ||
4284 | mov.l &0x00000002,%d3 | ||
4285 | lea EAMEM(%a6),%a3 | ||
4286 | mov.l &-0x10,%d4 | ||
4287 | |||
4288 | mov.w &0x0000,ICCR(%a6) | ||
4289 | mov.w &0x0000,%cc | ||
4290 | movm.l &0xffff,IREGS(%a6) | ||
4291 | |||
4292 | mulu.l (ea_68_mem+0x10.w,%pc,%d4.w*1),%d2:%d3 | ||
4293 | |||
4294 | mov.w %cc,SCCR(%a6) | ||
4295 | movm.l &0xffff,SREGS(%a6) | ||
4296 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4297 | |||
4298 | bsr.l chkregs | ||
4299 | tst.b %d0 | ||
4300 | bne.l error | ||
4301 | |||
4302 | ea_69: | ||
4303 | addq.l &0x1,TESTCTR(%a6) | ||
4304 | |||
4305 | bra.b ea_69_next | ||
4306 | ea_69_mem: | ||
4307 | long 0x00000002 | ||
4308 | ea_69_next: | ||
4309 | movm.l DEF_REGS(%pc),&0x3fff | ||
4310 | |||
4311 | clr.l %d2 | ||
4312 | mov.l &0x00000002,%d3 | ||
4313 | lea EAMEM(%a6),%a0 | ||
4314 | mov.l &-0x8,%d4 | ||
4315 | |||
4316 | mov.w &0x0000,ICCR(%a6) | ||
4317 | mov.w &0x0000,%cc | ||
4318 | movm.l &0x7fff,IREGS(%a6) | ||
4319 | |||
4320 | mulu.l (ea_69_mem+0x10.w,%pc,%d4.w*2),%d2:%d3 | ||
4321 | |||
4322 | mov.w %cc,SCCR(%a6) | ||
4323 | movm.l &0x7fff,SREGS(%a6) | ||
4324 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4325 | |||
4326 | bsr.l chkregs | ||
4327 | tst.b %d0 | ||
4328 | bne.l error | ||
4329 | |||
4330 | ea_70: | ||
4331 | addq.l &0x1,TESTCTR(%a6) | ||
4332 | |||
4333 | bra.b ea_70_next | ||
4334 | ea_70_mem: | ||
4335 | long 0x00000002 | ||
4336 | ea_70_next: | ||
4337 | movm.l DEF_REGS(%pc),&0x3fff | ||
4338 | |||
4339 | clr.l %d2 | ||
4340 | mov.l &0x00000002,%d3 | ||
4341 | lea EAMEM(%a6),%a0 | ||
4342 | mov.l &-0x4,%d4 | ||
4343 | |||
4344 | mov.w &0x0000,ICCR(%a6) | ||
4345 | mov.w &0x0000,%cc | ||
4346 | movm.l &0x7fff,IREGS(%a6) | ||
4347 | |||
4348 | mulu.l (ea_70_mem+0x10.w,%pc,%d4.w*4),%d2:%d3 | ||
4349 | |||
4350 | mov.w %cc,SCCR(%a6) | ||
4351 | movm.l &0x7fff,SREGS(%a6) | ||
4352 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4353 | |||
4354 | bsr.l chkregs | ||
4355 | tst.b %d0 | ||
4356 | bne.l error | ||
4357 | |||
4358 | ea_71: | ||
4359 | addq.l &0x1,TESTCTR(%a6) | ||
4360 | |||
4361 | bra.b ea_71_next | ||
4362 | ea_71_mem: | ||
4363 | long 0x00000002 | ||
4364 | ea_71_next: | ||
4365 | movm.l DEF_REGS(%pc),&0x3fff | ||
4366 | |||
4367 | clr.l %d2 | ||
4368 | mov.l &0x00000002,%d3 | ||
4369 | lea EAMEM(%a6),%a0 | ||
4370 | mov.l &-0x2,%d4 | ||
4371 | |||
4372 | mov.w &0x0000,ICCR(%a6) | ||
4373 | mov.w &0x0000,%cc | ||
4374 | movm.l &0x7fff,IREGS(%a6) | ||
4375 | |||
4376 | mulu.l (ea_71_mem+0x10.w,%pc,%d4.w*8),%d2:%d3 | ||
4377 | |||
4378 | mov.w %cc,SCCR(%a6) | ||
4379 | movm.l &0x7fff,SREGS(%a6) | ||
4380 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4381 | |||
4382 | bsr.l chkregs | ||
4383 | tst.b %d0 | ||
4384 | bne.l error | ||
4385 | |||
4386 | ea_72: | ||
4387 | addq.l &0x1,TESTCTR(%a6) | ||
4388 | |||
4389 | bra.b ea_72_next | ||
4390 | ea_72_mem: | ||
4391 | long 0x00000002 | ||
4392 | ea_72_next: | ||
4393 | movm.l DEF_REGS(%pc),&0x3fff | ||
4394 | |||
4395 | clr.l %d2 | ||
4396 | mov.l &0x00000002,%d3 | ||
4397 | lea EAMEM(%a6),%a0 | ||
4398 | mov.l &-0x10,%d4 | ||
4399 | |||
4400 | mov.w &0x0000,ICCR(%a6) | ||
4401 | mov.w &0x0000,%cc | ||
4402 | movm.l &0x7fff,IREGS(%a6) | ||
4403 | |||
4404 | mulu.l (ea_72_mem+0x10.w,%pc,%d4.l*1),%d2:%d3 | ||
4405 | |||
4406 | mov.w %cc,SCCR(%a6) | ||
4407 | movm.l &0x7fff,SREGS(%a6) | ||
4408 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4409 | |||
4410 | bsr.l chkregs | ||
4411 | tst.b %d0 | ||
4412 | bne.l error | ||
4413 | |||
4414 | ea_73: | ||
4415 | addq.l &0x1,TESTCTR(%a6) | ||
4416 | |||
4417 | bra.b ea_73_next | ||
4418 | ea_73_mem: | ||
4419 | long 0x00000002 | ||
4420 | ea_73_next: | ||
4421 | movm.l DEF_REGS(%pc),&0x3fff | ||
4422 | |||
4423 | clr.l %d2 | ||
4424 | mov.l &0x00000002,%d3 | ||
4425 | lea EAMEM(%a6),%a0 | ||
4426 | mov.l &-0x8,%d4 | ||
4427 | |||
4428 | mov.w &0x0000,ICCR(%a6) | ||
4429 | mov.w &0x0000,%cc | ||
4430 | movm.l &0x7fff,IREGS(%a6) | ||
4431 | |||
4432 | mulu.l (ea_73_mem+0x10.w,%pc,%d4.l*2),%d2:%d3 | ||
4433 | |||
4434 | mov.w %cc,SCCR(%a6) | ||
4435 | movm.l &0x7fff,SREGS(%a6) | ||
4436 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4437 | |||
4438 | bsr.l chkregs | ||
4439 | tst.b %d0 | ||
4440 | bne.l error | ||
4441 | |||
4442 | ea_74: | ||
4443 | addq.l &0x1,TESTCTR(%a6) | ||
4444 | |||
4445 | bra.b ea_74_next | ||
4446 | ea_74_mem: | ||
4447 | long 0x00000002 | ||
4448 | ea_74_next: | ||
4449 | movm.l DEF_REGS(%pc),&0x3fff | ||
4450 | |||
4451 | clr.l %d2 | ||
4452 | mov.l &0x00000002,%d3 | ||
4453 | lea EAMEM(%a6),%a0 | ||
4454 | mov.l &-0x4,%d4 | ||
4455 | |||
4456 | mov.w &0x0000,ICCR(%a6) | ||
4457 | mov.w &0x0000,%cc | ||
4458 | movm.l &0x7fff,IREGS(%a6) | ||
4459 | |||
4460 | mulu.l (ea_74_mem+0x10.w,%pc,%d4.l*4),%d2:%d3 | ||
4461 | |||
4462 | mov.w %cc,SCCR(%a6) | ||
4463 | movm.l &0x7fff,SREGS(%a6) | ||
4464 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4465 | |||
4466 | bsr.l chkregs | ||
4467 | tst.b %d0 | ||
4468 | bne.l error | ||
4469 | |||
4470 | ea_75: | ||
4471 | addq.l &0x1,TESTCTR(%a6) | ||
4472 | |||
4473 | bra.b ea_75_next | ||
4474 | ea_75_mem: | ||
4475 | long 0x00000002 | ||
4476 | ea_75_next: | ||
4477 | movm.l DEF_REGS(%pc),&0x3fff | ||
4478 | |||
4479 | clr.l %d2 | ||
4480 | mov.l &0x00000002,%d3 | ||
4481 | lea EAMEM(%a6),%a0 | ||
4482 | mov.l &-0x2,%d4 | ||
4483 | |||
4484 | mov.w &0x0000,ICCR(%a6) | ||
4485 | mov.w &0x0000,%cc | ||
4486 | movm.l &0x7fff,IREGS(%a6) | ||
4487 | |||
4488 | mulu.l (ea_75_mem+0x10.w,%pc,%d4.l*8),%d2:%d3 | ||
4489 | |||
4490 | mov.w %cc,SCCR(%a6) | ||
4491 | movm.l &0x7fff,SREGS(%a6) | ||
4492 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4493 | |||
4494 | bsr.l chkregs | ||
4495 | tst.b %d0 | ||
4496 | bne.l error | ||
4497 | |||
4498 | ea_76: | ||
4499 | addq.l &0x1,TESTCTR(%a6) | ||
4500 | |||
4501 | bra.b ea_76_next | ||
4502 | ea_76_mem: | ||
4503 | long 0x00000002 | ||
4504 | ea_76_next: | ||
4505 | movm.l DEF_REGS(%pc),&0x3fff | ||
4506 | |||
4507 | clr.l %d2 | ||
4508 | mov.l &0x00000002,%d3 | ||
4509 | lea EAMEM(%a6),%a3 | ||
4510 | mov.l &-0x2,%a4 | ||
4511 | |||
4512 | mov.w &0x0000,ICCR(%a6) | ||
4513 | mov.w &0x0000,%cc | ||
4514 | movm.l &0xffff,IREGS(%a6) | ||
4515 | |||
4516 | mulu.l (ea_76_mem+0x10.w,%pc,%a4.l*8),%d2:%d3 | ||
4517 | |||
4518 | mov.w %cc,SCCR(%a6) | ||
4519 | movm.l &0xffff,SREGS(%a6) | ||
4520 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4521 | |||
4522 | bsr.l chkregs | ||
4523 | tst.b %d0 | ||
4524 | bne.l error | ||
4525 | |||
4526 | ea_77: | ||
4527 | addq.l &0x1,TESTCTR(%a6) | ||
4528 | |||
4529 | bra.b ea_77_next | ||
4530 | ea_77_mem: | ||
4531 | long 0x00000002 | ||
4532 | ea_77_next: | ||
4533 | movm.l DEF_REGS(%pc),&0x3fff | ||
4534 | |||
4535 | clr.l %d2 | ||
4536 | mov.l &0x00000002,%d3 | ||
4537 | lea EAMEM(%a6),%a3 | ||
4538 | mov.l &0x2,%a4 | ||
4539 | |||
4540 | mov.w &0x0000,ICCR(%a6) | ||
4541 | mov.w &0x0000,%cc | ||
4542 | movm.l &0xffff,IREGS(%a6) | ||
4543 | |||
4544 | mulu.l (ea_77_mem+0x00.w,%pc,%za4.l*8),%d2:%d3 | ||
4545 | |||
4546 | mov.w %cc,SCCR(%a6) | ||
4547 | movm.l &0xffff,SREGS(%a6) | ||
4548 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4549 | |||
4550 | bsr.l chkregs | ||
4551 | tst.b %d0 | ||
4552 | bne.l error | ||
4553 | |||
4554 | ea_78: | ||
4555 | addq.l &0x1,TESTCTR(%a6) | ||
4556 | |||
4557 | # movm.l DEF_REGS(%pc),&0x3fff | ||
4558 | |||
4559 | # clr.l %d2 | ||
4560 | # mov.l &0x00000002,%d3 | ||
4561 | # lea EAMEM,%a3 | ||
4562 | # mov.l %a3,%a4 | ||
4563 | # add.l &0x10,%a4 | ||
4564 | |||
4565 | # mov.w &0x0000,ICCR(%a6) | ||
4566 | # mov.w &0x0000,%cc | ||
4567 | # movm.l &0xffff,IREGS(%a6) | ||
4568 | |||
4569 | # mulu.l (EAMEM-0x10.w,%zpc,%a4.l*1),%d2:%d3 | ||
4570 | |||
4571 | # mov.w %cc,SCCR(%a6) | ||
4572 | # movm.l &0xffff,SREGS(%a6) | ||
4573 | # mov.l &0x00000004,IREGS+0xc(%a6) | ||
4574 | |||
4575 | # bsr.l chkregs | ||
4576 | # tst.b %d0 | ||
4577 | # bne.l error | ||
4578 | |||
4579 | ea_79: | ||
4580 | addq.l &0x1,TESTCTR(%a6) | ||
4581 | |||
4582 | movm.l DEF_REGS(%pc),&0x3fff | ||
4583 | |||
4584 | clr.l %d2 | ||
4585 | mov.l &0x00000002,%d3 | ||
4586 | lea EAMEM,%a3 | ||
4587 | mov.l &0x2,%a4 | ||
4588 | |||
4589 | mov.w &0x0000,ICCR(%a6) | ||
4590 | mov.w &0x0000,%cc | ||
4591 | movm.l &0xffff,IREGS(%a6) | ||
4592 | |||
4593 | mulu.l (ea_79_mem-0x10.l,%pc,%a4.l*8),%d2:%d3 | ||
4594 | |||
4595 | mov.w %cc,SCCR(%a6) | ||
4596 | movm.l &0xffff,SREGS(%a6) | ||
4597 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4598 | |||
4599 | bra.b ea_79_next | ||
4600 | ea_79_mem: | ||
4601 | long 0x00000002 | ||
4602 | ea_79_next: | ||
4603 | |||
4604 | bsr.l chkregs | ||
4605 | tst.b %d0 | ||
4606 | bne.l error | ||
4607 | |||
4608 | ea_80: | ||
4609 | addq.l &0x1,TESTCTR(%a6) | ||
4610 | |||
4611 | bra.b ea_80_next | ||
4612 | ea_80_mem: | ||
4613 | long 0x00000002 | ||
4614 | ea_80_next: | ||
4615 | movm.l DEF_REGS(%pc),&0x3fff | ||
4616 | |||
4617 | clr.l %d2 | ||
4618 | mov.l &0x00000002,%d3 | ||
4619 | lea EAMEM(%a6),%a1 | ||
4620 | mov.l &-0x10,%d4 | ||
4621 | |||
4622 | mov.w &0x0000,ICCR(%a6) | ||
4623 | mov.w &0x0000,%cc | ||
4624 | movm.l &0xffff,IREGS(%a6) | ||
4625 | |||
4626 | mulu.l (ea_80_mem+0x10.b,%pc,%d4.w*1),%d2:%d3 | ||
4627 | |||
4628 | mov.w %cc,SCCR(%a6) | ||
4629 | movm.l &0xffff,SREGS(%a6) | ||
4630 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4631 | |||
4632 | bsr.l chkregs | ||
4633 | tst.b %d0 | ||
4634 | bne.l error | ||
4635 | |||
4636 | ea_81: | ||
4637 | addq.l &0x1,TESTCTR(%a6) | ||
4638 | |||
4639 | bra.b ea_81_next | ||
4640 | ea_81_mem: | ||
4641 | long 0x00000002 | ||
4642 | ea_81_next: | ||
4643 | movm.l DEF_REGS(%pc),&0x3fff | ||
4644 | |||
4645 | clr.l %d2 | ||
4646 | mov.l &0x00000002,%d3 | ||
4647 | lea EAMEM(%a6),%a0 | ||
4648 | mov.l &-0x8,%d4 | ||
4649 | |||
4650 | mov.w &0x0000,ICCR(%a6) | ||
4651 | mov.w &0x0000,%cc | ||
4652 | movm.l &0xffff,IREGS(%a6) | ||
4653 | |||
4654 | mulu.l (ea_81_mem+0x10.b,%pc,%d4.w*2),%d2:%d3 | ||
4655 | |||
4656 | mov.w %cc,SCCR(%a6) | ||
4657 | movm.l &0xffff,SREGS(%a6) | ||
4658 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4659 | |||
4660 | bsr.l chkregs | ||
4661 | tst.b %d0 | ||
4662 | bne.l error | ||
4663 | |||
4664 | ea_82: | ||
4665 | addq.l &0x1,TESTCTR(%a6) | ||
4666 | |||
4667 | bra.b ea_82_next | ||
4668 | ea_82_mem: | ||
4669 | long 0x00000002 | ||
4670 | ea_82_next: | ||
4671 | movm.l DEF_REGS(%pc),&0x3fff | ||
4672 | |||
4673 | clr.l %d2 | ||
4674 | mov.l &0x00000002,%d3 | ||
4675 | lea EAMEM(%a6),%a0 | ||
4676 | mov.l &-0x4,%d4 | ||
4677 | |||
4678 | mov.w &0x0000,ICCR(%a6) | ||
4679 | mov.w &0x0000,%cc | ||
4680 | movm.l &0xffff,IREGS(%a6) | ||
4681 | |||
4682 | mulu.l (ea_82_mem+0x10.b,%pc,%d4.w*4),%d2:%d3 | ||
4683 | |||
4684 | mov.w %cc,SCCR(%a6) | ||
4685 | movm.l &0xffff,SREGS(%a6) | ||
4686 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4687 | |||
4688 | bsr.l chkregs | ||
4689 | tst.b %d0 | ||
4690 | bne.l error | ||
4691 | |||
4692 | ea_83: | ||
4693 | addq.l &0x1,TESTCTR(%a6) | ||
4694 | |||
4695 | bra.b ea_83_next | ||
4696 | ea_83_mem: | ||
4697 | long 0x00000002 | ||
4698 | ea_83_next: | ||
4699 | movm.l DEF_REGS(%pc),&0x3fff | ||
4700 | |||
4701 | clr.l %d2 | ||
4702 | mov.l &0x00000002,%d3 | ||
4703 | lea EAMEM(%a6),%a0 | ||
4704 | mov.l &-0x2,%d4 | ||
4705 | |||
4706 | mov.w &0x0000,ICCR(%a6) | ||
4707 | mov.w &0x0000,%cc | ||
4708 | movm.l &0xffff,IREGS(%a6) | ||
4709 | |||
4710 | mulu.l (ea_83_mem+0x10.b,%pc,%d4.w*8),%d2:%d3 | ||
4711 | |||
4712 | mov.w %cc,SCCR(%a6) | ||
4713 | movm.l &0xffff,SREGS(%a6) | ||
4714 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4715 | |||
4716 | bsr.l chkregs | ||
4717 | tst.b %d0 | ||
4718 | bne.l error | ||
4719 | |||
4720 | ea_84: | ||
4721 | addq.l &0x1,TESTCTR(%a6) | ||
4722 | |||
4723 | bra.b ea_84_next | ||
4724 | ea_84_mem: | ||
4725 | long 0x00000002 | ||
4726 | ea_84_next: | ||
4727 | movm.l DEF_REGS(%pc),&0x3fff | ||
4728 | |||
4729 | clr.l %d2 | ||
4730 | mov.l &0x00000002,%d3 | ||
4731 | lea EAMEM(%a6),%a0 | ||
4732 | mov.l &-0x10,%d4 | ||
4733 | |||
4734 | mov.w &0x0000,ICCR(%a6) | ||
4735 | mov.w &0x0000,%cc | ||
4736 | movm.l &0xffff,IREGS(%a6) | ||
4737 | |||
4738 | mulu.l (ea_84_mem+0x10.b,%pc,%d4.l*1),%d2:%d3 | ||
4739 | |||
4740 | mov.w %cc,SCCR(%a6) | ||
4741 | movm.l &0xffff,SREGS(%a6) | ||
4742 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4743 | |||
4744 | bsr.l chkregs | ||
4745 | tst.b %d0 | ||
4746 | bne.l error | ||
4747 | |||
4748 | ea_85: | ||
4749 | addq.l &0x1,TESTCTR(%a6) | ||
4750 | |||
4751 | bra.b ea_85_next | ||
4752 | ea_85_mem: | ||
4753 | long 0x00000002 | ||
4754 | ea_85_next: | ||
4755 | movm.l DEF_REGS(%pc),&0x3fff | ||
4756 | |||
4757 | clr.l %d2 | ||
4758 | mov.l &0x00000002,%d3 | ||
4759 | lea EAMEM(%a6),%a0 | ||
4760 | mov.l &-0x8,%d4 | ||
4761 | |||
4762 | mov.w &0x0000,ICCR(%a6) | ||
4763 | mov.w &0x0000,%cc | ||
4764 | movm.l &0xffff,IREGS(%a6) | ||
4765 | |||
4766 | mulu.l (ea_85_mem+0x10.b,%pc,%d4.l*2),%d2:%d3 | ||
4767 | |||
4768 | mov.w %cc,SCCR(%a6) | ||
4769 | movm.l &0xffff,SREGS(%a6) | ||
4770 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4771 | |||
4772 | bsr.l chkregs | ||
4773 | tst.b %d0 | ||
4774 | bne.l error | ||
4775 | |||
4776 | ea_86: | ||
4777 | addq.l &0x1,TESTCTR(%a6) | ||
4778 | |||
4779 | bra.b ea_86_next | ||
4780 | ea_86_mem: | ||
4781 | long 0x00000002 | ||
4782 | ea_86_next: | ||
4783 | movm.l DEF_REGS(%pc),&0x3fff | ||
4784 | |||
4785 | clr.l %d2 | ||
4786 | mov.l &0x00000002,%d3 | ||
4787 | lea EAMEM(%a6),%a0 | ||
4788 | mov.l &-0x4,%d4 | ||
4789 | |||
4790 | mov.w &0x0000,ICCR(%a6) | ||
4791 | mov.w &0x0000,%cc | ||
4792 | movm.l &0xffff,IREGS(%a6) | ||
4793 | |||
4794 | mulu.l (ea_86_mem+0x10.b,%pc,%d4.l*4),%d2:%d3 | ||
4795 | |||
4796 | mov.w %cc,SCCR(%a6) | ||
4797 | movm.l &0xffff,SREGS(%a6) | ||
4798 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4799 | |||
4800 | bsr.l chkregs | ||
4801 | tst.b %d0 | ||
4802 | bne.l error | ||
4803 | |||
4804 | ea_87: | ||
4805 | addq.l &0x1,TESTCTR(%a6) | ||
4806 | |||
4807 | bra.b ea_87_next | ||
4808 | ea_87_mem: | ||
4809 | long 0x00000002 | ||
4810 | ea_87_next: | ||
4811 | movm.l DEF_REGS(%pc),&0x3fff | ||
4812 | |||
4813 | clr.l %d2 | ||
4814 | mov.l &0x00000002,%d3 | ||
4815 | lea EAMEM(%a6),%a0 | ||
4816 | mov.l &-0x2,%d4 | ||
4817 | |||
4818 | mov.w &0x0000,ICCR(%a6) | ||
4819 | mov.w &0x0000,%cc | ||
4820 | movm.l &0xffff,IREGS(%a6) | ||
4821 | |||
4822 | mulu.l (ea_87_mem+0x10.b,%pc,%d4.l*8),%d2:%d3 | ||
4823 | |||
4824 | mov.w %cc,SCCR(%a6) | ||
4825 | movm.l &0xffff,SREGS(%a6) | ||
4826 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4827 | |||
4828 | bsr.l chkregs | ||
4829 | tst.b %d0 | ||
4830 | bne.l error | ||
4831 | |||
4832 | ea_88: | ||
4833 | addq.l &0x1,TESTCTR(%a6) | ||
4834 | |||
4835 | movm.l DEF_REGS(%pc),&0x3fff | ||
4836 | |||
4837 | clr.l %d2 | ||
4838 | mov.l &0x00000002,%d3 | ||
4839 | lea EAMEM(%a6),%a0 | ||
4840 | mov.l &-0x2,%d4 | ||
4841 | |||
4842 | mov.w &0x0000,ICCR(%a6) | ||
4843 | mov.w &0x0000,%cc | ||
4844 | movm.l &0xffff,IREGS(%a6) | ||
4845 | |||
4846 | mulu.l (ea_88_mem+0x10.b,%pc,%d4.l*8),%d2:%d3 | ||
4847 | |||
4848 | mov.w %cc,SCCR(%a6) | ||
4849 | movm.l &0xffff,SREGS(%a6) | ||
4850 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4851 | |||
4852 | bra.b ea_88_next | ||
4853 | ea_88_mem: | ||
4854 | long 0x00000002 | ||
4855 | ea_88_next: | ||
4856 | |||
4857 | bsr.l chkregs | ||
4858 | tst.b %d0 | ||
4859 | bne.l error | ||
4860 | |||
4861 | ea_89: | ||
4862 | addq.l &0x1,TESTCTR(%a6) | ||
4863 | |||
4864 | movm.l DEF_REGS(%pc),&0x3fff | ||
4865 | |||
4866 | clr.l %d2 | ||
4867 | mov.l &0x00000002,%d3 | ||
4868 | lea EAMEM-0x1000(%a6),%a3 | ||
4869 | lea EASTORE(%a6),%a4 | ||
4870 | mov.l %a3,(%a4) | ||
4871 | mov.l &-0x10,%d4 | ||
4872 | |||
4873 | mov.w &0x0000,ICCR(%a6) | ||
4874 | mov.w &0x0000,%cc | ||
4875 | movm.l &0xffff,IREGS(%a6) | ||
4876 | |||
4877 | mulu.l ([0x10.w,%a4,%d4.w*1],0x1000.w),%d2:%d3 | ||
4878 | |||
4879 | mov.w %cc,SCCR(%a6) | ||
4880 | movm.l &0xffff,SREGS(%a6) | ||
4881 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4882 | |||
4883 | bsr.l chkregs | ||
4884 | tst.b %d0 | ||
4885 | bne.l error | ||
4886 | |||
4887 | ea_90: | ||
4888 | addq.l &0x1,TESTCTR(%a6) | ||
4889 | |||
4890 | movm.l DEF_REGS(%pc),&0x3fff | ||
4891 | |||
4892 | clr.l %d2 | ||
4893 | mov.l &0x00000002,%d3 | ||
4894 | lea EAMEM-0x1000(%a6),%a3 | ||
4895 | lea EASTORE(%a6),%a4 | ||
4896 | mov.l %a3,(%a4) | ||
4897 | mov.l &-0x8,%d4 | ||
4898 | |||
4899 | mov.w &0x0000,ICCR(%a6) | ||
4900 | mov.w &0x0000,%cc | ||
4901 | movm.l &0xffff,IREGS(%a6) | ||
4902 | |||
4903 | mulu.l ([0x10.w,%a4,%d4.w*2],0x1000.w),%d2:%d3 | ||
4904 | |||
4905 | mov.w %cc,SCCR(%a6) | ||
4906 | movm.l &0xffff,SREGS(%a6) | ||
4907 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4908 | |||
4909 | bsr.l chkregs | ||
4910 | tst.b %d0 | ||
4911 | bne.l error | ||
4912 | |||
4913 | ea_91: | ||
4914 | addq.l &0x1,TESTCTR(%a6) | ||
4915 | |||
4916 | movm.l DEF_REGS(%pc),&0x3fff | ||
4917 | |||
4918 | clr.l %d2 | ||
4919 | mov.l &0x00000002,%d3 | ||
4920 | lea EAMEM-0x1000(%a6),%a3 | ||
4921 | lea EASTORE(%a6),%a4 | ||
4922 | mov.l %a3,(%a4) | ||
4923 | mov.l &-0x4,%d4 | ||
4924 | |||
4925 | mov.w &0x0000,ICCR(%a6) | ||
4926 | mov.w &0x0000,%cc | ||
4927 | movm.l &0xffff,IREGS(%a6) | ||
4928 | |||
4929 | mulu.l ([0x10.w,%a4,%d4.w*4],0x1000.w),%d2:%d3 | ||
4930 | |||
4931 | mov.w %cc,SCCR(%a6) | ||
4932 | movm.l &0xffff,SREGS(%a6) | ||
4933 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4934 | |||
4935 | bsr.l chkregs | ||
4936 | tst.b %d0 | ||
4937 | bne.l error | ||
4938 | |||
4939 | ea_92: | ||
4940 | addq.l &0x1,TESTCTR(%a6) | ||
4941 | |||
4942 | movm.l DEF_REGS(%pc),&0x3fff | ||
4943 | |||
4944 | clr.l %d2 | ||
4945 | mov.l &0x00000002,%d3 | ||
4946 | lea EAMEM-0x1000(%a6),%a3 | ||
4947 | lea EASTORE(%a6),%a4 | ||
4948 | mov.l %a3,(%a4) | ||
4949 | mov.l &-0x2,%d4 | ||
4950 | |||
4951 | mov.w &0x0000,ICCR(%a6) | ||
4952 | mov.w &0x0000,%cc | ||
4953 | movm.l &0xffff,IREGS(%a6) | ||
4954 | |||
4955 | mulu.l ([0x10.w,%a4,%d4.w*8],0x1000.w),%d2:%d3 | ||
4956 | |||
4957 | mov.w %cc,SCCR(%a6) | ||
4958 | movm.l &0xffff,SREGS(%a6) | ||
4959 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4960 | |||
4961 | bsr.l chkregs | ||
4962 | tst.b %d0 | ||
4963 | bne.l error | ||
4964 | |||
4965 | ea_93: | ||
4966 | addq.l &0x1,TESTCTR(%a6) | ||
4967 | |||
4968 | movm.l DEF_REGS(%pc),&0x3fff | ||
4969 | |||
4970 | clr.l %d2 | ||
4971 | mov.l &0x00000002,%d3 | ||
4972 | lea EAMEM-0x1000(%a6),%a3 | ||
4973 | lea EASTORE(%a6),%a4 | ||
4974 | mov.l %a3,(%a4) | ||
4975 | mov.l &-0x10,%d4 | ||
4976 | |||
4977 | mov.w &0x0000,ICCR(%a6) | ||
4978 | mov.w &0x0000,%cc | ||
4979 | movm.l &0xffff,IREGS(%a6) | ||
4980 | |||
4981 | mulu.l ([0x10.w,%a4,%d4.l*1],0x1000.w),%d2:%d3 | ||
4982 | |||
4983 | mov.w %cc,SCCR(%a6) | ||
4984 | movm.l &0xffff,SREGS(%a6) | ||
4985 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
4986 | |||
4987 | bsr.l chkregs | ||
4988 | tst.b %d0 | ||
4989 | bne.l error | ||
4990 | |||
4991 | ea_94: | ||
4992 | addq.l &0x1,TESTCTR(%a6) | ||
4993 | |||
4994 | movm.l DEF_REGS(%pc),&0x3fff | ||
4995 | |||
4996 | clr.l %d2 | ||
4997 | mov.l &0x00000002,%d3 | ||
4998 | lea EAMEM-0x1000(%a6),%a3 | ||
4999 | lea EASTORE(%a6),%a4 | ||
5000 | mov.l %a3,(%a4) | ||
5001 | mov.l &-0x8,%d4 | ||
5002 | |||
5003 | mov.w &0x0000,ICCR(%a6) | ||
5004 | mov.w &0x0000,%cc | ||
5005 | movm.l &0xffff,IREGS(%a6) | ||
5006 | |||
5007 | mulu.l ([0x10.w,%a4,%d4.l*2],0x1000.w),%d2:%d3 | ||
5008 | |||
5009 | mov.w %cc,SCCR(%a6) | ||
5010 | movm.l &0xffff,SREGS(%a6) | ||
5011 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5012 | |||
5013 | bsr.l chkregs | ||
5014 | tst.b %d0 | ||
5015 | bne.l error | ||
5016 | |||
5017 | ea_95: | ||
5018 | addq.l &0x1,TESTCTR(%a6) | ||
5019 | |||
5020 | movm.l DEF_REGS(%pc),&0x3fff | ||
5021 | |||
5022 | clr.l %d2 | ||
5023 | mov.l &0x00000002,%d3 | ||
5024 | lea EAMEM-0x1000(%a6),%a3 | ||
5025 | lea EASTORE(%a6),%a4 | ||
5026 | mov.l %a3,(%a4) | ||
5027 | mov.l &-0x4,%d4 | ||
5028 | |||
5029 | mov.w &0x0000,ICCR(%a6) | ||
5030 | mov.w &0x0000,%cc | ||
5031 | movm.l &0xffff,IREGS(%a6) | ||
5032 | |||
5033 | mulu.l ([0x10.w,%a4,%d4.l*4],0x1000.w),%d2:%d3 | ||
5034 | |||
5035 | mov.w %cc,SCCR(%a6) | ||
5036 | movm.l &0xffff,SREGS(%a6) | ||
5037 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5038 | |||
5039 | bsr.l chkregs | ||
5040 | tst.b %d0 | ||
5041 | bne.l error | ||
5042 | |||
5043 | ea_96: | ||
5044 | addq.l &0x1,TESTCTR(%a6) | ||
5045 | |||
5046 | movm.l DEF_REGS(%pc),&0x3fff | ||
5047 | |||
5048 | clr.l %d2 | ||
5049 | mov.l &0x00000002,%d3 | ||
5050 | lea EAMEM-0x1000(%a6),%a3 | ||
5051 | lea EASTORE(%a6),%a4 | ||
5052 | mov.l %a3,(%a4) | ||
5053 | mov.l &-0x2,%d4 | ||
5054 | |||
5055 | mov.w &0x0000,ICCR(%a6) | ||
5056 | mov.w &0x0000,%cc | ||
5057 | movm.l &0xffff,IREGS(%a6) | ||
5058 | |||
5059 | mulu.l ([0x10.w,%a4,%d4.l*8],0x1000.w),%d2:%d3 | ||
5060 | |||
5061 | mov.w %cc,SCCR(%a6) | ||
5062 | movm.l &0xffff,SREGS(%a6) | ||
5063 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5064 | |||
5065 | bsr.l chkregs | ||
5066 | tst.b %d0 | ||
5067 | bne.l error | ||
5068 | |||
5069 | ea_97: | ||
5070 | addq.l &0x1,TESTCTR(%a6) | ||
5071 | |||
5072 | movm.l DEF_REGS(%pc),&0x3fff | ||
5073 | |||
5074 | clr.l %d2 | ||
5075 | mov.l &0x00000002,%d3 | ||
5076 | lea EAMEM-0x1000(%a6),%a3 | ||
5077 | lea EASTORE(%a6),%a4 | ||
5078 | mov.l %a3,(%a4) | ||
5079 | mov.l &-0x2,%d4 | ||
5080 | |||
5081 | mov.w &0x0000,ICCR(%a6) | ||
5082 | mov.w &0x0000,%cc | ||
5083 | movm.l &0xffff,IREGS(%a6) | ||
5084 | |||
5085 | mulu.l ([0x10.l,%a4,%d4.l*8],0x1000.l),%d2:%d3 | ||
5086 | |||
5087 | mov.w %cc,SCCR(%a6) | ||
5088 | movm.l &0xffff,SREGS(%a6) | ||
5089 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5090 | |||
5091 | bsr.l chkregs | ||
5092 | tst.b %d0 | ||
5093 | bne.l error | ||
5094 | |||
5095 | ea_98: | ||
5096 | addq.l &0x1,TESTCTR(%a6) | ||
5097 | |||
5098 | movm.l DEF_REGS(%pc),&0x3fff | ||
5099 | |||
5100 | clr.l %d2 | ||
5101 | mov.l &0x00000002,%d3 | ||
5102 | lea EAMEM-0x1000(%a6),%a3 | ||
5103 | lea EASTORE(%a6),%a4 | ||
5104 | mov.l %a3,(%a4) | ||
5105 | mov.l &-0x2,%d4 | ||
5106 | |||
5107 | mov.w &0x0000,ICCR(%a6) | ||
5108 | mov.w &0x0000,%cc | ||
5109 | movm.l &0xffff,IREGS(%a6) | ||
5110 | |||
5111 | mulu.l ([0x00.l,%a4,%zd4.l*8],0x1000.l),%d2:%d3 | ||
5112 | |||
5113 | mov.w %cc,SCCR(%a6) | ||
5114 | movm.l &0xffff,SREGS(%a6) | ||
5115 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5116 | |||
5117 | bsr.l chkregs | ||
5118 | tst.b %d0 | ||
5119 | bne.l error | ||
5120 | |||
5121 | ea_99: | ||
5122 | addq.l &0x1,TESTCTR(%a6) | ||
5123 | |||
5124 | movm.l DEF_REGS(%pc),&0x3fff | ||
5125 | |||
5126 | clr.l %d2 | ||
5127 | mov.l &0x00000002,%d3 | ||
5128 | lea EAMEM-0x1000(%a6),%a3 | ||
5129 | lea EASTORE(%a6),%a4 | ||
5130 | mov.l %a3,(%a4) | ||
5131 | mov.l &-0x2,%d4 | ||
5132 | |||
5133 | mov.w &0x0000,ICCR(%a6) | ||
5134 | mov.w &0x0000,%cc | ||
5135 | movm.l &0xffff,IREGS(%a6) | ||
5136 | |||
5137 | mulu.l ([%a4,%zd4.l*8],0x1000.l),%d2:%d3 | ||
5138 | |||
5139 | mov.w %cc,SCCR(%a6) | ||
5140 | movm.l &0xffff,SREGS(%a6) | ||
5141 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5142 | |||
5143 | bsr.l chkregs | ||
5144 | tst.b %d0 | ||
5145 | bne.l error | ||
5146 | |||
5147 | ea_100: | ||
5148 | addq.l &0x1,TESTCTR(%a6) | ||
5149 | |||
5150 | movm.l DEF_REGS(%pc),&0x3fff | ||
5151 | |||
5152 | clr.l %d2 | ||
5153 | mov.l &0x00000002,%d3 | ||
5154 | lea EAMEM-0x1000(%a6),%a3 | ||
5155 | lea EASTORE(%a6),%a4 | ||
5156 | mov.l %a3,(%a4) | ||
5157 | mov.l &-0x10,%d4 | ||
5158 | add.l %a4,%d4 | ||
5159 | |||
5160 | mov.w &0x0000,ICCR(%a6) | ||
5161 | mov.w &0x0000,%cc | ||
5162 | movm.l &0xffff,IREGS(%a6) | ||
5163 | |||
5164 | mulu.l ([0x10.l,%za4,%d4.l*1],0x1000.l),%d2:%d3 | ||
5165 | |||
5166 | mov.w %cc,SCCR(%a6) | ||
5167 | movm.l &0xffff,SREGS(%a6) | ||
5168 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5169 | |||
5170 | bsr.l chkregs | ||
5171 | tst.b %d0 | ||
5172 | bne.l error | ||
5173 | |||
5174 | ea_101: | ||
5175 | addq.l &0x1,TESTCTR(%a6) | ||
5176 | |||
5177 | # movm.l DEF_REGS(%pc),&0x3fff | ||
5178 | |||
5179 | # clr.l %d2 | ||
5180 | # mov.l &0x00000002,%d3 | ||
5181 | # lea EAMEM(%a6),%a3 | ||
5182 | # lea EASTORE(%a6),%a4 | ||
5183 | # mov.l %a3,(%a4) | ||
5184 | # mov.l &-0x10,%d4 | ||
5185 | |||
5186 | # mov.w &0x0000,ICCR(%a6) | ||
5187 | # mov.w &0x0000,%cc | ||
5188 | # movm.l &0xffff,IREGS(%a6) | ||
5189 | |||
5190 | # mulu.l ([EASTORE.l,%za4,%zd4.l*1]),%d2:%d3 | ||
5191 | |||
5192 | # mov.w %cc,SCCR(%a6) | ||
5193 | # movm.l &0xffff,SREGS(%a6) | ||
5194 | # mov.l &0x00000004,IREGS+0xc(%a6) | ||
5195 | |||
5196 | # bsr.l chkregs | ||
5197 | # tst.b %d0 | ||
5198 | # bne.l error | ||
5199 | |||
5200 | ea_102: | ||
5201 | addq.l &0x1,TESTCTR(%a6) | ||
5202 | |||
5203 | movm.l DEF_REGS(%pc),&0x3fff | ||
5204 | |||
5205 | mov.l %a6,%a1 | ||
5206 | |||
5207 | clr.l %d2 | ||
5208 | mov.l &0x00000002,%d3 | ||
5209 | lea EAMEM+0x1000(%a1),%a3 | ||
5210 | lea EASTORE(%a1),%a4 | ||
5211 | mov.l %a3,(%a4) | ||
5212 | mov.l &-0x2,%a6 | ||
5213 | |||
5214 | mov.w &0x0000,ICCR(%a1) | ||
5215 | mov.w &0x0000,%cc | ||
5216 | movm.l &0xffff,IREGS(%a1) | ||
5217 | |||
5218 | mulu.l ([0x10.w,%a4,%a6.l*8],-0x1000.w),%d2:%d3 | ||
5219 | |||
5220 | mov.w %cc,SCCR(%a1) | ||
5221 | movm.l &0xffff,SREGS(%a1) | ||
5222 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
5223 | |||
5224 | mov.l %a1,%a6 | ||
5225 | |||
5226 | bsr.l chkregs | ||
5227 | tst.b %d0 | ||
5228 | bne.l error | ||
5229 | |||
5230 | ea_103: | ||
5231 | addq.l &0x1,TESTCTR(%a6) | ||
5232 | |||
5233 | movm.l DEF_REGS(%pc),&0x3fff | ||
5234 | |||
5235 | mov.l %a6,%a1 | ||
5236 | |||
5237 | clr.l %d2 | ||
5238 | mov.l &0x00000002,%d3 | ||
5239 | lea EAMEM+0x1000(%a1),%a3 | ||
5240 | lea EASTORE(%a1),%a4 | ||
5241 | mov.l %a3,(%a4) | ||
5242 | mov.l &0x2,%a6 | ||
5243 | |||
5244 | mov.w &0x0000,ICCR(%a1) | ||
5245 | mov.w &0x0000,%cc | ||
5246 | movm.l &0xffff,IREGS(%a1) | ||
5247 | |||
5248 | mulu.l ([-0x10.w,%a4,%a6.l*8],-0x1000.w),%d2:%d3 | ||
5249 | |||
5250 | mov.w %cc,SCCR(%a1) | ||
5251 | movm.l &0xffff,SREGS(%a1) | ||
5252 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
5253 | |||
5254 | mov.l %a1,%a6 | ||
5255 | |||
5256 | bsr.l chkregs | ||
5257 | tst.b %d0 | ||
5258 | bne.l error | ||
5259 | |||
5260 | ea_104: | ||
5261 | addq.l &0x1,TESTCTR(%a6) | ||
5262 | |||
5263 | movm.l DEF_REGS(%pc),&0x3fff | ||
5264 | |||
5265 | clr.l %d2 | ||
5266 | mov.l &0x00000002,%d3 | ||
5267 | lea EAMEM-0x20(%a6),%a3 | ||
5268 | lea EASTORE(%a6),%a4 | ||
5269 | mov.l %a3,(%a4) | ||
5270 | sub.l &0x10,%a4 | ||
5271 | mov.l &0x10,%d4 | ||
5272 | |||
5273 | mov.w &0x0000,ICCR(%a6) | ||
5274 | mov.w &0x0000,%cc | ||
5275 | movm.l &0xffff,IREGS(%a6) | ||
5276 | |||
5277 | mulu.l ([0x10.w,%a4],%d4.w*1,0x10.w),%d2:%d3 | ||
5278 | |||
5279 | mov.w %cc,SCCR(%a6) | ||
5280 | movm.l &0xffff,SREGS(%a6) | ||
5281 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5282 | |||
5283 | bsr.l chkregs | ||
5284 | tst.b %d0 | ||
5285 | bne.l error | ||
5286 | |||
5287 | ea_105: | ||
5288 | addq.l &0x1,TESTCTR(%a6) | ||
5289 | |||
5290 | movm.l DEF_REGS(%pc),&0x3fff | ||
5291 | |||
5292 | clr.l %d2 | ||
5293 | mov.l &0x00000002,%d3 | ||
5294 | lea EAMEM-0x20(%a6),%a3 | ||
5295 | lea EASTORE(%a6),%a4 | ||
5296 | mov.l %a3,(%a4) | ||
5297 | sub.l &0x10,%a4 | ||
5298 | mov.l &0x8,%d4 | ||
5299 | |||
5300 | mov.w &0x0000,ICCR(%a6) | ||
5301 | mov.w &0x0000,%cc | ||
5302 | movm.l &0xffff,IREGS(%a6) | ||
5303 | |||
5304 | mulu.l ([0x10.w,%a4],%d4.w*2,0x10.w),%d2:%d3 | ||
5305 | |||
5306 | mov.w %cc,SCCR(%a6) | ||
5307 | movm.l &0xffff,SREGS(%a6) | ||
5308 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5309 | |||
5310 | bsr.l chkregs | ||
5311 | tst.b %d0 | ||
5312 | bne.l error | ||
5313 | |||
5314 | ea_106: | ||
5315 | addq.l &0x1,TESTCTR(%a6) | ||
5316 | |||
5317 | movm.l DEF_REGS(%pc),&0x3fff | ||
5318 | |||
5319 | clr.l %d2 | ||
5320 | mov.l &0x00000002,%d3 | ||
5321 | lea EAMEM-0x20(%a6),%a3 | ||
5322 | lea EASTORE(%a6),%a4 | ||
5323 | mov.l %a3,(%a4) | ||
5324 | sub.l &0x10,%a4 | ||
5325 | mov.l &0x4,%d4 | ||
5326 | |||
5327 | mov.w &0x0000,ICCR(%a6) | ||
5328 | mov.w &0x0000,%cc | ||
5329 | movm.l &0xffff,IREGS(%a6) | ||
5330 | |||
5331 | mulu.l ([0x10.w,%a4],%d4.w*4,0x10.w),%d2:%d3 | ||
5332 | |||
5333 | mov.w %cc,SCCR(%a6) | ||
5334 | movm.l &0xffff,SREGS(%a6) | ||
5335 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5336 | |||
5337 | bsr.l chkregs | ||
5338 | tst.b %d0 | ||
5339 | bne.l error | ||
5340 | |||
5341 | ea_107: | ||
5342 | addq.l &0x1,TESTCTR(%a6) | ||
5343 | |||
5344 | movm.l DEF_REGS(%pc),&0x3fff | ||
5345 | |||
5346 | clr.l %d2 | ||
5347 | mov.l &0x00000002,%d3 | ||
5348 | lea EAMEM-0x20(%a6),%a3 | ||
5349 | lea EASTORE(%a6),%a4 | ||
5350 | mov.l %a3,(%a4) | ||
5351 | sub.l &0x10,%a4 | ||
5352 | mov.l &0x2,%d4 | ||
5353 | |||
5354 | mov.w &0x0000,ICCR(%a6) | ||
5355 | mov.w &0x0000,%cc | ||
5356 | movm.l &0xffff,IREGS(%a6) | ||
5357 | |||
5358 | mulu.l ([0x10.w,%a4],%d4.w*8,0x10.w),%d2:%d3 | ||
5359 | |||
5360 | mov.w %cc,SCCR(%a6) | ||
5361 | movm.l &0xffff,SREGS(%a6) | ||
5362 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5363 | |||
5364 | bsr.l chkregs | ||
5365 | tst.b %d0 | ||
5366 | bne.l error | ||
5367 | |||
5368 | ea_108: | ||
5369 | addq.l &0x1,TESTCTR(%a6) | ||
5370 | |||
5371 | movm.l DEF_REGS(%pc),&0x3fff | ||
5372 | |||
5373 | clr.l %d2 | ||
5374 | mov.l &0x00000002,%d3 | ||
5375 | lea EAMEM-0x20(%a6),%a3 | ||
5376 | lea EASTORE(%a6),%a4 | ||
5377 | mov.l %a3,(%a4) | ||
5378 | sub.l &0x10,%a4 | ||
5379 | mov.l &0x10,%d4 | ||
5380 | |||
5381 | mov.w &0x0000,ICCR(%a6) | ||
5382 | mov.w &0x0000,%cc | ||
5383 | movm.l &0xffff,IREGS(%a6) | ||
5384 | |||
5385 | mulu.l ([0x10.w,%a4],%d4.l*1,0x10.w),%d2:%d3 | ||
5386 | |||
5387 | mov.w %cc,SCCR(%a6) | ||
5388 | movm.l &0xffff,SREGS(%a6) | ||
5389 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5390 | |||
5391 | bsr.l chkregs | ||
5392 | tst.b %d0 | ||
5393 | bne.l error | ||
5394 | |||
5395 | ea_109: | ||
5396 | addq.l &0x1,TESTCTR(%a6) | ||
5397 | |||
5398 | movm.l DEF_REGS(%pc),&0x3fff | ||
5399 | |||
5400 | clr.l %d2 | ||
5401 | mov.l &0x00000002,%d3 | ||
5402 | lea EAMEM-0x20(%a6),%a3 | ||
5403 | lea EASTORE(%a6),%a4 | ||
5404 | mov.l %a3,(%a4) | ||
5405 | sub.l &0x10,%a4 | ||
5406 | mov.l &0x8,%d4 | ||
5407 | |||
5408 | mov.w &0x0000,ICCR(%a6) | ||
5409 | mov.w &0x0000,%cc | ||
5410 | movm.l &0xffff,IREGS(%a6) | ||
5411 | |||
5412 | mulu.l ([0x10.w,%a4],%d4.w*2,0x10.w),%d2:%d3 | ||
5413 | |||
5414 | mov.w %cc,SCCR(%a6) | ||
5415 | movm.l &0xffff,SREGS(%a6) | ||
5416 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5417 | |||
5418 | bsr.l chkregs | ||
5419 | tst.b %d0 | ||
5420 | bne.l error | ||
5421 | |||
5422 | ea_110: | ||
5423 | addq.l &0x1,TESTCTR(%a6) | ||
5424 | |||
5425 | movm.l DEF_REGS(%pc),&0x3fff | ||
5426 | |||
5427 | clr.l %d2 | ||
5428 | mov.l &0x00000002,%d3 | ||
5429 | lea EAMEM-0x20(%a6),%a3 | ||
5430 | lea EASTORE(%a6),%a4 | ||
5431 | mov.l %a3,(%a4) | ||
5432 | sub.l &0x10,%a4 | ||
5433 | mov.l &0x4,%d4 | ||
5434 | |||
5435 | mov.w &0x0000,ICCR(%a6) | ||
5436 | mov.w &0x0000,%cc | ||
5437 | movm.l &0xffff,IREGS(%a6) | ||
5438 | |||
5439 | mulu.l ([0x10.w,%a4],%d4.l*4,0x10.w),%d2:%d3 | ||
5440 | |||
5441 | mov.w %cc,SCCR(%a6) | ||
5442 | movm.l &0xffff,SREGS(%a6) | ||
5443 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5444 | |||
5445 | bsr.l chkregs | ||
5446 | tst.b %d0 | ||
5447 | bne.l error | ||
5448 | |||
5449 | ea_111: | ||
5450 | addq.l &0x1,TESTCTR(%a6) | ||
5451 | |||
5452 | movm.l DEF_REGS(%pc),&0x3fff | ||
5453 | |||
5454 | clr.l %d2 | ||
5455 | mov.l &0x00000002,%d3 | ||
5456 | lea EAMEM-0x20(%a6),%a3 | ||
5457 | lea EASTORE(%a6),%a4 | ||
5458 | mov.l %a3,(%a4) | ||
5459 | sub.l &0x10,%a4 | ||
5460 | mov.l &0x2,%d4 | ||
5461 | |||
5462 | mov.w &0x0000,ICCR(%a6) | ||
5463 | mov.w &0x0000,%cc | ||
5464 | movm.l &0xffff,IREGS(%a6) | ||
5465 | |||
5466 | mulu.l ([0x10.w,%a4],%d4.l*8,0x10.w),%d2:%d3 | ||
5467 | |||
5468 | mov.w %cc,SCCR(%a6) | ||
5469 | movm.l &0xffff,SREGS(%a6) | ||
5470 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5471 | |||
5472 | bsr.l chkregs | ||
5473 | tst.b %d0 | ||
5474 | bne.l error | ||
5475 | |||
5476 | ea_112: | ||
5477 | addq.l &0x1,TESTCTR(%a6) | ||
5478 | |||
5479 | movm.l DEF_REGS(%pc),&0x3fff | ||
5480 | |||
5481 | clr.l %d2 | ||
5482 | mov.l &0x00000002,%d3 | ||
5483 | lea EAMEM-0x20(%a6),%a3 | ||
5484 | lea EASTORE(%a6),%a4 | ||
5485 | mov.l %a3,(%a4) | ||
5486 | sub.l &0x10,%a4 | ||
5487 | mov.l &0x2,%d4 | ||
5488 | |||
5489 | mov.w &0x0000,ICCR(%a6) | ||
5490 | mov.w &0x0000,%cc | ||
5491 | movm.l &0xffff,IREGS(%a6) | ||
5492 | |||
5493 | mulu.l ([0x10.l,%a4],%d4.l*8,0x10.l),%d2:%d3 | ||
5494 | |||
5495 | mov.w %cc,SCCR(%a6) | ||
5496 | movm.l &0xffff,SREGS(%a6) | ||
5497 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5498 | |||
5499 | bsr.l chkregs | ||
5500 | tst.b %d0 | ||
5501 | bne.l error | ||
5502 | |||
5503 | ea_113: | ||
5504 | addq.l &0x1,TESTCTR(%a6) | ||
5505 | |||
5506 | movm.l DEF_REGS(%pc),&0x3fff | ||
5507 | |||
5508 | clr.l %d2 | ||
5509 | mov.l &0x00000002,%d3 | ||
5510 | lea EAMEM-0x20(%a6),%a3 | ||
5511 | lea EASTORE(%a6),%a4 | ||
5512 | mov.l %a3,(%a4) | ||
5513 | mov.l &0x2,%d4 | ||
5514 | |||
5515 | mov.w &0x0000,ICCR(%a6) | ||
5516 | mov.w &0x0000,%cc | ||
5517 | movm.l &0xffff,IREGS(%a6) | ||
5518 | |||
5519 | mulu.l ([0x00.l,%a4],%zd4.l*8,0x20.l),%d2:%d3 | ||
5520 | |||
5521 | mov.w %cc,SCCR(%a6) | ||
5522 | movm.l &0xffff,SREGS(%a6) | ||
5523 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5524 | |||
5525 | bsr.l chkregs | ||
5526 | tst.b %d0 | ||
5527 | bne.l error | ||
5528 | |||
5529 | ea_114: | ||
5530 | addq.l &0x1,TESTCTR(%a6) | ||
5531 | |||
5532 | movm.l DEF_REGS(%pc),&0x3fff | ||
5533 | |||
5534 | mov.l %a7,%a0 | ||
5535 | clr.l %d2 | ||
5536 | mov.l &0x00000002,%d3 | ||
5537 | lea EAMEM-0x20(%a6),%a3 | ||
5538 | lea EASTORE(%a6),%a7 | ||
5539 | mov.l %a3,(%a7) | ||
5540 | mov.l &0x20,%d4 | ||
5541 | |||
5542 | mov.w &0x0000,ICCR(%a6) | ||
5543 | mov.w &0x0000,%cc | ||
5544 | movm.l &0xffff,IREGS(%a6) | ||
5545 | |||
5546 | mulu.l ([%a7],%d4.l*1),%d2:%d3 | ||
5547 | |||
5548 | mov.w %cc,SCCR(%a6) | ||
5549 | movm.l &0xffff,SREGS(%a6) | ||
5550 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5551 | |||
5552 | mov.l %a0,%a7 | ||
5553 | bsr.l chkregs | ||
5554 | tst.b %d0 | ||
5555 | bne.l error | ||
5556 | |||
5557 | ea_115: | ||
5558 | addq.l &0x1,TESTCTR(%a6) | ||
5559 | |||
5560 | # movm.l DEF_REGS(%pc),&0x3fff | ||
5561 | |||
5562 | # clr.l %d2 | ||
5563 | # mov.l &0x00000002,%d3 | ||
5564 | # lea EAMEM-0x20(%pc),%a3 | ||
5565 | # lea EASTORE(%pc),%a4 | ||
5566 | # mov.l %a3,(%a4) | ||
5567 | # mov.l &0x2,%d4 | ||
5568 | |||
5569 | # mov.w &0x0000,ICCR(%a6) | ||
5570 | # mov.w &0x0000,%cc | ||
5571 | # movm.l &0xffff,IREGS(%a6) | ||
5572 | |||
5573 | # mulu.l ([EASTORE.l,%za4],%zd4.l*8,0x20.l),%d2:%d3 | ||
5574 | |||
5575 | # mov.w %cc,SCCR(%a6) | ||
5576 | # movm.l &0xffff,SREGS(%a6) | ||
5577 | # mov.l &0x00000004,IREGS+0xc(%a6) | ||
5578 | |||
5579 | # bsr.l chkregs | ||
5580 | # tst.b %d0 | ||
5581 | # bne.l error | ||
5582 | |||
5583 | ea_116: | ||
5584 | addq.l &0x1,TESTCTR(%a6) | ||
5585 | |||
5586 | movm.l DEF_REGS(%pc),&0x3fff | ||
5587 | |||
5588 | mov.l %a6,%a1 | ||
5589 | |||
5590 | clr.l %d2 | ||
5591 | mov.l &0x00000002,%d3 | ||
5592 | lea EAMEM(%a1),%a3 | ||
5593 | lea EASTORE(%a1),%a6 | ||
5594 | mov.l %a3,(%a6) | ||
5595 | add.l &0x10,%a6 | ||
5596 | mov.l &-0x2,%a5 | ||
5597 | |||
5598 | mov.w &0x0000,ICCR(%a1) | ||
5599 | mov.w &0x0000,%cc | ||
5600 | movm.l &0xffff,IREGS(%a1) | ||
5601 | |||
5602 | mulu.l ([-0x10.w,%a6],%a5.l*8,0x10.l),%d2:%d3 | ||
5603 | |||
5604 | mov.w %cc,SCCR(%a1) | ||
5605 | movm.l &0xffff,SREGS(%a1) | ||
5606 | mov.l &0x00000004,IREGS+0xc(%a1) | ||
5607 | |||
5608 | mov.l %a1,%a6 | ||
5609 | |||
5610 | bsr.l chkregs | ||
5611 | tst.b %d0 | ||
5612 | bne.l error | ||
5613 | |||
5614 | mov.l TESTCTR(%a6),%d1 | ||
5615 | clr.l %d0 | ||
5616 | rts | ||
5617 | |||
5618 | ea_117: | ||
5619 | addq.l &0x1,TESTCTR(%a6) | ||
5620 | |||
5621 | movm.l DEF_REGS(%pc),&0x3fff | ||
5622 | |||
5623 | clr.l %d2 | ||
5624 | mov.l &0x00000002,%d3 | ||
5625 | lea EAMEM-0x1000(%pc),%a3 | ||
5626 | lea EASTORE(%pc),%a4 | ||
5627 | mov.l %a3,(%a4) | ||
5628 | mov.l &-0x10,%d4 | ||
5629 | |||
5630 | mov.w &0x0000,ICCR(%a6) | ||
5631 | mov.w &0x0000,%cc | ||
5632 | movm.l &0xffff,IREGS(%a6) | ||
5633 | |||
5634 | mulu.l ([EASTORE+0x10.w,%pc,%d4.w*1],0x1000.w),%d2:%d3 | ||
5635 | |||
5636 | mov.w %cc,SCCR(%a6) | ||
5637 | movm.l &0xffff,SREGS(%a6) | ||
5638 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5639 | |||
5640 | bsr.l chkregs | ||
5641 | tst.b %d0 | ||
5642 | bne.l error | ||
5643 | |||
5644 | ea_118: | ||
5645 | addq.l &0x1,TESTCTR(%a6) | ||
5646 | |||
5647 | movm.l DEF_REGS(%pc),&0x3fff | ||
5648 | |||
5649 | clr.l %d2 | ||
5650 | mov.l &0x00000002,%d3 | ||
5651 | lea EAMEM-0x1000(%pc),%a3 | ||
5652 | lea EASTORE(%pc),%a4 | ||
5653 | mov.l %a3,(%a4) | ||
5654 | mov.l &-0x8,%d4 | ||
5655 | |||
5656 | mov.w &0x0000,ICCR(%a6) | ||
5657 | mov.w &0x0000,%cc | ||
5658 | movm.l &0xffff,IREGS(%a6) | ||
5659 | |||
5660 | mulu.l ([EASTORE+0x10.w,%pc,%d4.w*2],0x1000.w),%d2:%d3 | ||
5661 | |||
5662 | mov.w %cc,SCCR(%a6) | ||
5663 | movm.l &0xffff,SREGS(%a6) | ||
5664 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5665 | |||
5666 | bsr.l chkregs | ||
5667 | tst.b %d0 | ||
5668 | bne.l error | ||
5669 | |||
5670 | ea_119: | ||
5671 | addq.l &0x1,TESTCTR(%a6) | ||
5672 | |||
5673 | movm.l DEF_REGS(%pc),&0x3fff | ||
5674 | |||
5675 | clr.l %d2 | ||
5676 | mov.l &0x00000002,%d3 | ||
5677 | lea EAMEM-0x1000(%pc),%a3 | ||
5678 | lea EASTORE(%pc),%a4 | ||
5679 | mov.l %a3,(%a4) | ||
5680 | mov.l &-0x4,%d4 | ||
5681 | |||
5682 | mov.w &0x0000,ICCR(%a6) | ||
5683 | mov.w &0x0000,%cc | ||
5684 | movm.l &0xffff,IREGS(%a6) | ||
5685 | |||
5686 | mulu.l ([EASTORE+0x10.w,%pc,%d4.w*4],0x1000.w),%d2:%d3 | ||
5687 | |||
5688 | mov.w %cc,SCCR(%a6) | ||
5689 | movm.l &0xffff,SREGS(%a6) | ||
5690 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5691 | |||
5692 | bsr.l chkregs | ||
5693 | tst.b %d0 | ||
5694 | bne.l error | ||
5695 | |||
5696 | ea_120: | ||
5697 | addq.l &0x1,TESTCTR(%a6) | ||
5698 | |||
5699 | movm.l DEF_REGS(%pc),&0x3fff | ||
5700 | |||
5701 | clr.l %d2 | ||
5702 | mov.l &0x00000002,%d3 | ||
5703 | lea EAMEM-0x1000(%pc),%a3 | ||
5704 | lea EASTORE(%pc),%a4 | ||
5705 | mov.l %a3,(%a4) | ||
5706 | mov.l &-0x2,%d4 | ||
5707 | |||
5708 | mov.w &0x0000,ICCR(%a6) | ||
5709 | mov.w &0x0000,%cc | ||
5710 | movm.l &0xffff,IREGS(%a6) | ||
5711 | |||
5712 | mulu.l ([EASTORE+0x10.w,%pc,%d4.w*8],0x1000.w),%d2:%d3 | ||
5713 | |||
5714 | mov.w %cc,SCCR(%a6) | ||
5715 | movm.l &0xffff,SREGS(%a6) | ||
5716 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5717 | |||
5718 | bsr.l chkregs | ||
5719 | tst.b %d0 | ||
5720 | bne.l error | ||
5721 | |||
5722 | ea_121: | ||
5723 | addq.l &0x1,TESTCTR(%a6) | ||
5724 | |||
5725 | movm.l DEF_REGS(%pc),&0x3fff | ||
5726 | |||
5727 | clr.l %d2 | ||
5728 | mov.l &0x00000002,%d3 | ||
5729 | lea EAMEM-0x1000(%pc),%a3 | ||
5730 | lea EASTORE(%pc),%a4 | ||
5731 | mov.l %a3,(%a4) | ||
5732 | mov.l &-0x10,%d4 | ||
5733 | |||
5734 | mov.w &0x0000,ICCR(%a6) | ||
5735 | mov.w &0x0000,%cc | ||
5736 | movm.l &0xffff,IREGS(%a6) | ||
5737 | |||
5738 | mulu.l ([EASTORE+0x10.w,%pc,%d4.l*1],0x1000.w),%d2:%d3 | ||
5739 | |||
5740 | mov.w %cc,SCCR(%a6) | ||
5741 | movm.l &0xffff,SREGS(%a6) | ||
5742 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5743 | |||
5744 | bsr.l chkregs | ||
5745 | tst.b %d0 | ||
5746 | bne.l error | ||
5747 | |||
5748 | ea_122: | ||
5749 | addq.l &0x1,TESTCTR(%a6) | ||
5750 | |||
5751 | movm.l DEF_REGS(%pc),&0x3fff | ||
5752 | |||
5753 | clr.l %d2 | ||
5754 | mov.l &0x00000002,%d3 | ||
5755 | lea EAMEM-0x1000(%pc),%a3 | ||
5756 | lea EASTORE(%pc),%a4 | ||
5757 | mov.l %a3,(%a4) | ||
5758 | mov.l &-0x8,%d4 | ||
5759 | |||
5760 | mov.w &0x0000,ICCR(%a6) | ||
5761 | mov.w &0x0000,%cc | ||
5762 | movm.l &0xffff,IREGS(%a6) | ||
5763 | |||
5764 | mulu.l ([EASTORE+0x10.w,%pc,%d4.l*2],0x1000.w),%d2:%d3 | ||
5765 | |||
5766 | mov.w %cc,SCCR(%a6) | ||
5767 | movm.l &0xffff,SREGS(%a6) | ||
5768 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5769 | |||
5770 | bsr.l chkregs | ||
5771 | tst.b %d0 | ||
5772 | bne.l error | ||
5773 | |||
5774 | ea_123: | ||
5775 | addq.l &0x1,TESTCTR(%a6) | ||
5776 | |||
5777 | movm.l DEF_REGS(%pc),&0x3fff | ||
5778 | |||
5779 | clr.l %d2 | ||
5780 | mov.l &0x00000002,%d3 | ||
5781 | lea EAMEM-0x1000(%pc),%a3 | ||
5782 | lea EASTORE(%pc),%a4 | ||
5783 | mov.l %a3,(%a4) | ||
5784 | mov.l &-0x4,%d4 | ||
5785 | |||
5786 | mov.w &0x0000,ICCR(%a6) | ||
5787 | mov.w &0x0000,%cc | ||
5788 | movm.l &0xffff,IREGS(%a6) | ||
5789 | |||
5790 | mulu.l ([EASTORE+0x10.w,%pc,%d4.l*4],0x1000.w),%d2:%d3 | ||
5791 | |||
5792 | mov.w %cc,SCCR(%a6) | ||
5793 | movm.l &0xffff,SREGS(%a6) | ||
5794 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5795 | |||
5796 | bsr.l chkregs | ||
5797 | tst.b %d0 | ||
5798 | bne.l error | ||
5799 | |||
5800 | ea_124: | ||
5801 | addq.l &0x1,TESTCTR(%a6) | ||
5802 | |||
5803 | movm.l DEF_REGS(%pc),&0x3fff | ||
5804 | |||
5805 | clr.l %d2 | ||
5806 | mov.l &0x00000002,%d3 | ||
5807 | lea EAMEM-0x1000(%pc),%a3 | ||
5808 | lea EASTORE(%pc),%a4 | ||
5809 | mov.l %a3,(%a4) | ||
5810 | mov.l &-0x2,%d4 | ||
5811 | |||
5812 | mov.w &0x0000,ICCR(%a6) | ||
5813 | mov.w &0x0000,%cc | ||
5814 | movm.l &0xffff,IREGS(%a6) | ||
5815 | |||
5816 | mulu.l ([EASTORE+0x10.w,%pc,%d4.l*8],0x1000.w),%d2:%d3 | ||
5817 | |||
5818 | mov.w %cc,SCCR(%a6) | ||
5819 | movm.l &0xffff,SREGS(%a6) | ||
5820 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5821 | |||
5822 | bsr.l chkregs | ||
5823 | tst.b %d0 | ||
5824 | bne.l error | ||
5825 | |||
5826 | ea_125: | ||
5827 | addq.l &0x1,TESTCTR(%a6) | ||
5828 | |||
5829 | movm.l DEF_REGS(%pc),&0x3fff | ||
5830 | |||
5831 | clr.l %d2 | ||
5832 | mov.l &0x00000002,%d3 | ||
5833 | lea EAMEM-0x1000(%pc),%a3 | ||
5834 | lea EASTORE(%pc),%a4 | ||
5835 | mov.l %a3,(%a4) | ||
5836 | mov.l &-0x2,%d4 | ||
5837 | |||
5838 | mov.w &0x0000,ICCR(%a6) | ||
5839 | mov.w &0x0000,%cc | ||
5840 | movm.l &0xffff,IREGS(%a6) | ||
5841 | mulu.l ([EASTORE+0x10.l,%pc,%d4.l*8],0x1000.l),%d2:%d3 | ||
5842 | |||
5843 | mov.w %cc,SCCR(%a6) | ||
5844 | movm.l &0xffff,SREGS(%a6) | ||
5845 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5846 | |||
5847 | bsr.l chkregs | ||
5848 | tst.b %d0 | ||
5849 | bne.l error | ||
5850 | |||
5851 | ea_126: | ||
5852 | addq.l &0x1,TESTCTR(%a6) | ||
5853 | |||
5854 | movm.l DEF_REGS(%pc),&0x3fff | ||
5855 | |||
5856 | clr.l %d2 | ||
5857 | mov.l &0x00000002,%d3 | ||
5858 | lea EAMEM-0x1000(%pc),%a3 | ||
5859 | lea EASTORE(%pc),%a4 | ||
5860 | mov.l %a3,(%a4) | ||
5861 | mov.l &-0x2,%d4 | ||
5862 | |||
5863 | mov.w &0x0000,ICCR(%a6) | ||
5864 | mov.w &0x0000,%cc | ||
5865 | movm.l &0xffff,IREGS(%a6) | ||
5866 | |||
5867 | mulu.l ([EASTORE+0x00.l,%pc,%zd4.l*8],0x1000.l),%d2:%d3 | ||
5868 | |||
5869 | mov.w %cc,SCCR(%a6) | ||
5870 | movm.l &0xffff,SREGS(%a6) | ||
5871 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5872 | |||
5873 | bsr.l chkregs | ||
5874 | tst.b %d0 | ||
5875 | bne.l error | ||
5876 | |||
5877 | ea_127: | ||
5878 | addq.l &0x1,TESTCTR(%a6) | ||
5879 | |||
5880 | movm.l DEF_REGS(%pc),&0x3fff | ||
5881 | |||
5882 | clr.l %d2 | ||
5883 | mov.l &0x00000002,%d3 | ||
5884 | lea EAMEM-0x1000(%pc),%a3 | ||
5885 | lea EASTORE(%pc),%a4 | ||
5886 | mov.l %a3,(%a4) | ||
5887 | mov.l %a4,%d4 | ||
5888 | |||
5889 | mov.w &0x0000,ICCR(%a6) | ||
5890 | mov.w &0x0000,%cc | ||
5891 | movm.l &0xffff,IREGS(%a6) | ||
5892 | |||
5893 | mulu.l ([%zpc,%d4.l*1],0x1000.l),%d2:%d3 | ||
5894 | |||
5895 | mov.w %cc,SCCR(%a6) | ||
5896 | movm.l &0xffff,SREGS(%a6) | ||
5897 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5898 | |||
5899 | bsr.l chkregs | ||
5900 | tst.b %d0 | ||
5901 | bne.l error | ||
5902 | |||
5903 | ea_128: | ||
5904 | addq.l &0x1,TESTCTR(%a6) | ||
5905 | |||
5906 | movm.l DEF_REGS(%pc),&0x3fff | ||
5907 | |||
5908 | clr.l %d2 | ||
5909 | mov.l &0x00000002,%d3 | ||
5910 | lea EAMEM-0x1000(%pc),%a3 | ||
5911 | lea EASTORE(%pc),%a4 | ||
5912 | mov.l %a3,(%a4) | ||
5913 | mov.l &-0x10,%d4 | ||
5914 | add.l %a4,%d4 | ||
5915 | |||
5916 | mov.w &0x0000,ICCR(%a6) | ||
5917 | mov.w &0x0000,%cc | ||
5918 | movm.l &0xffff,IREGS(%a6) | ||
5919 | |||
5920 | mulu.l ([0x10.l,%zpc,%d4.l*1],0x1000.l),%d2:%d3 | ||
5921 | |||
5922 | mov.w %cc,SCCR(%a6) | ||
5923 | movm.l &0xffff,SREGS(%a6) | ||
5924 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5925 | |||
5926 | bsr.l chkregs | ||
5927 | tst.b %d0 | ||
5928 | bne.l error | ||
5929 | |||
5930 | ea_129: | ||
5931 | addq.l &0x1,TESTCTR(%a6) | ||
5932 | |||
5933 | clr.l %d2 | ||
5934 | mov.l &0x00000002,%d3 | ||
5935 | lea EAMEM(%pc),%a3 | ||
5936 | lea EASTORE(%pc),%a4 | ||
5937 | mov.l %a3,(%a4) | ||
5938 | mov.l &-0x10,%d4 | ||
5939 | |||
5940 | mov.w &0x0000,ICCR(%a6) | ||
5941 | mov.w &0x0000,%cc | ||
5942 | movm.l &0xffff,IREGS(%a6) | ||
5943 | |||
5944 | mulu.l ([EASTORE.l,%zpc,%zd4.l*1]),%d2:%d3 | ||
5945 | |||
5946 | mov.w %cc,SCCR(%a6) | ||
5947 | movm.l &0xffff,SREGS(%a6) | ||
5948 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5949 | |||
5950 | bsr.l chkregs | ||
5951 | tst.b %d0 | ||
5952 | bne.l error | ||
5953 | |||
5954 | ea_130: | ||
5955 | addq.l &0x1,TESTCTR(%a6) | ||
5956 | |||
5957 | movm.l DEF_REGS(%pc),&0x3fff | ||
5958 | |||
5959 | clr.l %d2 | ||
5960 | mov.l &0x00000002,%d3 | ||
5961 | lea EAMEM+0x1000(%pc),%a3 | ||
5962 | lea EASTORE(%pc),%a4 | ||
5963 | mov.l %a3,(%a4) | ||
5964 | mov.l &0x2,%a6 | ||
5965 | |||
5966 | mov.w &0x0000,ICCR(%a6) | ||
5967 | mov.w &0x0000,%cc | ||
5968 | movm.l &0xffff,IREGS(%a6) | ||
5969 | |||
5970 | mulu.l ([EASTORE-0x10.w,%pc,%a6.l*8],-0x1000.w),%d2:%d3 | ||
5971 | |||
5972 | mov.w %cc,SCCR(%a6) | ||
5973 | movm.l &0xffff,SREGS(%a6) | ||
5974 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
5975 | |||
5976 | bsr.l chkregs | ||
5977 | tst.b %d0 | ||
5978 | bne.l error | ||
5979 | |||
5980 | ea_131: | ||
5981 | addq.l &0x1,TESTCTR(%a6) | ||
5982 | |||
5983 | movm.l DEF_REGS(%pc),&0x3fff | ||
5984 | |||
5985 | mov.l %a7,%a0 | ||
5986 | clr.l %d2 | ||
5987 | mov.l &0x00000002,%d3 | ||
5988 | lea EAMEM+0x1000(%pc),%a3 | ||
5989 | lea EASTORE(%pc),%a4 | ||
5990 | mov.l %a3,(%a4) | ||
5991 | mov.l &0x2,%a7 | ||
5992 | |||
5993 | mov.w &0x0000,ICCR(%a6) | ||
5994 | mov.w &0x0000,%cc | ||
5995 | movm.l &0xffff,IREGS(%a6) | ||
5996 | |||
5997 | mulu.l ([EASTORE-0x10.w,%pc,%a7.l*8],-0x1000.w),%d2:%d3 | ||
5998 | |||
5999 | mov.w %cc,SCCR(%a6) | ||
6000 | movm.l &0xffff,SREGS(%a6) | ||
6001 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6002 | |||
6003 | mov.l %a0,%a7 | ||
6004 | bsr.l chkregs | ||
6005 | tst.b %d0 | ||
6006 | bne.l error | ||
6007 | |||
6008 | ea_132: | ||
6009 | addq.l &0x1,TESTCTR(%a6) | ||
6010 | |||
6011 | movm.l DEF_REGS(%pc),&0x3fff | ||
6012 | |||
6013 | clr.l %d2 | ||
6014 | mov.l &0x00000002,%d3 | ||
6015 | lea EAMEM-0x20(%pc),%a3 | ||
6016 | lea EASTORE(%pc),%a4 | ||
6017 | mov.l %a3,(%a4) | ||
6018 | sub.l &0x10,%a4 | ||
6019 | mov.l &0x10,%d4 | ||
6020 | |||
6021 | mov.w &0x0000,ICCR(%a6) | ||
6022 | mov.w &0x0000,%cc | ||
6023 | movm.l &0xffff,IREGS(%a6) | ||
6024 | |||
6025 | mulu.l ([EASTORE.w,%pc],%d4.w*1,0x10.w),%d2:%d3 | ||
6026 | |||
6027 | mov.w %cc,SCCR(%a6) | ||
6028 | movm.l &0xffff,SREGS(%a6) | ||
6029 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6030 | |||
6031 | bsr.l chkregs | ||
6032 | tst.b %d0 | ||
6033 | bne.l error | ||
6034 | |||
6035 | ea_133: | ||
6036 | addq.l &0x1,TESTCTR(%a6) | ||
6037 | |||
6038 | movm.l DEF_REGS(%pc),&0x3fff | ||
6039 | |||
6040 | clr.l %d2 | ||
6041 | mov.l &0x00000002,%d3 | ||
6042 | lea EAMEM-0x20(%pc),%a3 | ||
6043 | lea EASTORE(%pc),%a4 | ||
6044 | mov.l %a3,(%a4) | ||
6045 | sub.l &0x10,%a4 | ||
6046 | mov.l &0x8,%d4 | ||
6047 | |||
6048 | mov.w &0x0000,ICCR(%a6) | ||
6049 | mov.w &0x0000,%cc | ||
6050 | movm.l &0xffff,IREGS(%a6) | ||
6051 | |||
6052 | mulu.l ([EASTORE.w,%pc],%d4.w*2,0x10.w),%d2:%d3 | ||
6053 | |||
6054 | mov.w %cc,SCCR(%a6) | ||
6055 | movm.l &0xffff,SREGS(%a6) | ||
6056 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6057 | |||
6058 | bsr.l chkregs | ||
6059 | tst.b %d0 | ||
6060 | bne.l error | ||
6061 | |||
6062 | ea_134: | ||
6063 | addq.l &0x1,TESTCTR(%a6) | ||
6064 | |||
6065 | movm.l DEF_REGS(%pc),&0x3fff | ||
6066 | |||
6067 | clr.l %d2 | ||
6068 | mov.l &0x00000002,%d3 | ||
6069 | lea EAMEM-0x20(%pc),%a3 | ||
6070 | lea EASTORE(%pc),%a4 | ||
6071 | mov.l %a3,(%a4) | ||
6072 | sub.l &0x10,%a4 | ||
6073 | mov.l &0x4,%d4 | ||
6074 | |||
6075 | mov.w &0x0000,ICCR(%a6) | ||
6076 | mov.w &0x0000,%cc | ||
6077 | movm.l &0xffff,IREGS(%a6) | ||
6078 | |||
6079 | mulu.l ([EASTORE.w,%pc],%d4.w*4,0x10.w),%d2:%d3 | ||
6080 | |||
6081 | mov.w %cc,SCCR(%a6) | ||
6082 | movm.l &0xffff,SREGS(%a6) | ||
6083 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6084 | |||
6085 | bsr.l chkregs | ||
6086 | tst.b %d0 | ||
6087 | bne.l error | ||
6088 | |||
6089 | ea_135: | ||
6090 | addq.l &0x1,TESTCTR(%a6) | ||
6091 | |||
6092 | movm.l DEF_REGS(%pc),&0x3fff | ||
6093 | |||
6094 | clr.l %d2 | ||
6095 | mov.l &0x00000002,%d3 | ||
6096 | lea EAMEM-0x20(%pc),%a3 | ||
6097 | lea EASTORE(%pc),%a4 | ||
6098 | mov.l %a3,(%a4) | ||
6099 | sub.l &0x10,%a4 | ||
6100 | mov.l &0x2,%d4 | ||
6101 | |||
6102 | mov.w &0x0000,ICCR(%a6) | ||
6103 | mov.w &0x0000,%cc | ||
6104 | movm.l &0xffff,IREGS(%a6) | ||
6105 | |||
6106 | mulu.l ([EASTORE.w,%pc],%d4.w*8,0x10.w),%d2:%d3 | ||
6107 | |||
6108 | mov.w %cc,SCCR(%a6) | ||
6109 | movm.l &0xffff,SREGS(%a6) | ||
6110 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6111 | |||
6112 | bsr.l chkregs | ||
6113 | tst.b %d0 | ||
6114 | bne.l error | ||
6115 | |||
6116 | ea_136: | ||
6117 | addq.l &0x1,TESTCTR(%a6) | ||
6118 | |||
6119 | movm.l DEF_REGS(%pc),&0x3fff | ||
6120 | |||
6121 | clr.l %d2 | ||
6122 | mov.l &0x00000002,%d3 | ||
6123 | lea EAMEM-0x20(%pc),%a3 | ||
6124 | lea EASTORE(%pc),%a4 | ||
6125 | mov.l %a3,(%a4) | ||
6126 | sub.l &0x10,%a4 | ||
6127 | mov.l &0x10,%d4 | ||
6128 | |||
6129 | mov.w &0x0000,ICCR(%a6) | ||
6130 | mov.w &0x0000,%cc | ||
6131 | movm.l &0xffff,IREGS(%a6) | ||
6132 | |||
6133 | mulu.l ([EASTORE.w,%pc],%d4.l*1,0x10.w),%d2:%d3 | ||
6134 | |||
6135 | mov.w %cc,SCCR(%a6) | ||
6136 | movm.l &0xffff,SREGS(%a6) | ||
6137 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6138 | |||
6139 | bsr.l chkregs | ||
6140 | tst.b %d0 | ||
6141 | bne.l error | ||
6142 | |||
6143 | ea_137: | ||
6144 | addq.l &0x1,TESTCTR(%a6) | ||
6145 | |||
6146 | movm.l DEF_REGS(%pc),&0x3fff | ||
6147 | |||
6148 | clr.l %d2 | ||
6149 | mov.l &0x00000002,%d3 | ||
6150 | lea EAMEM-0x20(%pc),%a3 | ||
6151 | lea EASTORE(%pc),%a4 | ||
6152 | mov.l %a3,(%a4) | ||
6153 | sub.l &0x10,%a4 | ||
6154 | mov.l &0x8,%d4 | ||
6155 | |||
6156 | mov.w &0x0000,ICCR(%a6) | ||
6157 | mov.w &0x0000,%cc | ||
6158 | movm.l &0xffff,IREGS(%a6) | ||
6159 | |||
6160 | mulu.l ([EASTORE.w,%pc],%d4.w*2,0x10.w),%d2:%d3 | ||
6161 | |||
6162 | mov.w %cc,SCCR(%a6) | ||
6163 | movm.l &0xffff,SREGS(%a6) | ||
6164 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6165 | |||
6166 | bsr.l chkregs | ||
6167 | tst.b %d0 | ||
6168 | bne.l error | ||
6169 | |||
6170 | ea_138: | ||
6171 | addq.l &0x1,TESTCTR(%a6) | ||
6172 | |||
6173 | movm.l DEF_REGS(%pc),&0x3fff | ||
6174 | |||
6175 | clr.l %d2 | ||
6176 | mov.l &0x00000002,%d3 | ||
6177 | lea EAMEM-0x20(%pc),%a3 | ||
6178 | lea EASTORE(%pc),%a4 | ||
6179 | mov.l %a3,(%a4) | ||
6180 | sub.l &0x10,%a4 | ||
6181 | mov.l &0x4,%d4 | ||
6182 | |||
6183 | mov.w &0x0000,ICCR(%a6) | ||
6184 | mov.w &0x0000,%cc | ||
6185 | movm.l &0xffff,IREGS(%a6) | ||
6186 | |||
6187 | mulu.l ([EASTORE.w,%pc],%d4.l*4,0x10.w),%d2:%d3 | ||
6188 | |||
6189 | mov.w %cc,SCCR(%a6) | ||
6190 | movm.l &0xffff,SREGS(%a6) | ||
6191 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6192 | |||
6193 | bsr.l chkregs | ||
6194 | tst.b %d0 | ||
6195 | bne.l error | ||
6196 | |||
6197 | ea_139: | ||
6198 | addq.l &0x1,TESTCTR(%a6) | ||
6199 | |||
6200 | movm.l DEF_REGS(%pc),&0x3fff | ||
6201 | |||
6202 | clr.l %d2 | ||
6203 | mov.l &0x00000002,%d3 | ||
6204 | lea EAMEM-0x20(%pc),%a3 | ||
6205 | lea EASTORE(%pc),%a4 | ||
6206 | mov.l %a3,(%a4) | ||
6207 | sub.l &0x10,%a4 | ||
6208 | mov.l &0x2,%d4 | ||
6209 | |||
6210 | mov.w &0x0000,ICCR(%a6) | ||
6211 | mov.w &0x0000,%cc | ||
6212 | movm.l &0xffff,IREGS(%a6) | ||
6213 | |||
6214 | mulu.l ([EASTORE.w,%pc],%d4.l*8,0x10.w),%d2:%d3 | ||
6215 | |||
6216 | mov.w %cc,SCCR(%a6) | ||
6217 | movm.l &0xffff,SREGS(%a6) | ||
6218 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6219 | |||
6220 | bsr.l chkregs | ||
6221 | tst.b %d0 | ||
6222 | bne.l error | ||
6223 | |||
6224 | ea_140: | ||
6225 | addq.l &0x1,TESTCTR(%a6) | ||
6226 | |||
6227 | movm.l DEF_REGS(%pc),&0x3fff | ||
6228 | |||
6229 | clr.l %d2 | ||
6230 | mov.l &0x00000002,%d3 | ||
6231 | lea EAMEM-0x20(%pc),%a3 | ||
6232 | lea EASTORE(%pc),%a4 | ||
6233 | mov.l %a3,(%a4) | ||
6234 | sub.l &0x10,%a4 | ||
6235 | mov.l &0x2,%d4 | ||
6236 | |||
6237 | mov.w &0x0000,ICCR(%a6) | ||
6238 | mov.w &0x0000,%cc | ||
6239 | movm.l &0xffff,IREGS(%a6) | ||
6240 | |||
6241 | mulu.l ([EASTORE.l,%pc],%d4.l*8,0x10.l),%d2:%d3 | ||
6242 | |||
6243 | mov.w %cc,SCCR(%a6) | ||
6244 | movm.l &0xffff,SREGS(%a6) | ||
6245 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6246 | |||
6247 | bsr.l chkregs | ||
6248 | tst.b %d0 | ||
6249 | bne.l error | ||
6250 | |||
6251 | ea_141: | ||
6252 | addq.l &0x1,TESTCTR(%a6) | ||
6253 | |||
6254 | movm.l DEF_REGS(%pc),&0x3fff | ||
6255 | |||
6256 | clr.l %d2 | ||
6257 | mov.l &0x00000002,%d3 | ||
6258 | lea EAMEM-0x20(%pc),%a3 | ||
6259 | lea EASTORE(%pc),%a4 | ||
6260 | mov.l %a3,(%a4) | ||
6261 | mov.l &0x2,%d4 | ||
6262 | |||
6263 | mov.w &0x0000,ICCR(%a6) | ||
6264 | mov.w &0x0000,%cc | ||
6265 | movm.l &0xffff,IREGS(%a6) | ||
6266 | |||
6267 | mulu.l ([EASTORE.l,%pc],%zd4.l*8,0x20.l),%d2:%d3 | ||
6268 | |||
6269 | mov.w %cc,SCCR(%a6) | ||
6270 | movm.l &0xffff,SREGS(%a6) | ||
6271 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6272 | |||
6273 | bsr.l chkregs | ||
6274 | tst.b %d0 | ||
6275 | bne.l error | ||
6276 | |||
6277 | ea_142: | ||
6278 | addq.l &0x1,TESTCTR(%a6) | ||
6279 | |||
6280 | movm.l DEF_REGS(%pc),&0x3fff | ||
6281 | |||
6282 | clr.l %d2 | ||
6283 | mov.l &0x00000002,%d3 | ||
6284 | lea EAMEM-0x20(%pc),%a3 | ||
6285 | lea EASTORE(%pc),%a4 | ||
6286 | mov.l %a3,(%a4) | ||
6287 | mov.l &0x4,%d4 | ||
6288 | |||
6289 | mov.w &0x0000,ICCR(%a6) | ||
6290 | mov.w &0x0000,%cc | ||
6291 | movm.l &0xffff,IREGS(%a6) | ||
6292 | |||
6293 | mulu.l ([EASTORE.l,%zpc],%d4.l*8),%d2:%d3 | ||
6294 | |||
6295 | mov.w %cc,SCCR(%a6) | ||
6296 | movm.l &0xffff,SREGS(%a6) | ||
6297 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6298 | |||
6299 | bsr.l chkregs | ||
6300 | tst.b %d0 | ||
6301 | bne.l error | ||
6302 | |||
6303 | ea_143: | ||
6304 | addq.l &0x1,TESTCTR(%a6) | ||
6305 | |||
6306 | movm.l DEF_REGS(%pc),&0x3fff | ||
6307 | |||
6308 | mov.l %a7,%a0 | ||
6309 | clr.l %d2 | ||
6310 | mov.l &0x00000002,%d3 | ||
6311 | lea EAMEM(%pc),%a3 | ||
6312 | lea EASTORE(%pc),%a6 | ||
6313 | mov.l %a3,(%a6) | ||
6314 | add.l &0x10,%a6 | ||
6315 | mov.l &-0x2,%a7 | ||
6316 | |||
6317 | mov.w &0x0000,ICCR(%a6) | ||
6318 | mov.w &0x0000,%cc | ||
6319 | movm.l &0xffff,IREGS(%a6) | ||
6320 | |||
6321 | mulu.l ([EASTORE.w,%pc],%a7.l*8,0x10.l),%d2:%d3 | ||
6322 | |||
6323 | mov.w %cc,SCCR(%a6) | ||
6324 | movm.l &0xffff,SREGS(%a6) | ||
6325 | mov.l &0x00000004,IREGS+0xc(%a6) | ||
6326 | |||
6327 | mov.l %a0,%a7 | ||
6328 | bsr.l chkregs | ||
6329 | tst.b %d0 | ||
6330 | bne.l error | ||
6331 | |||
6332 | clr.l %d0 | ||
6333 | rts | ||
6334 | |||
6335 | ########################################################### | ||
6336 | ########################################################### | ||
6337 | chkregs: | ||
6338 | lea IREGS(%a6),%a0 | ||
6339 | lea SREGS(%a6),%a1 | ||
6340 | mov.l &14,%d0 | ||
6341 | chkregs_loop: | ||
6342 | cmp.l (%a0)+,(%a1)+ | ||
6343 | bne.l chkregs_error | ||
6344 | dbra.w %d0,chkregs_loop | ||
6345 | |||
6346 | mov.w ICCR(%a6),%d0 | ||
6347 | mov.w SCCR(%a6),%d1 | ||
6348 | cmp.w %d0,%d1 | ||
6349 | bne.l chkregs_error | ||
6350 | |||
6351 | clr.l %d0 | ||
6352 | rts | ||
6353 | |||
6354 | chkregs_error: | ||
6355 | movq.l &0x1,%d0 | ||
6356 | rts | ||
6357 | |||
6358 | error: | ||
6359 | mov.l TESTCTR(%a6),%d1 | ||
6360 | movq.l &0x1,%d0 | ||
6361 | rts | ||
6362 | |||
6363 | DEF_REGS: | ||
6364 | long 0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac | ||
6365 | long 0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac | ||
6366 | |||
6367 | long 0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac | ||
6368 | long 0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac | ||
6369 | |||
6370 | ############################################################ | ||
6371 | |||
6372 | _print_str: | ||
6373 | mov.l %d0,-(%sp) | ||
6374 | mov.l (TESTTOP-0x80+0x0,%pc),%d0 | ||
6375 | pea (TESTTOP-0x80,%pc,%d0) | ||
6376 | mov.l 0x4(%sp),%d0 | ||
6377 | rtd &0x4 | ||
6378 | |||
6379 | _print_num: | ||
6380 | mov.l %d0,-(%sp) | ||
6381 | mov.l (TESTTOP-0x80+0x4,%pc),%d0 | ||
6382 | pea (TESTTOP-0x80,%pc,%d0) | ||
6383 | mov.l 0x4(%sp),%d0 | ||
6384 | rtd &0x4 | ||
6385 | |||
6386 | ############################################################ | ||