;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0x60e1
lri $IX1,    #0xcf08
lri $WR1,    #0x884d
cw 0x15
call send_back  ; 1 (0x0001)

lri $AR1,    #0xdc00
lri $IX1,    #0xbf20
lri $WR1,    #0x843a
cw 0x15
call send_back  ; 2 (0x0002)

lri $AR1,    #0x68a4
lri $IX1,    #0x03d6
lri $WR1,    #0x3a59
cw 0x15
call send_back  ; 3 (0x0003)

lri $AR1,    #0x93c3
lri $IX1,    #0x7218
lri $WR1,    #0x0fd7
cw 0x15
call send_back  ; 4 (0x0004)

lri $AR1,    #0x746b
lri $IX1,    #0x9238
lri $WR1,    #0x9abd
cw 0x15
call send_back  ; 5 (0x0005)

lri $AR1,    #0x8e91
lri $IX1,    #0x5a24
lri $WR1,    #0x5515
cw 0x15
call send_back  ; 6 (0x0006)

lri $AR1,    #0xa946
lri $IX1,    #0x4d4c
lri $WR1,    #0xcd22
cw 0x15
call send_back  ; 7 (0x0007)

lri $AR1,    #0xbb86
lri $IX1,    #0x2470
lri $WR1,    #0x5944
cw 0x15
call send_back  ; 8 (0x0008)

lri $AR1,    #0x7e9f
lri $IX1,    #0xd7f8
lri $WR1,    #0xff8b
cw 0x15
call send_back  ; 9 (0x0009)

lri $AR1,    #0x544e
lri $IX1,    #0x4c1a
lri $WR1,    #0x6e93
cw 0x15
call send_back  ; 10 (0x000a)

lri $AR1,    #0x6289
lri $IX1,    #0x0e64
lri $WR1,    #0x76ba
cw 0x15
call send_back  ; 11 (0x000b)

lri $AR1,    #0x6e2e
lri $IX1,    #0xb0f0
lri $WR1,    #0xc833
cw 0x15
call send_back  ; 12 (0x000c)

lri $AR1,    #0x797b
lri $IX1,    #0x77ec
lri $WR1,    #0xb41b
cw 0x15
call send_back  ; 13 (0x000d)

lri $AR1,    #0x5a89
lri $IX1,    #0x629e
lri $WR1,    #0xac06
cw 0x15
call send_back  ; 14 (0x000e)

lri $AR1,    #0x41a6
lri $IX1,    #0x39a0
lri $WR1,    #0x9d2f
cw 0x15
call send_back  ; 15 (0x000f)

lri $AR1,    #0xdee9
lri $IX1,    #0x5876
lri $WR1,    #0x69c3
cw 0x15
call send_back  ; 16 (0x0010)

lri $AR1,    #0x61b3
lri $IX1,    #0x813a
lri $WR1,    #0x8c6c
cw 0x15
call send_back  ; 17 (0x0011)

lri $AR1,    #0xcc8a
lri $IX1,    #0x4d94
lri $WR1,    #0x3f9b
cw 0x15
call send_back  ; 18 (0x0012)

lri $AR1,    #0x6b0f
lri $IX1,    #0xe092
lri $WR1,    #0xb3ac
cw 0x15
call send_back  ; 19 (0x0013)

lri $AR1,    #0x7f5e
lri $IX1,    #0x79aa
lri $WR1,    #0x5469
cw 0x15
call send_back  ; 20 (0x0014)

lri $AR1,    #0x57b3
lri $IX1,    #0x9198
lri $WR1,    #0xb812
cw 0x15
call send_back  ; 21 (0x0015)

lri $AR1,    #0x4c95
lri $IX1,    #0x5e28
lri $WR1,    #0x6f54
cw 0x15
call send_back  ; 22 (0x0016)

lri $AR1,    #0x8b6a
lri $IX1,    #0x1acc
lri $WR1,    #0xef72
cw 0x15
call send_back  ; 23 (0x0017)

lri $AR1,    #0x68aa
lri $IX1,    #0x5ffe
lri $WR1,    #0x94f8
cw 0x15
call send_back  ; 24 (0x0018)

lri $AR1,    #0xa09e
lri $IX1,    #0x4c3c
lri $WR1,    #0xa739
cw 0x15
call send_back  ; 25 (0x0019)

lri $AR1,    #0xcce4
lri $IX1,    #0x65cc
lri $WR1,    #0xb20d
cw 0x15
call send_back  ; 26 (0x001a)

lri $AR1,    #0xc899
lri $IX1,    #0x0cee
lri $WR1,    #0x5cd9
cw 0x15
call send_back  ; 27 (0x001b)

lri $AR1,    #0xa465
lri $IX1,    #0x32a6
lri $WR1,    #0x7b94
cw 0x15
call send_back  ; 28 (0x001c)

lri $AR1,    #0x8751
lri $IX1,    #0xf0e8
lri $WR1,    #0x4faa
cw 0x15
call send_back  ; 29 (0x001d)

lri $AR1,    #0xc8a9
lri $IX1,    #0xb53e
lri $WR1,    #0xac78
cw 0x15
call send_back  ; 30 (0x001e)

lri $AR1,    #0x12b3
lri $IX1,    #0x0f9e
lri $WR1,    #0xd454
cw 0x15
call send_back  ; 31 (0x001f)

lri $AR1,    #0x559b
lri $IX1,    #0x03a6
lri $WR1,    #0x48bd
cw 0x15
call send_back  ; 32 (0x0020)

lri $AR1,    #0x9d62
lri $IX1,    #0x12ea
lri $WR1,    #0x51bf
cw 0x15
call send_back  ; 33 (0x0021)

lri $AR1,    #0x5d0f
lri $IX1,    #0x3b80
lri $WR1,    #0x8e22
cw 0x15
call send_back  ; 34 (0x0022)

lri $AR1,    #0x5508
lri $IX1,    #0xf688
lri $WR1,    #0xcf6d
cw 0x15
call send_back  ; 35 (0x0023)

lri $AR1,    #0x41d4
lri $IX1,    #0xfec2
lri $WR1,    #0xba4b
cw 0x15
call send_back  ; 36 (0x0024)

lri $AR1,    #0x5c1a
lri $IX1,    #0x700e
lri $WR1,    #0x7d6e
cw 0x15
call send_back  ; 37 (0x0025)

lri $AR1,    #0x4237
lri $IX1,    #0xc4e0
lri $WR1,    #0x4e6c
cw 0x15
call send_back  ; 38 (0x0026)

lri $AR1,    #0x8722
lri $IX1,    #0x7762
lri $WR1,    #0x9dc3
cw 0x15
call send_back  ; 39 (0x0027)

lri $AR1,    #0xba0d
lri $IX1,    #0xb88c
lri $WR1,    #0x786e
cw 0x15
call send_back  ; 40 (0x0028)

lri $AR1,    #0xa581
lri $IX1,    #0xe7b2
lri $WR1,    #0x3745
cw 0x15
call send_back  ; 41 (0x0029)

lri $AR1,    #0xa43c
lri $IX1,    #0x59ee
lri $WR1,    #0x4994
cw 0x15
call send_back  ; 42 (0x002a)

lri $AR1,    #0x9dbf
lri $IX1,    #0xb0ec
lri $WR1,    #0x7a10
cw 0x15
call send_back  ; 43 (0x002b)

lri $AR1,    #0xe3be
lri $IX1,    #0x9d5c
lri $WR1,    #0x62ac
cw 0x15
call send_back  ; 44 (0x002c)

lri $AR1,    #0xa550
lri $IX1,    #0x91b6
lri $WR1,    #0x3d68
cw 0x15
call send_back  ; 45 (0x002d)

lri $AR1,    #0xdc30
lri $IX1,    #0xbe8a
lri $WR1,    #0x3dab
cw 0x15
call send_back  ; 46 (0x002e)

lri $AR1,    #0x5bd9
lri $IX1,    #0xd1ea
lri $WR1,    #0x7f25
cw 0x15
call send_back  ; 47 (0x002f)

lri $AR1,    #0x61d4
lri $IX1,    #0x804e
lri $WR1,    #0x3ce3
cw 0x15
call send_back  ; 48 (0x0030)

lri $AR1,    #0x91fd
lri $IX1,    #0xf584
lri $WR1,    #0xcc96
cw 0x15
call send_back  ; 49 (0x0031)

lri $AR1,    #0x891d
lri $IX1,    #0x10d4
lri $WR1,    #0xa79e
cw 0x15
call send_back  ; 50 (0x0032)

lri $AR1,    #0x83a1
lri $IX1,    #0xe028
lri $WR1,    #0x7cec
cw 0x15
call send_back  ; 51 (0x0033)

lri $AR1,    #0x5db6
lri $IX1,    #0x4a50
lri $WR1,    #0xbc4d
cw 0x15
call send_back  ; 52 (0x0034)

lri $AR1,    #0x4db4
lri $IX1,    #0x610e
lri $WR1,    #0xa523
cw 0x15
call send_back  ; 53 (0x0035)

lri $AR1,    #0x8906
lri $IX1,    #0x883a
lri $WR1,    #0x802f
cw 0x15
call send_back  ; 54 (0x0036)

lri $AR1,    #0x677c
lri $IX1,    #0x9f80
lri $WR1,    #0xad67
cw 0x15
call send_back  ; 55 (0x0037)

lri $AR1,    #0x7041
lri $IX1,    #0xc90c
lri $WR1,    #0x7477
cw 0x15
call send_back  ; 56 (0x0038)

lri $AR1,    #0x6759
lri $IX1,    #0x5fce
lri $WR1,    #0x6ffc
cw 0x15
call send_back  ; 57 (0x0039)

lri $AR1,    #0x51e5
lri $IX1,    #0x5470
lri $WR1,    #0x58f9
cw 0x15
call send_back  ; 58 (0x003a)

lri $AR1,    #0xdb0d
lri $IX1,    #0x98cc
lri $WR1,    #0xc9ac
cw 0x15
call send_back  ; 59 (0x003b)

lri $AR1,    #0x6acc
lri $IX1,    #0x9dfc
lri $WR1,    #0x244a
cw 0x15
call send_back  ; 60 (0x003c)

lri $AR1,    #0x7b87
lri $IX1,    #0x51c4
lri $WR1,    #0x83a7
cw 0x15
call send_back  ; 61 (0x003d)

lri $AR1,    #0xaaac
lri $IX1,    #0x9c70
lri $WR1,    #0xd970
cw 0x15
call send_back  ; 62 (0x003e)

lri $AR1,    #0x842b
lri $IX1,    #0x40f2
lri $WR1,    #0x7ef0
cw 0x15
call send_back  ; 63 (0x003f)

lri $AR1,    #0x8025
lri $IX1,    #0x4d62
lri $WR1,    #0x6305
cw 0x15
call send_back  ; 64 (0x0040)

lri $AR1,    #0x7596
lri $IX1,    #0x227c
lri $WR1,    #0x8942
cw 0x15
call send_back  ; 65 (0x0041)

lri $AR1,    #0xc446
lri $IX1,    #0x9d7e
lri $WR1,    #0x9bdf
cw 0x15
call send_back  ; 66 (0x0042)

lri $AR1,    #0x8be7
lri $IX1,    #0x3fe2
lri $WR1,    #0xc37b
cw 0x15
call send_back  ; 67 (0x0043)

lri $AR1,    #0x4d94
lri $IX1,    #0x6d42
lri $WR1,    #0x2d3e
cw 0x15
call send_back  ; 68 (0x0044)

lri $AR1,    #0x308d
lri $IX1,    #0x2006
lri $WR1,    #0x8180
cw 0x15
call send_back  ; 69 (0x0045)

lri $AR1,    #0x3293
lri $IX1,    #0xea28
lri $WR1,    #0x6a6a
cw 0x15
call send_back  ; 70 (0x0046)

lri $AR1,    #0xaf89
lri $IX1,    #0xd792
lri $WR1,    #0x8bac
cw 0x15
call send_back  ; 71 (0x0047)

lri $AR1,    #0x43d4
lri $IX1,    #0xf46c
lri $WR1,    #0x51e4
cw 0x15
call send_back  ; 72 (0x0048)

lri $AR1,    #0x7835
lri $IX1,    #0xf1fc
lri $WR1,    #0xa9b0
cw 0x15
call send_back  ; 73 (0x0049)

lri $AR1,    #0xc570
lri $IX1,    #0xc940
lri $WR1,    #0x5c0b
cw 0x15
call send_back  ; 74 (0x004a)

lri $AR1,    #0x3192
lri $IX1,    #0x6afc
lri $WR1,    #0x5eff
cw 0x15
call send_back  ; 75 (0x004b)

lri $AR1,    #0x701d
lri $IX1,    #0xa97c
lri $WR1,    #0xbf40
cw 0x15
call send_back  ; 76 (0x004c)

lri $AR1,    #0x6a08
lri $IX1,    #0xb082
lri $WR1,    #0xc0b7
cw 0x15
call send_back  ; 77 (0x004d)

lri $AR1,    #0xc1af
lri $IX1,    #0xb4e0
lri $WR1,    #0x5197
cw 0x15
call send_back  ; 78 (0x004e)

lri $AR1,    #0x2ab8
lri $IX1,    #0x252a
lri $WR1,    #0xcd05
cw 0x15
call send_back  ; 79 (0x004f)

lri $AR1,    #0xa51e
lri $IX1,    #0xb1cc
lri $WR1,    #0x2ff1
cw 0x15
call send_back  ; 80 (0x0050)

lri $AR1,    #0xb63b
lri $IX1,    #0x1b3e
lri $WR1,    #0xac13
cw 0x15
call send_back  ; 81 (0x0051)

lri $AR1,    #0x7a18
lri $IX1,    #0xf970
lri $WR1,    #0xd2b7
cw 0x15
call send_back  ; 82 (0x0052)

lri $AR1,    #0x3aed
lri $IX1,    #0xc028
lri $WR1,    #0x4266
cw 0x15
call send_back  ; 83 (0x0053)

lri $AR1,    #0x83fd
lri $IX1,    #0x4088
lri $WR1,    #0x37ee
cw 0x15
call send_back  ; 84 (0x0054)

lri $AR1,    #0xc0b9
lri $IX1,    #0xf066
lri $WR1,    #0x7cd6
cw 0x15
call send_back  ; 85 (0x0055)

lri $AR1,    #0xc86e
lri $IX1,    #0x7498
lri $WR1,    #0xcaef
cw 0x15
call send_back  ; 86 (0x0056)

lri $AR1,    #0x9a59
lri $IX1,    #0x6c0a
lri $WR1,    #0xbde5
cw 0x15
call send_back  ; 87 (0x0057)

lri $AR1,    #0x6557
lri $IX1,    #0x659e
lri $WR1,    #0x3185
cw 0x15
call send_back  ; 88 (0x0058)

lri $AR1,    #0x2226
lri $IX1,    #0x63b0
lri $WR1,    #0x54b1
cw 0x15
call send_back  ; 89 (0x0059)

lri $AR1,    #0x666d
lri $IX1,    #0x744e
lri $WR1,    #0xa69b
cw 0x15
call send_back  ; 90 (0x005a)

lri $AR1,    #0x8a5d
lri $IX1,    #0xd5f0
lri $WR1,    #0x6559
cw 0x15
call send_back  ; 91 (0x005b)

lri $AR1,    #0xa243
lri $IX1,    #0xfcc8
lri $WR1,    #0x8a5e
cw 0x15
call send_back  ; 92 (0x005c)

lri $AR1,    #0x88e1
lri $IX1,    #0xb560
lri $WR1,    #0x2ae7
cw 0x15
call send_back  ; 93 (0x005d)

lri $AR1,    #0xa6c6
lri $IX1,    #0xb5ce
lri $WR1,    #0xcfee
cw 0x15
call send_back  ; 94 (0x005e)

lri $AR1,    #0xa68f
lri $IX1,    #0x4f00
lri $WR1,    #0x7ab5
cw 0x15
call send_back  ; 95 (0x005f)

lri $AR1,    #0xbd50
lri $IX1,    #0xbc82
lri $WR1,    #0x707a
cw 0x15
call send_back  ; 96 (0x0060)

lri $AR1,    #0x79fc
lri $IX1,    #0xe93e
lri $WR1,    #0x7157
cw 0x15
call send_back  ; 97 (0x0061)

lri $AR1,    #0x8e24
lri $IX1,    #0x8498
lri $WR1,    #0x8bf2
cw 0x15
call send_back  ; 98 (0x0062)

lri $AR1,    #0x15c2
lri $IX1,    #0x1366
lri $WR1,    #0x3102
cw 0x15
call send_back  ; 99 (0x0063)

lri $AR1,    #0x6b83
lri $IX1,    #0x6514
lri $WR1,    #0x5f2d
cw 0x15
call send_back  ; 100 (0x0064)

lri $AR1,    #0x7244
lri $IX1,    #0x9d9e
lri $WR1,    #0x9974
cw 0x15
call send_back  ; 101 (0x0065)

lri $AR1,    #0x4c28
lri $IX1,    #0xf97c
lri $WR1,    #0xb78c
cw 0x15
call send_back  ; 102 (0x0066)

lri $AR1,    #0x9afd
lri $IX1,    #0xb15a
lri $WR1,    #0x615f
cw 0x15
call send_back  ; 103 (0x0067)

lri $AR1,    #0x7d5a
lri $IX1,    #0x0f92
lri $WR1,    #0x8c29
cw 0x15
call send_back  ; 104 (0x0068)

lri $AR1,    #0x673d
lri $IX1,    #0x0258
lri $WR1,    #0x794e
cw 0x15
call send_back  ; 105 (0x0069)

lri $AR1,    #0x946d
lri $IX1,    #0x598c
lri $WR1,    #0xe478
cw 0x15
call send_back  ; 106 (0x006a)

lri $AR1,    #0x867e
lri $IX1,    #0x9016
lri $WR1,    #0xa009
cw 0x15
call send_back  ; 107 (0x006b)

lri $AR1,    #0x27cc
lri $IX1,    #0x9cd0
lri $WR1,    #0x3474
cw 0x15
call send_back  ; 108 (0x006c)

lri $AR1,    #0xa824
lri $IX1,    #0xefce
lri $WR1,    #0x9088
cw 0x15
call send_back  ; 109 (0x006d)

lri $AR1,    #0xd785
lri $IX1,    #0x9524
lri $WR1,    #0x5646
cw 0x15
call send_back  ; 110 (0x006e)

; We're done, DO NOT DELETE THIS LINE
jmp end_of_test