1	cpu	68hc12
2	page	0
3
4	aba
5
6	abx
7
8	aby
9
10	adca	#45
11        adca	$45
12        adca	$1234
13        adca	>$45
14        adca	,y
15        adca	5,x
16        adca	-5,sp
17        adca	*,pc
18        adca	*+10,pc
19        adca	*+17,pc
20        adca	a,y
21        adca	b,sp
22        adca	d,pc
23        adca	55,y
24        adca	-55,sp
25        adca	<5,y
26        adca	<-5,sp
27        adca	*+18,pc
28        adca	*+258,pc
29        adca	555,y
30        adca	-555,sp
31	adca	>55,y
32        adca	>-55,sp
33        adca	*+259,pc
34        adca	[d,sp]
35        adca	[d,x]
36	adca	[-5,y]
37        adca	[500,y]
38        adca	4,+y
39        adca	4,y+
40        adca	4,-y
41        adca	4,y-
42
43        adcb	#55
44        adcb	$55
45        adcb	,x
46        adcb	$1234
47
48        adda	#55
49        adda	$55
50        adda	,x
51        adda	$1234
52
53        addb	#55
54        addb	$55
55        addb	,x
56        addb	$1234
57
58        addd	#55
59        addd	$55
60        addd	,x
61        addd	$1234
62
63        anda	#55
64        anda	$55
65        anda	,x
66        anda	$1234
67
68        andb	#55
69        andb	$55
70        andb	,x
71        andb	$1234
72
73        andcc	#$fe
74
75        asl	$55
76        asl	,x
77        asl	$1234
78
79        asla
80
81        aslb
82
83        asld
84
85        asr	$55
86        asr	,x
87        asr	$1234
88
89        asra
90
91        asrb
92
93        bcc	*
94
95        bclr	$20 #$40
96	bclr	$20,#$40
97	bclr	$1234 #$40
98	bclr	$1234,#$40
99	bclr	,x $40
100	bclr	$20,y,$40
101        bclr	*,pc,$40
102
103        bcs	*
104
105        beq	*
106
107        bge	*
108
109        bgnd
110
111        bgt	*
112
113        bhi	*
114
115        bhs	*
116
117        bita	#$55
118        bita	$55
119        bita	,x
120        bita	$1234
121
122        bitb	#$55
123        bitb	$55
124        bitb	,x
125        bitb	$1234
126
127        ble	*
128
129        blo	*
130
131        bls	*
132
133        blt	*
134
135        bmi	*
136
137        bne	*
138
139        bpl	*
140
141        bra	*
142
143        brclr	$20 #$40 *
144        brclr	$2000,#$40,*
145        brclr	,x,#$40,*
146        brclr	*,pc,#$40,*
147
148        brn	*
149
150        brset	$20 #$40 *
151        brset	$2000,#$40,*
152        brset	,x,#$40,*
153        brset	*,pc,#$40,*
154
155        bset	$20 #$40
156	bset	$20,#$40
157	bset	$1234 #$40
158	bset	$1234,#$40
159	bset	,x $40
160	bset	$20,y,$40
161
162        bsr	*
163
164        bvc	*
165
166        bvs	*
167
168        call	$2000,5
169        call	5,y,6
170        call	200,y,7
171        call	20000,y,8
172        call	[d,y]
173        call	[20,y]
174
175        cba
176
177        clc
178        andcc	#$fe
179
180        cli
181        andcc	#$ef
182
183        clr	$55
184        clr	,x
185        clr	$1234
186
187        clra
188
189        clrb
190
191        clv
192        andcc	#$fd
193
194        cmpa	#55
195        cmpa	$55
196        cmpa	,x
197        cmpa	$1234
198
199        cmpb	#55
200        cmpb	$55
201        cmpb	,x
202        cmpb	$1234
203
204        com	$55
205        com	,x
206        com	$1234
207
208        coma
209
210        comb
211
212        cpd	#55
213        cpd	$55
214        cpd	,x
215        cpd	$1234
216
217        cps	#55
218        cps	$55
219        cps	,x
220        cps	$1234
221
222        cpx	#55
223        cpx	$55
224        cpx	,x
225        cpx	$1234
226
227        cpy	#55
228        cpy	$55
229        cpy	,x
230        cpy	$1234
231
232        daa
233
234        dbeq	x,*
235
236        dbne	x,*
237
238        dec	$55
239        dec	,x
240        dec	$1234
241
242        deca
243
244        decb
245
246        des
247        leas	-1,sp
248
249        dex
250
251        dey
252
253        ediv
254
255        edivs
256
257        emacs	$1234
258
259        emaxd	,x
260
261        emaxm	,x
262
263        emind	,x
264
265        eminm	,x
266
267        emul
268
269        emuls
270
271        eora	#55
272        eora	$55
273        eora	,x
274        eora	$1234
275
276        eorb	#55
277        eorb	$55
278        eorb	,x
279        eorb	$1234
280
281        etbl	5,y
282
283        exg	ccr,sp
284
285        fdiv
286
287        ibeq	a,*
288
289        ibne	a,*
290
291        idiv
292
293        idivs
294
295        inc	$55
296        inc	,x
297        inc	$1234
298
299        inca
300
301        incb
302
303        ins
304        leas	1,sp
305
306        inx
307
308        iny
309
310	jmp	$2000
311	jmp	$20
312        jmp	[d,x]
313
314	jsr	$2000
315	jsr	$20
316        jsr	[d,x]
317
318        lbcc	*
319
320        lbcs	*
321
322        lbeq	*
323
324        lbge	*
325
326        lbgt	*
327
328        lbhi	*
329
330        lbhs	*
331
332        lble	*
333
334        lblo	*
335
336        lbls	*
337
338        lblt	*
339
340        lbmi	*
341
342        lbne	*
343
344        lbpl	*
345
346        lbra	*
347
348        lbrn	*
349
350        lbvc	*
351
352        lbvs	*
353
354        ldaa	#55
355        ldaa	$55
356        ldaa	,x
357        ldaa	$1234
358
359        ldab	#55
360        ldab	$55
361        ldab	,x
362        ldab	$1234
363
364        ldd	#55
365        ldd	$55
366        ldd	,x
367        ldd	$1234
368
369        lds	#55
370        lds	$55
371        lds	,x
372        lds	$1234
373
374        ldx	#55
375        ldx	$55
376        ldx	,x
377        ldx	$1234
378
379        ldy	#55
380        ldy	$55
381        ldy	,x
382        ldy	$1234
383
384        leas	2000,sp
385
386        leax	,y
387
388        leay	,x
389
390        lsl	$55
391        lsl	,x
392        lsl	$1234
393
394        lsla
395
396        lslb
397
398        lsld
399
400        lsr	$55
401        lsr	,x
402        lsr	$1234
403
404        lsra
405
406        lsrb
407
408        lsrd
409
410        maxa	,x
411
412        maxm	,x
413
414        mem
415
416        mina	,x
417
418        minm	,x
419
420        movb	#$55 $1234
421        movb	#$55,$1234
422        movb	#$55 2,y
423        movb	#$55,2,y
424        movb	#$55,next_a,pc
425next_a: movb	$1234 $3456
426	movb	$1234,$3456
427        movb	$1234 2,y
428        movb	$1234,2,y
429        movb	$1234,next_b,pc
430next_b: movb	2,y $1234
431	movb	2,y,$1234
432        movb	next_c,pc,$1234
433next_c: movb	2,y 2,y
434	movb	2,y,2,y
435        movb	next_d,pc next_d,pc
436next_d:
437        movw	#$55 $1234
438        movw	#$55,$1234
439        movw	#$55 2,y
440        movw	#$55,2,y
441        movw	#$55,next_e,pc
442next_e: movw	$1234 $3456
443	movw	$1234,$3456
444        movw	$1234 2,y
445        movw	$1234,2,y
446        movw	$1234,next_f,pc
447next_f: movw	2,y $1234
448	movw	2,y,$1234
449        movw	next_g,pc,$1234
450next_g: movw	2,y 2,y
451	movw	2,y,2,y
452        movw	next_h,pc next_h,pc
453next_h:
454
455	mul
456
457        neg	$55
458        neg	,x
459        neg	$1234
460
461        nega
462
463        negb
464
465        nop
466
467        oraa	#55
468        oraa	$55
469        oraa	,x
470        oraa	$1234
471
472        orab	#55
473        orab	$55
474        orab	,x
475        orab	$1234
476
477        orcc    #$10
478
479        psha
480
481        pshb
482
483        pshc
484
485        pshd
486
487        pshx
488
489        pshy
490
491        pula
492
493        pulb
494
495        pulc
496
497        puld
498
499        pulx
500
501        puly
502
503        rev
504
505        revw
506
507        rol	$55
508        rol	,x
509        rol	$1234
510
511        rola
512
513        rolb
514
515        ror	$55
516        ror	,x
517        ror	$1234
518
519        rora
520
521        rorb
522
523        rtc
524
525        rti
526
527        rts
528
529        sba
530
531        sbca	#55
532        sbca	$55
533        sbca	,x
534        sbca	$1234
535
536        sbcb	#55
537        sbcb	$55
538        sbcb	,x
539        sbcb	$1234
540
541        sec
542        orcc	#$01
543
544        sei
545        orcc	#$10
546
547        sev
548        orcc	#$02
549
550	sex	a,d
551
552        staa	$55
553        staa	,x
554        staa	$1234
555
556        stab	$55
557        stab	,x
558        stab	$1234
559
560        std	$55
561        std	,x
562        std	$1234
563
564        sts	$55
565        sts	,x
566        sts	$1234
567
568        stx	$55
569        stx	,x
570        stx	$1234
571
572        sty	$55
573        sty	,x
574        sty	$1234
575
576        stop
577
578        suba	#55
579        suba	$55
580        suba	,x
581        suba	$1234
582
583        subb	#55
584        subb	$55
585        subb	,x
586        subb	$1234
587
588        subd	#55
589        subd	$55
590        subd	,x
591        subd	$1234
592
593        swi
594
595        tab
596
597        tap
598        tfr	a,ccr
599
600        tba
601
602        tbeq	d,*
603
604        tbl	a,x
605
606        tbne	d,*
607
608        tfr	a,b
609        tfr	x,y
610
611        tpa
612        tfr	ccr,a
613
614        trap	#$42
615
616        tst	$55
617        tst	,x
618        tst	$1234
619
620        tsta
621
622        tstb
623
624	tsx
625        tfr	sp,x
626
627        tsy
628        tfr	sp,y
629
630        txs
631        tfr	x,sp
632
633        tys
634        tfr	y,sp
635
636        wai
637
638        wav
639
640        xgdx
641        exg	d,x
642
643        xgdy
644        exg	d,y
645
646	cpu	68hc12x
647
648	aslx
649	asly
650	asrx
651	asry
652	clrx
653	clry
654	comx
655	comy
656	decx
657	decy
658	incx
659	incy
660	lslx
661	lsly
662	lsrx
663	lsry
664	negx
665	negy
666	pshcw
667	pulcw
668	rolx
669	roly
670	rorx
671	rory
672	tstx
673	tsty
674
675        aslw    $55
676        aslw    ,x
677        aslw    ,y
678        aslw    ,sp
679        aslw    *,pc
680        aslw    10,x
681        aslw    10,y
682        aslw    10,sp
683        aslw    *+10,pc
684        aslw    $1234
685
686        asrw    $55
687        asrw    ,x
688        asrw    ,y
689        asrw    ,sp
690        asrw    *,pc
691        asrw    10,x
692        asrw    10,y
693        asrw    10,sp
694        asrw    *+10,pc
695        asrw    $1234
696
697        clrw    $55
698        clrw    ,x
699        clrw    ,y
700        clrw    ,sp
701        clrw    *,pc
702        clrw    10,x
703        clrw    10,y
704        clrw    10,sp
705        clrw    *+10,pc
706        clrw    $1234
707
708        comw    $55
709        comw    ,x
710        comw    ,y
711        comw    ,sp
712        comw    *,pc
713        comw    10,x
714        comw    10,y
715        comw    10,sp
716        comw    *+10,pc
717        comw    $1234
718
719        decw    $55
720        decw    ,x
721        decw    ,y
722        decw    ,sp
723        decw    *,pc
724        decw    10,x
725        decw    10,y
726        decw    10,sp
727        decw    *+10,pc
728        decw    $1234
729
730        incw    $55
731        incw    ,x
732        incw    ,y
733        incw    ,sp
734        incw    *,pc
735        incw    10,x
736        incw    10,y
737        incw    10,sp
738        incw    *+10,pc
739        incw    $1234
740
741        lslw    $55
742        lslw    ,x
743        lslw    ,y
744        lslw    ,sp
745        lslw    *,pc
746        lslw    10,x
747        lslw    10,y
748        lslw    10,sp
749        lslw    *+10,pc
750        lslw    $1234
751
752        lsrw    $55
753        lsrw    ,x
754        lsrw    ,y
755        lsrw    ,sp
756        lsrw    *,pc
757        lsrw    10,x
758        lsrw    10,y
759        lsrw    10,sp
760        lsrw    *+10,pc
761        lsrw    $1234
762
763        negw    $55
764        negw    ,x
765        negw    ,y
766        negw    ,sp
767        negw    *,pc
768        negw    10,x
769        negw    10,y
770        negw    10,sp
771        negw    *+10,pc
772        negw    $1234
773
774        rolw    $55
775        rolw    ,x
776        rolw    ,y
777        rolw    ,sp
778        rolw    *,pc
779        rolw    10,x
780        rolw    10,y
781        rolw    10,sp
782        rolw    *+10,pc
783        rolw    $1234
784
785        rorw    $55
786        rorw    ,x
787        rorw    ,y
788        rorw    ,sp
789        rorw    *,pc
790        rorw    10,x
791        rorw    10,y
792        rorw    10,sp
793        rorw    *+10,pc
794        rorw    $1234
795
796        tstw    $55
797        tstw    ,x
798        tstw    ,y
799        tstw    ,sp
800        tstw    *,pc
801        tstw    10,x
802        tstw    10,y
803        tstw    10,sp
804        tstw    *+10,pc
805        tstw    $1234
806
807	addx	#$1234
808        addx    $55
809        addx    ,x
810        addx    ,y
811        addx    ,sp
812        addx    *,pc
813        addx    10,x
814        addx    10,y
815        addx    10,sp
816        addx    *+10,pc
817        addx    $1234
818
819	addy	#$1234
820        addy    $55
821        addy    ,x
822        addy    ,y
823        addy    ,sp
824        addy    *,pc
825        addy    10,x
826        addy    10,y
827        addy    10,sp
828        addy    *+10,pc
829        addy    $1234
830
831	aded	#$1234
832        aded    $55
833        aded    ,x
834        aded    ,y
835        aded    ,sp
836        aded    *,pc
837        aded    10,x
838        aded    10,y
839        aded    10,sp
840        aded    *+10,pc
841        aded    $1234
842
843	adex	#$1234
844        adex    $55
845        adex    ,x
846        adex    ,y
847        adex    ,sp
848        adex    *,pc
849        adex    10,x
850        adex    10,y
851        adex    10,sp
852        adex    *+10,pc
853        adex    $1234
854
855	adey	#$1234
856        adey    $55
857        adey    ,x
858        adey    ,y
859        adey    ,sp
860        adey    *,pc
861        adey    10,x
862        adey    10,y
863        adey    10,sp
864        adey    *+10,pc
865        adey    $1234
866
867	andx	#$1234
868        andx    $55
869        andx    ,x
870        andx    ,y
871        andx    ,sp
872        andx    *,pc
873        andx    10,x
874        andx    10,y
875        andx    10,sp
876        andx    *+10,pc
877        andx    $1234
878
879	andy	#$1234
880        andy    $55
881        andy    ,x
882        andy    ,y
883        andy    ,sp
884        andy    *,pc
885        andy    10,x
886        andy    10,y
887        andy    10,sp
888        andy    *+10,pc
889        andy    $1234
890
891	bitx	#$1234
892        bitx    $55
893        bitx    ,x
894        bitx    ,y
895        bitx    ,sp
896        bitx    *,pc
897        bitx    10,x
898        bitx    10,y
899        bitx    10,sp
900        bitx    *+10,pc
901        bitx    $1234
902
903	bity	#$1234
904        bity    $55
905        bity    ,x
906        bity    ,y
907        bity    ,sp
908        bity    *,pc
909        bity    10,x
910        bity    10,y
911        bity    10,sp
912        bity    *+10,pc
913        bity    $1234
914
915	cped	#$1234
916        cped    $55
917        cped    ,x
918        cped    ,y
919        cped    ,sp
920        cped    *,pc
921        cped    10,x
922        cped    10,y
923        cped    10,sp
924        cped    *+10,pc
925        cped    $1234
926
927	cpes	#$1234
928        cpes    $55
929        cpes    ,x
930        cpes    ,y
931        cpes    ,sp
932        cpes    *,pc
933        cpes    10,x
934        cpes    10,y
935        cpes    10,sp
936        cpes    *+10,pc
937        cpes    $1234
938
939	cpex	#$1234
940        cpex    $55
941        cpex    ,x
942        cpex    ,y
943        cpex    ,sp
944        cpex    *,pc
945        cpex    10,x
946        cpex    10,y
947        cpex    10,sp
948        cpex    *+10,pc
949        cpex    $1234
950
951	cpey	#$1234
952        cpey    $55
953        cpey    ,y
954        cpey    ,y
955        cpey    ,sp
956        cpey    *,pc
957        cpey    10,y
958        cpey    10,y
959        cpey    10,sp
960        cpey    *+10,pc
961        cpey    $1234
962
963	eorx	#$1234
964        eorx    $55
965        eorx    ,x
966        eorx    ,y
967        eorx    ,sp
968        eorx    *,pc
969        eorx    10,x
970        eorx    10,y
971        eorx    10,sp
972        eorx    *+10,pc
973        eorx    $1234
974
975	eory	#$1234
976        eory    $55
977        eory    ,y
978        eory    ,y
979        eory    ,sp
980        eory    *,pc
981        eory    10,y
982        eory    10,y
983        eory    10,sp
984        eory    *+10,pc
985        eory    $1234
986
987	orx	#$1234
988        orx     $55
989        orx     ,x
990        orx     ,y
991        orx     ,sp
992        orx     *,pc
993        orx     10,x
994        orx     10,y
995        orx     10,sp
996        orx     *+10,pc
997        orx     $1234
998
999	ory	#$1234
1000        ory     $55
1001        ory     ,y
1002        ory     ,y
1003        ory     ,sp
1004        ory      *,pc
1005        ory     10,y
1006        ory     10,y
1007        ory     10,sp
1008        ory     *+10,pc
1009        ory     $1234
1010
1011        sbed    #$1234
1012        sbed    $55
1013        sbed    ,x
1014        sbed    ,y
1015        sbed    ,sp
1016        sbed    *,pc
1017        sbed    10,x
1018        sbed    10,y
1019        sbed    10,sp
1020        sbed    *+10,pc
1021        sbed    $1234
1022
1023        sbex    #$1234
1024        sbex    $55
1025        sbex    ,x
1026        sbex    ,y
1027        sbex    ,sp
1028        sbex    *,pc
1029        sbex    10,x
1030        sbex    10,y
1031        sbex    10,sp
1032        sbex    *+10,pc
1033        sbex    $1234
1034
1035        sbey    #$1234
1036        sbey    $55
1037        sbey    ,x
1038        sbey    ,y
1039        sbey    ,sp
1040        sbey     *,pc
1041        sbey    10,y
1042        sbey    10,y
1043        sbey    10,sp
1044        sbey    *+10,pc
1045        sbey    $1234
1046
1047        subx    #$1234
1048        subx    $55
1049        subx    ,x
1050        subx    ,y
1051        subx    ,sp
1052        subx    *,pc
1053        subx    10,x
1054        subx    10,y
1055        subx    10,sp
1056        subx    *+10,pc
1057        subx    $1234
1058
1059        suby    #$1234
1060        suby    $55
1061        suby    ,x
1062        suby    ,y
1063        suby    ,sp
1064        suby     *,pc
1065        suby    10,y
1066        suby    10,y
1067        suby    10,sp
1068        suby    *+10,pc
1069        suby    $1234
1070
1071
1072        gldaa   $55
1073        gldaa   ,x
1074        gldaa   ,y
1075        gldaa   ,sp
1076        gldaa    *,pc
1077        gldaa   10,y
1078        gldaa   10,y
1079        gldaa   10,sp
1080        gldaa   *+10,pc
1081        gldaa   $1234
1082
1083        gldab   $55
1084        gldab   ,x
1085        gldab   ,y
1086        gldab   ,sp
1087        gldab    *,pc
1088        gldab   10,y
1089        gldab   10,y
1090        gldab   10,sp
1091        gldab   *+10,pc
1092        gldab   $1234
1093
1094        gldd    $55
1095        gldd    ,x
1096        gldd    ,y
1097        gldd    ,sp
1098        gldd    *,pc
1099        gldd    10,y
1100        gldd    10,y
1101        gldd    10,sp
1102        gldd    *+10,pc
1103        gldd    $1234
1104
1105        glds    $55
1106        glds    ,x
1107        glds    ,y
1108        glds    ,sp
1109        glds    *,pc
1110        glds    10,y
1111        glds    10,y
1112        glds    10,sp
1113        glds    *+10,pc
1114        glds    $1234
1115
1116        gldx    $55
1117        gldx    ,x
1118        gldx    ,y
1119        gldx    ,sp
1120        gldx    *,pc
1121        gldx    10,y
1122        gldx    10,y
1123        gldx    10,sp
1124        gldx    *+10,pc
1125        gldx    $1234
1126
1127        gldy    $55
1128        gldy    ,x
1129        gldy    ,y
1130        gldy    ,sp
1131        gldy    *,pc
1132        gldy    10,y
1133        gldy    10,y
1134        gldy    10,sp
1135        gldy    *+10,pc
1136        gldy    $1234
1137
1138        gstaa   $55
1139        gstaa   ,x
1140        gstaa   ,y
1141        gstaa   ,sp
1142        gstaa    *,pc
1143        gstaa   10,y
1144        gstaa   10,y
1145        gstaa   10,sp
1146        gstaa   *+10,pc
1147        gstaa   $1234
1148
1149        gstab   $55
1150        gstab   ,x
1151        gstab   ,y
1152        gstab   ,sp
1153        gstab    *,pc
1154        gstab   10,y
1155        gstab   10,y
1156        gstab   10,sp
1157        gstab   *+10,pc
1158        gstab   $1234
1159
1160        gstd    $55
1161        gstd    ,x
1162        gstd    ,y
1163        gstd    ,sp
1164        gstd    *,pc
1165        gstd    10,y
1166        gstd    10,y
1167        gstd    10,sp
1168        gstd    *+10,pc
1169        gstd    $1234
1170
1171        gsts    $55
1172        gsts    ,x
1173        gsts    ,y
1174        gsts    ,sp
1175        gsts    *,pc
1176        gsts    10,y
1177        gsts    10,y
1178        gsts    10,sp
1179        gsts    *+10,pc
1180        gsts    $1234
1181
1182        gstx    $55
1183        gstx    ,x
1184        gstx    ,y
1185        gstx    ,sp
1186        gstx    *,pc
1187        gstx    10,y
1188        gstx    10,y
1189        gstx    10,sp
1190        gstx    *+10,pc
1191        gstx    $1234
1192
1193        gsty    $55
1194        gsty    ,x
1195        gsty    ,y
1196        gsty    ,sp
1197        gsty    *,pc
1198        gsty    10,y
1199        gsty    10,y
1200        gsty    10,sp
1201        gsty    *+10,pc
1202        gsty    $1234
1203
1204        btas    $55,#$45
1205        btas    ,x,#$45
1206        btas    ,y,#$45
1207        btas    ,sp,#$45
1208        btas    *,pc,#$45
1209        btas    10,y,#$45
1210        btas    10,y,#$45
1211        btas    10,sp,#$45
1212        btas    *+10,pc,#$45
1213        btas    $1234,#$45
1214
1215	ldaa	$10
1216	ldaa	$1010
1217	assume	direct:$10
1218	ldaa	$10
1219	ldaa	$1010
1220
1221	irp	reg,a,b,ccr,ccrl,d,x,y,sp,ccrh,xh,yh,sph
1222	tfr	a,reg
1223	endm
1224
1225	irp	reg,a,b,ccr,ccrl,d,x,y,sp,xl,yl,spl
1226	tfr	b,reg
1227	endm
1228
1229	irp	reg,a,b,ccr,ccrl,d,x,y,sp
1230	tfr	ccr,reg
1231	tfr	ccrl,reg
1232	endm
1233
1234        irp     reg,a,b,ccr,ccrl,d,x,y,sp,ccrw
1235        tfr     d,reg
1236        endm
1237
1238        irp     reg,a,b,ccr,ccrl,d,x,y,sp,ccrw
1239        tfr     x,reg
1240        endm
1241
1242        irp     reg,a,b,ccr,ccrl,d,x,y,sp,ccrw
1243        tfr     y,reg
1244        endm
1245
1246        irp     reg,a,b,ccr,ccrl,d,x,y,sp,ccrw
1247        tfr     sp,reg
1248        endm
1249
1250	irp	reg,a,b,ccr,ccrl
1251	tfr	xl,reg
1252	endm
1253
1254	irp	reg,a,b,ccr,ccrl
1255	tfr	yl,reg
1256	endm
1257
1258	irp	reg,a,b,ccr,ccrl
1259	tfr	spl,reg
1260	endm
1261
1262	tfr	xh,a
1263	tfr	yh,a
1264	tfr	sph,a
1265	tfr	ccrh,a
1266
1267	irp	reg,ccrw,d,x,y,sp
1268	tfr	ccrw,reg
1269	endm
1270
1271	movb	#$56,$1234
1272	movb	#$56,,y
1273	movb	#$56,64,y
1274	movb	#$56,1000,y
1275	movb	#$56,[d,sp]
1276	movb	#$56,[500,y]
1277
1278        movb    $2356,$1234
1279        movb    $2356,,y
1280        movb    $2356,64,y
1281        movb    $2356,1000,y
1282        movb    $2356,[d,sp]
1283        movb    $2356,[500,y]
1284
1285        movb    0,y,$1234
1286        movb    0,y,,y
1287        movb    0,y,64,y
1288        movb    0,y,1000,y
1289        movb    0,y,[d,sp]
1290        movb    0,y,[500,y]
1291
1292        movb    100,y,$1234
1293        movb    100,y,,y
1294        movb    100,y,64,y
1295        movb    100,y,1000,y
1296        movb    100,y,[d,sp]
1297        movb    100,y,[500,y]
1298
1299        movb    1000,y,$1234
1300        movb    1000,y,,y
1301        movb    1000,y,64,y
1302        movb    1000,y,10000,y
1303        movb    1000,y,[d,sp]
1304        movb    1000,y,[500,y]
1305
1306        movb    [d,sp],$1234
1307        movb    [d,sp],,y
1308        movb    [d,sp],64,y
1309        movb    [d,sp],10000,y
1310        movb    [d,sp],[d,sp]
1311        movb    [d,sp],[500,y]
1312
1313        movb    [500,y],$1234
1314        movb    [500,y],,y
1315        movb    [500,y],64,y
1316        movb    [500,y],10000,y
1317        movb    [500,y],[d,sp]
1318        movb    [500,y],[500,y]
1319
1320
1321	movw	#$a56,$1234
1322	movw	#$a56,,y
1323	movw	#$a56,64,y
1324	movw	#$a56,1000,y
1325	movw	#$a56,[d,sp]
1326	movw	#$a56,[500,y]
1327
1328        movw    $2356,$1234
1329        movw    $2356,,y
1330        movw    $2356,64,y
1331        movw    $2356,1000,y
1332        movw    $2356,[d,sp]
1333        movw    $2356,[500,y]
1334
1335        movw    0,y,$1234
1336        movw    0,y,,y
1337        movw    0,y,64,y
1338        movw    0,y,1000,y
1339        movw    0,y,[d,sp]
1340        movw    0,y,[500,y]
1341
1342        movw    100,y,$1234
1343        movw    100,y,,y
1344        movw    100,y,64,y
1345        movw    100,y,1000,y
1346        movw    100,y,[d,sp]
1347        movw    100,y,[500,y]
1348
1349        movw    1000,y,$1234
1350        movw    1000,y,,y
1351        movw    1000,y,64,y
1352        movw    1000,y,10000,y
1353        movw    1000,y,[d,sp]
1354        movw    1000,y,[500,y]
1355
1356        movw    [d,sp],$1234
1357        movw    [d,sp],,y
1358        movw    [d,sp],64,y
1359        movw    [d,sp],10000,y
1360        movw    [d,sp],[d,sp]
1361        movw    [d,sp],[500,y]
1362
1363        movw    [500,y],$1234
1364        movw    [500,y],,y
1365        movw    [500,y],64,y
1366        movw    [500,y],10000,y
1367        movw    [500,y],[d,sp]
1368        movw    [500,y],[500,y]
1369