1# Test for correct generation of 9s12x specific insns. 2 3 .sect .text 4 5 addx #0x5678 6 addy 2,x+ 7 aded 0,x 8 adex 2,-y 9 adey [d,x] 10 andx #0x9988 11 andy 0x55aa 12 aslw 0x2004 13 aslx 14 asly 15 asrw 0x3000,y 16 asrx 17 asry 18 bitx [0x3456,sp] 19 bity [d,sp] 20 btas 0x2345, #0x04 21 clrw 0x2008,y 22 clrx 23 clry 24 comw 0,x 25 comx 26 comy 27 cped #0xfdeb 28 cpes 0xfedc 29 cpex 2,sp 30 cpey 2,sp+ 31 decw 0,x 32 decx 33 decy 34 eorx 0x34 35 eory 0x1234 36; exg in own test 37 gldaa 0x5678 38 gldab 0,x 39 gldd 2,y+ 40 glds 0,y 41 gldx [d,y] 42 gldy [d,x] 43 gstaa 0x5001 44 gstab 0x5189 45 gstd 0x5000,x 46 gsts 0x7008 47 gstx 0x6001,y 48 gsty [d,x] 49 incw [0x100,sp] 50 incx 51 incy 52 lslw 0x3005 53 lslx 54 lsly 55 lsrw 0x3890 56 lsrx 57 lsry 58; mov in own test 59 negw 2,-y 60 negx 61 negy 62 orx #0x9876 63 ory 0x9876 64 pshcw 65 pulcw 66 rolw 0x5544 67 rolx 68 roly 69 rorw 0,x 70 rorx 71 rory 72 sbed 2,y 73 sbex 0x3458 74 sbey 0x8543 75;sex with exg 76 subx [d,y] 77 suby [d,x] 78 sys 79;tfr with exg 80 tstw 3,x 81 tstx 82 tsty 83 84