18c2ecf20Sopenharmony_ci~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28c2ecf20Sopenharmony_ciMOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
38c2ecf20Sopenharmony_ciM68000 Hi-Performance Microprocessor Division
48c2ecf20Sopenharmony_ciM68060 Software Package
58c2ecf20Sopenharmony_ciProduction Release P1.00 -- October 10, 1994
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciM68060 Software Package Copyright © 1993, 1994 Motorola Inc.  All rights reserved.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciTHE SOFTWARE is provided on an "AS IS" basis and without warranty.
108c2ecf20Sopenharmony_ciTo the maximum extent permitted by applicable law,
118c2ecf20Sopenharmony_ciMOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
128c2ecf20Sopenharmony_ciINCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
138c2ecf20Sopenharmony_ciand any warranty against infringement with regard to the SOFTWARE
148c2ecf20Sopenharmony_ci(INCLUDING ANY MODIFIED VERSIONS THEREOF) and any accompanying written materials.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciTo the maximum extent permitted by applicable law,
178c2ecf20Sopenharmony_ciIN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
188c2ecf20Sopenharmony_ci(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
198c2ecf20Sopenharmony_ciBUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS)
208c2ecf20Sopenharmony_ciARISING OF THE USE OR INABILITY TO USE THE SOFTWARE.
218c2ecf20Sopenharmony_ciMotorola assumes no responsibility for the maintenance and support of the SOFTWARE.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciYou are hereby granted a copyright license to use, modify, and distribute the SOFTWARE
248c2ecf20Sopenharmony_ciso long as this entire notice is retained without alteration in any modified and/or
258c2ecf20Sopenharmony_ciredistributed versions, and that such modified versions are clearly identified as such.
268c2ecf20Sopenharmony_ciNo licenses are granted by implication, estoppel or otherwise under any patents
278c2ecf20Sopenharmony_cior trademarks of Motorola, Inc.
288c2ecf20Sopenharmony_ci~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298c2ecf20Sopenharmony_ci#############################################
308c2ecf20Sopenharmony_ciset	SREGS,		-64
318c2ecf20Sopenharmony_ciset	IREGS,		-128
328c2ecf20Sopenharmony_ciset	SCCR,		-130
338c2ecf20Sopenharmony_ciset	ICCR,		-132
348c2ecf20Sopenharmony_ciset	TESTCTR,	-136
358c2ecf20Sopenharmony_ciset	EAMEM,		-140
368c2ecf20Sopenharmony_ciset	EASTORE,	-144
378c2ecf20Sopenharmony_ciset	DATA,		-160
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci#############################################
408c2ecf20Sopenharmony_ciTESTTOP:
418c2ecf20Sopenharmony_ci	bra.l		_060TESTS_
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_cistart_str:
448c2ecf20Sopenharmony_ci	string		"Testing 68060 ISP started:\n"
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_cipass_str:
478c2ecf20Sopenharmony_ci	string		"passed\n"
488c2ecf20Sopenharmony_cifail_str:
498c2ecf20Sopenharmony_ci	string		" failed\n"
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci	align		0x4
528c2ecf20Sopenharmony_cichk_test:
538c2ecf20Sopenharmony_ci	tst.l		%d0
548c2ecf20Sopenharmony_ci	bne.b		test_fail
558c2ecf20Sopenharmony_citest_pass:
568c2ecf20Sopenharmony_ci	pea		pass_str(%pc)
578c2ecf20Sopenharmony_ci	bsr.l		_print_str
588c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
598c2ecf20Sopenharmony_ci	rts
608c2ecf20Sopenharmony_citest_fail:
618c2ecf20Sopenharmony_ci	mov.l		%d1,-(%sp)
628c2ecf20Sopenharmony_ci	bsr.l		_print_num
638c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci	pea		fail_str(%pc)
668c2ecf20Sopenharmony_ci	bsr.l		_print_str
678c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
688c2ecf20Sopenharmony_ci	rts
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci#############################################
718c2ecf20Sopenharmony_ci_060TESTS_:
728c2ecf20Sopenharmony_ci	link		%a6,&-160
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci	movm.l		&0x3f3c,-(%sp)
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci	pea		start_str(%pc)
778c2ecf20Sopenharmony_ci	bsr.l		_print_str
788c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci### mul
818c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
828c2ecf20Sopenharmony_ci	pea		mulul_str(%pc)
838c2ecf20Sopenharmony_ci	bsr.l		_print_str
848c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci	bsr.l		mulul_0
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci	bsr.l		chk_test
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ci### div
918c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
928c2ecf20Sopenharmony_ci	pea		divul_str(%pc)
938c2ecf20Sopenharmony_ci	bsr.l		_print_str
948c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci	bsr.l		divul_0
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci	bsr.l		chk_test
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci### cmp2
1018c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
1028c2ecf20Sopenharmony_ci	pea		cmp2_str(%pc)
1038c2ecf20Sopenharmony_ci	bsr.l		_print_str
1048c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci	bsr.l		cmp2_1
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci	bsr.l		chk_test
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci### movp
1118c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
1128c2ecf20Sopenharmony_ci	pea		movp_str(%pc)
1138c2ecf20Sopenharmony_ci	bsr.l		_print_str
1148c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ci	bsr.l		movp_0
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ci	bsr.l		chk_test
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci### ea
1218c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
1228c2ecf20Sopenharmony_ci	pea		ea_str(%pc)
1238c2ecf20Sopenharmony_ci	bsr.l		_print_str
1248c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci	mov.l		&0x2,EAMEM(%a6)
1278c2ecf20Sopenharmony_ci	bsr.l		ea_0
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci	bsr.l		chk_test
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ci### cas
1328c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
1338c2ecf20Sopenharmony_ci	pea		cas_str(%pc)
1348c2ecf20Sopenharmony_ci	bsr.l		_print_str
1358c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ci	bsr.l		cas0
1388c2ecf20Sopenharmony_ci
1398c2ecf20Sopenharmony_ci	bsr.l		chk_test
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ci### cas2
1428c2ecf20Sopenharmony_ci	clr.l		TESTCTR(%a6)
1438c2ecf20Sopenharmony_ci	pea		cas2_str(%pc)
1448c2ecf20Sopenharmony_ci	bsr.l		_print_str
1458c2ecf20Sopenharmony_ci	addq.l		&0x4,%sp
1468c2ecf20Sopenharmony_ci
1478c2ecf20Sopenharmony_ci	bsr.l		cas20
1488c2ecf20Sopenharmony_ci
1498c2ecf20Sopenharmony_ci	bsr.l		chk_test
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci###
1528c2ecf20Sopenharmony_ci	movm.l		(%sp)+,&0x3cfc
1538c2ecf20Sopenharmony_ci
1548c2ecf20Sopenharmony_ci	unlk		%a6
1558c2ecf20Sopenharmony_ci	rts
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_ci#############################################
1588c2ecf20Sopenharmony_ci#############################################
1598c2ecf20Sopenharmony_ci
1608c2ecf20Sopenharmony_cimulul_str:
1618c2ecf20Sopenharmony_ci	string		"\t64-bit multiply..."
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ci	align		0x4
1648c2ecf20Sopenharmony_cimulul_0:
1658c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_ci	clr.l		%d1
1708c2ecf20Sopenharmony_ci	mov.l		&0x99999999,%d2
1718c2ecf20Sopenharmony_ci	mov.l		&0x88888888,%d3
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
1748c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
1758c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ci	mulu.l		%d1,%d2:%d3
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
1808c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
1818c2ecf20Sopenharmony_ci	clr.l		IREGS+0x8(%a6)
1828c2ecf20Sopenharmony_ci	clr.l		IREGS+0xc(%a6)
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ci	bsr.l		chkregs
1858c2ecf20Sopenharmony_ci	tst.b		%d0
1868c2ecf20Sopenharmony_ci	bne.l		error
1878c2ecf20Sopenharmony_ci
1888c2ecf20Sopenharmony_cimulul_1:
1898c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
1908c2ecf20Sopenharmony_ci
1918c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
1928c2ecf20Sopenharmony_ci
1938c2ecf20Sopenharmony_ci	mov.l		&0x77777777,%d1
1948c2ecf20Sopenharmony_ci	mov.l		&0x99999999,%d2
1958c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d3
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
1988c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
1998c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ci	mulu.l		%d1,%d2:%d3
2028c2ecf20Sopenharmony_ci
2038c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
2048c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
2058c2ecf20Sopenharmony_ci	clr.l		IREGS+0x8(%a6)
2068c2ecf20Sopenharmony_ci	clr.l		IREGS+0xc(%a6)
2078c2ecf20Sopenharmony_ci
2088c2ecf20Sopenharmony_ci	bsr.l		chkregs
2098c2ecf20Sopenharmony_ci	tst.b		%d0
2108c2ecf20Sopenharmony_ci	bne.l		error
2118c2ecf20Sopenharmony_ci
2128c2ecf20Sopenharmony_cimulul_2:
2138c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
2148c2ecf20Sopenharmony_ci
2158c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
2168c2ecf20Sopenharmony_ci
2178c2ecf20Sopenharmony_ci	mov.l		&0x00000010,%d1
2188c2ecf20Sopenharmony_ci	mov.l		&0x66666666,%d2
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
2218c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
2228c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
2238c2ecf20Sopenharmony_ci
2248c2ecf20Sopenharmony_ci	mulu.l		%d1,%d2:%d2
2258c2ecf20Sopenharmony_ci
2268c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
2278c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
2288c2ecf20Sopenharmony_ci	mov.l		&0x00000006,IREGS+0x8(%a6)
2298c2ecf20Sopenharmony_ci
2308c2ecf20Sopenharmony_ci	bsr.l		chkregs
2318c2ecf20Sopenharmony_ci	tst.b		%d0
2328c2ecf20Sopenharmony_ci	bne.l		error
2338c2ecf20Sopenharmony_ci
2348c2ecf20Sopenharmony_cimulul_3:
2358c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
2388c2ecf20Sopenharmony_ci
2398c2ecf20Sopenharmony_ci	mov.l		&0x55555555,%d1
2408c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
2418c2ecf20Sopenharmony_ci	mov.l		&0x00000003,%d3
2428c2ecf20Sopenharmony_ci
2438c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
2448c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
2458c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
2468c2ecf20Sopenharmony_ci
2478c2ecf20Sopenharmony_ci	mulu.l		%d1,%d2:%d3
2488c2ecf20Sopenharmony_ci
2498c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
2508c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
2518c2ecf20Sopenharmony_ci	mov.l		&0x00000000,IREGS+0x8(%a6)
2528c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,IREGS+0xc(%a6)
2538c2ecf20Sopenharmony_ci
2548c2ecf20Sopenharmony_ci	bsr.l		chkregs
2558c2ecf20Sopenharmony_ci	tst.b		%d0
2568c2ecf20Sopenharmony_ci	bne.l		error
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_cimulul_4:
2598c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
2608c2ecf20Sopenharmony_ci
2618c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
2628c2ecf20Sopenharmony_ci
2638c2ecf20Sopenharmony_ci	mov.l		&0x40000000,%d1
2648c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
2658c2ecf20Sopenharmony_ci	mov.l		&0x00000004,%d3
2668c2ecf20Sopenharmony_ci
2678c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
2688c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
2698c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
2708c2ecf20Sopenharmony_ci
2718c2ecf20Sopenharmony_ci	mulu.l		%d1,%d2:%d3
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
2748c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
2758c2ecf20Sopenharmony_ci	mov.l		&0x00000001,IREGS+0x8(%a6)
2768c2ecf20Sopenharmony_ci	mov.l		&0x00000000,IREGS+0xc(%a6)
2778c2ecf20Sopenharmony_ci
2788c2ecf20Sopenharmony_ci	bsr.l		chkregs
2798c2ecf20Sopenharmony_ci	tst.b		%d0
2808c2ecf20Sopenharmony_ci	bne.l		error
2818c2ecf20Sopenharmony_ci
2828c2ecf20Sopenharmony_cimulul_5:
2838c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
2868c2ecf20Sopenharmony_ci
2878c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d1
2888c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
2898c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d3
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ci	mov.w		&0x0008,ICCR(%a6)
2928c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
2938c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
2948c2ecf20Sopenharmony_ci
2958c2ecf20Sopenharmony_ci	mulu.l		%d1,%d2:%d3
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
2988c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
2998c2ecf20Sopenharmony_ci	mov.l		&0xfffffffe,IREGS+0x8(%a6)
3008c2ecf20Sopenharmony_ci	mov.l		&0x00000001,IREGS+0xc(%a6)
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ci	bsr.l		chkregs
3038c2ecf20Sopenharmony_ci	tst.b		%d0
3048c2ecf20Sopenharmony_ci	bne.l		error
3058c2ecf20Sopenharmony_ci
3068c2ecf20Sopenharmony_cimulul_6:
3078c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
3108c2ecf20Sopenharmony_ci
3118c2ecf20Sopenharmony_ci	mov.l		&0x80000000,%d1
3128c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
3138c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d3
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ci	mov.w		&0x00000,ICCR(%a6)
3168c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
3178c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
3188c2ecf20Sopenharmony_ci
3198c2ecf20Sopenharmony_ci	muls.l		%d1,%d2:%d3
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
3228c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
3238c2ecf20Sopenharmony_ci	mov.l		&0x00000000,IREGS+0x8(%a6)
3248c2ecf20Sopenharmony_ci	mov.l		&0x80000000,IREGS+0xc(%a6)
3258c2ecf20Sopenharmony_ci
3268c2ecf20Sopenharmony_ci	bsr.l		chkregs
3278c2ecf20Sopenharmony_ci	tst.b		%d0
3288c2ecf20Sopenharmony_ci	bne.l		error
3298c2ecf20Sopenharmony_ci
3308c2ecf20Sopenharmony_cimulul_7:
3318c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
3348c2ecf20Sopenharmony_ci
3358c2ecf20Sopenharmony_ci	mov.l		&0x80000000,%d1
3368c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
3378c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d3
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ci	mov.w		&0x0008,ICCR(%a6)
3408c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
3418c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
3428c2ecf20Sopenharmony_ci
3438c2ecf20Sopenharmony_ci	muls.l		%d1,%d2:%d3
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
3468c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
3478c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,IREGS+0x8(%a6)
3488c2ecf20Sopenharmony_ci	mov.l		&0x80000000,IREGS+0xc(%a6)
3498c2ecf20Sopenharmony_ci
3508c2ecf20Sopenharmony_ci	bsr.l		chkregs
3518c2ecf20Sopenharmony_ci	tst.b		%d0
3528c2ecf20Sopenharmony_ci	bne.l		error
3538c2ecf20Sopenharmony_ci
3548c2ecf20Sopenharmony_cimulul_8:
3558c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
3568c2ecf20Sopenharmony_ci
3578c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
3588c2ecf20Sopenharmony_ci
3598c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d1
3608c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
3618c2ecf20Sopenharmony_ci	mov.l		&0x80000000,%d3
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ci	mov.w		&0x0008,ICCR(%a6)
3648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
3658c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
3668c2ecf20Sopenharmony_ci
3678c2ecf20Sopenharmony_ci	muls.l		%d1,%d2:%d3
3688c2ecf20Sopenharmony_ci
3698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
3708c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
3718c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,IREGS+0x8(%a6)
3728c2ecf20Sopenharmony_ci	mov.l		&0x80000000,IREGS+0xc(%a6)
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_ci	bsr.l		chkregs
3758c2ecf20Sopenharmony_ci	tst.b		%d0
3768c2ecf20Sopenharmony_ci	bne.l		error
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
3798c2ecf20Sopenharmony_ci	clr.l		%d0
3808c2ecf20Sopenharmony_ci	rts
3818c2ecf20Sopenharmony_ci
3828c2ecf20Sopenharmony_ci#############################################
3838c2ecf20Sopenharmony_ci
3848c2ecf20Sopenharmony_cimovp_str:
3858c2ecf20Sopenharmony_ci	string	"\tmovep..."
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ci	align	0x4
3888c2ecf20Sopenharmony_ci###############################
3898c2ecf20Sopenharmony_ci# movep.w	%d0,(0x0,%a0) #
3908c2ecf20Sopenharmony_ci###############################
3918c2ecf20Sopenharmony_cimovp_0:
3928c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
3938c2ecf20Sopenharmony_ci
3948c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
3958c2ecf20Sopenharmony_ci
3968c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
3978c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d0
3988c2ecf20Sopenharmony_ci	clr.b	0x0(%a0)
3998c2ecf20Sopenharmony_ci	clr.b	0x2(%a0)
4008c2ecf20Sopenharmony_ci
4018c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
4028c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
4038c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
4048c2ecf20Sopenharmony_ci
4058c2ecf20Sopenharmony_ci	movp.w	%d0,(0x0,%a0)
4068c2ecf20Sopenharmony_ci
4078c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
4088c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
4098c2ecf20Sopenharmony_ci
4108c2ecf20Sopenharmony_ci	mov.b	0x2(%a0),%d1
4118c2ecf20Sopenharmony_ci	lsl.w	&0x8,%d1
4128c2ecf20Sopenharmony_ci	mov.b	0x0(%a0),%d1
4138c2ecf20Sopenharmony_ci
4148c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
4158c2ecf20Sopenharmony_ci	bne.l	error
4168c2ecf20Sopenharmony_ci
4178c2ecf20Sopenharmony_ci	bsr.l	chkregs
4188c2ecf20Sopenharmony_ci	tst.b	%d0
4198c2ecf20Sopenharmony_ci	bne.l	error
4208c2ecf20Sopenharmony_ci
4218c2ecf20Sopenharmony_ci###############################
4228c2ecf20Sopenharmony_ci# movep.w	%d0,(0x0,%a0) #
4238c2ecf20Sopenharmony_ci###############################
4248c2ecf20Sopenharmony_cimovp_1:
4258c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
4268c2ecf20Sopenharmony_ci
4278c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ci	lea	DATA+0x4(%a6),%a0
4308c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d0
4318c2ecf20Sopenharmony_ci	clr.l	-0x4(%a0)
4328c2ecf20Sopenharmony_ci	clr.l	(%a0)
4338c2ecf20Sopenharmony_ci	clr.l	0x4(%a0)
4348c2ecf20Sopenharmony_ci
4358c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
4368c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
4378c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
4388c2ecf20Sopenharmony_ci
4398c2ecf20Sopenharmony_ci	movp.w	%d0,(0x0,%a0)
4408c2ecf20Sopenharmony_ci
4418c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
4428c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ci	tst.l	-0x4(%a0)
4458c2ecf20Sopenharmony_ci	bne.l	error
4468c2ecf20Sopenharmony_ci	tst.l	0x4(%a0)
4478c2ecf20Sopenharmony_ci	bne.l	error
4488c2ecf20Sopenharmony_ci	cmpi.l	(%a0),&0xaa00aa00
4498c2ecf20Sopenharmony_ci	bne.l	error
4508c2ecf20Sopenharmony_ci
4518c2ecf20Sopenharmony_ci	bsr.l	chkregs
4528c2ecf20Sopenharmony_ci	tst.b	%d0
4538c2ecf20Sopenharmony_ci	bne.l	error
4548c2ecf20Sopenharmony_ci
4558c2ecf20Sopenharmony_ci#####################################################
4568c2ecf20Sopenharmony_ci# movep.w	%d0,(0x0,%a0)			    #
4578c2ecf20Sopenharmony_ci#	- this test has %cc initially equal to zero #
4588c2ecf20Sopenharmony_ci#####################################################
4598c2ecf20Sopenharmony_cimovp_2:
4608c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
4618c2ecf20Sopenharmony_ci
4628c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
4658c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d0
4668c2ecf20Sopenharmony_ci	clr.b	0x0(%a0)
4678c2ecf20Sopenharmony_ci	clr.b	0x2(%a0)
4688c2ecf20Sopenharmony_ci
4698c2ecf20Sopenharmony_ci	mov.w	&0x0000,ICCR(%a6)
4708c2ecf20Sopenharmony_ci	mov.w	&0x0000,%cc
4718c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
4728c2ecf20Sopenharmony_ci
4738c2ecf20Sopenharmony_ci	movp.w	%d0,(0x0,%a0)
4748c2ecf20Sopenharmony_ci
4758c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
4768c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
4778c2ecf20Sopenharmony_ci
4788c2ecf20Sopenharmony_ci	mov.b	0x2(%a0),%d1
4798c2ecf20Sopenharmony_ci	lsl.w	&0x8,%d1
4808c2ecf20Sopenharmony_ci	mov.b	0x0(%a0),%d1
4818c2ecf20Sopenharmony_ci
4828c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
4838c2ecf20Sopenharmony_ci	bne.l	error
4848c2ecf20Sopenharmony_ci
4858c2ecf20Sopenharmony_ci	bsr.l	chkregs
4868c2ecf20Sopenharmony_ci	tst.b	%d0
4878c2ecf20Sopenharmony_ci	bne.l	error
4888c2ecf20Sopenharmony_ci
4898c2ecf20Sopenharmony_ci###############################
4908c2ecf20Sopenharmony_ci# movep.w	(0x0,%a0),%d0 #
4918c2ecf20Sopenharmony_ci###############################
4928c2ecf20Sopenharmony_cimovp_3:
4938c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
4948c2ecf20Sopenharmony_ci
4958c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
4968c2ecf20Sopenharmony_ci
4978c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
4988c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0(%a0)
4998c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2(%a0)
5008c2ecf20Sopenharmony_ci
5018c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
5028c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
5038c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
5048c2ecf20Sopenharmony_ci
5058c2ecf20Sopenharmony_ci	movp.w	(0x0,%a0),%d0
5068c2ecf20Sopenharmony_ci
5078c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
5088c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
5098c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,IREGS+0x2(%a6)
5108c2ecf20Sopenharmony_ci
5118c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d1
5128c2ecf20Sopenharmony_ci
5138c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
5148c2ecf20Sopenharmony_ci	bne.l	error
5158c2ecf20Sopenharmony_ci
5168c2ecf20Sopenharmony_ci	bsr.l	chkregs
5178c2ecf20Sopenharmony_ci	tst.b	%d0
5188c2ecf20Sopenharmony_ci	bne.l	error
5198c2ecf20Sopenharmony_ci
5208c2ecf20Sopenharmony_ci###############################
5218c2ecf20Sopenharmony_ci# movep.l	%d0,(0x0,%a0) #
5228c2ecf20Sopenharmony_ci###############################
5238c2ecf20Sopenharmony_cimovp_4:
5248c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
5258c2ecf20Sopenharmony_ci
5268c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
5278c2ecf20Sopenharmony_ci
5288c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
5298c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d0
5308c2ecf20Sopenharmony_ci	clr.b	0x0(%a0)
5318c2ecf20Sopenharmony_ci	clr.b	0x2(%a0)
5328c2ecf20Sopenharmony_ci	clr.b	0x4(%a0)
5338c2ecf20Sopenharmony_ci	clr.b	0x6(%a0)
5348c2ecf20Sopenharmony_ci
5358c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
5368c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
5378c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
5388c2ecf20Sopenharmony_ci
5398c2ecf20Sopenharmony_ci	movp.l	%d0,(0x0,%a0)
5408c2ecf20Sopenharmony_ci
5418c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
5428c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
5438c2ecf20Sopenharmony_ci
5448c2ecf20Sopenharmony_ci	mov.b	0x6(%a0),%d1
5458c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
5468c2ecf20Sopenharmony_ci	mov.b	0x4(%a0),%d1
5478c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
5488c2ecf20Sopenharmony_ci	mov.b	0x2(%a0),%d1
5498c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
5508c2ecf20Sopenharmony_ci	mov.b	0x0(%a0),%d1
5518c2ecf20Sopenharmony_ci
5528c2ecf20Sopenharmony_ci	cmp.l	%d0,%d1
5538c2ecf20Sopenharmony_ci	bne.l	error
5548c2ecf20Sopenharmony_ci
5558c2ecf20Sopenharmony_ci	bsr.l	chkregs
5568c2ecf20Sopenharmony_ci	tst.b	%d0
5578c2ecf20Sopenharmony_ci	bne.l	error
5588c2ecf20Sopenharmony_ci
5598c2ecf20Sopenharmony_ci###############################
5608c2ecf20Sopenharmony_ci# movep.l	%d0,(0x0,%a0) #
5618c2ecf20Sopenharmony_ci###############################
5628c2ecf20Sopenharmony_cimovp_5:
5638c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
5648c2ecf20Sopenharmony_ci
5658c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_ci	lea	DATA+0x4(%a6),%a0
5688c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d0
5698c2ecf20Sopenharmony_ci	clr.l	-0x4(%a0)
5708c2ecf20Sopenharmony_ci	clr.l	(%a0)
5718c2ecf20Sopenharmony_ci	clr.l	0x4(%a0)
5728c2ecf20Sopenharmony_ci	clr.l	0x8(%a0)
5738c2ecf20Sopenharmony_ci
5748c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
5758c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
5768c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
5778c2ecf20Sopenharmony_ci
5788c2ecf20Sopenharmony_ci	movp.l	%d0,(0x0,%a0)
5798c2ecf20Sopenharmony_ci
5808c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
5818c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
5828c2ecf20Sopenharmony_ci
5838c2ecf20Sopenharmony_ci	tst.l	-0x4(%a0)
5848c2ecf20Sopenharmony_ci	bne.l	error
5858c2ecf20Sopenharmony_ci	tst.l	0x8(%a0)
5868c2ecf20Sopenharmony_ci	bne.l	error
5878c2ecf20Sopenharmony_ci	cmpi.l	(%a0),&0xaa00aa00
5888c2ecf20Sopenharmony_ci	bne.l	error
5898c2ecf20Sopenharmony_ci	cmpi.l	0x4(%a0),&0xaa00aa00
5908c2ecf20Sopenharmony_ci	bne.l	error
5918c2ecf20Sopenharmony_ci
5928c2ecf20Sopenharmony_ci	bsr.l	chkregs
5938c2ecf20Sopenharmony_ci	tst.b	%d0
5948c2ecf20Sopenharmony_ci	bne.l	error
5958c2ecf20Sopenharmony_ci
5968c2ecf20Sopenharmony_ci###############################
5978c2ecf20Sopenharmony_ci# movep.l	(0x0,%a0),%d0 #
5988c2ecf20Sopenharmony_ci###############################
5998c2ecf20Sopenharmony_cimovp_6:
6008c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
6018c2ecf20Sopenharmony_ci
6028c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
6038c2ecf20Sopenharmony_ci
6048c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
6058c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0(%a0)
6068c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2(%a0)
6078c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x4(%a0)
6088c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x6(%a0)
6098c2ecf20Sopenharmony_ci
6108c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
6118c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
6128c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
6138c2ecf20Sopenharmony_ci
6148c2ecf20Sopenharmony_ci	movp.l	(0x0,%a0),%d0
6158c2ecf20Sopenharmony_ci
6168c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
6178c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
6188c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,IREGS(%a6)
6198c2ecf20Sopenharmony_ci
6208c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d1
6218c2ecf20Sopenharmony_ci
6228c2ecf20Sopenharmony_ci	cmp.l	%d0,%d1
6238c2ecf20Sopenharmony_ci	bne.l	error
6248c2ecf20Sopenharmony_ci
6258c2ecf20Sopenharmony_ci	bsr.l	chkregs
6268c2ecf20Sopenharmony_ci	tst.b	%d0
6278c2ecf20Sopenharmony_ci	bne.l	error
6288c2ecf20Sopenharmony_ci
6298c2ecf20Sopenharmony_ci###############################
6308c2ecf20Sopenharmony_ci# movep.w	%d7,(0x0,%a0) #
6318c2ecf20Sopenharmony_ci###############################
6328c2ecf20Sopenharmony_cimovp_7:
6338c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
6348c2ecf20Sopenharmony_ci
6358c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
6368c2ecf20Sopenharmony_ci
6378c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
6388c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d7
6398c2ecf20Sopenharmony_ci	clr.b	0x0(%a0)
6408c2ecf20Sopenharmony_ci	clr.b	0x2(%a0)
6418c2ecf20Sopenharmony_ci
6428c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
6438c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
6448c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
6458c2ecf20Sopenharmony_ci
6468c2ecf20Sopenharmony_ci	movp.w	%d7,(0x0,%a0)
6478c2ecf20Sopenharmony_ci
6488c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
6498c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
6508c2ecf20Sopenharmony_ci
6518c2ecf20Sopenharmony_ci	mov.b	0x2(%a0),%d1
6528c2ecf20Sopenharmony_ci	lsl.w	&0x8,%d1
6538c2ecf20Sopenharmony_ci	mov.b	0x0(%a0),%d1
6548c2ecf20Sopenharmony_ci
6558c2ecf20Sopenharmony_ci	cmp.w	%d7,%d1
6568c2ecf20Sopenharmony_ci	bne.l	error
6578c2ecf20Sopenharmony_ci
6588c2ecf20Sopenharmony_ci	bsr.l	chkregs
6598c2ecf20Sopenharmony_ci	tst.b	%d0
6608c2ecf20Sopenharmony_ci	bne.l	error
6618c2ecf20Sopenharmony_ci
6628c2ecf20Sopenharmony_ci###############################
6638c2ecf20Sopenharmony_ci# movep.w	(0x0,%a0),%d7 #
6648c2ecf20Sopenharmony_ci###############################
6658c2ecf20Sopenharmony_cimovp_8:
6668c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
6678c2ecf20Sopenharmony_ci
6688c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
6698c2ecf20Sopenharmony_ci
6708c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
6718c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0(%a0)
6728c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2(%a0)
6738c2ecf20Sopenharmony_ci
6748c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
6758c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
6768c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
6778c2ecf20Sopenharmony_ci
6788c2ecf20Sopenharmony_ci	movp.w	(0x0,%a0),%d7
6798c2ecf20Sopenharmony_ci
6808c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
6818c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
6828c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,IREGS+30(%a6)
6838c2ecf20Sopenharmony_ci
6848c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d1
6858c2ecf20Sopenharmony_ci
6868c2ecf20Sopenharmony_ci	cmp.w	%d7,%d1
6878c2ecf20Sopenharmony_ci	bne.l	error
6888c2ecf20Sopenharmony_ci
6898c2ecf20Sopenharmony_ci	bsr.l	chkregs
6908c2ecf20Sopenharmony_ci	tst.b	%d0
6918c2ecf20Sopenharmony_ci	bne.l	error
6928c2ecf20Sopenharmony_ci
6938c2ecf20Sopenharmony_ci###############################
6948c2ecf20Sopenharmony_ci# movep.w	%d0,(0x0,%a0) #
6958c2ecf20Sopenharmony_ci###############################
6968c2ecf20Sopenharmony_cimovp_9:
6978c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
6988c2ecf20Sopenharmony_ci
6998c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
7008c2ecf20Sopenharmony_ci
7018c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
7028c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d0
7038c2ecf20Sopenharmony_ci	clr.b	0x0(%a0)
7048c2ecf20Sopenharmony_ci	clr.b	0x2(%a0)
7058c2ecf20Sopenharmony_ci
7068c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
7078c2ecf20Sopenharmony_ci	mov.w	&0x001f,%cc
7088c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
7098c2ecf20Sopenharmony_ci
7108c2ecf20Sopenharmony_ci	movp.w	%d0,(0x0,%a0)
7118c2ecf20Sopenharmony_ci
7128c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
7138c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
7148c2ecf20Sopenharmony_ci
7158c2ecf20Sopenharmony_ci	mov.b	0x2(%a0),%d1
7168c2ecf20Sopenharmony_ci	lsl.w	&0x8,%d1
7178c2ecf20Sopenharmony_ci	mov.b	0x0(%a0),%d1
7188c2ecf20Sopenharmony_ci
7198c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
7208c2ecf20Sopenharmony_ci	bne.l	error
7218c2ecf20Sopenharmony_ci
7228c2ecf20Sopenharmony_ci	bsr.l	chkregs
7238c2ecf20Sopenharmony_ci	tst.b	%d0
7248c2ecf20Sopenharmony_ci	bne.l	error
7258c2ecf20Sopenharmony_ci
7268c2ecf20Sopenharmony_ci###############################
7278c2ecf20Sopenharmony_ci# movep.w	%d0,(0x8,%a0) #
7288c2ecf20Sopenharmony_ci###############################
7298c2ecf20Sopenharmony_cimovp_10:
7308c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
7318c2ecf20Sopenharmony_ci
7328c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
7338c2ecf20Sopenharmony_ci
7348c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
7358c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d0
7368c2ecf20Sopenharmony_ci	clr.b	0x0+0x8(%a0)
7378c2ecf20Sopenharmony_ci	clr.b	0x2+0x8(%a0)
7388c2ecf20Sopenharmony_ci
7398c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
7408c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
7418c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
7428c2ecf20Sopenharmony_ci
7438c2ecf20Sopenharmony_ci	movp.w	%d0,(0x8,%a0)
7448c2ecf20Sopenharmony_ci
7458c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
7468c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
7478c2ecf20Sopenharmony_ci
7488c2ecf20Sopenharmony_ci	mov.b	0x2+0x8(%a0),%d1
7498c2ecf20Sopenharmony_ci	lsl.w	&0x8,%d1
7508c2ecf20Sopenharmony_ci	mov.b	0x0+0x8(%a0),%d1
7518c2ecf20Sopenharmony_ci
7528c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
7538c2ecf20Sopenharmony_ci	bne.l	error
7548c2ecf20Sopenharmony_ci
7558c2ecf20Sopenharmony_ci	bsr.l	chkregs
7568c2ecf20Sopenharmony_ci	tst.b	%d0
7578c2ecf20Sopenharmony_ci	bne.l	error
7588c2ecf20Sopenharmony_ci
7598c2ecf20Sopenharmony_ci###############################
7608c2ecf20Sopenharmony_ci# movep.w	(0x8,%a0),%d0 #
7618c2ecf20Sopenharmony_ci###############################
7628c2ecf20Sopenharmony_cimovp_11:
7638c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
7648c2ecf20Sopenharmony_ci
7658c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
7668c2ecf20Sopenharmony_ci
7678c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
7688c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0+0x8(%a0)
7698c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2+0x8(%a0)
7708c2ecf20Sopenharmony_ci
7718c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
7728c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
7738c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
7748c2ecf20Sopenharmony_ci
7758c2ecf20Sopenharmony_ci	movp.w	(0x8,%a0),%d0
7768c2ecf20Sopenharmony_ci
7778c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
7788c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
7798c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,IREGS+0x2(%a6)
7808c2ecf20Sopenharmony_ci
7818c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d1
7828c2ecf20Sopenharmony_ci
7838c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
7848c2ecf20Sopenharmony_ci	bne.l	error
7858c2ecf20Sopenharmony_ci
7868c2ecf20Sopenharmony_ci	bsr.l	chkregs
7878c2ecf20Sopenharmony_ci	tst.b	%d0
7888c2ecf20Sopenharmony_ci	bne.l	error
7898c2ecf20Sopenharmony_ci
7908c2ecf20Sopenharmony_ci###############################
7918c2ecf20Sopenharmony_ci# movep.l	%d0,(0x8,%a0) #
7928c2ecf20Sopenharmony_ci###############################
7938c2ecf20Sopenharmony_cimovp_12:
7948c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
7958c2ecf20Sopenharmony_ci
7968c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
7978c2ecf20Sopenharmony_ci
7988c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
7998c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d0
8008c2ecf20Sopenharmony_ci	clr.b	0x0+0x8(%a0)
8018c2ecf20Sopenharmony_ci	clr.b	0x2+0x8(%a0)
8028c2ecf20Sopenharmony_ci	clr.b	0x4+0x8(%a0)
8038c2ecf20Sopenharmony_ci	clr.b	0x6+0x8(%a0)
8048c2ecf20Sopenharmony_ci
8058c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
8068c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
8078c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
8088c2ecf20Sopenharmony_ci
8098c2ecf20Sopenharmony_ci	movp.l	%d0,(0x8,%a0)
8108c2ecf20Sopenharmony_ci
8118c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
8128c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
8138c2ecf20Sopenharmony_ci
8148c2ecf20Sopenharmony_ci	mov.b	0x6+0x8(%a0),%d1
8158c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
8168c2ecf20Sopenharmony_ci	mov.b	0x4+0x8(%a0),%d1
8178c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
8188c2ecf20Sopenharmony_ci	mov.b	0x2+0x8(%a0),%d1
8198c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
8208c2ecf20Sopenharmony_ci	mov.b	0x0+0x8(%a0),%d1
8218c2ecf20Sopenharmony_ci
8228c2ecf20Sopenharmony_ci	cmp.l	%d0,%d1
8238c2ecf20Sopenharmony_ci	bne.l	error
8248c2ecf20Sopenharmony_ci
8258c2ecf20Sopenharmony_ci	bsr.l	chkregs
8268c2ecf20Sopenharmony_ci	tst.b	%d0
8278c2ecf20Sopenharmony_ci	bne.l	error
8288c2ecf20Sopenharmony_ci
8298c2ecf20Sopenharmony_ci###############################
8308c2ecf20Sopenharmony_ci# movep.l	(0x8,%a0),%d0 #
8318c2ecf20Sopenharmony_ci###############################
8328c2ecf20Sopenharmony_cimovp_13:
8338c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
8348c2ecf20Sopenharmony_ci
8358c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
8368c2ecf20Sopenharmony_ci
8378c2ecf20Sopenharmony_ci	lea	DATA(%a6),%a0
8388c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0+0x8(%a0)
8398c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2+0x8(%a0)
8408c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x4+0x8(%a0)
8418c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x6+0x8(%a0)
8428c2ecf20Sopenharmony_ci
8438c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
8448c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
8458c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
8468c2ecf20Sopenharmony_ci
8478c2ecf20Sopenharmony_ci	movp.l	(0x8,%a0),%d0
8488c2ecf20Sopenharmony_ci
8498c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
8508c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
8518c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,IREGS(%a6)
8528c2ecf20Sopenharmony_ci
8538c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d1
8548c2ecf20Sopenharmony_ci
8558c2ecf20Sopenharmony_ci	cmp.l	%d0,%d1
8568c2ecf20Sopenharmony_ci	bne.l	error
8578c2ecf20Sopenharmony_ci
8588c2ecf20Sopenharmony_ci	bsr.l	chkregs
8598c2ecf20Sopenharmony_ci	tst.b	%d0
8608c2ecf20Sopenharmony_ci	bne.l	error
8618c2ecf20Sopenharmony_ci
8628c2ecf20Sopenharmony_ci################################
8638c2ecf20Sopenharmony_ci# movep.w	%d0,(-0x8,%a0) #
8648c2ecf20Sopenharmony_ci################################
8658c2ecf20Sopenharmony_cimovp_14:
8668c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
8678c2ecf20Sopenharmony_ci
8688c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
8698c2ecf20Sopenharmony_ci
8708c2ecf20Sopenharmony_ci	lea	DATA+0x8(%a6),%a0
8718c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d0
8728c2ecf20Sopenharmony_ci	clr.b	0x0-0x8(%a0)
8738c2ecf20Sopenharmony_ci	clr.b	0x2-0x8(%a0)
8748c2ecf20Sopenharmony_ci
8758c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
8768c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
8778c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
8788c2ecf20Sopenharmony_ci
8798c2ecf20Sopenharmony_ci	movp.w	%d0,(-0x8,%a0)
8808c2ecf20Sopenharmony_ci
8818c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
8828c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
8838c2ecf20Sopenharmony_ci
8848c2ecf20Sopenharmony_ci	mov.b	0x2-0x8(%a0),%d1
8858c2ecf20Sopenharmony_ci	lsl.w	&0x8,%d1
8868c2ecf20Sopenharmony_ci	mov.b	0x0-0x8(%a0),%d1
8878c2ecf20Sopenharmony_ci
8888c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
8898c2ecf20Sopenharmony_ci	bne.l	error
8908c2ecf20Sopenharmony_ci
8918c2ecf20Sopenharmony_ci	bsr.l	chkregs
8928c2ecf20Sopenharmony_ci	tst.b	%d0
8938c2ecf20Sopenharmony_ci	bne.l	error
8948c2ecf20Sopenharmony_ci
8958c2ecf20Sopenharmony_ci################################
8968c2ecf20Sopenharmony_ci# movep.w	(-0x8,%a0),%d0 #
8978c2ecf20Sopenharmony_ci################################
8988c2ecf20Sopenharmony_cimovp_15:
8998c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
9008c2ecf20Sopenharmony_ci
9018c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
9028c2ecf20Sopenharmony_ci
9038c2ecf20Sopenharmony_ci	lea	DATA+0x8(%a6),%a0
9048c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0-0x8(%a0)
9058c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2-0x8(%a0)
9068c2ecf20Sopenharmony_ci
9078c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
9088c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
9098c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
9108c2ecf20Sopenharmony_ci
9118c2ecf20Sopenharmony_ci	movp.w	(-0x8,%a0),%d0
9128c2ecf20Sopenharmony_ci
9138c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
9148c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
9158c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,IREGS+0x2(%a6)
9168c2ecf20Sopenharmony_ci
9178c2ecf20Sopenharmony_ci	mov.w	&0xaaaa,%d1
9188c2ecf20Sopenharmony_ci
9198c2ecf20Sopenharmony_ci	cmp.w	%d0,%d1
9208c2ecf20Sopenharmony_ci	bne.l	error
9218c2ecf20Sopenharmony_ci
9228c2ecf20Sopenharmony_ci	bsr.l	chkregs
9238c2ecf20Sopenharmony_ci	tst.b	%d0
9248c2ecf20Sopenharmony_ci	bne.l	error
9258c2ecf20Sopenharmony_ci
9268c2ecf20Sopenharmony_ci################################
9278c2ecf20Sopenharmony_ci# movep.l	%d0,(-0x8,%a0) #
9288c2ecf20Sopenharmony_ci################################
9298c2ecf20Sopenharmony_cimovp_16:
9308c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
9318c2ecf20Sopenharmony_ci
9328c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
9338c2ecf20Sopenharmony_ci
9348c2ecf20Sopenharmony_ci	lea	DATA+0x8(%a6),%a0
9358c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d0
9368c2ecf20Sopenharmony_ci	clr.b	0x0-0x8(%a0)
9378c2ecf20Sopenharmony_ci	clr.b	0x2-0x8(%a0)
9388c2ecf20Sopenharmony_ci	clr.b	0x4-0x8(%a0)
9398c2ecf20Sopenharmony_ci	clr.b	0x8-0x8(%a0)
9408c2ecf20Sopenharmony_ci
9418c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
9428c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
9438c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
9448c2ecf20Sopenharmony_ci
9458c2ecf20Sopenharmony_ci	movp.l	%d0,(-0x8,%a0)
9468c2ecf20Sopenharmony_ci
9478c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
9488c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
9498c2ecf20Sopenharmony_ci
9508c2ecf20Sopenharmony_ci	mov.b	0x6-0x8(%a0),%d1
9518c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
9528c2ecf20Sopenharmony_ci	mov.b	0x4-0x8(%a0),%d1
9538c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
9548c2ecf20Sopenharmony_ci	mov.b	0x2-0x8(%a0),%d1
9558c2ecf20Sopenharmony_ci	lsl.l	&0x8,%d1
9568c2ecf20Sopenharmony_ci	mov.b	0x0-0x8(%a0),%d1
9578c2ecf20Sopenharmony_ci
9588c2ecf20Sopenharmony_ci	cmp.l	%d0,%d1
9598c2ecf20Sopenharmony_ci	bne.l	error
9608c2ecf20Sopenharmony_ci
9618c2ecf20Sopenharmony_ci	bsr.l	chkregs
9628c2ecf20Sopenharmony_ci	tst.b	%d0
9638c2ecf20Sopenharmony_ci	bne.l	error
9648c2ecf20Sopenharmony_ci
9658c2ecf20Sopenharmony_ci################################
9668c2ecf20Sopenharmony_ci# movep.l	(-0x8,%a0),%d0 #
9678c2ecf20Sopenharmony_ci################################
9688c2ecf20Sopenharmony_cimovp_17:
9698c2ecf20Sopenharmony_ci	addq.l	&0x1,TESTCTR(%a6)
9708c2ecf20Sopenharmony_ci
9718c2ecf20Sopenharmony_ci	movm.l	DEF_REGS(%pc),&0x3fff
9728c2ecf20Sopenharmony_ci
9738c2ecf20Sopenharmony_ci	lea	DATA+0x8(%a6),%a0
9748c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x0-0x8(%a0)
9758c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x2-0x8(%a0)
9768c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x4-0x8(%a0)
9778c2ecf20Sopenharmony_ci	mov.b	&0xaa,0x8-0x8(%a0)
9788c2ecf20Sopenharmony_ci
9798c2ecf20Sopenharmony_ci	mov.w	&0x001f,ICCR(%a6)
9808c2ecf20Sopenharmony_ci	mov.w	&0x1f,%cc
9818c2ecf20Sopenharmony_ci	movm.l	&0x7fff,IREGS(%a6)
9828c2ecf20Sopenharmony_ci
9838c2ecf20Sopenharmony_ci	movp.l	(-0x8,%a0),%d0
9848c2ecf20Sopenharmony_ci
9858c2ecf20Sopenharmony_ci	mov.w	%cc,SCCR(%a6)
9868c2ecf20Sopenharmony_ci	movm.l	&0x7fff,SREGS(%a6)
9878c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,IREGS(%a6)
9888c2ecf20Sopenharmony_ci
9898c2ecf20Sopenharmony_ci	mov.l	&0xaaaaaaaa,%d1
9908c2ecf20Sopenharmony_ci
9918c2ecf20Sopenharmony_ci	cmp.l	%d0,%d1
9928c2ecf20Sopenharmony_ci	bne.l	error
9938c2ecf20Sopenharmony_ci
9948c2ecf20Sopenharmony_ci	bsr.l	chkregs
9958c2ecf20Sopenharmony_ci	tst.b	%d0
9968c2ecf20Sopenharmony_ci	bne.l	error
9978c2ecf20Sopenharmony_ci
9988c2ecf20Sopenharmony_ci	mov.l	TESTCTR(%a6),%d1
9998c2ecf20Sopenharmony_ci	clr.l	%d0
10008c2ecf20Sopenharmony_ci	rts
10018c2ecf20Sopenharmony_ci
10028c2ecf20Sopenharmony_ci###########################################################
10038c2ecf20Sopenharmony_ci
10048c2ecf20Sopenharmony_cidivul_str:
10058c2ecf20Sopenharmony_ci	string		"\t64-bit divide..."
10068c2ecf20Sopenharmony_ci
10078c2ecf20Sopenharmony_ci	align		0x4
10088c2ecf20Sopenharmony_cidivul_0:
10098c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
10108c2ecf20Sopenharmony_ci
10118c2ecf20Sopenharmony_ci#	movm.l		DEF_REGS(%pc),&0x3fff
10128c2ecf20Sopenharmony_ci
10138c2ecf20Sopenharmony_ci#	clr.l		%d1
10148c2ecf20Sopenharmony_ci#	mov.l		&0x99999999,%d2
10158c2ecf20Sopenharmony_ci#	mov.l		&0x88888888,%d3
10168c2ecf20Sopenharmony_ci
10178c2ecf20Sopenharmony_ci#	mov.w		&0x001e,ICCR(%a6)
10188c2ecf20Sopenharmony_ci#	mov.w		&0x001f,%cc
10198c2ecf20Sopenharmony_ci#	movm.l		&0x7fff,IREGS(%a6)
10208c2ecf20Sopenharmony_ci
10218c2ecf20Sopenharmony_ci#	divu.l		%d1,%d2:%d3
10228c2ecf20Sopenharmony_ci
10238c2ecf20Sopenharmony_ci#	mov.w		%cc,SCCR(%a6)
10248c2ecf20Sopenharmony_ci#	movm.l		&0x7fff,SREGS(%a6)
10258c2ecf20Sopenharmony_ci
10268c2ecf20Sopenharmony_ci#	bsr.l		chkregs
10278c2ecf20Sopenharmony_ci#	tst.b		%d0
10288c2ecf20Sopenharmony_ci#	bne.l		error
10298c2ecf20Sopenharmony_ci
10308c2ecf20Sopenharmony_cidivul_1:
10318c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
10328c2ecf20Sopenharmony_ci
10338c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
10348c2ecf20Sopenharmony_ci
10358c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d1
10368c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
10378c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d3
10388c2ecf20Sopenharmony_ci
10398c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
10408c2ecf20Sopenharmony_ci	mov.w		&0x001f,%cc
10418c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
10428c2ecf20Sopenharmony_ci
10438c2ecf20Sopenharmony_ci	divu.l		%d1,%d2:%d3
10448c2ecf20Sopenharmony_ci
10458c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
10468c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
10478c2ecf20Sopenharmony_ci
10488c2ecf20Sopenharmony_ci	bsr.l		chkregs
10498c2ecf20Sopenharmony_ci	tst.b		%d0
10508c2ecf20Sopenharmony_ci	bne.l		error
10518c2ecf20Sopenharmony_ci
10528c2ecf20Sopenharmony_cidivul_2:
10538c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
10548c2ecf20Sopenharmony_ci
10558c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
10568c2ecf20Sopenharmony_ci
10578c2ecf20Sopenharmony_ci	mov.l		&0x44444444,%d1
10588c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
10598c2ecf20Sopenharmony_ci	mov.l		&0x55555555,%d3
10608c2ecf20Sopenharmony_ci
10618c2ecf20Sopenharmony_ci	mov.w		&0x0010,ICCR(%a6)
10628c2ecf20Sopenharmony_ci	mov.w		&0x001f,%cc
10638c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
10648c2ecf20Sopenharmony_ci
10658c2ecf20Sopenharmony_ci	divu.l		%d1,%d2:%d3
10668c2ecf20Sopenharmony_ci
10678c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
10688c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
10698c2ecf20Sopenharmony_ci	mov.l		&0x11111111,IREGS+0x8(%a6)
10708c2ecf20Sopenharmony_ci	mov.l		&0x00000001,IREGS+0xc(%a6)
10718c2ecf20Sopenharmony_ci
10728c2ecf20Sopenharmony_ci	bsr.l		chkregs
10738c2ecf20Sopenharmony_ci	tst.b		%d0
10748c2ecf20Sopenharmony_ci	bne.l		error
10758c2ecf20Sopenharmony_ci
10768c2ecf20Sopenharmony_cidivul_3:
10778c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
10788c2ecf20Sopenharmony_ci
10798c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
10808c2ecf20Sopenharmony_ci
10818c2ecf20Sopenharmony_ci	mov.l		&0x55555555,%d1
10828c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d2
10838c2ecf20Sopenharmony_ci	mov.l		&0x44444444,%d3
10848c2ecf20Sopenharmony_ci
10858c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
10868c2ecf20Sopenharmony_ci	mov.w		&0x001f,%cc
10878c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
10888c2ecf20Sopenharmony_ci
10898c2ecf20Sopenharmony_ci	divu.l		%d1,%d2:%d3
10908c2ecf20Sopenharmony_ci
10918c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
10928c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
10938c2ecf20Sopenharmony_ci	mov.l		&0x44444444,IREGS+0x8(%a6)
10948c2ecf20Sopenharmony_ci	mov.l		&0x00000000,IREGS+0xc(%a6)
10958c2ecf20Sopenharmony_ci
10968c2ecf20Sopenharmony_ci	bsr.l		chkregs
10978c2ecf20Sopenharmony_ci	tst.b		%d0
10988c2ecf20Sopenharmony_ci	bne.l		error
10998c2ecf20Sopenharmony_ci
11008c2ecf20Sopenharmony_cidivul_4:
11018c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
11028c2ecf20Sopenharmony_ci
11038c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
11048c2ecf20Sopenharmony_ci
11058c2ecf20Sopenharmony_ci	mov.l		&0x11111111,%d1
11068c2ecf20Sopenharmony_ci	mov.l		&0x44444444,%d2
11078c2ecf20Sopenharmony_ci	mov.l		&0x44444444,%d3
11088c2ecf20Sopenharmony_ci
11098c2ecf20Sopenharmony_ci	mov.w		&0x001e,ICCR(%a6)
11108c2ecf20Sopenharmony_ci	mov.w		&0x001d,%cc
11118c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
11128c2ecf20Sopenharmony_ci
11138c2ecf20Sopenharmony_ci	divu.l		%d1,%d2:%d3
11148c2ecf20Sopenharmony_ci
11158c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
11168c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
11178c2ecf20Sopenharmony_ci
11188c2ecf20Sopenharmony_ci	bsr.l		chkregs
11198c2ecf20Sopenharmony_ci	tst.b		%d0
11208c2ecf20Sopenharmony_ci	bne.l		error
11218c2ecf20Sopenharmony_ci
11228c2ecf20Sopenharmony_cidivul_5:
11238c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
11248c2ecf20Sopenharmony_ci
11258c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
11268c2ecf20Sopenharmony_ci
11278c2ecf20Sopenharmony_ci	mov.l		&0xfffffffe,%d1
11288c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d2
11298c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
11308c2ecf20Sopenharmony_ci
11318c2ecf20Sopenharmony_ci	mov.w		&0x001e,ICCR(%a6)
11328c2ecf20Sopenharmony_ci	mov.w		&0x001d,%cc
11338c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
11348c2ecf20Sopenharmony_ci
11358c2ecf20Sopenharmony_ci	divs.l		%d1,%d2:%d3
11368c2ecf20Sopenharmony_ci
11378c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
11388c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
11398c2ecf20Sopenharmony_ci
11408c2ecf20Sopenharmony_ci	bsr.l		chkregs
11418c2ecf20Sopenharmony_ci	tst.b		%d0
11428c2ecf20Sopenharmony_ci	bne.l		error
11438c2ecf20Sopenharmony_ci
11448c2ecf20Sopenharmony_cidivul_6:
11458c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
11468c2ecf20Sopenharmony_ci
11478c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
11488c2ecf20Sopenharmony_ci
11498c2ecf20Sopenharmony_ci	mov.l		&0xfffffffe,%d1
11508c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d2
11518c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d3
11528c2ecf20Sopenharmony_ci
11538c2ecf20Sopenharmony_ci	mov.w		&0x0018,ICCR(%a6)
11548c2ecf20Sopenharmony_ci	mov.w		&0x001d,%cc
11558c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
11568c2ecf20Sopenharmony_ci
11578c2ecf20Sopenharmony_ci	divs.l		%d1,%d2:%d3
11588c2ecf20Sopenharmony_ci
11598c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
11608c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
11618c2ecf20Sopenharmony_ci	mov.l		&0x00000000,IREGS+0x8(%a6)
11628c2ecf20Sopenharmony_ci	mov.l		&0x80000000,IREGS+0xc(%a6)
11638c2ecf20Sopenharmony_ci
11648c2ecf20Sopenharmony_ci	bsr.l		chkregs
11658c2ecf20Sopenharmony_ci	tst.b		%d0
11668c2ecf20Sopenharmony_ci	bne.l		error
11678c2ecf20Sopenharmony_ci
11688c2ecf20Sopenharmony_cidivul_7:
11698c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
11708c2ecf20Sopenharmony_ci
11718c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
11728c2ecf20Sopenharmony_ci
11738c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d1
11748c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d2
11758c2ecf20Sopenharmony_ci	mov.l		&0x00000000,%d3
11768c2ecf20Sopenharmony_ci
11778c2ecf20Sopenharmony_ci	mov.w		&0x001e,ICCR(%a6)
11788c2ecf20Sopenharmony_ci	mov.w		&0x001d,%cc
11798c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
11808c2ecf20Sopenharmony_ci
11818c2ecf20Sopenharmony_ci	divs.l		%d1,%d2:%d3
11828c2ecf20Sopenharmony_ci
11838c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
11848c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
11858c2ecf20Sopenharmony_ci
11868c2ecf20Sopenharmony_ci	bsr.l		chkregs
11878c2ecf20Sopenharmony_ci	tst.b		%d0
11888c2ecf20Sopenharmony_ci	bne.l		error
11898c2ecf20Sopenharmony_ci
11908c2ecf20Sopenharmony_cidivul_8:
11918c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
11928c2ecf20Sopenharmony_ci
11938c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
11948c2ecf20Sopenharmony_ci
11958c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d1
11968c2ecf20Sopenharmony_ci	mov.l		&0xfffffffe,%d2
11978c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d3
11988c2ecf20Sopenharmony_ci
11998c2ecf20Sopenharmony_ci	mov.w		&0x0008,ICCR(%a6)
12008c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
12018c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
12028c2ecf20Sopenharmony_ci
12038c2ecf20Sopenharmony_ci	divu.l		%d1,%d2:%d3
12048c2ecf20Sopenharmony_ci
12058c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
12068c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
12078c2ecf20Sopenharmony_ci
12088c2ecf20Sopenharmony_ci	bsr.l		chkregs
12098c2ecf20Sopenharmony_ci	tst.b		%d0
12108c2ecf20Sopenharmony_ci	bne.l		error
12118c2ecf20Sopenharmony_ci
12128c2ecf20Sopenharmony_cidivul_9:
12138c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
12148c2ecf20Sopenharmony_ci
12158c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
12168c2ecf20Sopenharmony_ci
12178c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d1
12188c2ecf20Sopenharmony_ci	mov.l		&0xfffffffe,%d2
12198c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,%d3
12208c2ecf20Sopenharmony_ci
12218c2ecf20Sopenharmony_ci	mov.w		&0x0008,ICCR(%a6)
12228c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
12238c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
12248c2ecf20Sopenharmony_ci
12258c2ecf20Sopenharmony_ci	divu.l		&0xffffffff,%d2:%d2
12268c2ecf20Sopenharmony_ci
12278c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
12288c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
12298c2ecf20Sopenharmony_ci	mov.l		&0xffffffff,IREGS+0x8(%a6)
12308c2ecf20Sopenharmony_ci
12318c2ecf20Sopenharmony_ci	bsr.l		chkregs
12328c2ecf20Sopenharmony_ci	tst.b		%d0
12338c2ecf20Sopenharmony_ci	bne.l		error
12348c2ecf20Sopenharmony_ci
12358c2ecf20Sopenharmony_cidivul_10:
12368c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
12378c2ecf20Sopenharmony_ci
12388c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
12398c2ecf20Sopenharmony_ci
12408c2ecf20Sopenharmony_ci	mov.l		&0x0000ffff,%d1
12418c2ecf20Sopenharmony_ci	mov.l		&0x00000001,%d2
12428c2ecf20Sopenharmony_ci	mov.l		&0x55555555,%d3
12438c2ecf20Sopenharmony_ci
12448c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
12458c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
12468c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
12478c2ecf20Sopenharmony_ci
12488c2ecf20Sopenharmony_ci	divu.l		%d1,%d2:%d3
12498c2ecf20Sopenharmony_ci
12508c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
12518c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
12528c2ecf20Sopenharmony_ci	mov.l		&0x0000aaab,IREGS+0x8(%a6)
12538c2ecf20Sopenharmony_ci	mov.l		&0x00015556,IREGS+0xc(%a6)
12548c2ecf20Sopenharmony_ci
12558c2ecf20Sopenharmony_ci	bsr.l		chkregs
12568c2ecf20Sopenharmony_ci	tst.b		%d0
12578c2ecf20Sopenharmony_ci	bne.l		error
12588c2ecf20Sopenharmony_ci
12598c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
12608c2ecf20Sopenharmony_ci	clr.l		%d0
12618c2ecf20Sopenharmony_ci	rts
12628c2ecf20Sopenharmony_ci
12638c2ecf20Sopenharmony_ci###########################################################
12648c2ecf20Sopenharmony_ci
12658c2ecf20Sopenharmony_cicas_str:
12668c2ecf20Sopenharmony_ci	string		"\tcas..."
12678c2ecf20Sopenharmony_ci
12688c2ecf20Sopenharmony_ci	align		0x4
12698c2ecf20Sopenharmony_cicas0:
12708c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
12718c2ecf20Sopenharmony_ci
12728c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
12738c2ecf20Sopenharmony_ci
12748c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
12758c2ecf20Sopenharmony_ci
12768c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,(%a0)
12778c2ecf20Sopenharmony_ci
12788c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
12798c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,%d2
12808c2ecf20Sopenharmony_ci
12818c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
12828c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
12838c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
12848c2ecf20Sopenharmony_ci
12858c2ecf20Sopenharmony_ci	cas.w		%d1,%d2,(%a0)			# Dc,Du,<ea>
12868c2ecf20Sopenharmony_ci
12878c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
12888c2ecf20Sopenharmony_ci	mov.w		(%a0),%d3
12898c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,IREGS+0xc+0x2(%a6)
12908c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
12918c2ecf20Sopenharmony_ci
12928c2ecf20Sopenharmony_ci	bsr.l		chkregs
12938c2ecf20Sopenharmony_ci	tst.b		%d0
12948c2ecf20Sopenharmony_ci	bne.l		error
12958c2ecf20Sopenharmony_ci
12968c2ecf20Sopenharmony_cicas1:
12978c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
12988c2ecf20Sopenharmony_ci
12998c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
13008c2ecf20Sopenharmony_ci
13018c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
13028c2ecf20Sopenharmony_ci
13038c2ecf20Sopenharmony_ci	mov.w		&0xeeee,(%a0)
13048c2ecf20Sopenharmony_ci
13058c2ecf20Sopenharmony_ci	mov.w		&0x0000aaaa,%d1
13068c2ecf20Sopenharmony_ci	mov.w		&0x0000bbbb,%d2
13078c2ecf20Sopenharmony_ci
13088c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
13098c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
13108c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
13118c2ecf20Sopenharmony_ci
13128c2ecf20Sopenharmony_ci	cas.w		%d1,%d2,(%a0)			# Dc,Du,<ea>
13138c2ecf20Sopenharmony_ci
13148c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
13158c2ecf20Sopenharmony_ci	mov.w		(%a0),%d3
13168c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x4+0x2(%a6)
13178c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0xc+0x2(%a6)
13188c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
13198c2ecf20Sopenharmony_ci
13208c2ecf20Sopenharmony_ci	bsr.l		chkregs
13218c2ecf20Sopenharmony_ci	tst.b		%d0
13228c2ecf20Sopenharmony_ci	bne.l		error
13238c2ecf20Sopenharmony_ci
13248c2ecf20Sopenharmony_cicas2:
13258c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
13268c2ecf20Sopenharmony_ci
13278c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
13288c2ecf20Sopenharmony_ci
13298c2ecf20Sopenharmony_ci	lea		DATA+0x2(%a6),%a0
13308c2ecf20Sopenharmony_ci
13318c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
13328c2ecf20Sopenharmony_ci
13338c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
13348c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
13358c2ecf20Sopenharmony_ci
13368c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
13378c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
13388c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
13398c2ecf20Sopenharmony_ci
13408c2ecf20Sopenharmony_ci	cas.l		%d1,%d2,(%a0)			# Dc,Du,<ea>
13418c2ecf20Sopenharmony_ci
13428c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
13438c2ecf20Sopenharmony_ci	mov.l		(%a0),%d3
13448c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0xc(%a6)
13458c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
13468c2ecf20Sopenharmony_ci
13478c2ecf20Sopenharmony_ci	bsr.l		chkregs
13488c2ecf20Sopenharmony_ci	tst.b		%d0
13498c2ecf20Sopenharmony_ci	bne.l		error
13508c2ecf20Sopenharmony_ci
13518c2ecf20Sopenharmony_cicas3:
13528c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
13538c2ecf20Sopenharmony_ci
13548c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
13558c2ecf20Sopenharmony_ci
13568c2ecf20Sopenharmony_ci	lea		DATA+0x2(%a6),%a0
13578c2ecf20Sopenharmony_ci
13588c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,(%a0)
13598c2ecf20Sopenharmony_ci
13608c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
13618c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
13628c2ecf20Sopenharmony_ci
13638c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
13648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
13658c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
13668c2ecf20Sopenharmony_ci
13678c2ecf20Sopenharmony_ci	cas.l		%d1,%d2,(%a0)			# Dc,Du,<ea>
13688c2ecf20Sopenharmony_ci
13698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
13708c2ecf20Sopenharmony_ci	mov.l		(%a0),%d3
13718c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x4(%a6)
13728c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0xc(%a6)
13738c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
13748c2ecf20Sopenharmony_ci
13758c2ecf20Sopenharmony_ci	bsr.l		chkregs
13768c2ecf20Sopenharmony_ci	tst.b		%d0
13778c2ecf20Sopenharmony_ci	bne.l		error
13788c2ecf20Sopenharmony_ci
13798c2ecf20Sopenharmony_cicas4:
13808c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
13818c2ecf20Sopenharmony_ci
13828c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
13838c2ecf20Sopenharmony_ci
13848c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
13858c2ecf20Sopenharmony_ci
13868c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
13878c2ecf20Sopenharmony_ci
13888c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
13898c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
13908c2ecf20Sopenharmony_ci
13918c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
13928c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
13938c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
13948c2ecf20Sopenharmony_ci
13958c2ecf20Sopenharmony_ci	cas.l		%d1,%d2,(%a0)			# Dc,Du,<ea>
13968c2ecf20Sopenharmony_ci
13978c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
13988c2ecf20Sopenharmony_ci	mov.l		(%a0),%d3
13998c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0xc(%a6)
14008c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
14018c2ecf20Sopenharmony_ci
14028c2ecf20Sopenharmony_ci	bsr.l		chkregs
14038c2ecf20Sopenharmony_ci	tst.b		%d0
14048c2ecf20Sopenharmony_ci	bne.l		error
14058c2ecf20Sopenharmony_ci
14068c2ecf20Sopenharmony_cicas5:
14078c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
14088c2ecf20Sopenharmony_ci
14098c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
14108c2ecf20Sopenharmony_ci
14118c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
14128c2ecf20Sopenharmony_ci
14138c2ecf20Sopenharmony_ci	mov.l		&0x7fffffff,(%a0)
14148c2ecf20Sopenharmony_ci
14158c2ecf20Sopenharmony_ci	mov.l		&0x80000000,%d1
14168c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
14178c2ecf20Sopenharmony_ci
14188c2ecf20Sopenharmony_ci	mov.w		&0x001b,ICCR(%a6)
14198c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
14208c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
14218c2ecf20Sopenharmony_ci
14228c2ecf20Sopenharmony_ci	cas.l		%d1,%d2,(%a0)			# Dc,Du,<ea>
14238c2ecf20Sopenharmony_ci
14248c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
14258c2ecf20Sopenharmony_ci	mov.l		(%a0),%d3
14268c2ecf20Sopenharmony_ci	mov.l		&0x7fffffff,IREGS+0x4(%a6)
14278c2ecf20Sopenharmony_ci	mov.l		&0x7fffffff,IREGS+0xc(%a6)
14288c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
14298c2ecf20Sopenharmony_ci
14308c2ecf20Sopenharmony_ci	bsr.l		chkregs
14318c2ecf20Sopenharmony_ci	tst.b		%d0
14328c2ecf20Sopenharmony_ci	bne.l		error
14338c2ecf20Sopenharmony_ci
14348c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
14358c2ecf20Sopenharmony_ci	clr.l		%d0
14368c2ecf20Sopenharmony_ci	rts
14378c2ecf20Sopenharmony_ci
14388c2ecf20Sopenharmony_ci###########################################################
14398c2ecf20Sopenharmony_ci
14408c2ecf20Sopenharmony_cicas2_str:
14418c2ecf20Sopenharmony_ci	string		"\tcas2..."
14428c2ecf20Sopenharmony_ci
14438c2ecf20Sopenharmony_ci	align		0x4
14448c2ecf20Sopenharmony_cicas20:
14458c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
14468c2ecf20Sopenharmony_ci
14478c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
14488c2ecf20Sopenharmony_ci
14498c2ecf20Sopenharmony_ci	lea		DATA+0x0(%a6),%a0
14508c2ecf20Sopenharmony_ci	lea		DATA+0x4(%a6),%a1
14518c2ecf20Sopenharmony_ci
14528c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
14538c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,(%a1)
14548c2ecf20Sopenharmony_ci
14558c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
14568c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
14578c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
14588c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
14598c2ecf20Sopenharmony_ci
14608c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
14618c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
14628c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
14638c2ecf20Sopenharmony_ci
14648c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
14658c2ecf20Sopenharmony_ci
14668c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
14678c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
14688c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
14698c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,IREGS+0x14(%a6)
14708c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,IREGS+0x18(%a6)
14718c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
14728c2ecf20Sopenharmony_ci
14738c2ecf20Sopenharmony_ci	bsr.l		chkregs
14748c2ecf20Sopenharmony_ci	tst.b		%d0
14758c2ecf20Sopenharmony_ci	bne.l		error
14768c2ecf20Sopenharmony_ci
14778c2ecf20Sopenharmony_cicas21:
14788c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
14798c2ecf20Sopenharmony_ci
14808c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
14818c2ecf20Sopenharmony_ci
14828c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
14838c2ecf20Sopenharmony_ci	lea		DATA+0x5(%a6),%a1
14848c2ecf20Sopenharmony_ci
14858c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
14868c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,(%a1)
14878c2ecf20Sopenharmony_ci
14888c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
14898c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
14908c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
14918c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
14928c2ecf20Sopenharmony_ci
14938c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
14948c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
14958c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
14968c2ecf20Sopenharmony_ci
14978c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
14988c2ecf20Sopenharmony_ci
14998c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
15008c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
15018c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
15028c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,IREGS+0x14(%a6)
15038c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,IREGS+0x18(%a6)
15048c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
15058c2ecf20Sopenharmony_ci
15068c2ecf20Sopenharmony_ci	bsr.l		chkregs
15078c2ecf20Sopenharmony_ci	tst.b		%d0
15088c2ecf20Sopenharmony_ci	bne.l		error
15098c2ecf20Sopenharmony_ci
15108c2ecf20Sopenharmony_cicas22:
15118c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
15128c2ecf20Sopenharmony_ci
15138c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
15148c2ecf20Sopenharmony_ci
15158c2ecf20Sopenharmony_ci	lea		DATA+0x2(%a6),%a0
15168c2ecf20Sopenharmony_ci	lea		DATA+0x6(%a6),%a1
15178c2ecf20Sopenharmony_ci
15188c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
15198c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,(%a1)
15208c2ecf20Sopenharmony_ci
15218c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
15228c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
15238c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
15248c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
15258c2ecf20Sopenharmony_ci
15268c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
15278c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
15288c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
15298c2ecf20Sopenharmony_ci
15308c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
15318c2ecf20Sopenharmony_ci
15328c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
15338c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
15348c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
15358c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,IREGS+0x14(%a6)
15368c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,IREGS+0x18(%a6)
15378c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
15388c2ecf20Sopenharmony_ci
15398c2ecf20Sopenharmony_ci	bsr.l		chkregs
15408c2ecf20Sopenharmony_ci	tst.b		%d0
15418c2ecf20Sopenharmony_ci	bne.l		error
15428c2ecf20Sopenharmony_ci
15438c2ecf20Sopenharmony_cicas23:
15448c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
15458c2ecf20Sopenharmony_ci
15468c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
15478c2ecf20Sopenharmony_ci
15488c2ecf20Sopenharmony_ci	lea		DATA+0x0(%a6),%a0
15498c2ecf20Sopenharmony_ci	lea		DATA+0x4(%a6),%a1
15508c2ecf20Sopenharmony_ci
15518c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,(%a0)
15528c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,(%a1)
15538c2ecf20Sopenharmony_ci
15548c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
15558c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
15568c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
15578c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
15588c2ecf20Sopenharmony_ci
15598c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
15608c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
15618c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
15628c2ecf20Sopenharmony_ci
15638c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
15648c2ecf20Sopenharmony_ci
15658c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
15668c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
15678c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
15688c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x4(%a6)
15698c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0x8(%a6)
15708c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x14(%a6)
15718c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0x18(%a6)
15728c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
15738c2ecf20Sopenharmony_ci
15748c2ecf20Sopenharmony_ci	bsr.l		chkregs
15758c2ecf20Sopenharmony_ci	tst.b		%d0
15768c2ecf20Sopenharmony_ci	bne.l		error
15778c2ecf20Sopenharmony_ci
15788c2ecf20Sopenharmony_cicas24:
15798c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
15808c2ecf20Sopenharmony_ci
15818c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
15828c2ecf20Sopenharmony_ci
15838c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
15848c2ecf20Sopenharmony_ci	lea		DATA+0x5(%a6),%a1
15858c2ecf20Sopenharmony_ci
15868c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,(%a0)
15878c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,(%a1)
15888c2ecf20Sopenharmony_ci
15898c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
15908c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
15918c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
15928c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
15938c2ecf20Sopenharmony_ci
15948c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
15958c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
15968c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
15978c2ecf20Sopenharmony_ci
15988c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
15998c2ecf20Sopenharmony_ci
16008c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
16018c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
16028c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
16038c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x4(%a6)
16048c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0x8(%a6)
16058c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x14(%a6)
16068c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0x18(%a6)
16078c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
16088c2ecf20Sopenharmony_ci
16098c2ecf20Sopenharmony_ci	bsr.l		chkregs
16108c2ecf20Sopenharmony_ci	tst.b		%d0
16118c2ecf20Sopenharmony_ci	bne.l		error
16128c2ecf20Sopenharmony_ci
16138c2ecf20Sopenharmony_cicas25:
16148c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
16158c2ecf20Sopenharmony_ci
16168c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
16178c2ecf20Sopenharmony_ci
16188c2ecf20Sopenharmony_ci	lea		DATA+0x2(%a6),%a0
16198c2ecf20Sopenharmony_ci	lea		DATA+0x6(%a6),%a1
16208c2ecf20Sopenharmony_ci
16218c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,(%a0)
16228c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,(%a1)
16238c2ecf20Sopenharmony_ci
16248c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
16258c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
16268c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
16278c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
16288c2ecf20Sopenharmony_ci
16298c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
16308c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
16318c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
16328c2ecf20Sopenharmony_ci
16338c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
16348c2ecf20Sopenharmony_ci
16358c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
16368c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
16378c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
16388c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x4(%a6)
16398c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0x8(%a6)
16408c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x14(%a6)
16418c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,IREGS+0x18(%a6)
16428c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
16438c2ecf20Sopenharmony_ci
16448c2ecf20Sopenharmony_ci	bsr.l		chkregs
16458c2ecf20Sopenharmony_ci	tst.b		%d0
16468c2ecf20Sopenharmony_ci	bne.l		error
16478c2ecf20Sopenharmony_ci
16488c2ecf20Sopenharmony_cicas26:
16498c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
16508c2ecf20Sopenharmony_ci
16518c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
16528c2ecf20Sopenharmony_ci
16538c2ecf20Sopenharmony_ci	lea		DATA+0x0(%a6),%a0
16548c2ecf20Sopenharmony_ci	lea		DATA+0x4(%a6),%a1
16558c2ecf20Sopenharmony_ci
16568c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
16578c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,(%a1)
16588c2ecf20Sopenharmony_ci
16598c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
16608c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
16618c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
16628c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
16638c2ecf20Sopenharmony_ci
16648c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
16658c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
16668c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
16678c2ecf20Sopenharmony_ci
16688c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
16698c2ecf20Sopenharmony_ci
16708c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
16718c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
16728c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
16738c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,IREGS+0x4(%a6)
16748c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x8(%a6)
16758c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,IREGS+0x14(%a6)
16768c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x18(%a6)
16778c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
16788c2ecf20Sopenharmony_ci
16798c2ecf20Sopenharmony_ci	bsr.l		chkregs
16808c2ecf20Sopenharmony_ci	tst.b		%d0
16818c2ecf20Sopenharmony_ci	bne.l		error
16828c2ecf20Sopenharmony_ci
16838c2ecf20Sopenharmony_cicas27:
16848c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
16858c2ecf20Sopenharmony_ci
16868c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
16878c2ecf20Sopenharmony_ci
16888c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
16898c2ecf20Sopenharmony_ci	lea		DATA+0x5(%a6),%a1
16908c2ecf20Sopenharmony_ci
16918c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
16928c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,(%a1)
16938c2ecf20Sopenharmony_ci
16948c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
16958c2ecf20Sopenharmony_ci	mov.l		&0xbbbbbbbb,%d2
16968c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
16978c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
16988c2ecf20Sopenharmony_ci
16998c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
17008c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
17018c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
17028c2ecf20Sopenharmony_ci
17038c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
17048c2ecf20Sopenharmony_ci
17058c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
17068c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
17078c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
17088c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,IREGS+0x4(%a6)
17098c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x8(%a6)
17108c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,IREGS+0x14(%a6)
17118c2ecf20Sopenharmony_ci	mov.l		&0xeeeeeeee,IREGS+0x18(%a6)
17128c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
17138c2ecf20Sopenharmony_ci
17148c2ecf20Sopenharmony_ci	bsr.l		chkregs
17158c2ecf20Sopenharmony_ci	tst.b		%d0
17168c2ecf20Sopenharmony_ci	bne.l		error
17178c2ecf20Sopenharmony_ci
17188c2ecf20Sopenharmony_cicas28:
17198c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
17208c2ecf20Sopenharmony_ci
17218c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
17228c2ecf20Sopenharmony_ci
17238c2ecf20Sopenharmony_ci	lea		DATA+0x2(%a6),%a0
17248c2ecf20Sopenharmony_ci	lea		DATA+0x6(%a6),%a1
17258c2ecf20Sopenharmony_ci
17268c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,(%a0)
17278c2ecf20Sopenharmony_ci	mov.l		&0x7fffffff,(%a1)
17288c2ecf20Sopenharmony_ci
17298c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,%d1
17308c2ecf20Sopenharmony_ci	mov.l		&0x80000000,%d2
17318c2ecf20Sopenharmony_ci	mov.l		&0xcccccccc,%d3
17328c2ecf20Sopenharmony_ci	mov.l		&0xdddddddd,%d4
17338c2ecf20Sopenharmony_ci
17348c2ecf20Sopenharmony_ci	mov.w		&0x000b,ICCR(%a6)
17358c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
17368c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
17378c2ecf20Sopenharmony_ci
17388c2ecf20Sopenharmony_ci	cas2.l		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
17398c2ecf20Sopenharmony_ci
17408c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
17418c2ecf20Sopenharmony_ci	mov.l		(%a0),%d5
17428c2ecf20Sopenharmony_ci	mov.l		(%a1),%d6
17438c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,IREGS+0x4(%a6)
17448c2ecf20Sopenharmony_ci	mov.l		&0x7fffffff,IREGS+0x8(%a6)
17458c2ecf20Sopenharmony_ci	mov.l		&0xaaaaaaaa,IREGS+0x14(%a6)
17468c2ecf20Sopenharmony_ci	mov.l		&0x7fffffff,IREGS+0x18(%a6)
17478c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
17488c2ecf20Sopenharmony_ci
17498c2ecf20Sopenharmony_ci	bsr.l		chkregs
17508c2ecf20Sopenharmony_ci	tst.b		%d0
17518c2ecf20Sopenharmony_ci	bne.l		error
17528c2ecf20Sopenharmony_ci
17538c2ecf20Sopenharmony_ci##################################
17548c2ecf20Sopenharmony_cicas29:
17558c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
17568c2ecf20Sopenharmony_ci
17578c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
17588c2ecf20Sopenharmony_ci
17598c2ecf20Sopenharmony_ci	lea		DATA+0x0(%a6),%a0
17608c2ecf20Sopenharmony_ci	lea		DATA+0x4(%a6),%a1
17618c2ecf20Sopenharmony_ci
17628c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,(%a0)
17638c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,(%a1)
17648c2ecf20Sopenharmony_ci
17658c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
17668c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,%d2
17678c2ecf20Sopenharmony_ci	mov.w		&0xcccc,%d3
17688c2ecf20Sopenharmony_ci	mov.w		&0xdddd,%d4
17698c2ecf20Sopenharmony_ci
17708c2ecf20Sopenharmony_ci	mov.w		&0x0014,ICCR(%a6)
17718c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
17728c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
17738c2ecf20Sopenharmony_ci
17748c2ecf20Sopenharmony_ci	cas2.w		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
17758c2ecf20Sopenharmony_ci
17768c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
17778c2ecf20Sopenharmony_ci	mov.w		(%a0),%d5
17788c2ecf20Sopenharmony_ci	mov.w		(%a1),%d6
17798c2ecf20Sopenharmony_ci	mov.w		&0xcccc,IREGS+0x14+0x2(%a6)
17808c2ecf20Sopenharmony_ci	mov.w		&0xdddd,IREGS+0x18+0x2(%a6)
17818c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
17828c2ecf20Sopenharmony_ci
17838c2ecf20Sopenharmony_ci	bsr.l		chkregs
17848c2ecf20Sopenharmony_ci	tst.b		%d0
17858c2ecf20Sopenharmony_ci	bne.l		error
17868c2ecf20Sopenharmony_ci
17878c2ecf20Sopenharmony_cicas210:
17888c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
17898c2ecf20Sopenharmony_ci
17908c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
17918c2ecf20Sopenharmony_ci
17928c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
17938c2ecf20Sopenharmony_ci	lea		DATA+0x5(%a6),%a1
17948c2ecf20Sopenharmony_ci
17958c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,(%a0)
17968c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,(%a1)
17978c2ecf20Sopenharmony_ci
17988c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
17998c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,%d2
18008c2ecf20Sopenharmony_ci	mov.w		&0xcccc,%d3
18018c2ecf20Sopenharmony_ci	mov.w		&0xdddd,%d4
18028c2ecf20Sopenharmony_ci
18038c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
18048c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
18058c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
18068c2ecf20Sopenharmony_ci
18078c2ecf20Sopenharmony_ci	cas2.w		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
18088c2ecf20Sopenharmony_ci
18098c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
18108c2ecf20Sopenharmony_ci	mov.w		(%a0),%d5
18118c2ecf20Sopenharmony_ci	mov.w		(%a1),%d6
18128c2ecf20Sopenharmony_ci	mov.w		&0xcccc,IREGS+0x14+0x2(%a6)
18138c2ecf20Sopenharmony_ci	mov.w		&0xdddd,IREGS+0x18+0x2(%a6)
18148c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
18158c2ecf20Sopenharmony_ci
18168c2ecf20Sopenharmony_ci	bsr.l		chkregs
18178c2ecf20Sopenharmony_ci	tst.b		%d0
18188c2ecf20Sopenharmony_ci	bne.l		error
18198c2ecf20Sopenharmony_ci
18208c2ecf20Sopenharmony_cicas211:
18218c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
18228c2ecf20Sopenharmony_ci
18238c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
18248c2ecf20Sopenharmony_ci
18258c2ecf20Sopenharmony_ci	lea		DATA+0x0(%a6),%a0
18268c2ecf20Sopenharmony_ci	lea		DATA+0x4(%a6),%a1
18278c2ecf20Sopenharmony_ci
18288c2ecf20Sopenharmony_ci	mov.w		&0xeeee,(%a0)
18298c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,(%a1)
18308c2ecf20Sopenharmony_ci
18318c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
18328c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,%d2
18338c2ecf20Sopenharmony_ci	mov.w		&0xcccc,%d3
18348c2ecf20Sopenharmony_ci	mov.w		&0xdddd,%d4
18358c2ecf20Sopenharmony_ci
18368c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
18378c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
18388c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
18398c2ecf20Sopenharmony_ci
18408c2ecf20Sopenharmony_ci	cas2.w		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
18418c2ecf20Sopenharmony_ci
18428c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
18438c2ecf20Sopenharmony_ci	mov.w		(%a0),%d5
18448c2ecf20Sopenharmony_ci	mov.w		(%a1),%d6
18458c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x4+0x2(%a6)
18468c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,IREGS+0x8+0x2(%a6)
18478c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x14+0x2(%a6)
18488c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,IREGS+0x18+0x2(%a6)
18498c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
18508c2ecf20Sopenharmony_ci
18518c2ecf20Sopenharmony_ci	bsr.l		chkregs
18528c2ecf20Sopenharmony_ci	tst.b		%d0
18538c2ecf20Sopenharmony_ci	bne.l		error
18548c2ecf20Sopenharmony_ci
18558c2ecf20Sopenharmony_cicas212:
18568c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
18578c2ecf20Sopenharmony_ci
18588c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
18598c2ecf20Sopenharmony_ci
18608c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
18618c2ecf20Sopenharmony_ci	lea		DATA+0x5(%a6),%a1
18628c2ecf20Sopenharmony_ci
18638c2ecf20Sopenharmony_ci	mov.w		&0xeeee,(%a0)
18648c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,(%a1)
18658c2ecf20Sopenharmony_ci
18668c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
18678c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,%d2
18688c2ecf20Sopenharmony_ci	mov.w		&0xcccc,%d3
18698c2ecf20Sopenharmony_ci	mov.w		&0xdddd,%d4
18708c2ecf20Sopenharmony_ci
18718c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
18728c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
18738c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
18748c2ecf20Sopenharmony_ci
18758c2ecf20Sopenharmony_ci	cas2.w		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
18768c2ecf20Sopenharmony_ci
18778c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
18788c2ecf20Sopenharmony_ci	mov.w		(%a0),%d5
18798c2ecf20Sopenharmony_ci	mov.w		(%a1),%d6
18808c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x4+0x2(%a6)
18818c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,IREGS+0x8+0x2(%a6)
18828c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x14+0x2(%a6)
18838c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,IREGS+0x18+0x2(%a6)
18848c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
18858c2ecf20Sopenharmony_ci
18868c2ecf20Sopenharmony_ci	bsr.l		chkregs
18878c2ecf20Sopenharmony_ci	tst.b		%d0
18888c2ecf20Sopenharmony_ci	bne.l		error
18898c2ecf20Sopenharmony_ci
18908c2ecf20Sopenharmony_cicas213:
18918c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
18928c2ecf20Sopenharmony_ci
18938c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
18948c2ecf20Sopenharmony_ci
18958c2ecf20Sopenharmony_ci	lea		DATA+0x0(%a6),%a0
18968c2ecf20Sopenharmony_ci	lea		DATA+0x4(%a6),%a1
18978c2ecf20Sopenharmony_ci
18988c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,(%a0)
18998c2ecf20Sopenharmony_ci	mov.w		&0xeeee,(%a1)
19008c2ecf20Sopenharmony_ci
19018c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
19028c2ecf20Sopenharmony_ci	mov.w		&0xbbbb,%d2
19038c2ecf20Sopenharmony_ci	mov.w		&0xcccc,%d3
19048c2ecf20Sopenharmony_ci	mov.w		&0xdddd,%d4
19058c2ecf20Sopenharmony_ci
19068c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
19078c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
19088c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
19098c2ecf20Sopenharmony_ci
19108c2ecf20Sopenharmony_ci	cas2.w		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
19118c2ecf20Sopenharmony_ci
19128c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
19138c2ecf20Sopenharmony_ci	mov.w		(%a0),%d5
19148c2ecf20Sopenharmony_ci	mov.w		(%a1),%d6
19158c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,IREGS+0x4+0x2(%a6)
19168c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x8+0x2(%a6)
19178c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,IREGS+0x14+0x2(%a6)
19188c2ecf20Sopenharmony_ci	mov.w		&0xeeee,IREGS+0x18+0x2(%a6)
19198c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
19208c2ecf20Sopenharmony_ci
19218c2ecf20Sopenharmony_ci	bsr.l		chkregs
19228c2ecf20Sopenharmony_ci	tst.b		%d0
19238c2ecf20Sopenharmony_ci	bne.l		error
19248c2ecf20Sopenharmony_ci
19258c2ecf20Sopenharmony_cicas214:
19268c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
19278c2ecf20Sopenharmony_ci
19288c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
19298c2ecf20Sopenharmony_ci
19308c2ecf20Sopenharmony_ci	lea		DATA+0x1(%a6),%a0
19318c2ecf20Sopenharmony_ci	lea		DATA+0x5(%a6),%a1
19328c2ecf20Sopenharmony_ci
19338c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,(%a0)
19348c2ecf20Sopenharmony_ci	mov.w		&0x7fff,(%a1)
19358c2ecf20Sopenharmony_ci
19368c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,%d1
19378c2ecf20Sopenharmony_ci	mov.w		&0x8000,%d2
19388c2ecf20Sopenharmony_ci	mov.w		&0xcccc,%d3
19398c2ecf20Sopenharmony_ci	mov.w		&0xdddd,%d4
19408c2ecf20Sopenharmony_ci
19418c2ecf20Sopenharmony_ci	mov.w		&0x001b,ICCR(%a6)
19428c2ecf20Sopenharmony_ci	mov.w		&0x0010,%cc
19438c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
19448c2ecf20Sopenharmony_ci
19458c2ecf20Sopenharmony_ci	cas2.w		%d1:%d2,%d3:%d4,(%a0):(%a1)	# Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
19468c2ecf20Sopenharmony_ci
19478c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
19488c2ecf20Sopenharmony_ci	mov.w		(%a0),%d5
19498c2ecf20Sopenharmony_ci	mov.w		(%a1),%d6
19508c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,IREGS+0x4+0x2(%a6)
19518c2ecf20Sopenharmony_ci	mov.w		&0x7fff,IREGS+0x8+0x2(%a6)
19528c2ecf20Sopenharmony_ci	mov.w		&0xaaaa,IREGS+0x14+0x2(%a6)
19538c2ecf20Sopenharmony_ci	mov.w		&0x7fff,IREGS+0x18+0x2(%a6)
19548c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
19558c2ecf20Sopenharmony_ci
19568c2ecf20Sopenharmony_ci	bsr.l		chkregs
19578c2ecf20Sopenharmony_ci	tst.b		%d0
19588c2ecf20Sopenharmony_ci	bne.l		error
19598c2ecf20Sopenharmony_ci
19608c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
19618c2ecf20Sopenharmony_ci	clr.l		%d0
19628c2ecf20Sopenharmony_ci	rts
19638c2ecf20Sopenharmony_ci
19648c2ecf20Sopenharmony_ci###########################################################
19658c2ecf20Sopenharmony_ci
19668c2ecf20Sopenharmony_cicmp2_str:
19678c2ecf20Sopenharmony_ci	string		"\tcmp2,chk2..."
19688c2ecf20Sopenharmony_ci
19698c2ecf20Sopenharmony_ci	align		0x4
19708c2ecf20Sopenharmony_ci# unsigned - small,small
19718c2ecf20Sopenharmony_cicmp2_1:
19728c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
19738c2ecf20Sopenharmony_ci
19748c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
19758c2ecf20Sopenharmony_ci
19768c2ecf20Sopenharmony_ci	mov.w		&0x2040,DATA(%a6)
19778c2ecf20Sopenharmony_ci	mov.l		&0x11111120,%d1
19788c2ecf20Sopenharmony_ci
19798c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
19808c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
19818c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
19828c2ecf20Sopenharmony_ci
19838c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
19848c2ecf20Sopenharmony_ci
19858c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
19868c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
19878c2ecf20Sopenharmony_ci
19888c2ecf20Sopenharmony_ci	bsr.l		chkregs
19898c2ecf20Sopenharmony_ci	tst.b		%d0
19908c2ecf20Sopenharmony_ci	bne.l		error
19918c2ecf20Sopenharmony_ci
19928c2ecf20Sopenharmony_cicmp2_2:
19938c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
19948c2ecf20Sopenharmony_ci
19958c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
19968c2ecf20Sopenharmony_ci
19978c2ecf20Sopenharmony_ci	mov.w		&0x2040,DATA(%a6)
19988c2ecf20Sopenharmony_ci	mov.l		&0x00000040,%a1
19998c2ecf20Sopenharmony_ci
20008c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
20018c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
20028c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
20038c2ecf20Sopenharmony_ci
20048c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
20058c2ecf20Sopenharmony_ci
20068c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
20078c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
20088c2ecf20Sopenharmony_ci
20098c2ecf20Sopenharmony_ci	bsr.l		chkregs
20108c2ecf20Sopenharmony_ci	tst.b		%d0
20118c2ecf20Sopenharmony_ci	bne.l		error
20128c2ecf20Sopenharmony_ci
20138c2ecf20Sopenharmony_cicmp2_3:
20148c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
20158c2ecf20Sopenharmony_ci
20168c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
20178c2ecf20Sopenharmony_ci
20188c2ecf20Sopenharmony_ci	mov.w		&0x2040,DATA(%a6)
20198c2ecf20Sopenharmony_ci	mov.l		&0x11111130,%d1
20208c2ecf20Sopenharmony_ci
20218c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
20228c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
20238c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
20248c2ecf20Sopenharmony_ci
20258c2ecf20Sopenharmony_ci	chk2.b		DATA(%a6),%d1
20268c2ecf20Sopenharmony_ci
20278c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
20288c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
20298c2ecf20Sopenharmony_ci
20308c2ecf20Sopenharmony_ci	bsr.l		chkregs
20318c2ecf20Sopenharmony_ci	tst.b		%d0
20328c2ecf20Sopenharmony_ci	bne.l		error
20338c2ecf20Sopenharmony_ci
20348c2ecf20Sopenharmony_cicmp2_4:
20358c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
20368c2ecf20Sopenharmony_ci
20378c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
20388c2ecf20Sopenharmony_ci
20398c2ecf20Sopenharmony_ci	mov.w		&0x2040,DATA(%a6)
20408c2ecf20Sopenharmony_ci	mov.l		&0x00000010,%a1
20418c2ecf20Sopenharmony_ci
20428c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
20438c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
20448c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
20458c2ecf20Sopenharmony_ci
20468c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
20478c2ecf20Sopenharmony_ci
20488c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
20498c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
20508c2ecf20Sopenharmony_ci
20518c2ecf20Sopenharmony_ci	bsr.l		chkregs
20528c2ecf20Sopenharmony_ci	tst.b		%d0
20538c2ecf20Sopenharmony_ci	bne.l		error
20548c2ecf20Sopenharmony_ci
20558c2ecf20Sopenharmony_cicmp2_5:
20568c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
20578c2ecf20Sopenharmony_ci
20588c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
20598c2ecf20Sopenharmony_ci
20608c2ecf20Sopenharmony_ci	mov.w		&0x2040,DATA(%a6)
20618c2ecf20Sopenharmony_ci	mov.l		&0x11111150,%d1
20628c2ecf20Sopenharmony_ci
20638c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
20648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
20658c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
20668c2ecf20Sopenharmony_ci
20678c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
20688c2ecf20Sopenharmony_ci
20698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
20708c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
20718c2ecf20Sopenharmony_ci
20728c2ecf20Sopenharmony_ci	bsr.l		chkregs
20738c2ecf20Sopenharmony_ci	tst.b		%d0
20748c2ecf20Sopenharmony_ci	bne.l		error
20758c2ecf20Sopenharmony_ci
20768c2ecf20Sopenharmony_cicmp2_6:
20778c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
20788c2ecf20Sopenharmony_ci
20798c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
20808c2ecf20Sopenharmony_ci
20818c2ecf20Sopenharmony_ci	mov.w		&0x2040,DATA(%a6)
20828c2ecf20Sopenharmony_ci	mov.l		&0x00000090,%a1
20838c2ecf20Sopenharmony_ci
20848c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
20858c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
20868c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
20878c2ecf20Sopenharmony_ci
20888c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
20898c2ecf20Sopenharmony_ci
20908c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
20918c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
20928c2ecf20Sopenharmony_ci
20938c2ecf20Sopenharmony_ci	bsr.l		chkregs
20948c2ecf20Sopenharmony_ci	tst.b		%d0
20958c2ecf20Sopenharmony_ci	bne.l		error
20968c2ecf20Sopenharmony_ci
20978c2ecf20Sopenharmony_ci# unsigned - small,large
20988c2ecf20Sopenharmony_cicmp2_7:
20998c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
21008c2ecf20Sopenharmony_ci
21018c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
21028c2ecf20Sopenharmony_ci
21038c2ecf20Sopenharmony_ci	mov.l		&0x2000a000,DATA(%a6)
21048c2ecf20Sopenharmony_ci	mov.l		&0x11112000,%d1
21058c2ecf20Sopenharmony_ci
21068c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
21078c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
21088c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
21098c2ecf20Sopenharmony_ci
21108c2ecf20Sopenharmony_ci	cmp2.w		%d1,DATA(%a6)
21118c2ecf20Sopenharmony_ci
21128c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
21138c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
21148c2ecf20Sopenharmony_ci
21158c2ecf20Sopenharmony_ci	bsr.l		chkregs
21168c2ecf20Sopenharmony_ci	tst.b		%d0
21178c2ecf20Sopenharmony_ci	bne.l		error
21188c2ecf20Sopenharmony_ci
21198c2ecf20Sopenharmony_cicmp2_8:
21208c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
21218c2ecf20Sopenharmony_ci
21228c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
21238c2ecf20Sopenharmony_ci
21248c2ecf20Sopenharmony_ci	mov.l		&0x2000a000,DATA(%a6)
21258c2ecf20Sopenharmony_ci	mov.l		&0xffffa000,%a1
21268c2ecf20Sopenharmony_ci
21278c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
21288c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
21298c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
21308c2ecf20Sopenharmony_ci
21318c2ecf20Sopenharmony_ci	cmp2.w		%a1,DATA(%a6)
21328c2ecf20Sopenharmony_ci
21338c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
21348c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
21358c2ecf20Sopenharmony_ci
21368c2ecf20Sopenharmony_ci	bsr.l		chkregs
21378c2ecf20Sopenharmony_ci	tst.b		%d0
21388c2ecf20Sopenharmony_ci	bne.l		error
21398c2ecf20Sopenharmony_ci
21408c2ecf20Sopenharmony_cicmp2_9:
21418c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
21428c2ecf20Sopenharmony_ci
21438c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
21448c2ecf20Sopenharmony_ci
21458c2ecf20Sopenharmony_ci	mov.l		&0x2000a000,DATA(%a6)
21468c2ecf20Sopenharmony_ci	mov.l		&0x11113000,%d1
21478c2ecf20Sopenharmony_ci
21488c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
21498c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
21508c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
21518c2ecf20Sopenharmony_ci
21528c2ecf20Sopenharmony_ci	chk2.w		DATA(%a6),%d1
21538c2ecf20Sopenharmony_ci
21548c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
21558c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
21568c2ecf20Sopenharmony_ci
21578c2ecf20Sopenharmony_ci	bsr.l		chkregs
21588c2ecf20Sopenharmony_ci	tst.b		%d0
21598c2ecf20Sopenharmony_ci	bne.l		error
21608c2ecf20Sopenharmony_ci
21618c2ecf20Sopenharmony_cicmp2_10:
21628c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
21638c2ecf20Sopenharmony_ci
21648c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
21658c2ecf20Sopenharmony_ci
21668c2ecf20Sopenharmony_ci	mov.l		&0x2000a000,DATA(%a6)
21678c2ecf20Sopenharmony_ci	mov.l		&0xffff9000,%a1
21688c2ecf20Sopenharmony_ci
21698c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
21708c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
21718c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
21728c2ecf20Sopenharmony_ci
21738c2ecf20Sopenharmony_ci	cmp2.w		%a1,DATA(%a6)
21748c2ecf20Sopenharmony_ci
21758c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
21768c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
21778c2ecf20Sopenharmony_ci
21788c2ecf20Sopenharmony_ci	bsr.l		chkregs
21798c2ecf20Sopenharmony_ci	tst.b		%d0
21808c2ecf20Sopenharmony_ci	bne.l		error
21818c2ecf20Sopenharmony_ci
21828c2ecf20Sopenharmony_cicmp2_11:
21838c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
21848c2ecf20Sopenharmony_ci
21858c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
21868c2ecf20Sopenharmony_ci
21878c2ecf20Sopenharmony_ci	mov.l		&0x2000a000,DATA(%a6)
21888c2ecf20Sopenharmony_ci	mov.l		&0x11111000,%d1
21898c2ecf20Sopenharmony_ci
21908c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
21918c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
21928c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
21938c2ecf20Sopenharmony_ci
21948c2ecf20Sopenharmony_ci	cmp2.w		%d1,DATA(%a6)
21958c2ecf20Sopenharmony_ci
21968c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
21978c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
21988c2ecf20Sopenharmony_ci
21998c2ecf20Sopenharmony_ci	bsr.l		chkregs
22008c2ecf20Sopenharmony_ci	tst.b		%d0
22018c2ecf20Sopenharmony_ci	bne.l		error
22028c2ecf20Sopenharmony_ci
22038c2ecf20Sopenharmony_cicmp2_12:
22048c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
22058c2ecf20Sopenharmony_ci
22068c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
22078c2ecf20Sopenharmony_ci
22088c2ecf20Sopenharmony_ci	mov.l		&0x2000a000,DATA(%a6)
22098c2ecf20Sopenharmony_ci	mov.l		&0xffffb000,%a1
22108c2ecf20Sopenharmony_ci
22118c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
22128c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
22138c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
22148c2ecf20Sopenharmony_ci
22158c2ecf20Sopenharmony_ci	cmp2.w		%a1,DATA(%a6)
22168c2ecf20Sopenharmony_ci
22178c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
22188c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
22198c2ecf20Sopenharmony_ci
22208c2ecf20Sopenharmony_ci	bsr.l		chkregs
22218c2ecf20Sopenharmony_ci	tst.b		%d0
22228c2ecf20Sopenharmony_ci	bne.l		error
22238c2ecf20Sopenharmony_ci
22248c2ecf20Sopenharmony_ci# unsigned - large,large
22258c2ecf20Sopenharmony_cicmp2_13:
22268c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
22278c2ecf20Sopenharmony_ci
22288c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
22298c2ecf20Sopenharmony_ci
22308c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,DATA(%a6)
22318c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,DATA+0x4(%a6)
22328c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,%d1
22338c2ecf20Sopenharmony_ci
22348c2ecf20Sopenharmony_ci	mov.w		&0x000c,ICCR(%a6)
22358c2ecf20Sopenharmony_ci	mov.w		&0x0008,%cc
22368c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
22378c2ecf20Sopenharmony_ci
22388c2ecf20Sopenharmony_ci	cmp2.l		%d1,DATA(%a6)
22398c2ecf20Sopenharmony_ci
22408c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
22418c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
22428c2ecf20Sopenharmony_ci
22438c2ecf20Sopenharmony_ci	bsr.l		chkregs
22448c2ecf20Sopenharmony_ci	tst.b		%d0
22458c2ecf20Sopenharmony_ci	bne.l		error
22468c2ecf20Sopenharmony_ci
22478c2ecf20Sopenharmony_cicmp2_14:
22488c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
22498c2ecf20Sopenharmony_ci
22508c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
22518c2ecf20Sopenharmony_ci
22528c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,DATA(%a6)
22538c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,DATA+0x4(%a6)
22548c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,%a1
22558c2ecf20Sopenharmony_ci
22568c2ecf20Sopenharmony_ci	mov.w		&0x000c,ICCR(%a6)
22578c2ecf20Sopenharmony_ci	mov.w		&0x0008,%cc
22588c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
22598c2ecf20Sopenharmony_ci
22608c2ecf20Sopenharmony_ci	cmp2.l		%a1,DATA(%a6)
22618c2ecf20Sopenharmony_ci
22628c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
22638c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
22648c2ecf20Sopenharmony_ci
22658c2ecf20Sopenharmony_ci	bsr.l		chkregs
22668c2ecf20Sopenharmony_ci	tst.b		%d0
22678c2ecf20Sopenharmony_ci	bne.l		error
22688c2ecf20Sopenharmony_ci
22698c2ecf20Sopenharmony_cicmp2_15:
22708c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
22718c2ecf20Sopenharmony_ci
22728c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
22738c2ecf20Sopenharmony_ci
22748c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,DATA(%a6)
22758c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,DATA+0x4(%a6)
22768c2ecf20Sopenharmony_ci	mov.l		&0xb0000000,%d1
22778c2ecf20Sopenharmony_ci
22788c2ecf20Sopenharmony_ci	mov.w		&0x0008,ICCR(%a6)
22798c2ecf20Sopenharmony_ci	mov.w		&0x0008,%cc
22808c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
22818c2ecf20Sopenharmony_ci
22828c2ecf20Sopenharmony_ci	chk2.l		DATA(%a6),%d1
22838c2ecf20Sopenharmony_ci
22848c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
22858c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
22868c2ecf20Sopenharmony_ci
22878c2ecf20Sopenharmony_ci	bsr.l		chkregs
22888c2ecf20Sopenharmony_ci	tst.b		%d0
22898c2ecf20Sopenharmony_ci	bne.l		error
22908c2ecf20Sopenharmony_ci
22918c2ecf20Sopenharmony_cicmp2_16:
22928c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
22938c2ecf20Sopenharmony_ci
22948c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
22958c2ecf20Sopenharmony_ci
22968c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,DATA(%a6)
22978c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,DATA+0x4(%a6)
22988c2ecf20Sopenharmony_ci	mov.l		&0x10000000,%a1
22998c2ecf20Sopenharmony_ci
23008c2ecf20Sopenharmony_ci	mov.w		&0x0009,ICCR(%a6)
23018c2ecf20Sopenharmony_ci	mov.w		&0x0008,%cc
23028c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
23038c2ecf20Sopenharmony_ci
23048c2ecf20Sopenharmony_ci	cmp2.l		%a1,DATA(%a6)
23058c2ecf20Sopenharmony_ci
23068c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
23078c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
23088c2ecf20Sopenharmony_ci
23098c2ecf20Sopenharmony_ci	bsr.l		chkregs
23108c2ecf20Sopenharmony_ci	tst.b		%d0
23118c2ecf20Sopenharmony_ci	bne.l		error
23128c2ecf20Sopenharmony_ci
23138c2ecf20Sopenharmony_cicmp2_17:
23148c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
23158c2ecf20Sopenharmony_ci
23168c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
23178c2ecf20Sopenharmony_ci
23188c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,DATA(%a6)
23198c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,DATA+0x4(%a6)
23208c2ecf20Sopenharmony_ci	mov.l		&0x90000000,%d1
23218c2ecf20Sopenharmony_ci
23228c2ecf20Sopenharmony_ci	mov.w		&0x0009,ICCR(%a6)
23238c2ecf20Sopenharmony_ci	mov.w		&0x0008,%cc
23248c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
23258c2ecf20Sopenharmony_ci
23268c2ecf20Sopenharmony_ci	cmp2.l		%d1,DATA(%a6)
23278c2ecf20Sopenharmony_ci
23288c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
23298c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
23308c2ecf20Sopenharmony_ci
23318c2ecf20Sopenharmony_ci	bsr.l		chkregs
23328c2ecf20Sopenharmony_ci	tst.b		%d0
23338c2ecf20Sopenharmony_ci	bne.l		error
23348c2ecf20Sopenharmony_ci
23358c2ecf20Sopenharmony_cicmp2_18:
23368c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
23378c2ecf20Sopenharmony_ci
23388c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
23398c2ecf20Sopenharmony_ci
23408c2ecf20Sopenharmony_ci	mov.l		&0xa0000000,DATA(%a6)
23418c2ecf20Sopenharmony_ci	mov.l		&0xc0000000,DATA+0x4(%a6)
23428c2ecf20Sopenharmony_ci	mov.l		&0xd0000000,%a1
23438c2ecf20Sopenharmony_ci
23448c2ecf20Sopenharmony_ci	mov.w		&0x0009,ICCR(%a6)
23458c2ecf20Sopenharmony_ci	mov.w		&0x0008,%cc
23468c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
23478c2ecf20Sopenharmony_ci
23488c2ecf20Sopenharmony_ci	cmp2.l		%a1,DATA(%a6)
23498c2ecf20Sopenharmony_ci
23508c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
23518c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
23528c2ecf20Sopenharmony_ci
23538c2ecf20Sopenharmony_ci	bsr.l		chkregs
23548c2ecf20Sopenharmony_ci	tst.b		%d0
23558c2ecf20Sopenharmony_ci	bne.l		error
23568c2ecf20Sopenharmony_ci
23578c2ecf20Sopenharmony_ci# signed - negative,positive
23588c2ecf20Sopenharmony_cicmp2_19:
23598c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
23608c2ecf20Sopenharmony_ci
23618c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
23628c2ecf20Sopenharmony_ci
23638c2ecf20Sopenharmony_ci	mov.w		&0xa040,DATA(%a6)
23648c2ecf20Sopenharmony_ci	mov.l		&0x111111a0,%d1
23658c2ecf20Sopenharmony_ci
23668c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
23678c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
23688c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
23698c2ecf20Sopenharmony_ci
23708c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
23718c2ecf20Sopenharmony_ci
23728c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
23738c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
23748c2ecf20Sopenharmony_ci
23758c2ecf20Sopenharmony_ci	bsr.l		chkregs
23768c2ecf20Sopenharmony_ci	tst.b		%d0
23778c2ecf20Sopenharmony_ci	bne.l		error
23788c2ecf20Sopenharmony_ci
23798c2ecf20Sopenharmony_cicmp2_20:
23808c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
23818c2ecf20Sopenharmony_ci
23828c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
23838c2ecf20Sopenharmony_ci
23848c2ecf20Sopenharmony_ci	mov.w		&0xa040,DATA(%a6)
23858c2ecf20Sopenharmony_ci	mov.l		&0x00000040,%a1
23868c2ecf20Sopenharmony_ci
23878c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
23888c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
23898c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
23908c2ecf20Sopenharmony_ci
23918c2ecf20Sopenharmony_ci	chk2.b		DATA(%a6),%a1
23928c2ecf20Sopenharmony_ci
23938c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
23948c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
23958c2ecf20Sopenharmony_ci
23968c2ecf20Sopenharmony_ci	bsr.l		chkregs
23978c2ecf20Sopenharmony_ci	tst.b		%d0
23988c2ecf20Sopenharmony_ci	bne.l		error
23998c2ecf20Sopenharmony_ci
24008c2ecf20Sopenharmony_cicmp2_21:
24018c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
24028c2ecf20Sopenharmony_ci
24038c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
24048c2ecf20Sopenharmony_ci
24058c2ecf20Sopenharmony_ci	mov.w		&0xa040,DATA(%a6)
24068c2ecf20Sopenharmony_ci	mov.l		&0x111111b0,%d1
24078c2ecf20Sopenharmony_ci
24088c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
24098c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
24108c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
24118c2ecf20Sopenharmony_ci
24128c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
24138c2ecf20Sopenharmony_ci
24148c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
24158c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
24168c2ecf20Sopenharmony_ci
24178c2ecf20Sopenharmony_ci	bsr.l		chkregs
24188c2ecf20Sopenharmony_ci	tst.b		%d0
24198c2ecf20Sopenharmony_ci	bne.l		error
24208c2ecf20Sopenharmony_ci
24218c2ecf20Sopenharmony_cicmp2_22:
24228c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
24238c2ecf20Sopenharmony_ci
24248c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
24258c2ecf20Sopenharmony_ci
24268c2ecf20Sopenharmony_ci	mov.w		&0xa040,DATA(%a6)
24278c2ecf20Sopenharmony_ci	mov.l		&0x00000010,%a1
24288c2ecf20Sopenharmony_ci
24298c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
24308c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
24318c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
24328c2ecf20Sopenharmony_ci
24338c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
24348c2ecf20Sopenharmony_ci
24358c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
24368c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
24378c2ecf20Sopenharmony_ci
24388c2ecf20Sopenharmony_ci	bsr.l		chkregs
24398c2ecf20Sopenharmony_ci	tst.b		%d0
24408c2ecf20Sopenharmony_ci	bne.l		error
24418c2ecf20Sopenharmony_ci
24428c2ecf20Sopenharmony_cicmp2_23:
24438c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
24448c2ecf20Sopenharmony_ci
24458c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
24468c2ecf20Sopenharmony_ci
24478c2ecf20Sopenharmony_ci	mov.w		&0xa040,DATA(%a6)
24488c2ecf20Sopenharmony_ci	mov.l		&0x11111190,%d1
24498c2ecf20Sopenharmony_ci
24508c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
24518c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
24528c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
24538c2ecf20Sopenharmony_ci
24548c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
24558c2ecf20Sopenharmony_ci
24568c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
24578c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
24588c2ecf20Sopenharmony_ci
24598c2ecf20Sopenharmony_ci	bsr.l		chkregs
24608c2ecf20Sopenharmony_ci	tst.b		%d0
24618c2ecf20Sopenharmony_ci	bne.l		error
24628c2ecf20Sopenharmony_ci
24638c2ecf20Sopenharmony_cicmp2_24:
24648c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
24658c2ecf20Sopenharmony_ci
24668c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
24678c2ecf20Sopenharmony_ci
24688c2ecf20Sopenharmony_ci	mov.w		&0xa040,DATA(%a6)
24698c2ecf20Sopenharmony_ci	mov.l		&0x00000050,%a1
24708c2ecf20Sopenharmony_ci
24718c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
24728c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
24738c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
24748c2ecf20Sopenharmony_ci
24758c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
24768c2ecf20Sopenharmony_ci
24778c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
24788c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
24798c2ecf20Sopenharmony_ci
24808c2ecf20Sopenharmony_ci	bsr.l		chkregs
24818c2ecf20Sopenharmony_ci	tst.b		%d0
24828c2ecf20Sopenharmony_ci	bne.l		error
24838c2ecf20Sopenharmony_ci
24848c2ecf20Sopenharmony_ci# signed - negative,negative
24858c2ecf20Sopenharmony_cicmp2_25:
24868c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
24878c2ecf20Sopenharmony_ci
24888c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
24898c2ecf20Sopenharmony_ci
24908c2ecf20Sopenharmony_ci	mov.w		&0xa0c0,DATA(%a6)
24918c2ecf20Sopenharmony_ci	mov.l		&0x111111a0,%d1
24928c2ecf20Sopenharmony_ci
24938c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
24948c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
24958c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
24968c2ecf20Sopenharmony_ci
24978c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
24988c2ecf20Sopenharmony_ci
24998c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
25008c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
25018c2ecf20Sopenharmony_ci
25028c2ecf20Sopenharmony_ci	bsr.l		chkregs
25038c2ecf20Sopenharmony_ci	tst.b		%d0
25048c2ecf20Sopenharmony_ci	bne.l		error
25058c2ecf20Sopenharmony_ci
25068c2ecf20Sopenharmony_cicmp2_26:
25078c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
25088c2ecf20Sopenharmony_ci
25098c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
25108c2ecf20Sopenharmony_ci
25118c2ecf20Sopenharmony_ci	mov.w		&0xa0c0,DATA(%a6)
25128c2ecf20Sopenharmony_ci	mov.l		&0xffffffc0,%a1
25138c2ecf20Sopenharmony_ci
25148c2ecf20Sopenharmony_ci	mov.w		&0x0004,ICCR(%a6)
25158c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
25168c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
25178c2ecf20Sopenharmony_ci
25188c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
25198c2ecf20Sopenharmony_ci
25208c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
25218c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
25228c2ecf20Sopenharmony_ci
25238c2ecf20Sopenharmony_ci	bsr.l		chkregs
25248c2ecf20Sopenharmony_ci	tst.b		%d0
25258c2ecf20Sopenharmony_ci	bne.l		error
25268c2ecf20Sopenharmony_ci
25278c2ecf20Sopenharmony_cicmp2_27:
25288c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
25298c2ecf20Sopenharmony_ci
25308c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
25318c2ecf20Sopenharmony_ci
25328c2ecf20Sopenharmony_ci	mov.w		&0xa0c0,DATA(%a6)
25338c2ecf20Sopenharmony_ci	mov.l		&0x111111b0,%d1
25348c2ecf20Sopenharmony_ci
25358c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
25368c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
25378c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
25388c2ecf20Sopenharmony_ci
25398c2ecf20Sopenharmony_ci	chk2.b		DATA(%a6),%d1
25408c2ecf20Sopenharmony_ci
25418c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
25428c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
25438c2ecf20Sopenharmony_ci
25448c2ecf20Sopenharmony_ci	bsr.l		chkregs
25458c2ecf20Sopenharmony_ci	tst.b		%d0
25468c2ecf20Sopenharmony_ci	bne.l		error
25478c2ecf20Sopenharmony_ci
25488c2ecf20Sopenharmony_cicmp2_28:
25498c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
25508c2ecf20Sopenharmony_ci
25518c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
25528c2ecf20Sopenharmony_ci
25538c2ecf20Sopenharmony_ci	mov.w		&0xa0c0,DATA(%a6)
25548c2ecf20Sopenharmony_ci	mov.l		&0x11111190,%a1
25558c2ecf20Sopenharmony_ci
25568c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
25578c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
25588c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
25598c2ecf20Sopenharmony_ci
25608c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
25618c2ecf20Sopenharmony_ci
25628c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
25638c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
25648c2ecf20Sopenharmony_ci
25658c2ecf20Sopenharmony_ci	bsr.l		chkregs
25668c2ecf20Sopenharmony_ci	tst.b		%d0
25678c2ecf20Sopenharmony_ci	bne.l		error
25688c2ecf20Sopenharmony_ci
25698c2ecf20Sopenharmony_cicmp2_29:
25708c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
25718c2ecf20Sopenharmony_ci
25728c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
25738c2ecf20Sopenharmony_ci
25748c2ecf20Sopenharmony_ci	mov.w		&0xa0c0,DATA(%a6)
25758c2ecf20Sopenharmony_ci	mov.l		&0x111111d0,%d1
25768c2ecf20Sopenharmony_ci
25778c2ecf20Sopenharmony_ci	mov.w		&0x0001,ICCR(%a6)
25788c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
25798c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
25808c2ecf20Sopenharmony_ci
25818c2ecf20Sopenharmony_ci	cmp2.b		%d1,DATA(%a6)
25828c2ecf20Sopenharmony_ci
25838c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
25848c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
25858c2ecf20Sopenharmony_ci
25868c2ecf20Sopenharmony_ci	bsr.l		chkregs
25878c2ecf20Sopenharmony_ci	tst.b		%d0
25888c2ecf20Sopenharmony_ci	bne.l		error
25898c2ecf20Sopenharmony_ci
25908c2ecf20Sopenharmony_cicmp2_30:
25918c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
25928c2ecf20Sopenharmony_ci
25938c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
25948c2ecf20Sopenharmony_ci
25958c2ecf20Sopenharmony_ci	mov.w		&0xa0c0,DATA(%a6)
25968c2ecf20Sopenharmony_ci	mov.l		&0x00000050,%a1
25978c2ecf20Sopenharmony_ci
25988c2ecf20Sopenharmony_ci	mov.w		&0x001b,ICCR(%a6)
25998c2ecf20Sopenharmony_ci	mov.w		&0x001f,%cc
26008c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
26018c2ecf20Sopenharmony_ci
26028c2ecf20Sopenharmony_ci	cmp2.b		%a1,DATA(%a6)
26038c2ecf20Sopenharmony_ci
26048c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
26058c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
26068c2ecf20Sopenharmony_ci
26078c2ecf20Sopenharmony_ci	bsr.l		chkregs
26088c2ecf20Sopenharmony_ci	tst.b		%d0
26098c2ecf20Sopenharmony_ci	bne.l		error
26108c2ecf20Sopenharmony_ci
26118c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
26128c2ecf20Sopenharmony_ci	clr.l		%d0
26138c2ecf20Sopenharmony_ci	rts
26148c2ecf20Sopenharmony_ci
26158c2ecf20Sopenharmony_ci###########################################################
26168c2ecf20Sopenharmony_ci
26178c2ecf20Sopenharmony_ciea_str:
26188c2ecf20Sopenharmony_ci	string		"\tEffective addresses..."
26198c2ecf20Sopenharmony_ci
26208c2ecf20Sopenharmony_ci	align		0x4
26218c2ecf20Sopenharmony_ciea_0:
26228c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
26238c2ecf20Sopenharmony_ci
26248c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
26258c2ecf20Sopenharmony_ci
26268c2ecf20Sopenharmony_ci	clr.l		%d2
26278c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
26288c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
26298c2ecf20Sopenharmony_ci
26308c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
26318c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
26328c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
26338c2ecf20Sopenharmony_ci
26348c2ecf20Sopenharmony_ci	mulu.l		(%a0),%d2:%d3
26358c2ecf20Sopenharmony_ci
26368c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
26378c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
26388c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
26398c2ecf20Sopenharmony_ci
26408c2ecf20Sopenharmony_ci	bsr.l		chkregs
26418c2ecf20Sopenharmony_ci	tst.b		%d0
26428c2ecf20Sopenharmony_ci	bne.l		error
26438c2ecf20Sopenharmony_ci
26448c2ecf20Sopenharmony_ciea_1:
26458c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
26468c2ecf20Sopenharmony_ci
26478c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
26488c2ecf20Sopenharmony_ci
26498c2ecf20Sopenharmony_ci	clr.l		%d2
26508c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
26518c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
26528c2ecf20Sopenharmony_ci
26538c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
26548c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
26558c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
26568c2ecf20Sopenharmony_ci
26578c2ecf20Sopenharmony_ci	mulu.l		(%a0)+,%d2:%d3
26588c2ecf20Sopenharmony_ci
26598c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
26608c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
26618c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
26628c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
26638c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x20(%a6)
26648c2ecf20Sopenharmony_ci
26658c2ecf20Sopenharmony_ci	bsr.l		chkregs
26668c2ecf20Sopenharmony_ci	tst.b		%d0
26678c2ecf20Sopenharmony_ci	bne.l		error
26688c2ecf20Sopenharmony_ci
26698c2ecf20Sopenharmony_ciea_2:
26708c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
26718c2ecf20Sopenharmony_ci
26728c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
26738c2ecf20Sopenharmony_ci	clr.l		%d2
26748c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
26758c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
26768c2ecf20Sopenharmony_ci
26778c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
26788c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
26798c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
26808c2ecf20Sopenharmony_ci
26818c2ecf20Sopenharmony_ci	mulu.l		-(%a0),%d2:%d3
26828c2ecf20Sopenharmony_ci
26838c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
26848c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
26858c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
26868c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
26878c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x20(%a6)
26888c2ecf20Sopenharmony_ci
26898c2ecf20Sopenharmony_ci	bsr.l		chkregs
26908c2ecf20Sopenharmony_ci	tst.b		%d0
26918c2ecf20Sopenharmony_ci	bne.l		error
26928c2ecf20Sopenharmony_ci
26938c2ecf20Sopenharmony_ciea_3:
26948c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
26958c2ecf20Sopenharmony_ci
26968c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
26978c2ecf20Sopenharmony_ci
26988c2ecf20Sopenharmony_ci	clr.l		%d2
26998c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
27008c2ecf20Sopenharmony_ci	lea		EAMEM+0x1000(%a6),%a0
27018c2ecf20Sopenharmony_ci
27028c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
27038c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
27048c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
27058c2ecf20Sopenharmony_ci
27068c2ecf20Sopenharmony_ci	mulu.l		(-0x1000,%a0),%d2:%d3
27078c2ecf20Sopenharmony_ci
27088c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
27098c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
27108c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
27118c2ecf20Sopenharmony_ci
27128c2ecf20Sopenharmony_ci	bsr.l		chkregs
27138c2ecf20Sopenharmony_ci	tst.b		%d0
27148c2ecf20Sopenharmony_ci	bne.l		error
27158c2ecf20Sopenharmony_ci
27168c2ecf20Sopenharmony_ciea_4:
27178c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
27188c2ecf20Sopenharmony_ci
27198c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
27208c2ecf20Sopenharmony_ci
27218c2ecf20Sopenharmony_ci	clr.l		%d2
27228c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
27238c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a0
27248c2ecf20Sopenharmony_ci
27258c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
27268c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
27278c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
27288c2ecf20Sopenharmony_ci
27298c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a0),%d2:%d3
27308c2ecf20Sopenharmony_ci
27318c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
27328c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
27338c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
27348c2ecf20Sopenharmony_ci
27358c2ecf20Sopenharmony_ci	bsr.l		chkregs
27368c2ecf20Sopenharmony_ci	tst.b		%d0
27378c2ecf20Sopenharmony_ci	bne.l		error
27388c2ecf20Sopenharmony_ci
27398c2ecf20Sopenharmony_ciea_5:
27408c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
27418c2ecf20Sopenharmony_ci
27428c2ecf20Sopenharmony_ci#	movm.l		DEF_REGS(%pc),&0x3fff
27438c2ecf20Sopenharmony_ci
27448c2ecf20Sopenharmony_ci#	clr.l		%d2
27458c2ecf20Sopenharmony_ci#	mov.l		&0x00000002,%d3
27468c2ecf20Sopenharmony_ci
27478c2ecf20Sopenharmony_ci#	mov.w		&0x0000,ICCR(%a6)
27488c2ecf20Sopenharmony_ci#	mov.w		&0x0000,%cc
27498c2ecf20Sopenharmony_ci#	movm.l		&0xffff,IREGS(%a6)
27508c2ecf20Sopenharmony_ci
27518c2ecf20Sopenharmony_ci#	mulu.l		EAMEM.w,%d2:%d3
27528c2ecf20Sopenharmony_ci
27538c2ecf20Sopenharmony_ci#	mov.w		%cc,SCCR(%a6)
27548c2ecf20Sopenharmony_ci#	movm.l		&0xffff,SREGS(%a6)
27558c2ecf20Sopenharmony_ci#	mov.l		&0x00000004,IREGS+0xc(%a6)
27568c2ecf20Sopenharmony_ci
27578c2ecf20Sopenharmony_ci#	bsr.l		chkregs
27588c2ecf20Sopenharmony_ci#	tst.b		%d0
27598c2ecf20Sopenharmony_ci#	bne.l		error
27608c2ecf20Sopenharmony_ci
27618c2ecf20Sopenharmony_ciea_6:
27628c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
27638c2ecf20Sopenharmony_ci
27648c2ecf20Sopenharmony_ci#	movm.l		DEF_REGS(%pc),&0x3fff
27658c2ecf20Sopenharmony_ci
27668c2ecf20Sopenharmony_ci#	clr.l		%d2
27678c2ecf20Sopenharmony_ci#	mov.l		&0x00000002,%d3
27688c2ecf20Sopenharmony_ci
27698c2ecf20Sopenharmony_ci#	mov.w		&0x0000,ICCR(%a6)
27708c2ecf20Sopenharmony_ci#	mov.w		&0x0000,%cc
27718c2ecf20Sopenharmony_ci#	movm.l		&0xffff,IREGS(%a6)
27728c2ecf20Sopenharmony_ci
27738c2ecf20Sopenharmony_ci#	mulu.l		EAMEM.l,%d2:%d3
27748c2ecf20Sopenharmony_ci
27758c2ecf20Sopenharmony_ci#	mov.w		%cc,SCCR(%a6)
27768c2ecf20Sopenharmony_ci#	movm.l		&0xffff,SREGS(%a6)
27778c2ecf20Sopenharmony_ci#	mov.l		&0x00000004,IREGS+0xc(%a6)
27788c2ecf20Sopenharmony_ci
27798c2ecf20Sopenharmony_ci#	bsr.l		chkregs
27808c2ecf20Sopenharmony_ci#	tst.b		%d0
27818c2ecf20Sopenharmony_ci#	bne.l		error
27828c2ecf20Sopenharmony_ci
27838c2ecf20Sopenharmony_ciea_7:
27848c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
27858c2ecf20Sopenharmony_ci
27868c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
27878c2ecf20Sopenharmony_ci
27888c2ecf20Sopenharmony_ci	clr.l		%d2
27898c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
27908c2ecf20Sopenharmony_ci
27918c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
27928c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
27938c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
27948c2ecf20Sopenharmony_ci
27958c2ecf20Sopenharmony_ci	mulu.l		&0x00000002,%d2:%d3
27968c2ecf20Sopenharmony_ci
27978c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
27988c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
27998c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
28008c2ecf20Sopenharmony_ci
28018c2ecf20Sopenharmony_ci	bsr.l		chkregs
28028c2ecf20Sopenharmony_ci	tst.b		%d0
28038c2ecf20Sopenharmony_ci	bne.l		error
28048c2ecf20Sopenharmony_ci
28058c2ecf20Sopenharmony_ciea_8:
28068c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
28078c2ecf20Sopenharmony_ci
28088c2ecf20Sopenharmony_ci	bra.b		ea_8_next
28098c2ecf20Sopenharmony_ciea_8_mem:
28108c2ecf20Sopenharmony_ci	long		0x00000002
28118c2ecf20Sopenharmony_ciea_8_next:
28128c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
28138c2ecf20Sopenharmony_ci
28148c2ecf20Sopenharmony_ci	clr.l		%d2
28158c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
28168c2ecf20Sopenharmony_ci
28178c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
28188c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
28198c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
28208c2ecf20Sopenharmony_ci
28218c2ecf20Sopenharmony_ci	mulu.l		(ea_8_mem.w,%pc),%d2:%d3
28228c2ecf20Sopenharmony_ci
28238c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
28248c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
28258c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
28268c2ecf20Sopenharmony_ci
28278c2ecf20Sopenharmony_ci	bsr.l		chkregs
28288c2ecf20Sopenharmony_ci	tst.b		%d0
28298c2ecf20Sopenharmony_ci	bne.l		error
28308c2ecf20Sopenharmony_ci
28318c2ecf20Sopenharmony_ciea_9:
28328c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
28338c2ecf20Sopenharmony_ci
28348c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
28358c2ecf20Sopenharmony_ci	clr.l		%d2
28368c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
28378c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a1
28388c2ecf20Sopenharmony_ci
28398c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
28408c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
28418c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
28428c2ecf20Sopenharmony_ci
28438c2ecf20Sopenharmony_ci	mulu.l		-(%a1),%d2:%d3
28448c2ecf20Sopenharmony_ci
28458c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
28468c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
28478c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
28488c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
28498c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x24(%a6)
28508c2ecf20Sopenharmony_ci
28518c2ecf20Sopenharmony_ci	bsr.l		chkregs
28528c2ecf20Sopenharmony_ci	tst.b		%d0
28538c2ecf20Sopenharmony_ci	bne.l		error
28548c2ecf20Sopenharmony_ci
28558c2ecf20Sopenharmony_ciea_10:
28568c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
28578c2ecf20Sopenharmony_ci
28588c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
28598c2ecf20Sopenharmony_ci	clr.l		%d2
28608c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
28618c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a2
28628c2ecf20Sopenharmony_ci
28638c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
28648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
28658c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
28668c2ecf20Sopenharmony_ci
28678c2ecf20Sopenharmony_ci	mulu.l		-(%a2),%d2:%d3
28688c2ecf20Sopenharmony_ci
28698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
28708c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
28718c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
28728c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
28738c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x28(%a6)
28748c2ecf20Sopenharmony_ci
28758c2ecf20Sopenharmony_ci	bsr.l		chkregs
28768c2ecf20Sopenharmony_ci	tst.b		%d0
28778c2ecf20Sopenharmony_ci	bne.l		error
28788c2ecf20Sopenharmony_ci
28798c2ecf20Sopenharmony_ciea_11:
28808c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
28818c2ecf20Sopenharmony_ci
28828c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
28838c2ecf20Sopenharmony_ci	clr.l		%d2
28848c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
28858c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a3
28868c2ecf20Sopenharmony_ci
28878c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
28888c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
28898c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
28908c2ecf20Sopenharmony_ci
28918c2ecf20Sopenharmony_ci	mulu.l		-(%a3),%d2:%d3
28928c2ecf20Sopenharmony_ci
28938c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
28948c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
28958c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
28968c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
28978c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x2c(%a6)
28988c2ecf20Sopenharmony_ci
28998c2ecf20Sopenharmony_ci	bsr.l		chkregs
29008c2ecf20Sopenharmony_ci	tst.b		%d0
29018c2ecf20Sopenharmony_ci	bne.l		error
29028c2ecf20Sopenharmony_ci
29038c2ecf20Sopenharmony_ciea_12:
29048c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
29058c2ecf20Sopenharmony_ci
29068c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
29078c2ecf20Sopenharmony_ci	clr.l		%d2
29088c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
29098c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a4
29108c2ecf20Sopenharmony_ci
29118c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
29128c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
29138c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
29148c2ecf20Sopenharmony_ci
29158c2ecf20Sopenharmony_ci	mulu.l		-(%a4),%d2:%d3
29168c2ecf20Sopenharmony_ci
29178c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
29188c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
29198c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
29208c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
29218c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x30(%a6)
29228c2ecf20Sopenharmony_ci
29238c2ecf20Sopenharmony_ci	bsr.l		chkregs
29248c2ecf20Sopenharmony_ci	tst.b		%d0
29258c2ecf20Sopenharmony_ci	bne.l		error
29268c2ecf20Sopenharmony_ci
29278c2ecf20Sopenharmony_ciea_13:
29288c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
29298c2ecf20Sopenharmony_ci
29308c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
29318c2ecf20Sopenharmony_ci	clr.l		%d2
29328c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
29338c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a5
29348c2ecf20Sopenharmony_ci
29358c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
29368c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
29378c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
29388c2ecf20Sopenharmony_ci
29398c2ecf20Sopenharmony_ci	mulu.l		-(%a5),%d2:%d3
29408c2ecf20Sopenharmony_ci
29418c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
29428c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
29438c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
29448c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
29458c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x34(%a6)
29468c2ecf20Sopenharmony_ci
29478c2ecf20Sopenharmony_ci	bsr.l		chkregs
29488c2ecf20Sopenharmony_ci	tst.b		%d0
29498c2ecf20Sopenharmony_ci	bne.l		error
29508c2ecf20Sopenharmony_ci
29518c2ecf20Sopenharmony_ciea_14:
29528c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
29538c2ecf20Sopenharmony_ci
29548c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
29558c2ecf20Sopenharmony_ci
29568c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
29578c2ecf20Sopenharmony_ci
29588c2ecf20Sopenharmony_ci	clr.l		%d2
29598c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
29608c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a1),%a6
29618c2ecf20Sopenharmony_ci
29628c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
29638c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
29648c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
29658c2ecf20Sopenharmony_ci
29668c2ecf20Sopenharmony_ci	mulu.l		-(%a6),%d2:%d3
29678c2ecf20Sopenharmony_ci
29688c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
29698c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
29708c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
29718c2ecf20Sopenharmony_ci	lea		EAMEM(%a1),%a0
29728c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x38(%a1)
29738c2ecf20Sopenharmony_ci
29748c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
29758c2ecf20Sopenharmony_ci
29768c2ecf20Sopenharmony_ci	bsr.l		chkregs
29778c2ecf20Sopenharmony_ci	tst.b		%d0
29788c2ecf20Sopenharmony_ci	bne.l		error
29798c2ecf20Sopenharmony_ci
29808c2ecf20Sopenharmony_ciea_15:
29818c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
29828c2ecf20Sopenharmony_ci
29838c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
29848c2ecf20Sopenharmony_ci	clr.l		%d2
29858c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
29868c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
29878c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a7
29888c2ecf20Sopenharmony_ci
29898c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
29908c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
29918c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
29928c2ecf20Sopenharmony_ci
29938c2ecf20Sopenharmony_ci	mulu.l		-(%a7),%d2:%d3
29948c2ecf20Sopenharmony_ci
29958c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
29968c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
29978c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
29988c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a1
29998c2ecf20Sopenharmony_ci	mov.l		%a1,IREGS+0x3c(%a6)
30008c2ecf20Sopenharmony_ci
30018c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
30028c2ecf20Sopenharmony_ci	bsr.l		chkregs
30038c2ecf20Sopenharmony_ci	tst.b		%d0
30048c2ecf20Sopenharmony_ci	bne.l		error
30058c2ecf20Sopenharmony_ci
30068c2ecf20Sopenharmony_ciea_16:
30078c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
30088c2ecf20Sopenharmony_ci
30098c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
30108c2ecf20Sopenharmony_ci
30118c2ecf20Sopenharmony_ci	clr.l		%d2
30128c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
30138c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
30148c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
30158c2ecf20Sopenharmony_ci
30168c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
30178c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
30188c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
30198c2ecf20Sopenharmony_ci
30208c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.w*1),%d2:%d3
30218c2ecf20Sopenharmony_ci
30228c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
30238c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
30248c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
30258c2ecf20Sopenharmony_ci
30268c2ecf20Sopenharmony_ci	bsr.l		chkregs
30278c2ecf20Sopenharmony_ci	tst.b		%d0
30288c2ecf20Sopenharmony_ci	bne.l		error
30298c2ecf20Sopenharmony_ci
30308c2ecf20Sopenharmony_ciea_17:
30318c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
30328c2ecf20Sopenharmony_ci
30338c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
30348c2ecf20Sopenharmony_ci
30358c2ecf20Sopenharmony_ci	clr.l		%d2
30368c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
30378c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
30388c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
30398c2ecf20Sopenharmony_ci
30408c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
30418c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
30428c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
30438c2ecf20Sopenharmony_ci
30448c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.w*2),%d2:%d3
30458c2ecf20Sopenharmony_ci
30468c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
30478c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
30488c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
30498c2ecf20Sopenharmony_ci
30508c2ecf20Sopenharmony_ci	bsr.l		chkregs
30518c2ecf20Sopenharmony_ci	tst.b		%d0
30528c2ecf20Sopenharmony_ci	bne.l		error
30538c2ecf20Sopenharmony_ci
30548c2ecf20Sopenharmony_ciea_18:
30558c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
30568c2ecf20Sopenharmony_ci
30578c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
30588c2ecf20Sopenharmony_ci
30598c2ecf20Sopenharmony_ci	clr.l		%d2
30608c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
30618c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
30628c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
30638c2ecf20Sopenharmony_ci
30648c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
30658c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
30668c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
30678c2ecf20Sopenharmony_ci
30688c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.w*4),%d2:%d3
30698c2ecf20Sopenharmony_ci
30708c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
30718c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
30728c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
30738c2ecf20Sopenharmony_ci
30748c2ecf20Sopenharmony_ci	bsr.l		chkregs
30758c2ecf20Sopenharmony_ci	tst.b		%d0
30768c2ecf20Sopenharmony_ci	bne.l		error
30778c2ecf20Sopenharmony_ci
30788c2ecf20Sopenharmony_ciea_19:
30798c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
30808c2ecf20Sopenharmony_ci
30818c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
30828c2ecf20Sopenharmony_ci
30838c2ecf20Sopenharmony_ci	clr.l		%d2
30848c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
30858c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
30868c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
30878c2ecf20Sopenharmony_ci
30888c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
30898c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
30908c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
30918c2ecf20Sopenharmony_ci
30928c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.w*8),%d2:%d3
30938c2ecf20Sopenharmony_ci
30948c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
30958c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
30968c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
30978c2ecf20Sopenharmony_ci
30988c2ecf20Sopenharmony_ci	bsr.l		chkregs
30998c2ecf20Sopenharmony_ci	tst.b		%d0
31008c2ecf20Sopenharmony_ci	bne.l		error
31018c2ecf20Sopenharmony_ci
31028c2ecf20Sopenharmony_ciea_20:
31038c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
31048c2ecf20Sopenharmony_ci
31058c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
31068c2ecf20Sopenharmony_ci
31078c2ecf20Sopenharmony_ci	clr.l		%d2
31088c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
31098c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
31108c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
31118c2ecf20Sopenharmony_ci
31128c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
31138c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
31148c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
31158c2ecf20Sopenharmony_ci
31168c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.l*1),%d2:%d3
31178c2ecf20Sopenharmony_ci
31188c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
31198c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
31208c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
31218c2ecf20Sopenharmony_ci
31228c2ecf20Sopenharmony_ci	bsr.l		chkregs
31238c2ecf20Sopenharmony_ci	tst.b		%d0
31248c2ecf20Sopenharmony_ci	bne.l		error
31258c2ecf20Sopenharmony_ci
31268c2ecf20Sopenharmony_ciea_21:
31278c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
31288c2ecf20Sopenharmony_ci
31298c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
31308c2ecf20Sopenharmony_ci
31318c2ecf20Sopenharmony_ci	clr.l		%d2
31328c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
31338c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
31348c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
31358c2ecf20Sopenharmony_ci
31368c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
31378c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
31388c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
31398c2ecf20Sopenharmony_ci
31408c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.l*2),%d2:%d3
31418c2ecf20Sopenharmony_ci
31428c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
31438c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
31448c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
31458c2ecf20Sopenharmony_ci
31468c2ecf20Sopenharmony_ci	bsr.l		chkregs
31478c2ecf20Sopenharmony_ci	tst.b		%d0
31488c2ecf20Sopenharmony_ci	bne.l		error
31498c2ecf20Sopenharmony_ci
31508c2ecf20Sopenharmony_ciea_22:
31518c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
31528c2ecf20Sopenharmony_ci
31538c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
31548c2ecf20Sopenharmony_ci
31558c2ecf20Sopenharmony_ci	clr.l		%d2
31568c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
31578c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
31588c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
31598c2ecf20Sopenharmony_ci
31608c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
31618c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
31628c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
31638c2ecf20Sopenharmony_ci
31648c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.l*4),%d2:%d3
31658c2ecf20Sopenharmony_ci
31668c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
31678c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
31688c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
31698c2ecf20Sopenharmony_ci
31708c2ecf20Sopenharmony_ci	bsr.l		chkregs
31718c2ecf20Sopenharmony_ci	tst.b		%d0
31728c2ecf20Sopenharmony_ci	bne.l		error
31738c2ecf20Sopenharmony_ci
31748c2ecf20Sopenharmony_ciea_23:
31758c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
31768c2ecf20Sopenharmony_ci
31778c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
31788c2ecf20Sopenharmony_ci
31798c2ecf20Sopenharmony_ci	clr.l		%d2
31808c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
31818c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
31828c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
31838c2ecf20Sopenharmony_ci
31848c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
31858c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
31868c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
31878c2ecf20Sopenharmony_ci
31888c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%d4.l*8),%d2:%d3
31898c2ecf20Sopenharmony_ci
31908c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
31918c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
31928c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
31938c2ecf20Sopenharmony_ci
31948c2ecf20Sopenharmony_ci	bsr.l		chkregs
31958c2ecf20Sopenharmony_ci	tst.b		%d0
31968c2ecf20Sopenharmony_ci	bne.l		error
31978c2ecf20Sopenharmony_ci
31988c2ecf20Sopenharmony_ciea_24:
31998c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
32008c2ecf20Sopenharmony_ci
32018c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
32028c2ecf20Sopenharmony_ci
32038c2ecf20Sopenharmony_ci	clr.l		%d2
32048c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
32058c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
32068c2ecf20Sopenharmony_ci	mov.l		&-0x2,%a4
32078c2ecf20Sopenharmony_ci
32088c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
32098c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
32108c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
32118c2ecf20Sopenharmony_ci
32128c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a0,%a4.l*8),%d2:%d3
32138c2ecf20Sopenharmony_ci
32148c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
32158c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
32168c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
32178c2ecf20Sopenharmony_ci
32188c2ecf20Sopenharmony_ci	bsr.l		chkregs
32198c2ecf20Sopenharmony_ci	tst.b		%d0
32208c2ecf20Sopenharmony_ci	bne.l		error
32218c2ecf20Sopenharmony_ci
32228c2ecf20Sopenharmony_ciea_25:
32238c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
32248c2ecf20Sopenharmony_ci
32258c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
32268c2ecf20Sopenharmony_ci
32278c2ecf20Sopenharmony_ci	clr.l		%d2
32288c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
32298c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
32308c2ecf20Sopenharmony_ci	mov.l		&0x2,%a4
32318c2ecf20Sopenharmony_ci
32328c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
32338c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
32348c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
32358c2ecf20Sopenharmony_ci
32368c2ecf20Sopenharmony_ci	mulu.l		(-0x10.b,%a0,%a4.l*8),%d2:%d3
32378c2ecf20Sopenharmony_ci
32388c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
32398c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
32408c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
32418c2ecf20Sopenharmony_ci
32428c2ecf20Sopenharmony_ci	bsr.l		chkregs
32438c2ecf20Sopenharmony_ci	tst.b		%d0
32448c2ecf20Sopenharmony_ci	bne.l		error
32458c2ecf20Sopenharmony_ci
32468c2ecf20Sopenharmony_ciea_26:
32478c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
32488c2ecf20Sopenharmony_ci
32498c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
32508c2ecf20Sopenharmony_ci
32518c2ecf20Sopenharmony_ci	clr.l		%d2
32528c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
32538c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a1
32548c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
32558c2ecf20Sopenharmony_ci
32568c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
32578c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
32588c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
32598c2ecf20Sopenharmony_ci
32608c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a1,%d4.w*1),%d2:%d3
32618c2ecf20Sopenharmony_ci
32628c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
32638c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
32648c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
32658c2ecf20Sopenharmony_ci
32668c2ecf20Sopenharmony_ci	bsr.l		chkregs
32678c2ecf20Sopenharmony_ci	tst.b		%d0
32688c2ecf20Sopenharmony_ci	bne.l		error
32698c2ecf20Sopenharmony_ci
32708c2ecf20Sopenharmony_ciea_27:
32718c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
32728c2ecf20Sopenharmony_ci
32738c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
32748c2ecf20Sopenharmony_ci
32758c2ecf20Sopenharmony_ci	clr.l		%d2
32768c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
32778c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a2
32788c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
32798c2ecf20Sopenharmony_ci
32808c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
32818c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
32828c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
32838c2ecf20Sopenharmony_ci
32848c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a2,%d4.w*1),%d2:%d3
32858c2ecf20Sopenharmony_ci
32868c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
32878c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
32888c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
32898c2ecf20Sopenharmony_ci
32908c2ecf20Sopenharmony_ci	bsr.l		chkregs
32918c2ecf20Sopenharmony_ci	tst.b		%d0
32928c2ecf20Sopenharmony_ci	bne.l		error
32938c2ecf20Sopenharmony_ci
32948c2ecf20Sopenharmony_ciea_28:
32958c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
32968c2ecf20Sopenharmony_ci
32978c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
32988c2ecf20Sopenharmony_ci
32998c2ecf20Sopenharmony_ci	clr.l		%d2
33008c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
33018c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
33028c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
33038c2ecf20Sopenharmony_ci
33048c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
33058c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
33068c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
33078c2ecf20Sopenharmony_ci
33088c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a3,%d4.w*1),%d2:%d3
33098c2ecf20Sopenharmony_ci
33108c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
33118c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
33128c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
33138c2ecf20Sopenharmony_ci
33148c2ecf20Sopenharmony_ci	bsr.l		chkregs
33158c2ecf20Sopenharmony_ci	tst.b		%d0
33168c2ecf20Sopenharmony_ci	bne.l		error
33178c2ecf20Sopenharmony_ci
33188c2ecf20Sopenharmony_ciea_29:
33198c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
33208c2ecf20Sopenharmony_ci
33218c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
33228c2ecf20Sopenharmony_ci
33238c2ecf20Sopenharmony_ci	clr.l		%d2
33248c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
33258c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a4
33268c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
33278c2ecf20Sopenharmony_ci
33288c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
33298c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
33308c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
33318c2ecf20Sopenharmony_ci
33328c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a4,%d4.w*1),%d2:%d3
33338c2ecf20Sopenharmony_ci
33348c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
33358c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
33368c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
33378c2ecf20Sopenharmony_ci
33388c2ecf20Sopenharmony_ci	bsr.l		chkregs
33398c2ecf20Sopenharmony_ci	tst.b		%d0
33408c2ecf20Sopenharmony_ci	bne.l		error
33418c2ecf20Sopenharmony_ci
33428c2ecf20Sopenharmony_ciea_30:
33438c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
33448c2ecf20Sopenharmony_ci
33458c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
33468c2ecf20Sopenharmony_ci
33478c2ecf20Sopenharmony_ci	clr.l		%d2
33488c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
33498c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a5
33508c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
33518c2ecf20Sopenharmony_ci
33528c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
33538c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
33548c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
33558c2ecf20Sopenharmony_ci
33568c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a5,%d4.w*1),%d2:%d3
33578c2ecf20Sopenharmony_ci
33588c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
33598c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
33608c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
33618c2ecf20Sopenharmony_ci
33628c2ecf20Sopenharmony_ci	bsr.l		chkregs
33638c2ecf20Sopenharmony_ci	tst.b		%d0
33648c2ecf20Sopenharmony_ci	bne.l		error
33658c2ecf20Sopenharmony_ci
33668c2ecf20Sopenharmony_ciea_31:
33678c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
33688c2ecf20Sopenharmony_ci
33698c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
33708c2ecf20Sopenharmony_ci
33718c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
33728c2ecf20Sopenharmony_ci
33738c2ecf20Sopenharmony_ci	clr.l		%d2
33748c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
33758c2ecf20Sopenharmony_ci	lea		EAMEM(%a1),%a6
33768c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
33778c2ecf20Sopenharmony_ci
33788c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
33798c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
33808c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
33818c2ecf20Sopenharmony_ci
33828c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a6,%d4.w*1),%d2:%d3
33838c2ecf20Sopenharmony_ci
33848c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
33858c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
33868c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
33878c2ecf20Sopenharmony_ci
33888c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
33898c2ecf20Sopenharmony_ci
33908c2ecf20Sopenharmony_ci	bsr.l		chkregs
33918c2ecf20Sopenharmony_ci	tst.b		%d0
33928c2ecf20Sopenharmony_ci	bne.l		error
33938c2ecf20Sopenharmony_ci
33948c2ecf20Sopenharmony_ciea_32:
33958c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
33968c2ecf20Sopenharmony_ci
33978c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
33988c2ecf20Sopenharmony_ci
33998c2ecf20Sopenharmony_ci	clr.l		%d2
34008c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
34018c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
34028c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a7
34038c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
34048c2ecf20Sopenharmony_ci
34058c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
34068c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
34078c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
34088c2ecf20Sopenharmony_ci
34098c2ecf20Sopenharmony_ci	mulu.l		(0x10.b,%a7,%d4.w*1),%d2:%d3
34108c2ecf20Sopenharmony_ci
34118c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
34128c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
34138c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
34148c2ecf20Sopenharmony_ci
34158c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
34168c2ecf20Sopenharmony_ci	bsr.l		chkregs
34178c2ecf20Sopenharmony_ci	tst.b		%d0
34188c2ecf20Sopenharmony_ci	bne.l		error
34198c2ecf20Sopenharmony_ci
34208c2ecf20Sopenharmony_ciea_33:
34218c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
34228c2ecf20Sopenharmony_ci
34238c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
34248c2ecf20Sopenharmony_ci
34258c2ecf20Sopenharmony_ci	clr.l		%d2
34268c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
34278c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a1
34288c2ecf20Sopenharmony_ci
34298c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
34308c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
34318c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
34328c2ecf20Sopenharmony_ci
34338c2ecf20Sopenharmony_ci	mulu.l		(%a1),%d2:%d3
34348c2ecf20Sopenharmony_ci
34358c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
34368c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
34378c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
34388c2ecf20Sopenharmony_ci
34398c2ecf20Sopenharmony_ci	bsr.l		chkregs
34408c2ecf20Sopenharmony_ci	tst.b		%d0
34418c2ecf20Sopenharmony_ci	bne.l		error
34428c2ecf20Sopenharmony_ci
34438c2ecf20Sopenharmony_ciea_34:
34448c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
34458c2ecf20Sopenharmony_ci
34468c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
34478c2ecf20Sopenharmony_ci
34488c2ecf20Sopenharmony_ci	clr.l		%d2
34498c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
34508c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a2
34518c2ecf20Sopenharmony_ci
34528c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
34538c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
34548c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
34558c2ecf20Sopenharmony_ci
34568c2ecf20Sopenharmony_ci	mulu.l		(%a2),%d2:%d3
34578c2ecf20Sopenharmony_ci
34588c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
34598c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
34608c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
34618c2ecf20Sopenharmony_ci
34628c2ecf20Sopenharmony_ci	bsr.l		chkregs
34638c2ecf20Sopenharmony_ci	tst.b		%d0
34648c2ecf20Sopenharmony_ci	bne.l		error
34658c2ecf20Sopenharmony_ci
34668c2ecf20Sopenharmony_ciea_35:
34678c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
34688c2ecf20Sopenharmony_ci
34698c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
34708c2ecf20Sopenharmony_ci
34718c2ecf20Sopenharmony_ci	clr.l		%d2
34728c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
34738c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
34748c2ecf20Sopenharmony_ci
34758c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
34768c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
34778c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
34788c2ecf20Sopenharmony_ci
34798c2ecf20Sopenharmony_ci	mulu.l		(%a3),%d2:%d3
34808c2ecf20Sopenharmony_ci
34818c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
34828c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
34838c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
34848c2ecf20Sopenharmony_ci
34858c2ecf20Sopenharmony_ci	bsr.l		chkregs
34868c2ecf20Sopenharmony_ci	tst.b		%d0
34878c2ecf20Sopenharmony_ci	bne.l		error
34888c2ecf20Sopenharmony_ci
34898c2ecf20Sopenharmony_ciea_36:
34908c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
34918c2ecf20Sopenharmony_ci
34928c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
34938c2ecf20Sopenharmony_ci
34948c2ecf20Sopenharmony_ci	clr.l		%d2
34958c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
34968c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a4
34978c2ecf20Sopenharmony_ci
34988c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
34998c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
35008c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
35018c2ecf20Sopenharmony_ci
35028c2ecf20Sopenharmony_ci	mulu.l		(%a4),%d2:%d3
35038c2ecf20Sopenharmony_ci
35048c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
35058c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
35068c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
35078c2ecf20Sopenharmony_ci
35088c2ecf20Sopenharmony_ci	bsr.l		chkregs
35098c2ecf20Sopenharmony_ci	tst.b		%d0
35108c2ecf20Sopenharmony_ci	bne.l		error
35118c2ecf20Sopenharmony_ci
35128c2ecf20Sopenharmony_ciea_37:
35138c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
35148c2ecf20Sopenharmony_ci
35158c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
35168c2ecf20Sopenharmony_ci
35178c2ecf20Sopenharmony_ci	clr.l		%d2
35188c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
35198c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a5
35208c2ecf20Sopenharmony_ci
35218c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
35228c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
35238c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
35248c2ecf20Sopenharmony_ci
35258c2ecf20Sopenharmony_ci	mulu.l		(%a5),%d2:%d3
35268c2ecf20Sopenharmony_ci
35278c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
35288c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
35298c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
35308c2ecf20Sopenharmony_ci
35318c2ecf20Sopenharmony_ci	bsr.l		chkregs
35328c2ecf20Sopenharmony_ci	tst.b		%d0
35338c2ecf20Sopenharmony_ci	bne.l		error
35348c2ecf20Sopenharmony_ci
35358c2ecf20Sopenharmony_ciea_38:
35368c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
35378c2ecf20Sopenharmony_ci
35388c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
35398c2ecf20Sopenharmony_ci
35408c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
35418c2ecf20Sopenharmony_ci
35428c2ecf20Sopenharmony_ci	clr.l		%d2
35438c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
35448c2ecf20Sopenharmony_ci	lea		EAMEM(%a1),%a6
35458c2ecf20Sopenharmony_ci
35468c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
35478c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
35488c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
35498c2ecf20Sopenharmony_ci
35508c2ecf20Sopenharmony_ci	mulu.l		(%a6),%d2:%d3
35518c2ecf20Sopenharmony_ci
35528c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
35538c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
35548c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
35558c2ecf20Sopenharmony_ci
35568c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
35578c2ecf20Sopenharmony_ci
35588c2ecf20Sopenharmony_ci	bsr.l		chkregs
35598c2ecf20Sopenharmony_ci	tst.b		%d0
35608c2ecf20Sopenharmony_ci	bne.l		error
35618c2ecf20Sopenharmony_ci
35628c2ecf20Sopenharmony_ciea_39:
35638c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
35648c2ecf20Sopenharmony_ci
35658c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
35668c2ecf20Sopenharmony_ci
35678c2ecf20Sopenharmony_ci	clr.l		%d2
35688c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
35698c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
35708c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a7
35718c2ecf20Sopenharmony_ci
35728c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
35738c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
35748c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
35758c2ecf20Sopenharmony_ci
35768c2ecf20Sopenharmony_ci	mulu.l		(%a7),%d2:%d3
35778c2ecf20Sopenharmony_ci
35788c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
35798c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
35808c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
35818c2ecf20Sopenharmony_ci
35828c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
35838c2ecf20Sopenharmony_ci	bsr.l		chkregs
35848c2ecf20Sopenharmony_ci	tst.b		%d0
35858c2ecf20Sopenharmony_ci	bne.l		error
35868c2ecf20Sopenharmony_ci
35878c2ecf20Sopenharmony_ciea_40:
35888c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
35898c2ecf20Sopenharmony_ci
35908c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
35918c2ecf20Sopenharmony_ci
35928c2ecf20Sopenharmony_ci	clr.l		%d2
35938c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
35948c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a1
35958c2ecf20Sopenharmony_ci
35968c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
35978c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
35988c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
35998c2ecf20Sopenharmony_ci
36008c2ecf20Sopenharmony_ci	mulu.l		(%a1)+,%d2:%d3
36018c2ecf20Sopenharmony_ci
36028c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
36038c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
36048c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
36058c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
36068c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x24(%a6)
36078c2ecf20Sopenharmony_ci
36088c2ecf20Sopenharmony_ci	bsr.l		chkregs
36098c2ecf20Sopenharmony_ci	tst.b		%d0
36108c2ecf20Sopenharmony_ci	bne.l		error
36118c2ecf20Sopenharmony_ci
36128c2ecf20Sopenharmony_ciea_41:
36138c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
36148c2ecf20Sopenharmony_ci
36158c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
36168c2ecf20Sopenharmony_ci
36178c2ecf20Sopenharmony_ci	clr.l		%d2
36188c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
36198c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a2
36208c2ecf20Sopenharmony_ci
36218c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
36228c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
36238c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
36248c2ecf20Sopenharmony_ci
36258c2ecf20Sopenharmony_ci	mulu.l		(%a2)+,%d2:%d3
36268c2ecf20Sopenharmony_ci
36278c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
36288c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
36298c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
36308c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
36318c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x28(%a6)
36328c2ecf20Sopenharmony_ci
36338c2ecf20Sopenharmony_ci	bsr.l		chkregs
36348c2ecf20Sopenharmony_ci	tst.b		%d0
36358c2ecf20Sopenharmony_ci	bne.l		error
36368c2ecf20Sopenharmony_ci
36378c2ecf20Sopenharmony_ciea_42:
36388c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
36398c2ecf20Sopenharmony_ci
36408c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
36418c2ecf20Sopenharmony_ci
36428c2ecf20Sopenharmony_ci	clr.l		%d2
36438c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
36448c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
36458c2ecf20Sopenharmony_ci
36468c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
36478c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
36488c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
36498c2ecf20Sopenharmony_ci
36508c2ecf20Sopenharmony_ci	mulu.l		(%a3)+,%d2:%d3
36518c2ecf20Sopenharmony_ci
36528c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
36538c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
36548c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
36558c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
36568c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x2c(%a6)
36578c2ecf20Sopenharmony_ci
36588c2ecf20Sopenharmony_ci	bsr.l		chkregs
36598c2ecf20Sopenharmony_ci	tst.b		%d0
36608c2ecf20Sopenharmony_ci	bne.l		error
36618c2ecf20Sopenharmony_ci
36628c2ecf20Sopenharmony_ciea_43:
36638c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
36648c2ecf20Sopenharmony_ci
36658c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
36668c2ecf20Sopenharmony_ci
36678c2ecf20Sopenharmony_ci	clr.l		%d2
36688c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
36698c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a4
36708c2ecf20Sopenharmony_ci
36718c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
36728c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
36738c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
36748c2ecf20Sopenharmony_ci
36758c2ecf20Sopenharmony_ci	mulu.l		(%a4)+,%d2:%d3
36768c2ecf20Sopenharmony_ci
36778c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
36788c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
36798c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
36808c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
36818c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x30(%a6)
36828c2ecf20Sopenharmony_ci
36838c2ecf20Sopenharmony_ci	bsr.l		chkregs
36848c2ecf20Sopenharmony_ci	tst.b		%d0
36858c2ecf20Sopenharmony_ci	bne.l		error
36868c2ecf20Sopenharmony_ci
36878c2ecf20Sopenharmony_ciea_44:
36888c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
36898c2ecf20Sopenharmony_ci
36908c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
36918c2ecf20Sopenharmony_ci
36928c2ecf20Sopenharmony_ci	clr.l		%d2
36938c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
36948c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a5
36958c2ecf20Sopenharmony_ci
36968c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
36978c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
36988c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
36998c2ecf20Sopenharmony_ci
37008c2ecf20Sopenharmony_ci	mulu.l		(%a5)+,%d2:%d3
37018c2ecf20Sopenharmony_ci
37028c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
37038c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
37048c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
37058c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a0
37068c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x34(%a6)
37078c2ecf20Sopenharmony_ci
37088c2ecf20Sopenharmony_ci	bsr.l		chkregs
37098c2ecf20Sopenharmony_ci	tst.b		%d0
37108c2ecf20Sopenharmony_ci	bne.l		error
37118c2ecf20Sopenharmony_ci
37128c2ecf20Sopenharmony_ciea_45:
37138c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
37148c2ecf20Sopenharmony_ci
37158c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
37168c2ecf20Sopenharmony_ci
37178c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
37188c2ecf20Sopenharmony_ci
37198c2ecf20Sopenharmony_ci	clr.l		%d2
37208c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
37218c2ecf20Sopenharmony_ci	lea		EAMEM(%a1),%a6
37228c2ecf20Sopenharmony_ci
37238c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
37248c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
37258c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
37268c2ecf20Sopenharmony_ci
37278c2ecf20Sopenharmony_ci	mulu.l		(%a6)+,%d2:%d3
37288c2ecf20Sopenharmony_ci
37298c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
37308c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
37318c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
37328c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a1),%a0
37338c2ecf20Sopenharmony_ci	mov.l		%a0,IREGS+0x38(%a1)
37348c2ecf20Sopenharmony_ci
37358c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
37368c2ecf20Sopenharmony_ci
37378c2ecf20Sopenharmony_ci	bsr.l		chkregs
37388c2ecf20Sopenharmony_ci	tst.b		%d0
37398c2ecf20Sopenharmony_ci	bne.l		error
37408c2ecf20Sopenharmony_ci
37418c2ecf20Sopenharmony_ciea_46:
37428c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
37438c2ecf20Sopenharmony_ci
37448c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
37458c2ecf20Sopenharmony_ci
37468c2ecf20Sopenharmony_ci	clr.l		%d2
37478c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
37488c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
37498c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a7
37508c2ecf20Sopenharmony_ci
37518c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
37528c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
37538c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
37548c2ecf20Sopenharmony_ci
37558c2ecf20Sopenharmony_ci	mulu.l		(%a7)+,%d2:%d3
37568c2ecf20Sopenharmony_ci
37578c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
37588c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
37598c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
37608c2ecf20Sopenharmony_ci	lea		EAMEM+0x4(%a6),%a1
37618c2ecf20Sopenharmony_ci	mov.l		%a1,IREGS+0x3c(%a6)
37628c2ecf20Sopenharmony_ci
37638c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
37648c2ecf20Sopenharmony_ci	bsr.l		chkregs
37658c2ecf20Sopenharmony_ci	tst.b		%d0
37668c2ecf20Sopenharmony_ci	bne.l		error
37678c2ecf20Sopenharmony_ci
37688c2ecf20Sopenharmony_ciea_47:
37698c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
37708c2ecf20Sopenharmony_ci
37718c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
37728c2ecf20Sopenharmony_ci
37738c2ecf20Sopenharmony_ci	clr.l		%d2
37748c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
37758c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a1
37768c2ecf20Sopenharmony_ci
37778c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
37788c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
37798c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
37808c2ecf20Sopenharmony_ci
37818c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a1),%d2:%d3
37828c2ecf20Sopenharmony_ci
37838c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
37848c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
37858c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
37868c2ecf20Sopenharmony_ci
37878c2ecf20Sopenharmony_ci	bsr.l		chkregs
37888c2ecf20Sopenharmony_ci	tst.b		%d0
37898c2ecf20Sopenharmony_ci	bne.l		error
37908c2ecf20Sopenharmony_ci
37918c2ecf20Sopenharmony_ciea_48:
37928c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
37938c2ecf20Sopenharmony_ci
37948c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
37958c2ecf20Sopenharmony_ci
37968c2ecf20Sopenharmony_ci	clr.l		%d2
37978c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
37988c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a2
37998c2ecf20Sopenharmony_ci
38008c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
38018c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
38028c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
38038c2ecf20Sopenharmony_ci
38048c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a2),%d2:%d3
38058c2ecf20Sopenharmony_ci
38068c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
38078c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
38088c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
38098c2ecf20Sopenharmony_ci
38108c2ecf20Sopenharmony_ci	bsr.l		chkregs
38118c2ecf20Sopenharmony_ci	tst.b		%d0
38128c2ecf20Sopenharmony_ci	bne.l		error
38138c2ecf20Sopenharmony_ci
38148c2ecf20Sopenharmony_ciea_49:
38158c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
38168c2ecf20Sopenharmony_ci
38178c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
38188c2ecf20Sopenharmony_ci
38198c2ecf20Sopenharmony_ci	clr.l		%d2
38208c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
38218c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
38228c2ecf20Sopenharmony_ci
38238c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
38248c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
38258c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
38268c2ecf20Sopenharmony_ci
38278c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a3),%d2:%d3
38288c2ecf20Sopenharmony_ci
38298c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
38308c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
38318c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
38328c2ecf20Sopenharmony_ci
38338c2ecf20Sopenharmony_ci	bsr.l		chkregs
38348c2ecf20Sopenharmony_ci	tst.b		%d0
38358c2ecf20Sopenharmony_ci	bne.l		error
38368c2ecf20Sopenharmony_ci
38378c2ecf20Sopenharmony_ciea_50:
38388c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
38398c2ecf20Sopenharmony_ci
38408c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
38418c2ecf20Sopenharmony_ci
38428c2ecf20Sopenharmony_ci	clr.l		%d2
38438c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
38448c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a4
38458c2ecf20Sopenharmony_ci
38468c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
38478c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
38488c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
38498c2ecf20Sopenharmony_ci
38508c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a4),%d2:%d3
38518c2ecf20Sopenharmony_ci
38528c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
38538c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
38548c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
38558c2ecf20Sopenharmony_ci
38568c2ecf20Sopenharmony_ci	bsr.l		chkregs
38578c2ecf20Sopenharmony_ci	tst.b		%d0
38588c2ecf20Sopenharmony_ci	bne.l		error
38598c2ecf20Sopenharmony_ci
38608c2ecf20Sopenharmony_ciea_51:
38618c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
38628c2ecf20Sopenharmony_ci
38638c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
38648c2ecf20Sopenharmony_ci
38658c2ecf20Sopenharmony_ci	clr.l		%d2
38668c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
38678c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a5
38688c2ecf20Sopenharmony_ci
38698c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
38708c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
38718c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
38728c2ecf20Sopenharmony_ci
38738c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a5),%d2:%d3
38748c2ecf20Sopenharmony_ci
38758c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
38768c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
38778c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
38788c2ecf20Sopenharmony_ci
38798c2ecf20Sopenharmony_ci	bsr.l		chkregs
38808c2ecf20Sopenharmony_ci	tst.b		%d0
38818c2ecf20Sopenharmony_ci	bne.l		error
38828c2ecf20Sopenharmony_ci
38838c2ecf20Sopenharmony_ciea_52:
38848c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
38858c2ecf20Sopenharmony_ci
38868c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
38878c2ecf20Sopenharmony_ci
38888c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
38898c2ecf20Sopenharmony_ci
38908c2ecf20Sopenharmony_ci	clr.l		%d2
38918c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
38928c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a1),%a6
38938c2ecf20Sopenharmony_ci
38948c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
38958c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
38968c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
38978c2ecf20Sopenharmony_ci
38988c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a6),%d2:%d3
38998c2ecf20Sopenharmony_ci
39008c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
39018c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
39028c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
39038c2ecf20Sopenharmony_ci
39048c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
39058c2ecf20Sopenharmony_ci
39068c2ecf20Sopenharmony_ci	bsr.l		chkregs
39078c2ecf20Sopenharmony_ci	tst.b		%d0
39088c2ecf20Sopenharmony_ci	bne.l		error
39098c2ecf20Sopenharmony_ci
39108c2ecf20Sopenharmony_ciea_53:
39118c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
39128c2ecf20Sopenharmony_ci
39138c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
39148c2ecf20Sopenharmony_ci
39158c2ecf20Sopenharmony_ci	clr.l		%d2
39168c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
39178c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
39188c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a7
39198c2ecf20Sopenharmony_ci
39208c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
39218c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
39228c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
39238c2ecf20Sopenharmony_ci
39248c2ecf20Sopenharmony_ci	mulu.l		(0x1000,%a7),%d2:%d3
39258c2ecf20Sopenharmony_ci
39268c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
39278c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
39288c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
39298c2ecf20Sopenharmony_ci
39308c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
39318c2ecf20Sopenharmony_ci	bsr.l		chkregs
39328c2ecf20Sopenharmony_ci	tst.b		%d0
39338c2ecf20Sopenharmony_ci	bne.l		error
39348c2ecf20Sopenharmony_ci
39358c2ecf20Sopenharmony_ciea_54:
39368c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
39378c2ecf20Sopenharmony_ci
39388c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
39398c2ecf20Sopenharmony_ci
39408c2ecf20Sopenharmony_ci	clr.l		%d2
39418c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
39428c2ecf20Sopenharmony_ci	lea		EAMEM+0x1000(%a6),%a0
39438c2ecf20Sopenharmony_ci
39448c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
39458c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
39468c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
39478c2ecf20Sopenharmony_ci
39488c2ecf20Sopenharmony_ci	mulu.l		(-0x1000,%a0),%d2:%d3
39498c2ecf20Sopenharmony_ci
39508c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
39518c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
39528c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
39538c2ecf20Sopenharmony_ci
39548c2ecf20Sopenharmony_ci	bsr.l		chkregs
39558c2ecf20Sopenharmony_ci	tst.b		%d0
39568c2ecf20Sopenharmony_ci	bne.l		error
39578c2ecf20Sopenharmony_ci
39588c2ecf20Sopenharmony_ciea_55:
39598c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
39608c2ecf20Sopenharmony_ci
39618c2ecf20Sopenharmony_ci	bra.b		ea_55_next
39628c2ecf20Sopenharmony_ci
39638c2ecf20Sopenharmony_ciea_55_data:
39648c2ecf20Sopenharmony_ci	long		0x00000002
39658c2ecf20Sopenharmony_ciea_55_next:
39668c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
39678c2ecf20Sopenharmony_ci
39688c2ecf20Sopenharmony_ci	clr.l		%d2
39698c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
39708c2ecf20Sopenharmony_ci
39718c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
39728c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
39738c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
39748c2ecf20Sopenharmony_ci
39758c2ecf20Sopenharmony_ci	mulu.l		(ea_55_data.w,%pc),%d2:%d3
39768c2ecf20Sopenharmony_ci
39778c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
39788c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
39798c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
39808c2ecf20Sopenharmony_ci
39818c2ecf20Sopenharmony_ci	bsr.l		chkregs
39828c2ecf20Sopenharmony_ci	tst.b		%d0
39838c2ecf20Sopenharmony_ci	bne.l		error
39848c2ecf20Sopenharmony_ci
39858c2ecf20Sopenharmony_ciea_56:
39868c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
39878c2ecf20Sopenharmony_ci
39888c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
39898c2ecf20Sopenharmony_ci
39908c2ecf20Sopenharmony_ci	clr.l		%d2
39918c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
39928c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
39938c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
39948c2ecf20Sopenharmony_ci
39958c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
39968c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
39978c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
39988c2ecf20Sopenharmony_ci
39998c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.w*1),%d2:%d3
40008c2ecf20Sopenharmony_ci
40018c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
40028c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
40038c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
40048c2ecf20Sopenharmony_ci
40058c2ecf20Sopenharmony_ci	bsr.l		chkregs
40068c2ecf20Sopenharmony_ci	tst.b		%d0
40078c2ecf20Sopenharmony_ci	bne.l		error
40088c2ecf20Sopenharmony_ci
40098c2ecf20Sopenharmony_ciea_57:
40108c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
40118c2ecf20Sopenharmony_ci
40128c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
40138c2ecf20Sopenharmony_ci
40148c2ecf20Sopenharmony_ci	clr.l		%d2
40158c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
40168c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
40178c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
40188c2ecf20Sopenharmony_ci
40198c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
40208c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
40218c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
40228c2ecf20Sopenharmony_ci
40238c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.w*2),%d2:%d3
40248c2ecf20Sopenharmony_ci
40258c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
40268c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
40278c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
40288c2ecf20Sopenharmony_ci
40298c2ecf20Sopenharmony_ci	bsr.l		chkregs
40308c2ecf20Sopenharmony_ci	tst.b		%d0
40318c2ecf20Sopenharmony_ci	bne.l		error
40328c2ecf20Sopenharmony_ci
40338c2ecf20Sopenharmony_ciea_58:
40348c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
40358c2ecf20Sopenharmony_ci
40368c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
40378c2ecf20Sopenharmony_ci
40388c2ecf20Sopenharmony_ci	clr.l		%d2
40398c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
40408c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
40418c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
40428c2ecf20Sopenharmony_ci
40438c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
40448c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
40458c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
40468c2ecf20Sopenharmony_ci
40478c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.w*4),%d2:%d3
40488c2ecf20Sopenharmony_ci
40498c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
40508c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
40518c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
40528c2ecf20Sopenharmony_ci
40538c2ecf20Sopenharmony_ci	bsr.l		chkregs
40548c2ecf20Sopenharmony_ci	tst.b		%d0
40558c2ecf20Sopenharmony_ci	bne.l		error
40568c2ecf20Sopenharmony_ci
40578c2ecf20Sopenharmony_ciea_59:
40588c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
40598c2ecf20Sopenharmony_ci
40608c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
40618c2ecf20Sopenharmony_ci
40628c2ecf20Sopenharmony_ci	clr.l		%d2
40638c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
40648c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
40658c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
40668c2ecf20Sopenharmony_ci
40678c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
40688c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
40698c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
40708c2ecf20Sopenharmony_ci
40718c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.w*8),%d2:%d3
40728c2ecf20Sopenharmony_ci
40738c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
40748c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
40758c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
40768c2ecf20Sopenharmony_ci
40778c2ecf20Sopenharmony_ci	bsr.l		chkregs
40788c2ecf20Sopenharmony_ci	tst.b		%d0
40798c2ecf20Sopenharmony_ci	bne.l		error
40808c2ecf20Sopenharmony_ci
40818c2ecf20Sopenharmony_ciea_60:
40828c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
40838c2ecf20Sopenharmony_ci
40848c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
40858c2ecf20Sopenharmony_ci
40868c2ecf20Sopenharmony_ci	clr.l		%d2
40878c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
40888c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
40898c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
40908c2ecf20Sopenharmony_ci
40918c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
40928c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
40938c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
40948c2ecf20Sopenharmony_ci
40958c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.l*1),%d2:%d3
40968c2ecf20Sopenharmony_ci
40978c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
40988c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
40998c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
41008c2ecf20Sopenharmony_ci
41018c2ecf20Sopenharmony_ci	bsr.l		chkregs
41028c2ecf20Sopenharmony_ci	tst.b		%d0
41038c2ecf20Sopenharmony_ci	bne.l		error
41048c2ecf20Sopenharmony_ci
41058c2ecf20Sopenharmony_ciea_61:
41068c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
41078c2ecf20Sopenharmony_ci
41088c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
41098c2ecf20Sopenharmony_ci
41108c2ecf20Sopenharmony_ci	clr.l		%d2
41118c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
41128c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
41138c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
41148c2ecf20Sopenharmony_ci
41158c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
41168c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
41178c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
41188c2ecf20Sopenharmony_ci
41198c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.l*2),%d2:%d3
41208c2ecf20Sopenharmony_ci
41218c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
41228c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
41238c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
41248c2ecf20Sopenharmony_ci
41258c2ecf20Sopenharmony_ci	bsr.l		chkregs
41268c2ecf20Sopenharmony_ci	tst.b		%d0
41278c2ecf20Sopenharmony_ci	bne.l		error
41288c2ecf20Sopenharmony_ci
41298c2ecf20Sopenharmony_ciea_62:
41308c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
41318c2ecf20Sopenharmony_ci
41328c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
41338c2ecf20Sopenharmony_ci
41348c2ecf20Sopenharmony_ci	clr.l		%d2
41358c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
41368c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
41378c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
41388c2ecf20Sopenharmony_ci
41398c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
41408c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
41418c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
41428c2ecf20Sopenharmony_ci
41438c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.l*4),%d2:%d3
41448c2ecf20Sopenharmony_ci
41458c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
41468c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
41478c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
41488c2ecf20Sopenharmony_ci
41498c2ecf20Sopenharmony_ci	bsr.l		chkregs
41508c2ecf20Sopenharmony_ci	tst.b		%d0
41518c2ecf20Sopenharmony_ci	bne.l		error
41528c2ecf20Sopenharmony_ci
41538c2ecf20Sopenharmony_ciea_63:
41548c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
41558c2ecf20Sopenharmony_ci
41568c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
41578c2ecf20Sopenharmony_ci
41588c2ecf20Sopenharmony_ci	clr.l		%d2
41598c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
41608c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
41618c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
41628c2ecf20Sopenharmony_ci
41638c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
41648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
41658c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
41668c2ecf20Sopenharmony_ci
41678c2ecf20Sopenharmony_ci	mulu.l		(0x10.w,%a3,%d4.l*8),%d2:%d3
41688c2ecf20Sopenharmony_ci
41698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
41708c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
41718c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
41728c2ecf20Sopenharmony_ci
41738c2ecf20Sopenharmony_ci	bsr.l		chkregs
41748c2ecf20Sopenharmony_ci	tst.b		%d0
41758c2ecf20Sopenharmony_ci	bne.l		error
41768c2ecf20Sopenharmony_ci
41778c2ecf20Sopenharmony_ciea_64:
41788c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
41798c2ecf20Sopenharmony_ci
41808c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
41818c2ecf20Sopenharmony_ci
41828c2ecf20Sopenharmony_ci	clr.l		%d2
41838c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
41848c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
41858c2ecf20Sopenharmony_ci	mov.l		&0x2,%a4
41868c2ecf20Sopenharmony_ci
41878c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
41888c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
41898c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
41908c2ecf20Sopenharmony_ci
41918c2ecf20Sopenharmony_ci	mulu.l		(-0x10.w,%a3,%a4.l*8),%d2:%d3
41928c2ecf20Sopenharmony_ci
41938c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
41948c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
41958c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
41968c2ecf20Sopenharmony_ci
41978c2ecf20Sopenharmony_ci	bsr.l		chkregs
41988c2ecf20Sopenharmony_ci	tst.b		%d0
41998c2ecf20Sopenharmony_ci	bne.l		error
42008c2ecf20Sopenharmony_ci
42018c2ecf20Sopenharmony_ciea_65:
42028c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
42038c2ecf20Sopenharmony_ci
42048c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
42058c2ecf20Sopenharmony_ci
42068c2ecf20Sopenharmony_ci	clr.l		%d2
42078c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
42088c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
42098c2ecf20Sopenharmony_ci	mov.l		&0x2,%a4
42108c2ecf20Sopenharmony_ci
42118c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
42128c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
42138c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
42148c2ecf20Sopenharmony_ci
42158c2ecf20Sopenharmony_ci	mulu.l		(0x00.w,%a3,%za4.l*8),%d2:%d3
42168c2ecf20Sopenharmony_ci
42178c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
42188c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
42198c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
42208c2ecf20Sopenharmony_ci
42218c2ecf20Sopenharmony_ci	bsr.l		chkregs
42228c2ecf20Sopenharmony_ci	tst.b		%d0
42238c2ecf20Sopenharmony_ci	bne.l		error
42248c2ecf20Sopenharmony_ci
42258c2ecf20Sopenharmony_ciea_66:
42268c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
42278c2ecf20Sopenharmony_ci
42288c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
42298c2ecf20Sopenharmony_ci
42308c2ecf20Sopenharmony_ci	clr.l		%d2
42318c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
42328c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
42338c2ecf20Sopenharmony_ci	mov.l		%a3,%a4
42348c2ecf20Sopenharmony_ci	add.l		&0x10,%a4
42358c2ecf20Sopenharmony_ci
42368c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
42378c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
42388c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
42398c2ecf20Sopenharmony_ci
42408c2ecf20Sopenharmony_ci	mulu.l		(-0x10.w,%za3,%a4.l*1),%d2:%d3
42418c2ecf20Sopenharmony_ci
42428c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
42438c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
42448c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
42458c2ecf20Sopenharmony_ci
42468c2ecf20Sopenharmony_ci	bsr.l		chkregs
42478c2ecf20Sopenharmony_ci	tst.b		%d0
42488c2ecf20Sopenharmony_ci	bne.l		error
42498c2ecf20Sopenharmony_ci
42508c2ecf20Sopenharmony_ciea_67:
42518c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
42528c2ecf20Sopenharmony_ci
42538c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
42548c2ecf20Sopenharmony_ci
42558c2ecf20Sopenharmony_ci	clr.l		%d2
42568c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
42578c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
42588c2ecf20Sopenharmony_ci	mov.l		&0x2,%a4
42598c2ecf20Sopenharmony_ci
42608c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
42618c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
42628c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
42638c2ecf20Sopenharmony_ci
42648c2ecf20Sopenharmony_ci	mulu.l		(-0x10.l,%a3,%a4.l*8),%d2:%d3
42658c2ecf20Sopenharmony_ci
42668c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
42678c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
42688c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
42698c2ecf20Sopenharmony_ci
42708c2ecf20Sopenharmony_ci	bsr.l		chkregs
42718c2ecf20Sopenharmony_ci	tst.b		%d0
42728c2ecf20Sopenharmony_ci	bne.l		error
42738c2ecf20Sopenharmony_ci
42748c2ecf20Sopenharmony_ciea_68:
42758c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
42768c2ecf20Sopenharmony_ci
42778c2ecf20Sopenharmony_ci	bra.b		ea_68_next
42788c2ecf20Sopenharmony_ciea_68_mem:
42798c2ecf20Sopenharmony_ci	long		0x00000002
42808c2ecf20Sopenharmony_ciea_68_next:
42818c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
42828c2ecf20Sopenharmony_ci
42838c2ecf20Sopenharmony_ci	clr.l		%d2
42848c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
42858c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
42868c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
42878c2ecf20Sopenharmony_ci
42888c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
42898c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
42908c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
42918c2ecf20Sopenharmony_ci
42928c2ecf20Sopenharmony_ci	mulu.l		(ea_68_mem+0x10.w,%pc,%d4.w*1),%d2:%d3
42938c2ecf20Sopenharmony_ci
42948c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
42958c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
42968c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
42978c2ecf20Sopenharmony_ci
42988c2ecf20Sopenharmony_ci	bsr.l		chkregs
42998c2ecf20Sopenharmony_ci	tst.b		%d0
43008c2ecf20Sopenharmony_ci	bne.l		error
43018c2ecf20Sopenharmony_ci
43028c2ecf20Sopenharmony_ciea_69:
43038c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
43048c2ecf20Sopenharmony_ci
43058c2ecf20Sopenharmony_ci	bra.b		ea_69_next
43068c2ecf20Sopenharmony_ciea_69_mem:
43078c2ecf20Sopenharmony_ci	long		0x00000002
43088c2ecf20Sopenharmony_ciea_69_next:
43098c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
43108c2ecf20Sopenharmony_ci
43118c2ecf20Sopenharmony_ci	clr.l		%d2
43128c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
43138c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
43148c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
43158c2ecf20Sopenharmony_ci
43168c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
43178c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
43188c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
43198c2ecf20Sopenharmony_ci
43208c2ecf20Sopenharmony_ci	mulu.l		(ea_69_mem+0x10.w,%pc,%d4.w*2),%d2:%d3
43218c2ecf20Sopenharmony_ci
43228c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
43238c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
43248c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
43258c2ecf20Sopenharmony_ci
43268c2ecf20Sopenharmony_ci	bsr.l		chkregs
43278c2ecf20Sopenharmony_ci	tst.b		%d0
43288c2ecf20Sopenharmony_ci	bne.l		error
43298c2ecf20Sopenharmony_ci
43308c2ecf20Sopenharmony_ciea_70:
43318c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
43328c2ecf20Sopenharmony_ci
43338c2ecf20Sopenharmony_ci	bra.b		ea_70_next
43348c2ecf20Sopenharmony_ciea_70_mem:
43358c2ecf20Sopenharmony_ci	long		0x00000002
43368c2ecf20Sopenharmony_ciea_70_next:
43378c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
43388c2ecf20Sopenharmony_ci
43398c2ecf20Sopenharmony_ci	clr.l		%d2
43408c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
43418c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
43428c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
43438c2ecf20Sopenharmony_ci
43448c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
43458c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
43468c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
43478c2ecf20Sopenharmony_ci
43488c2ecf20Sopenharmony_ci	mulu.l		(ea_70_mem+0x10.w,%pc,%d4.w*4),%d2:%d3
43498c2ecf20Sopenharmony_ci
43508c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
43518c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
43528c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
43538c2ecf20Sopenharmony_ci
43548c2ecf20Sopenharmony_ci	bsr.l		chkregs
43558c2ecf20Sopenharmony_ci	tst.b		%d0
43568c2ecf20Sopenharmony_ci	bne.l		error
43578c2ecf20Sopenharmony_ci
43588c2ecf20Sopenharmony_ciea_71:
43598c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
43608c2ecf20Sopenharmony_ci
43618c2ecf20Sopenharmony_ci	bra.b		ea_71_next
43628c2ecf20Sopenharmony_ciea_71_mem:
43638c2ecf20Sopenharmony_ci	long		0x00000002
43648c2ecf20Sopenharmony_ciea_71_next:
43658c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
43668c2ecf20Sopenharmony_ci
43678c2ecf20Sopenharmony_ci	clr.l		%d2
43688c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
43698c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
43708c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
43718c2ecf20Sopenharmony_ci
43728c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
43738c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
43748c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
43758c2ecf20Sopenharmony_ci
43768c2ecf20Sopenharmony_ci	mulu.l		(ea_71_mem+0x10.w,%pc,%d4.w*8),%d2:%d3
43778c2ecf20Sopenharmony_ci
43788c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
43798c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
43808c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
43818c2ecf20Sopenharmony_ci
43828c2ecf20Sopenharmony_ci	bsr.l		chkregs
43838c2ecf20Sopenharmony_ci	tst.b		%d0
43848c2ecf20Sopenharmony_ci	bne.l		error
43858c2ecf20Sopenharmony_ci
43868c2ecf20Sopenharmony_ciea_72:
43878c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
43888c2ecf20Sopenharmony_ci
43898c2ecf20Sopenharmony_ci	bra.b		ea_72_next
43908c2ecf20Sopenharmony_ciea_72_mem:
43918c2ecf20Sopenharmony_ci	long		0x00000002
43928c2ecf20Sopenharmony_ciea_72_next:
43938c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
43948c2ecf20Sopenharmony_ci
43958c2ecf20Sopenharmony_ci	clr.l		%d2
43968c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
43978c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
43988c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
43998c2ecf20Sopenharmony_ci
44008c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
44018c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
44028c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
44038c2ecf20Sopenharmony_ci
44048c2ecf20Sopenharmony_ci	mulu.l		(ea_72_mem+0x10.w,%pc,%d4.l*1),%d2:%d3
44058c2ecf20Sopenharmony_ci
44068c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
44078c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
44088c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
44098c2ecf20Sopenharmony_ci
44108c2ecf20Sopenharmony_ci	bsr.l		chkregs
44118c2ecf20Sopenharmony_ci	tst.b		%d0
44128c2ecf20Sopenharmony_ci	bne.l		error
44138c2ecf20Sopenharmony_ci
44148c2ecf20Sopenharmony_ciea_73:
44158c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
44168c2ecf20Sopenharmony_ci
44178c2ecf20Sopenharmony_ci	bra.b		ea_73_next
44188c2ecf20Sopenharmony_ciea_73_mem:
44198c2ecf20Sopenharmony_ci	long		0x00000002
44208c2ecf20Sopenharmony_ciea_73_next:
44218c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
44228c2ecf20Sopenharmony_ci
44238c2ecf20Sopenharmony_ci	clr.l		%d2
44248c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
44258c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
44268c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
44278c2ecf20Sopenharmony_ci
44288c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
44298c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
44308c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
44318c2ecf20Sopenharmony_ci
44328c2ecf20Sopenharmony_ci	mulu.l		(ea_73_mem+0x10.w,%pc,%d4.l*2),%d2:%d3
44338c2ecf20Sopenharmony_ci
44348c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
44358c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
44368c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
44378c2ecf20Sopenharmony_ci
44388c2ecf20Sopenharmony_ci	bsr.l		chkregs
44398c2ecf20Sopenharmony_ci	tst.b		%d0
44408c2ecf20Sopenharmony_ci	bne.l		error
44418c2ecf20Sopenharmony_ci
44428c2ecf20Sopenharmony_ciea_74:
44438c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
44448c2ecf20Sopenharmony_ci
44458c2ecf20Sopenharmony_ci	bra.b		ea_74_next
44468c2ecf20Sopenharmony_ciea_74_mem:
44478c2ecf20Sopenharmony_ci	long		0x00000002
44488c2ecf20Sopenharmony_ciea_74_next:
44498c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
44508c2ecf20Sopenharmony_ci
44518c2ecf20Sopenharmony_ci	clr.l		%d2
44528c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
44538c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
44548c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
44558c2ecf20Sopenharmony_ci
44568c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
44578c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
44588c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
44598c2ecf20Sopenharmony_ci
44608c2ecf20Sopenharmony_ci	mulu.l		(ea_74_mem+0x10.w,%pc,%d4.l*4),%d2:%d3
44618c2ecf20Sopenharmony_ci
44628c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
44638c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
44648c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
44658c2ecf20Sopenharmony_ci
44668c2ecf20Sopenharmony_ci	bsr.l		chkregs
44678c2ecf20Sopenharmony_ci	tst.b		%d0
44688c2ecf20Sopenharmony_ci	bne.l		error
44698c2ecf20Sopenharmony_ci
44708c2ecf20Sopenharmony_ciea_75:
44718c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
44728c2ecf20Sopenharmony_ci
44738c2ecf20Sopenharmony_ci	bra.b		ea_75_next
44748c2ecf20Sopenharmony_ciea_75_mem:
44758c2ecf20Sopenharmony_ci	long		0x00000002
44768c2ecf20Sopenharmony_ciea_75_next:
44778c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
44788c2ecf20Sopenharmony_ci
44798c2ecf20Sopenharmony_ci	clr.l		%d2
44808c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
44818c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
44828c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
44838c2ecf20Sopenharmony_ci
44848c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
44858c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
44868c2ecf20Sopenharmony_ci	movm.l		&0x7fff,IREGS(%a6)
44878c2ecf20Sopenharmony_ci
44888c2ecf20Sopenharmony_ci	mulu.l		(ea_75_mem+0x10.w,%pc,%d4.l*8),%d2:%d3
44898c2ecf20Sopenharmony_ci
44908c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
44918c2ecf20Sopenharmony_ci	movm.l		&0x7fff,SREGS(%a6)
44928c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
44938c2ecf20Sopenharmony_ci
44948c2ecf20Sopenharmony_ci	bsr.l		chkregs
44958c2ecf20Sopenharmony_ci	tst.b		%d0
44968c2ecf20Sopenharmony_ci	bne.l		error
44978c2ecf20Sopenharmony_ci
44988c2ecf20Sopenharmony_ciea_76:
44998c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
45008c2ecf20Sopenharmony_ci
45018c2ecf20Sopenharmony_ci	bra.b		ea_76_next
45028c2ecf20Sopenharmony_ciea_76_mem:
45038c2ecf20Sopenharmony_ci	long		0x00000002
45048c2ecf20Sopenharmony_ciea_76_next:
45058c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
45068c2ecf20Sopenharmony_ci
45078c2ecf20Sopenharmony_ci	clr.l		%d2
45088c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
45098c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
45108c2ecf20Sopenharmony_ci	mov.l		&-0x2,%a4
45118c2ecf20Sopenharmony_ci
45128c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
45138c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
45148c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
45158c2ecf20Sopenharmony_ci
45168c2ecf20Sopenharmony_ci	mulu.l		(ea_76_mem+0x10.w,%pc,%a4.l*8),%d2:%d3
45178c2ecf20Sopenharmony_ci
45188c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
45198c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
45208c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
45218c2ecf20Sopenharmony_ci
45228c2ecf20Sopenharmony_ci	bsr.l		chkregs
45238c2ecf20Sopenharmony_ci	tst.b		%d0
45248c2ecf20Sopenharmony_ci	bne.l		error
45258c2ecf20Sopenharmony_ci
45268c2ecf20Sopenharmony_ciea_77:
45278c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
45288c2ecf20Sopenharmony_ci
45298c2ecf20Sopenharmony_ci	bra.b		ea_77_next
45308c2ecf20Sopenharmony_ciea_77_mem:
45318c2ecf20Sopenharmony_ci	long		0x00000002
45328c2ecf20Sopenharmony_ciea_77_next:
45338c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
45348c2ecf20Sopenharmony_ci
45358c2ecf20Sopenharmony_ci	clr.l		%d2
45368c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
45378c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a3
45388c2ecf20Sopenharmony_ci	mov.l		&0x2,%a4
45398c2ecf20Sopenharmony_ci
45408c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
45418c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
45428c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
45438c2ecf20Sopenharmony_ci
45448c2ecf20Sopenharmony_ci	mulu.l		(ea_77_mem+0x00.w,%pc,%za4.l*8),%d2:%d3
45458c2ecf20Sopenharmony_ci
45468c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
45478c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
45488c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
45498c2ecf20Sopenharmony_ci
45508c2ecf20Sopenharmony_ci	bsr.l		chkregs
45518c2ecf20Sopenharmony_ci	tst.b		%d0
45528c2ecf20Sopenharmony_ci	bne.l		error
45538c2ecf20Sopenharmony_ci
45548c2ecf20Sopenharmony_ciea_78:
45558c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
45568c2ecf20Sopenharmony_ci
45578c2ecf20Sopenharmony_ci#	movm.l		DEF_REGS(%pc),&0x3fff
45588c2ecf20Sopenharmony_ci
45598c2ecf20Sopenharmony_ci#	clr.l		%d2
45608c2ecf20Sopenharmony_ci#	mov.l		&0x00000002,%d3
45618c2ecf20Sopenharmony_ci#	lea		EAMEM,%a3
45628c2ecf20Sopenharmony_ci#	mov.l		%a3,%a4
45638c2ecf20Sopenharmony_ci#	add.l		&0x10,%a4
45648c2ecf20Sopenharmony_ci
45658c2ecf20Sopenharmony_ci#	mov.w		&0x0000,ICCR(%a6)
45668c2ecf20Sopenharmony_ci#	mov.w		&0x0000,%cc
45678c2ecf20Sopenharmony_ci#	movm.l		&0xffff,IREGS(%a6)
45688c2ecf20Sopenharmony_ci
45698c2ecf20Sopenharmony_ci#	mulu.l		(EAMEM-0x10.w,%zpc,%a4.l*1),%d2:%d3
45708c2ecf20Sopenharmony_ci
45718c2ecf20Sopenharmony_ci#	mov.w		%cc,SCCR(%a6)
45728c2ecf20Sopenharmony_ci#	movm.l		&0xffff,SREGS(%a6)
45738c2ecf20Sopenharmony_ci#	mov.l		&0x00000004,IREGS+0xc(%a6)
45748c2ecf20Sopenharmony_ci
45758c2ecf20Sopenharmony_ci#	bsr.l		chkregs
45768c2ecf20Sopenharmony_ci#	tst.b		%d0
45778c2ecf20Sopenharmony_ci#	bne.l		error
45788c2ecf20Sopenharmony_ci
45798c2ecf20Sopenharmony_ciea_79:
45808c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
45818c2ecf20Sopenharmony_ci
45828c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
45838c2ecf20Sopenharmony_ci
45848c2ecf20Sopenharmony_ci	clr.l		%d2
45858c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
45868c2ecf20Sopenharmony_ci	lea		EAMEM,%a3
45878c2ecf20Sopenharmony_ci	mov.l		&0x2,%a4
45888c2ecf20Sopenharmony_ci
45898c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
45908c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
45918c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
45928c2ecf20Sopenharmony_ci
45938c2ecf20Sopenharmony_ci	mulu.l		(ea_79_mem-0x10.l,%pc,%a4.l*8),%d2:%d3
45948c2ecf20Sopenharmony_ci
45958c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
45968c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
45978c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
45988c2ecf20Sopenharmony_ci
45998c2ecf20Sopenharmony_ci	bra.b		ea_79_next
46008c2ecf20Sopenharmony_ciea_79_mem:
46018c2ecf20Sopenharmony_ci	long		0x00000002
46028c2ecf20Sopenharmony_ciea_79_next:
46038c2ecf20Sopenharmony_ci
46048c2ecf20Sopenharmony_ci	bsr.l		chkregs
46058c2ecf20Sopenharmony_ci	tst.b		%d0
46068c2ecf20Sopenharmony_ci	bne.l		error
46078c2ecf20Sopenharmony_ci
46088c2ecf20Sopenharmony_ciea_80:
46098c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
46108c2ecf20Sopenharmony_ci
46118c2ecf20Sopenharmony_ci	bra.b		ea_80_next
46128c2ecf20Sopenharmony_ciea_80_mem:
46138c2ecf20Sopenharmony_ci	long		0x00000002
46148c2ecf20Sopenharmony_ciea_80_next:
46158c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
46168c2ecf20Sopenharmony_ci
46178c2ecf20Sopenharmony_ci	clr.l		%d2
46188c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
46198c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a1
46208c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
46218c2ecf20Sopenharmony_ci
46228c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
46238c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
46248c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
46258c2ecf20Sopenharmony_ci
46268c2ecf20Sopenharmony_ci	mulu.l		(ea_80_mem+0x10.b,%pc,%d4.w*1),%d2:%d3
46278c2ecf20Sopenharmony_ci
46288c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
46298c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
46308c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
46318c2ecf20Sopenharmony_ci
46328c2ecf20Sopenharmony_ci	bsr.l		chkregs
46338c2ecf20Sopenharmony_ci	tst.b		%d0
46348c2ecf20Sopenharmony_ci	bne.l		error
46358c2ecf20Sopenharmony_ci
46368c2ecf20Sopenharmony_ciea_81:
46378c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
46388c2ecf20Sopenharmony_ci
46398c2ecf20Sopenharmony_ci	bra.b		ea_81_next
46408c2ecf20Sopenharmony_ciea_81_mem:
46418c2ecf20Sopenharmony_ci	long		0x00000002
46428c2ecf20Sopenharmony_ciea_81_next:
46438c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
46448c2ecf20Sopenharmony_ci
46458c2ecf20Sopenharmony_ci	clr.l		%d2
46468c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
46478c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
46488c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
46498c2ecf20Sopenharmony_ci
46508c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
46518c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
46528c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
46538c2ecf20Sopenharmony_ci
46548c2ecf20Sopenharmony_ci	mulu.l		(ea_81_mem+0x10.b,%pc,%d4.w*2),%d2:%d3
46558c2ecf20Sopenharmony_ci
46568c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
46578c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
46588c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
46598c2ecf20Sopenharmony_ci
46608c2ecf20Sopenharmony_ci	bsr.l		chkregs
46618c2ecf20Sopenharmony_ci	tst.b		%d0
46628c2ecf20Sopenharmony_ci	bne.l		error
46638c2ecf20Sopenharmony_ci
46648c2ecf20Sopenharmony_ciea_82:
46658c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
46668c2ecf20Sopenharmony_ci
46678c2ecf20Sopenharmony_ci	bra.b		ea_82_next
46688c2ecf20Sopenharmony_ciea_82_mem:
46698c2ecf20Sopenharmony_ci	long		0x00000002
46708c2ecf20Sopenharmony_ciea_82_next:
46718c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
46728c2ecf20Sopenharmony_ci
46738c2ecf20Sopenharmony_ci	clr.l		%d2
46748c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
46758c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
46768c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
46778c2ecf20Sopenharmony_ci
46788c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
46798c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
46808c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
46818c2ecf20Sopenharmony_ci
46828c2ecf20Sopenharmony_ci	mulu.l		(ea_82_mem+0x10.b,%pc,%d4.w*4),%d2:%d3
46838c2ecf20Sopenharmony_ci
46848c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
46858c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
46868c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
46878c2ecf20Sopenharmony_ci
46888c2ecf20Sopenharmony_ci	bsr.l		chkregs
46898c2ecf20Sopenharmony_ci	tst.b		%d0
46908c2ecf20Sopenharmony_ci	bne.l		error
46918c2ecf20Sopenharmony_ci
46928c2ecf20Sopenharmony_ciea_83:
46938c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
46948c2ecf20Sopenharmony_ci
46958c2ecf20Sopenharmony_ci	bra.b		ea_83_next
46968c2ecf20Sopenharmony_ciea_83_mem:
46978c2ecf20Sopenharmony_ci	long		0x00000002
46988c2ecf20Sopenharmony_ciea_83_next:
46998c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
47008c2ecf20Sopenharmony_ci
47018c2ecf20Sopenharmony_ci	clr.l		%d2
47028c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
47038c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
47048c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
47058c2ecf20Sopenharmony_ci
47068c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
47078c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
47088c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
47098c2ecf20Sopenharmony_ci
47108c2ecf20Sopenharmony_ci	mulu.l		(ea_83_mem+0x10.b,%pc,%d4.w*8),%d2:%d3
47118c2ecf20Sopenharmony_ci
47128c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
47138c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
47148c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
47158c2ecf20Sopenharmony_ci
47168c2ecf20Sopenharmony_ci	bsr.l		chkregs
47178c2ecf20Sopenharmony_ci	tst.b		%d0
47188c2ecf20Sopenharmony_ci	bne.l		error
47198c2ecf20Sopenharmony_ci
47208c2ecf20Sopenharmony_ciea_84:
47218c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
47228c2ecf20Sopenharmony_ci
47238c2ecf20Sopenharmony_ci	bra.b		ea_84_next
47248c2ecf20Sopenharmony_ciea_84_mem:
47258c2ecf20Sopenharmony_ci	long		0x00000002
47268c2ecf20Sopenharmony_ciea_84_next:
47278c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
47288c2ecf20Sopenharmony_ci
47298c2ecf20Sopenharmony_ci	clr.l		%d2
47308c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
47318c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
47328c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
47338c2ecf20Sopenharmony_ci
47348c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
47358c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
47368c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
47378c2ecf20Sopenharmony_ci
47388c2ecf20Sopenharmony_ci	mulu.l		(ea_84_mem+0x10.b,%pc,%d4.l*1),%d2:%d3
47398c2ecf20Sopenharmony_ci
47408c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
47418c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
47428c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
47438c2ecf20Sopenharmony_ci
47448c2ecf20Sopenharmony_ci	bsr.l		chkregs
47458c2ecf20Sopenharmony_ci	tst.b		%d0
47468c2ecf20Sopenharmony_ci	bne.l		error
47478c2ecf20Sopenharmony_ci
47488c2ecf20Sopenharmony_ciea_85:
47498c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
47508c2ecf20Sopenharmony_ci
47518c2ecf20Sopenharmony_ci	bra.b		ea_85_next
47528c2ecf20Sopenharmony_ciea_85_mem:
47538c2ecf20Sopenharmony_ci	long		0x00000002
47548c2ecf20Sopenharmony_ciea_85_next:
47558c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
47568c2ecf20Sopenharmony_ci
47578c2ecf20Sopenharmony_ci	clr.l		%d2
47588c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
47598c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
47608c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
47618c2ecf20Sopenharmony_ci
47628c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
47638c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
47648c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
47658c2ecf20Sopenharmony_ci
47668c2ecf20Sopenharmony_ci	mulu.l		(ea_85_mem+0x10.b,%pc,%d4.l*2),%d2:%d3
47678c2ecf20Sopenharmony_ci
47688c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
47698c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
47708c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
47718c2ecf20Sopenharmony_ci
47728c2ecf20Sopenharmony_ci	bsr.l		chkregs
47738c2ecf20Sopenharmony_ci	tst.b		%d0
47748c2ecf20Sopenharmony_ci	bne.l		error
47758c2ecf20Sopenharmony_ci
47768c2ecf20Sopenharmony_ciea_86:
47778c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
47788c2ecf20Sopenharmony_ci
47798c2ecf20Sopenharmony_ci	bra.b		ea_86_next
47808c2ecf20Sopenharmony_ciea_86_mem:
47818c2ecf20Sopenharmony_ci	long		0x00000002
47828c2ecf20Sopenharmony_ciea_86_next:
47838c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
47848c2ecf20Sopenharmony_ci
47858c2ecf20Sopenharmony_ci	clr.l		%d2
47868c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
47878c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
47888c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
47898c2ecf20Sopenharmony_ci
47908c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
47918c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
47928c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
47938c2ecf20Sopenharmony_ci
47948c2ecf20Sopenharmony_ci	mulu.l		(ea_86_mem+0x10.b,%pc,%d4.l*4),%d2:%d3
47958c2ecf20Sopenharmony_ci
47968c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
47978c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
47988c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
47998c2ecf20Sopenharmony_ci
48008c2ecf20Sopenharmony_ci	bsr.l		chkregs
48018c2ecf20Sopenharmony_ci	tst.b		%d0
48028c2ecf20Sopenharmony_ci	bne.l		error
48038c2ecf20Sopenharmony_ci
48048c2ecf20Sopenharmony_ciea_87:
48058c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
48068c2ecf20Sopenharmony_ci
48078c2ecf20Sopenharmony_ci	bra.b		ea_87_next
48088c2ecf20Sopenharmony_ciea_87_mem:
48098c2ecf20Sopenharmony_ci	long		0x00000002
48108c2ecf20Sopenharmony_ciea_87_next:
48118c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
48128c2ecf20Sopenharmony_ci
48138c2ecf20Sopenharmony_ci	clr.l		%d2
48148c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
48158c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
48168c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
48178c2ecf20Sopenharmony_ci
48188c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
48198c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
48208c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
48218c2ecf20Sopenharmony_ci
48228c2ecf20Sopenharmony_ci	mulu.l		(ea_87_mem+0x10.b,%pc,%d4.l*8),%d2:%d3
48238c2ecf20Sopenharmony_ci
48248c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
48258c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
48268c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
48278c2ecf20Sopenharmony_ci
48288c2ecf20Sopenharmony_ci	bsr.l		chkregs
48298c2ecf20Sopenharmony_ci	tst.b		%d0
48308c2ecf20Sopenharmony_ci	bne.l		error
48318c2ecf20Sopenharmony_ci
48328c2ecf20Sopenharmony_ciea_88:
48338c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
48348c2ecf20Sopenharmony_ci
48358c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
48368c2ecf20Sopenharmony_ci
48378c2ecf20Sopenharmony_ci	clr.l		%d2
48388c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
48398c2ecf20Sopenharmony_ci	lea		EAMEM(%a6),%a0
48408c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
48418c2ecf20Sopenharmony_ci
48428c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
48438c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
48448c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
48458c2ecf20Sopenharmony_ci
48468c2ecf20Sopenharmony_ci	mulu.l		(ea_88_mem+0x10.b,%pc,%d4.l*8),%d2:%d3
48478c2ecf20Sopenharmony_ci
48488c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
48498c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
48508c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
48518c2ecf20Sopenharmony_ci
48528c2ecf20Sopenharmony_ci	bra.b		ea_88_next
48538c2ecf20Sopenharmony_ciea_88_mem:
48548c2ecf20Sopenharmony_ci	long		0x00000002
48558c2ecf20Sopenharmony_ciea_88_next:
48568c2ecf20Sopenharmony_ci
48578c2ecf20Sopenharmony_ci	bsr.l		chkregs
48588c2ecf20Sopenharmony_ci	tst.b		%d0
48598c2ecf20Sopenharmony_ci	bne.l		error
48608c2ecf20Sopenharmony_ci
48618c2ecf20Sopenharmony_ciea_89:
48628c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
48638c2ecf20Sopenharmony_ci
48648c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
48658c2ecf20Sopenharmony_ci
48668c2ecf20Sopenharmony_ci	clr.l		%d2
48678c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
48688c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
48698c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
48708c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
48718c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
48728c2ecf20Sopenharmony_ci
48738c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
48748c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
48758c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
48768c2ecf20Sopenharmony_ci
48778c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.w*1],0x1000.w),%d2:%d3
48788c2ecf20Sopenharmony_ci
48798c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
48808c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
48818c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
48828c2ecf20Sopenharmony_ci
48838c2ecf20Sopenharmony_ci	bsr.l		chkregs
48848c2ecf20Sopenharmony_ci	tst.b		%d0
48858c2ecf20Sopenharmony_ci	bne.l		error
48868c2ecf20Sopenharmony_ci
48878c2ecf20Sopenharmony_ciea_90:
48888c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
48898c2ecf20Sopenharmony_ci
48908c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
48918c2ecf20Sopenharmony_ci
48928c2ecf20Sopenharmony_ci	clr.l		%d2
48938c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
48948c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
48958c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
48968c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
48978c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
48988c2ecf20Sopenharmony_ci
48998c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
49008c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
49018c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
49028c2ecf20Sopenharmony_ci
49038c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.w*2],0x1000.w),%d2:%d3
49048c2ecf20Sopenharmony_ci
49058c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
49068c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
49078c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
49088c2ecf20Sopenharmony_ci
49098c2ecf20Sopenharmony_ci	bsr.l		chkregs
49108c2ecf20Sopenharmony_ci	tst.b		%d0
49118c2ecf20Sopenharmony_ci	bne.l		error
49128c2ecf20Sopenharmony_ci
49138c2ecf20Sopenharmony_ciea_91:
49148c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
49158c2ecf20Sopenharmony_ci
49168c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
49178c2ecf20Sopenharmony_ci
49188c2ecf20Sopenharmony_ci	clr.l		%d2
49198c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
49208c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
49218c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
49228c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
49238c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
49248c2ecf20Sopenharmony_ci
49258c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
49268c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
49278c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
49288c2ecf20Sopenharmony_ci
49298c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.w*4],0x1000.w),%d2:%d3
49308c2ecf20Sopenharmony_ci
49318c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
49328c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
49338c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
49348c2ecf20Sopenharmony_ci
49358c2ecf20Sopenharmony_ci	bsr.l		chkregs
49368c2ecf20Sopenharmony_ci	tst.b		%d0
49378c2ecf20Sopenharmony_ci	bne.l		error
49388c2ecf20Sopenharmony_ci
49398c2ecf20Sopenharmony_ciea_92:
49408c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
49418c2ecf20Sopenharmony_ci
49428c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
49438c2ecf20Sopenharmony_ci
49448c2ecf20Sopenharmony_ci	clr.l		%d2
49458c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
49468c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
49478c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
49488c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
49498c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
49508c2ecf20Sopenharmony_ci
49518c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
49528c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
49538c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
49548c2ecf20Sopenharmony_ci
49558c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.w*8],0x1000.w),%d2:%d3
49568c2ecf20Sopenharmony_ci
49578c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
49588c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
49598c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
49608c2ecf20Sopenharmony_ci
49618c2ecf20Sopenharmony_ci	bsr.l		chkregs
49628c2ecf20Sopenharmony_ci	tst.b		%d0
49638c2ecf20Sopenharmony_ci	bne.l		error
49648c2ecf20Sopenharmony_ci
49658c2ecf20Sopenharmony_ciea_93:
49668c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
49678c2ecf20Sopenharmony_ci
49688c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
49698c2ecf20Sopenharmony_ci
49708c2ecf20Sopenharmony_ci	clr.l		%d2
49718c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
49728c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
49738c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
49748c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
49758c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
49768c2ecf20Sopenharmony_ci
49778c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
49788c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
49798c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
49808c2ecf20Sopenharmony_ci
49818c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.l*1],0x1000.w),%d2:%d3
49828c2ecf20Sopenharmony_ci
49838c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
49848c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
49858c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
49868c2ecf20Sopenharmony_ci
49878c2ecf20Sopenharmony_ci	bsr.l		chkregs
49888c2ecf20Sopenharmony_ci	tst.b		%d0
49898c2ecf20Sopenharmony_ci	bne.l		error
49908c2ecf20Sopenharmony_ci
49918c2ecf20Sopenharmony_ciea_94:
49928c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
49938c2ecf20Sopenharmony_ci
49948c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
49958c2ecf20Sopenharmony_ci
49968c2ecf20Sopenharmony_ci	clr.l		%d2
49978c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
49988c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
49998c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
50008c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
50018c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
50028c2ecf20Sopenharmony_ci
50038c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
50048c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
50058c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
50068c2ecf20Sopenharmony_ci
50078c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.l*2],0x1000.w),%d2:%d3
50088c2ecf20Sopenharmony_ci
50098c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
50108c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
50118c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
50128c2ecf20Sopenharmony_ci
50138c2ecf20Sopenharmony_ci	bsr.l		chkregs
50148c2ecf20Sopenharmony_ci	tst.b		%d0
50158c2ecf20Sopenharmony_ci	bne.l		error
50168c2ecf20Sopenharmony_ci
50178c2ecf20Sopenharmony_ciea_95:
50188c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
50198c2ecf20Sopenharmony_ci
50208c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
50218c2ecf20Sopenharmony_ci
50228c2ecf20Sopenharmony_ci	clr.l		%d2
50238c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
50248c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
50258c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
50268c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
50278c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
50288c2ecf20Sopenharmony_ci
50298c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
50308c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
50318c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
50328c2ecf20Sopenharmony_ci
50338c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.l*4],0x1000.w),%d2:%d3
50348c2ecf20Sopenharmony_ci
50358c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
50368c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
50378c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
50388c2ecf20Sopenharmony_ci
50398c2ecf20Sopenharmony_ci	bsr.l		chkregs
50408c2ecf20Sopenharmony_ci	tst.b		%d0
50418c2ecf20Sopenharmony_ci	bne.l		error
50428c2ecf20Sopenharmony_ci
50438c2ecf20Sopenharmony_ciea_96:
50448c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
50458c2ecf20Sopenharmony_ci
50468c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
50478c2ecf20Sopenharmony_ci
50488c2ecf20Sopenharmony_ci	clr.l		%d2
50498c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
50508c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
50518c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
50528c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
50538c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
50548c2ecf20Sopenharmony_ci
50558c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
50568c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
50578c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
50588c2ecf20Sopenharmony_ci
50598c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%d4.l*8],0x1000.w),%d2:%d3
50608c2ecf20Sopenharmony_ci
50618c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
50628c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
50638c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
50648c2ecf20Sopenharmony_ci
50658c2ecf20Sopenharmony_ci	bsr.l		chkregs
50668c2ecf20Sopenharmony_ci	tst.b		%d0
50678c2ecf20Sopenharmony_ci	bne.l		error
50688c2ecf20Sopenharmony_ci
50698c2ecf20Sopenharmony_ciea_97:
50708c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
50718c2ecf20Sopenharmony_ci
50728c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
50738c2ecf20Sopenharmony_ci
50748c2ecf20Sopenharmony_ci	clr.l		%d2
50758c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
50768c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
50778c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
50788c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
50798c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
50808c2ecf20Sopenharmony_ci
50818c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
50828c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
50838c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
50848c2ecf20Sopenharmony_ci
50858c2ecf20Sopenharmony_ci	mulu.l		([0x10.l,%a4,%d4.l*8],0x1000.l),%d2:%d3
50868c2ecf20Sopenharmony_ci
50878c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
50888c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
50898c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
50908c2ecf20Sopenharmony_ci
50918c2ecf20Sopenharmony_ci	bsr.l		chkregs
50928c2ecf20Sopenharmony_ci	tst.b		%d0
50938c2ecf20Sopenharmony_ci	bne.l		error
50948c2ecf20Sopenharmony_ci
50958c2ecf20Sopenharmony_ciea_98:
50968c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
50978c2ecf20Sopenharmony_ci
50988c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
50998c2ecf20Sopenharmony_ci
51008c2ecf20Sopenharmony_ci	clr.l		%d2
51018c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
51028c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
51038c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
51048c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
51058c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
51068c2ecf20Sopenharmony_ci
51078c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
51088c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
51098c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
51108c2ecf20Sopenharmony_ci
51118c2ecf20Sopenharmony_ci	mulu.l		([0x00.l,%a4,%zd4.l*8],0x1000.l),%d2:%d3
51128c2ecf20Sopenharmony_ci
51138c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
51148c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
51158c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
51168c2ecf20Sopenharmony_ci
51178c2ecf20Sopenharmony_ci	bsr.l		chkregs
51188c2ecf20Sopenharmony_ci	tst.b		%d0
51198c2ecf20Sopenharmony_ci	bne.l		error
51208c2ecf20Sopenharmony_ci
51218c2ecf20Sopenharmony_ciea_99:
51228c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
51238c2ecf20Sopenharmony_ci
51248c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
51258c2ecf20Sopenharmony_ci
51268c2ecf20Sopenharmony_ci	clr.l		%d2
51278c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
51288c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
51298c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
51308c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
51318c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
51328c2ecf20Sopenharmony_ci
51338c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
51348c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
51358c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
51368c2ecf20Sopenharmony_ci
51378c2ecf20Sopenharmony_ci	mulu.l		([%a4,%zd4.l*8],0x1000.l),%d2:%d3
51388c2ecf20Sopenharmony_ci
51398c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
51408c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
51418c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
51428c2ecf20Sopenharmony_ci
51438c2ecf20Sopenharmony_ci	bsr.l		chkregs
51448c2ecf20Sopenharmony_ci	tst.b		%d0
51458c2ecf20Sopenharmony_ci	bne.l		error
51468c2ecf20Sopenharmony_ci
51478c2ecf20Sopenharmony_ciea_100:
51488c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
51498c2ecf20Sopenharmony_ci
51508c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
51518c2ecf20Sopenharmony_ci
51528c2ecf20Sopenharmony_ci	clr.l		%d2
51538c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
51548c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%a6),%a3
51558c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
51568c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
51578c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
51588c2ecf20Sopenharmony_ci	add.l		%a4,%d4
51598c2ecf20Sopenharmony_ci
51608c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
51618c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
51628c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
51638c2ecf20Sopenharmony_ci
51648c2ecf20Sopenharmony_ci	mulu.l		([0x10.l,%za4,%d4.l*1],0x1000.l),%d2:%d3
51658c2ecf20Sopenharmony_ci
51668c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
51678c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
51688c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
51698c2ecf20Sopenharmony_ci
51708c2ecf20Sopenharmony_ci	bsr.l		chkregs
51718c2ecf20Sopenharmony_ci	tst.b		%d0
51728c2ecf20Sopenharmony_ci	bne.l		error
51738c2ecf20Sopenharmony_ci
51748c2ecf20Sopenharmony_ciea_101:
51758c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
51768c2ecf20Sopenharmony_ci
51778c2ecf20Sopenharmony_ci#	movm.l		DEF_REGS(%pc),&0x3fff
51788c2ecf20Sopenharmony_ci
51798c2ecf20Sopenharmony_ci#	clr.l		%d2
51808c2ecf20Sopenharmony_ci#	mov.l		&0x00000002,%d3
51818c2ecf20Sopenharmony_ci#	lea		EAMEM(%a6),%a3
51828c2ecf20Sopenharmony_ci#	lea		EASTORE(%a6),%a4
51838c2ecf20Sopenharmony_ci#	mov.l		%a3,(%a4)
51848c2ecf20Sopenharmony_ci#	mov.l		&-0x10,%d4
51858c2ecf20Sopenharmony_ci
51868c2ecf20Sopenharmony_ci#	mov.w		&0x0000,ICCR(%a6)
51878c2ecf20Sopenharmony_ci#	mov.w		&0x0000,%cc
51888c2ecf20Sopenharmony_ci#	movm.l		&0xffff,IREGS(%a6)
51898c2ecf20Sopenharmony_ci
51908c2ecf20Sopenharmony_ci#	mulu.l		([EASTORE.l,%za4,%zd4.l*1]),%d2:%d3
51918c2ecf20Sopenharmony_ci
51928c2ecf20Sopenharmony_ci#	mov.w		%cc,SCCR(%a6)
51938c2ecf20Sopenharmony_ci#	movm.l		&0xffff,SREGS(%a6)
51948c2ecf20Sopenharmony_ci#	mov.l		&0x00000004,IREGS+0xc(%a6)
51958c2ecf20Sopenharmony_ci
51968c2ecf20Sopenharmony_ci#	bsr.l		chkregs
51978c2ecf20Sopenharmony_ci#	tst.b		%d0
51988c2ecf20Sopenharmony_ci#	bne.l		error
51998c2ecf20Sopenharmony_ci
52008c2ecf20Sopenharmony_ciea_102:
52018c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
52028c2ecf20Sopenharmony_ci
52038c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
52048c2ecf20Sopenharmony_ci
52058c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
52068c2ecf20Sopenharmony_ci
52078c2ecf20Sopenharmony_ci	clr.l		%d2
52088c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
52098c2ecf20Sopenharmony_ci	lea		EAMEM+0x1000(%a1),%a3
52108c2ecf20Sopenharmony_ci	lea		EASTORE(%a1),%a4
52118c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
52128c2ecf20Sopenharmony_ci	mov.l		&-0x2,%a6
52138c2ecf20Sopenharmony_ci
52148c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
52158c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
52168c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
52178c2ecf20Sopenharmony_ci
52188c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4,%a6.l*8],-0x1000.w),%d2:%d3
52198c2ecf20Sopenharmony_ci
52208c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
52218c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
52228c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
52238c2ecf20Sopenharmony_ci
52248c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
52258c2ecf20Sopenharmony_ci
52268c2ecf20Sopenharmony_ci	bsr.l		chkregs
52278c2ecf20Sopenharmony_ci	tst.b		%d0
52288c2ecf20Sopenharmony_ci	bne.l		error
52298c2ecf20Sopenharmony_ci
52308c2ecf20Sopenharmony_ciea_103:
52318c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
52328c2ecf20Sopenharmony_ci
52338c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
52348c2ecf20Sopenharmony_ci
52358c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
52368c2ecf20Sopenharmony_ci
52378c2ecf20Sopenharmony_ci	clr.l		%d2
52388c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
52398c2ecf20Sopenharmony_ci	lea		EAMEM+0x1000(%a1),%a3
52408c2ecf20Sopenharmony_ci	lea		EASTORE(%a1),%a4
52418c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
52428c2ecf20Sopenharmony_ci	mov.l		&0x2,%a6
52438c2ecf20Sopenharmony_ci
52448c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
52458c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
52468c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
52478c2ecf20Sopenharmony_ci
52488c2ecf20Sopenharmony_ci	mulu.l		([-0x10.w,%a4,%a6.l*8],-0x1000.w),%d2:%d3
52498c2ecf20Sopenharmony_ci
52508c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
52518c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
52528c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
52538c2ecf20Sopenharmony_ci
52548c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
52558c2ecf20Sopenharmony_ci
52568c2ecf20Sopenharmony_ci	bsr.l		chkregs
52578c2ecf20Sopenharmony_ci	tst.b		%d0
52588c2ecf20Sopenharmony_ci	bne.l		error
52598c2ecf20Sopenharmony_ci
52608c2ecf20Sopenharmony_ciea_104:
52618c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
52628c2ecf20Sopenharmony_ci
52638c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
52648c2ecf20Sopenharmony_ci
52658c2ecf20Sopenharmony_ci	clr.l		%d2
52668c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
52678c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
52688c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
52698c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
52708c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
52718c2ecf20Sopenharmony_ci	mov.l		&0x10,%d4
52728c2ecf20Sopenharmony_ci
52738c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
52748c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
52758c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
52768c2ecf20Sopenharmony_ci
52778c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.w*1,0x10.w),%d2:%d3
52788c2ecf20Sopenharmony_ci
52798c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
52808c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
52818c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
52828c2ecf20Sopenharmony_ci
52838c2ecf20Sopenharmony_ci	bsr.l		chkregs
52848c2ecf20Sopenharmony_ci	tst.b		%d0
52858c2ecf20Sopenharmony_ci	bne.l		error
52868c2ecf20Sopenharmony_ci
52878c2ecf20Sopenharmony_ciea_105:
52888c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
52898c2ecf20Sopenharmony_ci
52908c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
52918c2ecf20Sopenharmony_ci
52928c2ecf20Sopenharmony_ci	clr.l		%d2
52938c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
52948c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
52958c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
52968c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
52978c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
52988c2ecf20Sopenharmony_ci	mov.l		&0x8,%d4
52998c2ecf20Sopenharmony_ci
53008c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
53018c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
53028c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
53038c2ecf20Sopenharmony_ci
53048c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.w*2,0x10.w),%d2:%d3
53058c2ecf20Sopenharmony_ci
53068c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
53078c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
53088c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
53098c2ecf20Sopenharmony_ci
53108c2ecf20Sopenharmony_ci	bsr.l		chkregs
53118c2ecf20Sopenharmony_ci	tst.b		%d0
53128c2ecf20Sopenharmony_ci	bne.l		error
53138c2ecf20Sopenharmony_ci
53148c2ecf20Sopenharmony_ciea_106:
53158c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
53168c2ecf20Sopenharmony_ci
53178c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
53188c2ecf20Sopenharmony_ci
53198c2ecf20Sopenharmony_ci	clr.l		%d2
53208c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
53218c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
53228c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
53238c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
53248c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
53258c2ecf20Sopenharmony_ci	mov.l		&0x4,%d4
53268c2ecf20Sopenharmony_ci
53278c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
53288c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
53298c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
53308c2ecf20Sopenharmony_ci
53318c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.w*4,0x10.w),%d2:%d3
53328c2ecf20Sopenharmony_ci
53338c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
53348c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
53358c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
53368c2ecf20Sopenharmony_ci
53378c2ecf20Sopenharmony_ci	bsr.l		chkregs
53388c2ecf20Sopenharmony_ci	tst.b		%d0
53398c2ecf20Sopenharmony_ci	bne.l		error
53408c2ecf20Sopenharmony_ci
53418c2ecf20Sopenharmony_ciea_107:
53428c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
53438c2ecf20Sopenharmony_ci
53448c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
53458c2ecf20Sopenharmony_ci
53468c2ecf20Sopenharmony_ci	clr.l		%d2
53478c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
53488c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
53498c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
53508c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
53518c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
53528c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
53538c2ecf20Sopenharmony_ci
53548c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
53558c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
53568c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
53578c2ecf20Sopenharmony_ci
53588c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.w*8,0x10.w),%d2:%d3
53598c2ecf20Sopenharmony_ci
53608c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
53618c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
53628c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
53638c2ecf20Sopenharmony_ci
53648c2ecf20Sopenharmony_ci	bsr.l		chkregs
53658c2ecf20Sopenharmony_ci	tst.b		%d0
53668c2ecf20Sopenharmony_ci	bne.l		error
53678c2ecf20Sopenharmony_ci
53688c2ecf20Sopenharmony_ciea_108:
53698c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
53708c2ecf20Sopenharmony_ci
53718c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
53728c2ecf20Sopenharmony_ci
53738c2ecf20Sopenharmony_ci	clr.l		%d2
53748c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
53758c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
53768c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
53778c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
53788c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
53798c2ecf20Sopenharmony_ci	mov.l		&0x10,%d4
53808c2ecf20Sopenharmony_ci
53818c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
53828c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
53838c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
53848c2ecf20Sopenharmony_ci
53858c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.l*1,0x10.w),%d2:%d3
53868c2ecf20Sopenharmony_ci
53878c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
53888c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
53898c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
53908c2ecf20Sopenharmony_ci
53918c2ecf20Sopenharmony_ci	bsr.l		chkregs
53928c2ecf20Sopenharmony_ci	tst.b		%d0
53938c2ecf20Sopenharmony_ci	bne.l		error
53948c2ecf20Sopenharmony_ci
53958c2ecf20Sopenharmony_ciea_109:
53968c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
53978c2ecf20Sopenharmony_ci
53988c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
53998c2ecf20Sopenharmony_ci
54008c2ecf20Sopenharmony_ci	clr.l		%d2
54018c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
54028c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
54038c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
54048c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
54058c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
54068c2ecf20Sopenharmony_ci	mov.l		&0x8,%d4
54078c2ecf20Sopenharmony_ci
54088c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
54098c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
54108c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
54118c2ecf20Sopenharmony_ci
54128c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.w*2,0x10.w),%d2:%d3
54138c2ecf20Sopenharmony_ci
54148c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
54158c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
54168c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
54178c2ecf20Sopenharmony_ci
54188c2ecf20Sopenharmony_ci	bsr.l		chkregs
54198c2ecf20Sopenharmony_ci	tst.b		%d0
54208c2ecf20Sopenharmony_ci	bne.l		error
54218c2ecf20Sopenharmony_ci
54228c2ecf20Sopenharmony_ciea_110:
54238c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
54248c2ecf20Sopenharmony_ci
54258c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
54268c2ecf20Sopenharmony_ci
54278c2ecf20Sopenharmony_ci	clr.l		%d2
54288c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
54298c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
54308c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
54318c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
54328c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
54338c2ecf20Sopenharmony_ci	mov.l		&0x4,%d4
54348c2ecf20Sopenharmony_ci
54358c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
54368c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
54378c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
54388c2ecf20Sopenharmony_ci
54398c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.l*4,0x10.w),%d2:%d3
54408c2ecf20Sopenharmony_ci
54418c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
54428c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
54438c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
54448c2ecf20Sopenharmony_ci
54458c2ecf20Sopenharmony_ci	bsr.l		chkregs
54468c2ecf20Sopenharmony_ci	tst.b		%d0
54478c2ecf20Sopenharmony_ci	bne.l		error
54488c2ecf20Sopenharmony_ci
54498c2ecf20Sopenharmony_ciea_111:
54508c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
54518c2ecf20Sopenharmony_ci
54528c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
54538c2ecf20Sopenharmony_ci
54548c2ecf20Sopenharmony_ci	clr.l		%d2
54558c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
54568c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
54578c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
54588c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
54598c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
54608c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
54618c2ecf20Sopenharmony_ci
54628c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
54638c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
54648c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
54658c2ecf20Sopenharmony_ci
54668c2ecf20Sopenharmony_ci	mulu.l		([0x10.w,%a4],%d4.l*8,0x10.w),%d2:%d3
54678c2ecf20Sopenharmony_ci
54688c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
54698c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
54708c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
54718c2ecf20Sopenharmony_ci
54728c2ecf20Sopenharmony_ci	bsr.l		chkregs
54738c2ecf20Sopenharmony_ci	tst.b		%d0
54748c2ecf20Sopenharmony_ci	bne.l		error
54758c2ecf20Sopenharmony_ci
54768c2ecf20Sopenharmony_ciea_112:
54778c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
54788c2ecf20Sopenharmony_ci
54798c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
54808c2ecf20Sopenharmony_ci
54818c2ecf20Sopenharmony_ci	clr.l		%d2
54828c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
54838c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
54848c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
54858c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
54868c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
54878c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
54888c2ecf20Sopenharmony_ci
54898c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
54908c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
54918c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
54928c2ecf20Sopenharmony_ci
54938c2ecf20Sopenharmony_ci	mulu.l		([0x10.l,%a4],%d4.l*8,0x10.l),%d2:%d3
54948c2ecf20Sopenharmony_ci
54958c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
54968c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
54978c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
54988c2ecf20Sopenharmony_ci
54998c2ecf20Sopenharmony_ci	bsr.l		chkregs
55008c2ecf20Sopenharmony_ci	tst.b		%d0
55018c2ecf20Sopenharmony_ci	bne.l		error
55028c2ecf20Sopenharmony_ci
55038c2ecf20Sopenharmony_ciea_113:
55048c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
55058c2ecf20Sopenharmony_ci
55068c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
55078c2ecf20Sopenharmony_ci
55088c2ecf20Sopenharmony_ci	clr.l		%d2
55098c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
55108c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
55118c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a4
55128c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
55138c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
55148c2ecf20Sopenharmony_ci
55158c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
55168c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
55178c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
55188c2ecf20Sopenharmony_ci
55198c2ecf20Sopenharmony_ci	mulu.l		([0x00.l,%a4],%zd4.l*8,0x20.l),%d2:%d3
55208c2ecf20Sopenharmony_ci
55218c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
55228c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
55238c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
55248c2ecf20Sopenharmony_ci
55258c2ecf20Sopenharmony_ci	bsr.l		chkregs
55268c2ecf20Sopenharmony_ci	tst.b		%d0
55278c2ecf20Sopenharmony_ci	bne.l		error
55288c2ecf20Sopenharmony_ci
55298c2ecf20Sopenharmony_ciea_114:
55308c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
55318c2ecf20Sopenharmony_ci
55328c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
55338c2ecf20Sopenharmony_ci
55348c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
55358c2ecf20Sopenharmony_ci	clr.l		%d2
55368c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
55378c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%a6),%a3
55388c2ecf20Sopenharmony_ci	lea		EASTORE(%a6),%a7
55398c2ecf20Sopenharmony_ci	mov.l		%a3,(%a7)
55408c2ecf20Sopenharmony_ci	mov.l		&0x20,%d4
55418c2ecf20Sopenharmony_ci
55428c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
55438c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
55448c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
55458c2ecf20Sopenharmony_ci
55468c2ecf20Sopenharmony_ci	mulu.l		([%a7],%d4.l*1),%d2:%d3
55478c2ecf20Sopenharmony_ci
55488c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
55498c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
55508c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
55518c2ecf20Sopenharmony_ci
55528c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
55538c2ecf20Sopenharmony_ci	bsr.l		chkregs
55548c2ecf20Sopenharmony_ci	tst.b		%d0
55558c2ecf20Sopenharmony_ci	bne.l		error
55568c2ecf20Sopenharmony_ci
55578c2ecf20Sopenharmony_ciea_115:
55588c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
55598c2ecf20Sopenharmony_ci
55608c2ecf20Sopenharmony_ci#	movm.l		DEF_REGS(%pc),&0x3fff
55618c2ecf20Sopenharmony_ci
55628c2ecf20Sopenharmony_ci#	clr.l		%d2
55638c2ecf20Sopenharmony_ci#	mov.l		&0x00000002,%d3
55648c2ecf20Sopenharmony_ci#	lea		EAMEM-0x20(%pc),%a3
55658c2ecf20Sopenharmony_ci#	lea		EASTORE(%pc),%a4
55668c2ecf20Sopenharmony_ci#	mov.l		%a3,(%a4)
55678c2ecf20Sopenharmony_ci#	mov.l		&0x2,%d4
55688c2ecf20Sopenharmony_ci
55698c2ecf20Sopenharmony_ci#	mov.w		&0x0000,ICCR(%a6)
55708c2ecf20Sopenharmony_ci#	mov.w		&0x0000,%cc
55718c2ecf20Sopenharmony_ci#	movm.l		&0xffff,IREGS(%a6)
55728c2ecf20Sopenharmony_ci
55738c2ecf20Sopenharmony_ci#	mulu.l		([EASTORE.l,%za4],%zd4.l*8,0x20.l),%d2:%d3
55748c2ecf20Sopenharmony_ci
55758c2ecf20Sopenharmony_ci#	mov.w		%cc,SCCR(%a6)
55768c2ecf20Sopenharmony_ci#	movm.l		&0xffff,SREGS(%a6)
55778c2ecf20Sopenharmony_ci#	mov.l		&0x00000004,IREGS+0xc(%a6)
55788c2ecf20Sopenharmony_ci
55798c2ecf20Sopenharmony_ci#	bsr.l		chkregs
55808c2ecf20Sopenharmony_ci#	tst.b		%d0
55818c2ecf20Sopenharmony_ci#	bne.l		error
55828c2ecf20Sopenharmony_ci
55838c2ecf20Sopenharmony_ciea_116:
55848c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
55858c2ecf20Sopenharmony_ci
55868c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
55878c2ecf20Sopenharmony_ci
55888c2ecf20Sopenharmony_ci	mov.l		%a6,%a1
55898c2ecf20Sopenharmony_ci
55908c2ecf20Sopenharmony_ci	clr.l		%d2
55918c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
55928c2ecf20Sopenharmony_ci	lea		EAMEM(%a1),%a3
55938c2ecf20Sopenharmony_ci	lea		EASTORE(%a1),%a6
55948c2ecf20Sopenharmony_ci	mov.l		%a3,(%a6)
55958c2ecf20Sopenharmony_ci	add.l		&0x10,%a6
55968c2ecf20Sopenharmony_ci	mov.l		&-0x2,%a5
55978c2ecf20Sopenharmony_ci
55988c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a1)
55998c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
56008c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a1)
56018c2ecf20Sopenharmony_ci
56028c2ecf20Sopenharmony_ci	mulu.l		([-0x10.w,%a6],%a5.l*8,0x10.l),%d2:%d3
56038c2ecf20Sopenharmony_ci
56048c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a1)
56058c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a1)
56068c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a1)
56078c2ecf20Sopenharmony_ci
56088c2ecf20Sopenharmony_ci	mov.l		%a1,%a6
56098c2ecf20Sopenharmony_ci
56108c2ecf20Sopenharmony_ci	bsr.l		chkregs
56118c2ecf20Sopenharmony_ci	tst.b		%d0
56128c2ecf20Sopenharmony_ci	bne.l		error
56138c2ecf20Sopenharmony_ci
56148c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
56158c2ecf20Sopenharmony_ci	clr.l		%d0
56168c2ecf20Sopenharmony_ci	rts
56178c2ecf20Sopenharmony_ci
56188c2ecf20Sopenharmony_ciea_117:
56198c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
56208c2ecf20Sopenharmony_ci
56218c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
56228c2ecf20Sopenharmony_ci
56238c2ecf20Sopenharmony_ci	clr.l		%d2
56248c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
56258c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
56268c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
56278c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
56288c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
56298c2ecf20Sopenharmony_ci
56308c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
56318c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
56328c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
56338c2ecf20Sopenharmony_ci
56348c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.w*1],0x1000.w),%d2:%d3
56358c2ecf20Sopenharmony_ci
56368c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
56378c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
56388c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
56398c2ecf20Sopenharmony_ci
56408c2ecf20Sopenharmony_ci	bsr.l		chkregs
56418c2ecf20Sopenharmony_ci	tst.b		%d0
56428c2ecf20Sopenharmony_ci	bne.l		error
56438c2ecf20Sopenharmony_ci
56448c2ecf20Sopenharmony_ciea_118:
56458c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
56468c2ecf20Sopenharmony_ci
56478c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
56488c2ecf20Sopenharmony_ci
56498c2ecf20Sopenharmony_ci	clr.l		%d2
56508c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
56518c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
56528c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
56538c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
56548c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
56558c2ecf20Sopenharmony_ci
56568c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
56578c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
56588c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
56598c2ecf20Sopenharmony_ci
56608c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.w*2],0x1000.w),%d2:%d3
56618c2ecf20Sopenharmony_ci
56628c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
56638c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
56648c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
56658c2ecf20Sopenharmony_ci
56668c2ecf20Sopenharmony_ci	bsr.l		chkregs
56678c2ecf20Sopenharmony_ci	tst.b		%d0
56688c2ecf20Sopenharmony_ci	bne.l		error
56698c2ecf20Sopenharmony_ci
56708c2ecf20Sopenharmony_ciea_119:
56718c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
56728c2ecf20Sopenharmony_ci
56738c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
56748c2ecf20Sopenharmony_ci
56758c2ecf20Sopenharmony_ci	clr.l		%d2
56768c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
56778c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
56788c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
56798c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
56808c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
56818c2ecf20Sopenharmony_ci
56828c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
56838c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
56848c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
56858c2ecf20Sopenharmony_ci
56868c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.w*4],0x1000.w),%d2:%d3
56878c2ecf20Sopenharmony_ci
56888c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
56898c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
56908c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
56918c2ecf20Sopenharmony_ci
56928c2ecf20Sopenharmony_ci	bsr.l		chkregs
56938c2ecf20Sopenharmony_ci	tst.b		%d0
56948c2ecf20Sopenharmony_ci	bne.l		error
56958c2ecf20Sopenharmony_ci
56968c2ecf20Sopenharmony_ciea_120:
56978c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
56988c2ecf20Sopenharmony_ci
56998c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
57008c2ecf20Sopenharmony_ci
57018c2ecf20Sopenharmony_ci	clr.l		%d2
57028c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
57038c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
57048c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
57058c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
57068c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
57078c2ecf20Sopenharmony_ci
57088c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
57098c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
57108c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
57118c2ecf20Sopenharmony_ci
57128c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.w*8],0x1000.w),%d2:%d3
57138c2ecf20Sopenharmony_ci
57148c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
57158c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
57168c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
57178c2ecf20Sopenharmony_ci
57188c2ecf20Sopenharmony_ci	bsr.l		chkregs
57198c2ecf20Sopenharmony_ci	tst.b		%d0
57208c2ecf20Sopenharmony_ci	bne.l		error
57218c2ecf20Sopenharmony_ci
57228c2ecf20Sopenharmony_ciea_121:
57238c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
57248c2ecf20Sopenharmony_ci
57258c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
57268c2ecf20Sopenharmony_ci
57278c2ecf20Sopenharmony_ci	clr.l		%d2
57288c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
57298c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
57308c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
57318c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
57328c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
57338c2ecf20Sopenharmony_ci
57348c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
57358c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
57368c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
57378c2ecf20Sopenharmony_ci
57388c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.l*1],0x1000.w),%d2:%d3
57398c2ecf20Sopenharmony_ci
57408c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
57418c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
57428c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
57438c2ecf20Sopenharmony_ci
57448c2ecf20Sopenharmony_ci	bsr.l		chkregs
57458c2ecf20Sopenharmony_ci	tst.b		%d0
57468c2ecf20Sopenharmony_ci	bne.l		error
57478c2ecf20Sopenharmony_ci
57488c2ecf20Sopenharmony_ciea_122:
57498c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
57508c2ecf20Sopenharmony_ci
57518c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
57528c2ecf20Sopenharmony_ci
57538c2ecf20Sopenharmony_ci	clr.l		%d2
57548c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
57558c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
57568c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
57578c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
57588c2ecf20Sopenharmony_ci	mov.l		&-0x8,%d4
57598c2ecf20Sopenharmony_ci
57608c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
57618c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
57628c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
57638c2ecf20Sopenharmony_ci
57648c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.l*2],0x1000.w),%d2:%d3
57658c2ecf20Sopenharmony_ci
57668c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
57678c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
57688c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
57698c2ecf20Sopenharmony_ci
57708c2ecf20Sopenharmony_ci	bsr.l		chkregs
57718c2ecf20Sopenharmony_ci	tst.b		%d0
57728c2ecf20Sopenharmony_ci	bne.l		error
57738c2ecf20Sopenharmony_ci
57748c2ecf20Sopenharmony_ciea_123:
57758c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
57768c2ecf20Sopenharmony_ci
57778c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
57788c2ecf20Sopenharmony_ci
57798c2ecf20Sopenharmony_ci	clr.l		%d2
57808c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
57818c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
57828c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
57838c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
57848c2ecf20Sopenharmony_ci	mov.l		&-0x4,%d4
57858c2ecf20Sopenharmony_ci
57868c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
57878c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
57888c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
57898c2ecf20Sopenharmony_ci
57908c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.l*4],0x1000.w),%d2:%d3
57918c2ecf20Sopenharmony_ci
57928c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
57938c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
57948c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
57958c2ecf20Sopenharmony_ci
57968c2ecf20Sopenharmony_ci	bsr.l		chkregs
57978c2ecf20Sopenharmony_ci	tst.b		%d0
57988c2ecf20Sopenharmony_ci	bne.l		error
57998c2ecf20Sopenharmony_ci
58008c2ecf20Sopenharmony_ciea_124:
58018c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
58028c2ecf20Sopenharmony_ci
58038c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
58048c2ecf20Sopenharmony_ci
58058c2ecf20Sopenharmony_ci	clr.l		%d2
58068c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
58078c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
58088c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
58098c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
58108c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
58118c2ecf20Sopenharmony_ci
58128c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
58138c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
58148c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
58158c2ecf20Sopenharmony_ci
58168c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.w,%pc,%d4.l*8],0x1000.w),%d2:%d3
58178c2ecf20Sopenharmony_ci
58188c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
58198c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
58208c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
58218c2ecf20Sopenharmony_ci
58228c2ecf20Sopenharmony_ci	bsr.l		chkregs
58238c2ecf20Sopenharmony_ci	tst.b		%d0
58248c2ecf20Sopenharmony_ci	bne.l		error
58258c2ecf20Sopenharmony_ci
58268c2ecf20Sopenharmony_ciea_125:
58278c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
58288c2ecf20Sopenharmony_ci
58298c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
58308c2ecf20Sopenharmony_ci
58318c2ecf20Sopenharmony_ci	clr.l		%d2
58328c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
58338c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
58348c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
58358c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
58368c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
58378c2ecf20Sopenharmony_ci
58388c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
58398c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
58408c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
58418c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x10.l,%pc,%d4.l*8],0x1000.l),%d2:%d3
58428c2ecf20Sopenharmony_ci
58438c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
58448c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
58458c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
58468c2ecf20Sopenharmony_ci
58478c2ecf20Sopenharmony_ci	bsr.l		chkregs
58488c2ecf20Sopenharmony_ci	tst.b		%d0
58498c2ecf20Sopenharmony_ci	bne.l		error
58508c2ecf20Sopenharmony_ci
58518c2ecf20Sopenharmony_ciea_126:
58528c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
58538c2ecf20Sopenharmony_ci
58548c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
58558c2ecf20Sopenharmony_ci
58568c2ecf20Sopenharmony_ci	clr.l		%d2
58578c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
58588c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
58598c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
58608c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
58618c2ecf20Sopenharmony_ci	mov.l		&-0x2,%d4
58628c2ecf20Sopenharmony_ci
58638c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
58648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
58658c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
58668c2ecf20Sopenharmony_ci
58678c2ecf20Sopenharmony_ci	mulu.l		([EASTORE+0x00.l,%pc,%zd4.l*8],0x1000.l),%d2:%d3
58688c2ecf20Sopenharmony_ci
58698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
58708c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
58718c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
58728c2ecf20Sopenharmony_ci
58738c2ecf20Sopenharmony_ci	bsr.l		chkregs
58748c2ecf20Sopenharmony_ci	tst.b		%d0
58758c2ecf20Sopenharmony_ci	bne.l		error
58768c2ecf20Sopenharmony_ci
58778c2ecf20Sopenharmony_ciea_127:
58788c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
58798c2ecf20Sopenharmony_ci
58808c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
58818c2ecf20Sopenharmony_ci
58828c2ecf20Sopenharmony_ci	clr.l		%d2
58838c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
58848c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
58858c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
58868c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
58878c2ecf20Sopenharmony_ci	mov.l		%a4,%d4
58888c2ecf20Sopenharmony_ci
58898c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
58908c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
58918c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
58928c2ecf20Sopenharmony_ci
58938c2ecf20Sopenharmony_ci	mulu.l		([%zpc,%d4.l*1],0x1000.l),%d2:%d3
58948c2ecf20Sopenharmony_ci
58958c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
58968c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
58978c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
58988c2ecf20Sopenharmony_ci
58998c2ecf20Sopenharmony_ci	bsr.l		chkregs
59008c2ecf20Sopenharmony_ci	tst.b		%d0
59018c2ecf20Sopenharmony_ci	bne.l		error
59028c2ecf20Sopenharmony_ci
59038c2ecf20Sopenharmony_ciea_128:
59048c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
59058c2ecf20Sopenharmony_ci
59068c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
59078c2ecf20Sopenharmony_ci
59088c2ecf20Sopenharmony_ci	clr.l		%d2
59098c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
59108c2ecf20Sopenharmony_ci	lea		EAMEM-0x1000(%pc),%a3
59118c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
59128c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
59138c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
59148c2ecf20Sopenharmony_ci	add.l		%a4,%d4
59158c2ecf20Sopenharmony_ci
59168c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
59178c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
59188c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
59198c2ecf20Sopenharmony_ci
59208c2ecf20Sopenharmony_ci	mulu.l		([0x10.l,%zpc,%d4.l*1],0x1000.l),%d2:%d3
59218c2ecf20Sopenharmony_ci
59228c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
59238c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
59248c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
59258c2ecf20Sopenharmony_ci
59268c2ecf20Sopenharmony_ci	bsr.l		chkregs
59278c2ecf20Sopenharmony_ci	tst.b		%d0
59288c2ecf20Sopenharmony_ci	bne.l		error
59298c2ecf20Sopenharmony_ci
59308c2ecf20Sopenharmony_ciea_129:
59318c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
59328c2ecf20Sopenharmony_ci
59338c2ecf20Sopenharmony_ci	clr.l		%d2
59348c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
59358c2ecf20Sopenharmony_ci	lea		EAMEM(%pc),%a3
59368c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
59378c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
59388c2ecf20Sopenharmony_ci	mov.l		&-0x10,%d4
59398c2ecf20Sopenharmony_ci
59408c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
59418c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
59428c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
59438c2ecf20Sopenharmony_ci
59448c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.l,%zpc,%zd4.l*1]),%d2:%d3
59458c2ecf20Sopenharmony_ci
59468c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
59478c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
59488c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
59498c2ecf20Sopenharmony_ci
59508c2ecf20Sopenharmony_ci	bsr.l		chkregs
59518c2ecf20Sopenharmony_ci	tst.b		%d0
59528c2ecf20Sopenharmony_ci	bne.l		error
59538c2ecf20Sopenharmony_ci
59548c2ecf20Sopenharmony_ciea_130:
59558c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
59568c2ecf20Sopenharmony_ci
59578c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
59588c2ecf20Sopenharmony_ci
59598c2ecf20Sopenharmony_ci	clr.l		%d2
59608c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
59618c2ecf20Sopenharmony_ci	lea		EAMEM+0x1000(%pc),%a3
59628c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
59638c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
59648c2ecf20Sopenharmony_ci	mov.l		&0x2,%a6
59658c2ecf20Sopenharmony_ci
59668c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
59678c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
59688c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
59698c2ecf20Sopenharmony_ci
59708c2ecf20Sopenharmony_ci	mulu.l		([EASTORE-0x10.w,%pc,%a6.l*8],-0x1000.w),%d2:%d3
59718c2ecf20Sopenharmony_ci
59728c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
59738c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
59748c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
59758c2ecf20Sopenharmony_ci
59768c2ecf20Sopenharmony_ci	bsr.l		chkregs
59778c2ecf20Sopenharmony_ci	tst.b		%d0
59788c2ecf20Sopenharmony_ci	bne.l		error
59798c2ecf20Sopenharmony_ci
59808c2ecf20Sopenharmony_ciea_131:
59818c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
59828c2ecf20Sopenharmony_ci
59838c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
59848c2ecf20Sopenharmony_ci
59858c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
59868c2ecf20Sopenharmony_ci	clr.l		%d2
59878c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
59888c2ecf20Sopenharmony_ci	lea		EAMEM+0x1000(%pc),%a3
59898c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
59908c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
59918c2ecf20Sopenharmony_ci	mov.l		&0x2,%a7
59928c2ecf20Sopenharmony_ci
59938c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
59948c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
59958c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
59968c2ecf20Sopenharmony_ci
59978c2ecf20Sopenharmony_ci	mulu.l		([EASTORE-0x10.w,%pc,%a7.l*8],-0x1000.w),%d2:%d3
59988c2ecf20Sopenharmony_ci
59998c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
60008c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
60018c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
60028c2ecf20Sopenharmony_ci
60038c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
60048c2ecf20Sopenharmony_ci	bsr.l		chkregs
60058c2ecf20Sopenharmony_ci	tst.b		%d0
60068c2ecf20Sopenharmony_ci	bne.l		error
60078c2ecf20Sopenharmony_ci
60088c2ecf20Sopenharmony_ciea_132:
60098c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
60108c2ecf20Sopenharmony_ci
60118c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
60128c2ecf20Sopenharmony_ci
60138c2ecf20Sopenharmony_ci	clr.l		%d2
60148c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
60158c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
60168c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
60178c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
60188c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
60198c2ecf20Sopenharmony_ci	mov.l		&0x10,%d4
60208c2ecf20Sopenharmony_ci
60218c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
60228c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
60238c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
60248c2ecf20Sopenharmony_ci
60258c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.w*1,0x10.w),%d2:%d3
60268c2ecf20Sopenharmony_ci
60278c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
60288c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
60298c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
60308c2ecf20Sopenharmony_ci
60318c2ecf20Sopenharmony_ci	bsr.l		chkregs
60328c2ecf20Sopenharmony_ci	tst.b		%d0
60338c2ecf20Sopenharmony_ci	bne.l		error
60348c2ecf20Sopenharmony_ci
60358c2ecf20Sopenharmony_ciea_133:
60368c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
60378c2ecf20Sopenharmony_ci
60388c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
60398c2ecf20Sopenharmony_ci
60408c2ecf20Sopenharmony_ci	clr.l		%d2
60418c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
60428c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
60438c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
60448c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
60458c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
60468c2ecf20Sopenharmony_ci	mov.l		&0x8,%d4
60478c2ecf20Sopenharmony_ci
60488c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
60498c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
60508c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
60518c2ecf20Sopenharmony_ci
60528c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.w*2,0x10.w),%d2:%d3
60538c2ecf20Sopenharmony_ci
60548c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
60558c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
60568c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
60578c2ecf20Sopenharmony_ci
60588c2ecf20Sopenharmony_ci	bsr.l		chkregs
60598c2ecf20Sopenharmony_ci	tst.b		%d0
60608c2ecf20Sopenharmony_ci	bne.l		error
60618c2ecf20Sopenharmony_ci
60628c2ecf20Sopenharmony_ciea_134:
60638c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
60648c2ecf20Sopenharmony_ci
60658c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
60668c2ecf20Sopenharmony_ci
60678c2ecf20Sopenharmony_ci	clr.l		%d2
60688c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
60698c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
60708c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
60718c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
60728c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
60738c2ecf20Sopenharmony_ci	mov.l		&0x4,%d4
60748c2ecf20Sopenharmony_ci
60758c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
60768c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
60778c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
60788c2ecf20Sopenharmony_ci
60798c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.w*4,0x10.w),%d2:%d3
60808c2ecf20Sopenharmony_ci
60818c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
60828c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
60838c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
60848c2ecf20Sopenharmony_ci
60858c2ecf20Sopenharmony_ci	bsr.l		chkregs
60868c2ecf20Sopenharmony_ci	tst.b		%d0
60878c2ecf20Sopenharmony_ci	bne.l		error
60888c2ecf20Sopenharmony_ci
60898c2ecf20Sopenharmony_ciea_135:
60908c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
60918c2ecf20Sopenharmony_ci
60928c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
60938c2ecf20Sopenharmony_ci
60948c2ecf20Sopenharmony_ci	clr.l		%d2
60958c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
60968c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
60978c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
60988c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
60998c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
61008c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
61018c2ecf20Sopenharmony_ci
61028c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
61038c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
61048c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
61058c2ecf20Sopenharmony_ci
61068c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.w*8,0x10.w),%d2:%d3
61078c2ecf20Sopenharmony_ci
61088c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
61098c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
61108c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
61118c2ecf20Sopenharmony_ci
61128c2ecf20Sopenharmony_ci	bsr.l		chkregs
61138c2ecf20Sopenharmony_ci	tst.b		%d0
61148c2ecf20Sopenharmony_ci	bne.l		error
61158c2ecf20Sopenharmony_ci
61168c2ecf20Sopenharmony_ciea_136:
61178c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
61188c2ecf20Sopenharmony_ci
61198c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
61208c2ecf20Sopenharmony_ci
61218c2ecf20Sopenharmony_ci	clr.l		%d2
61228c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
61238c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
61248c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
61258c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
61268c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
61278c2ecf20Sopenharmony_ci	mov.l		&0x10,%d4
61288c2ecf20Sopenharmony_ci
61298c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
61308c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
61318c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
61328c2ecf20Sopenharmony_ci
61338c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.l*1,0x10.w),%d2:%d3
61348c2ecf20Sopenharmony_ci
61358c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
61368c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
61378c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
61388c2ecf20Sopenharmony_ci
61398c2ecf20Sopenharmony_ci	bsr.l		chkregs
61408c2ecf20Sopenharmony_ci	tst.b		%d0
61418c2ecf20Sopenharmony_ci	bne.l		error
61428c2ecf20Sopenharmony_ci
61438c2ecf20Sopenharmony_ciea_137:
61448c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
61458c2ecf20Sopenharmony_ci
61468c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
61478c2ecf20Sopenharmony_ci
61488c2ecf20Sopenharmony_ci	clr.l		%d2
61498c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
61508c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
61518c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
61528c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
61538c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
61548c2ecf20Sopenharmony_ci	mov.l		&0x8,%d4
61558c2ecf20Sopenharmony_ci
61568c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
61578c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
61588c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
61598c2ecf20Sopenharmony_ci
61608c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.w*2,0x10.w),%d2:%d3
61618c2ecf20Sopenharmony_ci
61628c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
61638c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
61648c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
61658c2ecf20Sopenharmony_ci
61668c2ecf20Sopenharmony_ci	bsr.l		chkregs
61678c2ecf20Sopenharmony_ci	tst.b		%d0
61688c2ecf20Sopenharmony_ci	bne.l		error
61698c2ecf20Sopenharmony_ci
61708c2ecf20Sopenharmony_ciea_138:
61718c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
61728c2ecf20Sopenharmony_ci
61738c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
61748c2ecf20Sopenharmony_ci
61758c2ecf20Sopenharmony_ci	clr.l		%d2
61768c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
61778c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
61788c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
61798c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
61808c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
61818c2ecf20Sopenharmony_ci	mov.l		&0x4,%d4
61828c2ecf20Sopenharmony_ci
61838c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
61848c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
61858c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
61868c2ecf20Sopenharmony_ci
61878c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.l*4,0x10.w),%d2:%d3
61888c2ecf20Sopenharmony_ci
61898c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
61908c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
61918c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
61928c2ecf20Sopenharmony_ci
61938c2ecf20Sopenharmony_ci	bsr.l		chkregs
61948c2ecf20Sopenharmony_ci	tst.b		%d0
61958c2ecf20Sopenharmony_ci	bne.l		error
61968c2ecf20Sopenharmony_ci
61978c2ecf20Sopenharmony_ciea_139:
61988c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
61998c2ecf20Sopenharmony_ci
62008c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
62018c2ecf20Sopenharmony_ci
62028c2ecf20Sopenharmony_ci	clr.l		%d2
62038c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
62048c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
62058c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
62068c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
62078c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
62088c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
62098c2ecf20Sopenharmony_ci
62108c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
62118c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
62128c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
62138c2ecf20Sopenharmony_ci
62148c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%d4.l*8,0x10.w),%d2:%d3
62158c2ecf20Sopenharmony_ci
62168c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
62178c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
62188c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
62198c2ecf20Sopenharmony_ci
62208c2ecf20Sopenharmony_ci	bsr.l		chkregs
62218c2ecf20Sopenharmony_ci	tst.b		%d0
62228c2ecf20Sopenharmony_ci	bne.l		error
62238c2ecf20Sopenharmony_ci
62248c2ecf20Sopenharmony_ciea_140:
62258c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
62268c2ecf20Sopenharmony_ci
62278c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
62288c2ecf20Sopenharmony_ci
62298c2ecf20Sopenharmony_ci	clr.l		%d2
62308c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
62318c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
62328c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
62338c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
62348c2ecf20Sopenharmony_ci	sub.l		&0x10,%a4
62358c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
62368c2ecf20Sopenharmony_ci
62378c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
62388c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
62398c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
62408c2ecf20Sopenharmony_ci
62418c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.l,%pc],%d4.l*8,0x10.l),%d2:%d3
62428c2ecf20Sopenharmony_ci
62438c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
62448c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
62458c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
62468c2ecf20Sopenharmony_ci
62478c2ecf20Sopenharmony_ci	bsr.l		chkregs
62488c2ecf20Sopenharmony_ci	tst.b		%d0
62498c2ecf20Sopenharmony_ci	bne.l		error
62508c2ecf20Sopenharmony_ci
62518c2ecf20Sopenharmony_ciea_141:
62528c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
62538c2ecf20Sopenharmony_ci
62548c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
62558c2ecf20Sopenharmony_ci
62568c2ecf20Sopenharmony_ci	clr.l		%d2
62578c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
62588c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
62598c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
62608c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
62618c2ecf20Sopenharmony_ci	mov.l		&0x2,%d4
62628c2ecf20Sopenharmony_ci
62638c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
62648c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
62658c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
62668c2ecf20Sopenharmony_ci
62678c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.l,%pc],%zd4.l*8,0x20.l),%d2:%d3
62688c2ecf20Sopenharmony_ci
62698c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
62708c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
62718c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
62728c2ecf20Sopenharmony_ci
62738c2ecf20Sopenharmony_ci	bsr.l		chkregs
62748c2ecf20Sopenharmony_ci	tst.b		%d0
62758c2ecf20Sopenharmony_ci	bne.l		error
62768c2ecf20Sopenharmony_ci
62778c2ecf20Sopenharmony_ciea_142:
62788c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
62798c2ecf20Sopenharmony_ci
62808c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
62818c2ecf20Sopenharmony_ci
62828c2ecf20Sopenharmony_ci	clr.l		%d2
62838c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
62848c2ecf20Sopenharmony_ci	lea		EAMEM-0x20(%pc),%a3
62858c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a4
62868c2ecf20Sopenharmony_ci	mov.l		%a3,(%a4)
62878c2ecf20Sopenharmony_ci	mov.l		&0x4,%d4
62888c2ecf20Sopenharmony_ci
62898c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
62908c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
62918c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
62928c2ecf20Sopenharmony_ci
62938c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.l,%zpc],%d4.l*8),%d2:%d3
62948c2ecf20Sopenharmony_ci
62958c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
62968c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
62978c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
62988c2ecf20Sopenharmony_ci
62998c2ecf20Sopenharmony_ci	bsr.l		chkregs
63008c2ecf20Sopenharmony_ci	tst.b		%d0
63018c2ecf20Sopenharmony_ci	bne.l		error
63028c2ecf20Sopenharmony_ci
63038c2ecf20Sopenharmony_ciea_143:
63048c2ecf20Sopenharmony_ci	addq.l		&0x1,TESTCTR(%a6)
63058c2ecf20Sopenharmony_ci
63068c2ecf20Sopenharmony_ci	movm.l		DEF_REGS(%pc),&0x3fff
63078c2ecf20Sopenharmony_ci
63088c2ecf20Sopenharmony_ci	mov.l		%a7,%a0
63098c2ecf20Sopenharmony_ci	clr.l		%d2
63108c2ecf20Sopenharmony_ci	mov.l		&0x00000002,%d3
63118c2ecf20Sopenharmony_ci	lea		EAMEM(%pc),%a3
63128c2ecf20Sopenharmony_ci	lea		EASTORE(%pc),%a6
63138c2ecf20Sopenharmony_ci	mov.l		%a3,(%a6)
63148c2ecf20Sopenharmony_ci	add.l		&0x10,%a6
63158c2ecf20Sopenharmony_ci	mov.l		&-0x2,%a7
63168c2ecf20Sopenharmony_ci
63178c2ecf20Sopenharmony_ci	mov.w		&0x0000,ICCR(%a6)
63188c2ecf20Sopenharmony_ci	mov.w		&0x0000,%cc
63198c2ecf20Sopenharmony_ci	movm.l		&0xffff,IREGS(%a6)
63208c2ecf20Sopenharmony_ci
63218c2ecf20Sopenharmony_ci	mulu.l		([EASTORE.w,%pc],%a7.l*8,0x10.l),%d2:%d3
63228c2ecf20Sopenharmony_ci
63238c2ecf20Sopenharmony_ci	mov.w		%cc,SCCR(%a6)
63248c2ecf20Sopenharmony_ci	movm.l		&0xffff,SREGS(%a6)
63258c2ecf20Sopenharmony_ci	mov.l		&0x00000004,IREGS+0xc(%a6)
63268c2ecf20Sopenharmony_ci
63278c2ecf20Sopenharmony_ci	mov.l		%a0,%a7
63288c2ecf20Sopenharmony_ci	bsr.l		chkregs
63298c2ecf20Sopenharmony_ci	tst.b		%d0
63308c2ecf20Sopenharmony_ci	bne.l		error
63318c2ecf20Sopenharmony_ci
63328c2ecf20Sopenharmony_ci	clr.l		%d0
63338c2ecf20Sopenharmony_ci	rts
63348c2ecf20Sopenharmony_ci
63358c2ecf20Sopenharmony_ci###########################################################
63368c2ecf20Sopenharmony_ci###########################################################
63378c2ecf20Sopenharmony_cichkregs:
63388c2ecf20Sopenharmony_ci	lea		IREGS(%a6),%a0
63398c2ecf20Sopenharmony_ci	lea		SREGS(%a6),%a1
63408c2ecf20Sopenharmony_ci	mov.l		&14,%d0
63418c2ecf20Sopenharmony_cichkregs_loop:
63428c2ecf20Sopenharmony_ci	cmp.l		(%a0)+,(%a1)+
63438c2ecf20Sopenharmony_ci	bne.l		chkregs_error
63448c2ecf20Sopenharmony_ci	dbra.w		%d0,chkregs_loop
63458c2ecf20Sopenharmony_ci
63468c2ecf20Sopenharmony_ci	mov.w		ICCR(%a6),%d0
63478c2ecf20Sopenharmony_ci	mov.w		SCCR(%a6),%d1
63488c2ecf20Sopenharmony_ci	cmp.w		%d0,%d1
63498c2ecf20Sopenharmony_ci	bne.l		chkregs_error
63508c2ecf20Sopenharmony_ci
63518c2ecf20Sopenharmony_ci	clr.l		%d0
63528c2ecf20Sopenharmony_ci	rts
63538c2ecf20Sopenharmony_ci
63548c2ecf20Sopenharmony_cichkregs_error:
63558c2ecf20Sopenharmony_ci	movq.l		&0x1,%d0
63568c2ecf20Sopenharmony_ci	rts
63578c2ecf20Sopenharmony_ci
63588c2ecf20Sopenharmony_cierror:
63598c2ecf20Sopenharmony_ci	mov.l		TESTCTR(%a6),%d1
63608c2ecf20Sopenharmony_ci	movq.l		&0x1,%d0
63618c2ecf20Sopenharmony_ci	rts
63628c2ecf20Sopenharmony_ci
63638c2ecf20Sopenharmony_ciDEF_REGS:
63648c2ecf20Sopenharmony_ci	long		0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac
63658c2ecf20Sopenharmony_ci	long		0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac
63668c2ecf20Sopenharmony_ci
63678c2ecf20Sopenharmony_ci	long		0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac
63688c2ecf20Sopenharmony_ci	long		0xacacacac, 0xacacacac, 0xacacacac, 0xacacacac
63698c2ecf20Sopenharmony_ci
63708c2ecf20Sopenharmony_ci############################################################
63718c2ecf20Sopenharmony_ci
63728c2ecf20Sopenharmony_ci_print_str:
63738c2ecf20Sopenharmony_ci	mov.l		%d0,-(%sp)
63748c2ecf20Sopenharmony_ci	mov.l		(TESTTOP-0x80+0x0,%pc),%d0
63758c2ecf20Sopenharmony_ci	pea		(TESTTOP-0x80,%pc,%d0)
63768c2ecf20Sopenharmony_ci	mov.l		0x4(%sp),%d0
63778c2ecf20Sopenharmony_ci	rtd		&0x4
63788c2ecf20Sopenharmony_ci
63798c2ecf20Sopenharmony_ci_print_num:
63808c2ecf20Sopenharmony_ci	mov.l		%d0,-(%sp)
63818c2ecf20Sopenharmony_ci	mov.l		(TESTTOP-0x80+0x4,%pc),%d0
63828c2ecf20Sopenharmony_ci	pea		(TESTTOP-0x80,%pc,%d0)
63838c2ecf20Sopenharmony_ci	mov.l		0x4(%sp),%d0
63848c2ecf20Sopenharmony_ci	rtd		&0x4
63858c2ecf20Sopenharmony_ci
63868c2ecf20Sopenharmony_ci############################################################
6387