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

lri $AR1,    #0x9f92
lri $IX1,    #0xcaa8
lri $WR1,    #0xb303
cw 0xd
call send_back  ; 22065 (0x5631)

lri $AR1,    #0x4139
lri $IX1,    #0x9090
lri $WR1,    #0xa4e2
cw 0xd
call send_back  ; 22066 (0x5632)

lri $AR1,    #0x5208
lri $IX1,    #0x086a
lri $WR1,    #0x3b26
cw 0xd
call send_back  ; 22067 (0x5633)

lri $AR1,    #0x793f
lri $IX1,    #0x0ef8
lri $WR1,    #0x3aea
cw 0xd
call send_back  ; 22068 (0x5634)

lri $AR1,    #0x2dc6
lri $IX1,    #0xf782
lri $WR1,    #0x5461
cw 0xd
call send_back  ; 22069 (0x5635)

lri $AR1,    #0x7f16
lri $IX1,    #0xa8c6
lri $WR1,    #0x909c
cw 0xd
call send_back  ; 22070 (0x5636)

lri $AR1,    #0xbc90
lri $IX1,    #0x1728
lri $WR1,    #0x7361
cw 0xd
call send_back  ; 22071 (0x5637)

lri $AR1,    #0x666f
lri $IX1,    #0x8208
lri $WR1,    #0x3fad
cw 0xd
call send_back  ; 22072 (0x5638)

lri $AR1,    #0x7f48
lri $IX1,    #0xe188
lri $WR1,    #0x36ec
cw 0xd
call send_back  ; 22073 (0x5639)

lri $AR1,    #0xb44b
lri $IX1,    #0x4d8e
lri $WR1,    #0x9870
cw 0xd
call send_back  ; 22074 (0x563a)

lri $AR1,    #0x462e
lri $IX1,    #0xb650
lri $WR1,    #0x7848
cw 0xd
call send_back  ; 22075 (0x563b)

lri $AR1,    #0x8400
lri $IX1,    #0xea44
lri $WR1,    #0x99f9
cw 0xd
call send_back  ; 22076 (0x563c)

lri $AR1,    #0x64b4
lri $IX1,    #0x7cb6
lri $WR1,    #0xb528
cw 0xd
call send_back  ; 22077 (0x563d)

lri $AR1,    #0xbbc6
lri $IX1,    #0x8bec
lri $WR1,    #0xc7d0
cw 0xd
call send_back  ; 22078 (0x563e)

lri $AR1,    #0x88ba
lri $IX1,    #0x84fe
lri $WR1,    #0x3b0d
cw 0xd
call send_back  ; 22079 (0x563f)

lri $AR1,    #0x58be
lri $IX1,    #0xb76c
lri $WR1,    #0x050d
cw 0xd
call send_back  ; 22080 (0x5640)

lri $AR1,    #0x7d5e
lri $IX1,    #0xb184
lri $WR1,    #0x7c33
cw 0xd
call send_back  ; 22081 (0x5641)

lri $AR1,    #0x5a74
lri $IX1,    #0xda9a
lri $WR1,    #0x9d08
cw 0xd
call send_back  ; 22082 (0x5642)

lri $AR1,    #0x2142
lri $IX1,    #0x6f44
lri $WR1,    #0x75f8
cw 0xd
call send_back  ; 22083 (0x5643)

lri $AR1,    #0xd5f1
lri $IX1,    #0xc77a
lri $WR1,    #0x217f
cw 0xd
call send_back  ; 22084 (0x5644)

lri $AR1,    #0x5853
lri $IX1,    #0x85de
lri $WR1,    #0x90c2
cw 0xd
call send_back  ; 22085 (0x5645)

lri $AR1,    #0xb838
lri $IX1,    #0xdb0e
lri $WR1,    #0x463c
cw 0xd
call send_back  ; 22086 (0x5646)

lri $AR1,    #0xc112
lri $IX1,    #0x472a
lri $WR1,    #0x616b
cw 0xd
call send_back  ; 22087 (0x5647)

lri $AR1,    #0xc056
lri $IX1,    #0x179a
lri $WR1,    #0x623e
cw 0xd
call send_back  ; 22088 (0x5648)

lri $AR1,    #0x7558
lri $IX1,    #0x262c
lri $WR1,    #0xb423
cw 0xd
call send_back  ; 22089 (0x5649)

lri $AR1,    #0xb8ea
lri $IX1,    #0xfa72
lri $WR1,    #0x3e66
cw 0xd
call send_back  ; 22090 (0x564a)

lri $AR1,    #0x9ea7
lri $IX1,    #0x3db4
lri $WR1,    #0x48e0
cw 0xd
call send_back  ; 22091 (0x564b)

lri $AR1,    #0x7925
lri $IX1,    #0x553a
lri $WR1,    #0xd994
cw 0xd
call send_back  ; 22092 (0x564c)

lri $AR1,    #0x25e8
lri $IX1,    #0xce4c
lri $WR1,    #0xa93b
cw 0xd
call send_back  ; 22093 (0x564d)

lri $AR1,    #0xb55d
lri $IX1,    #0xf2ae
lri $WR1,    #0x4a5a
cw 0xd
call send_back  ; 22094 (0x564e)

lri $AR1,    #0x46ba
lri $IX1,    #0x3bda
lri $WR1,    #0x7fe6
cw 0xd
call send_back  ; 22095 (0x564f)

lri $AR1,    #0xa70b
lri $IX1,    #0x4ef4
lri $WR1,    #0xe61d
cw 0xd
call send_back  ; 22096 (0x5650)

lri $AR1,    #0x4e37
lri $IX1,    #0x9294
lri $WR1,    #0xd987
cw 0xd
call send_back  ; 22097 (0x5651)

lri $AR1,    #0x945b
lri $IX1,    #0x2b5c
lri $WR1,    #0x55c2
cw 0xd
call send_back  ; 22098 (0x5652)

lri $AR1,    #0xcd3c
lri $IX1,    #0x1b92
lri $WR1,    #0xb728
cw 0xd
call send_back  ; 22099 (0x5653)

lri $AR1,    #0x3f2f
lri $IX1,    #0x45a6
lri $WR1,    #0x3fd3
cw 0xd
call send_back  ; 22100 (0x5654)

lri $AR1,    #0x0633
lri $IX1,    #0x08d4
lri $WR1,    #0x5a1c
cw 0xd
call send_back  ; 22101 (0x5655)

lri $AR1,    #0xc3a7
lri $IX1,    #0xfad0
lri $WR1,    #0xb024
cw 0xd
call send_back  ; 22102 (0x5656)

lri $AR1,    #0x5e55
lri $IX1,    #0xc0c4
lri $WR1,    #0x3168
cw 0xd
call send_back  ; 22103 (0x5657)

lri $AR1,    #0x6e2e
lri $IX1,    #0x1d5c
lri $WR1,    #0x6503
cw 0xd
call send_back  ; 22104 (0x5658)

lri $AR1,    #0x9a7e
lri $IX1,    #0xd14e
lri $WR1,    #0x50a8
cw 0xd
call send_back  ; 22105 (0x5659)

lri $AR1,    #0x90fb
lri $IX1,    #0xc718
lri $WR1,    #0xa9da
cw 0xd
call send_back  ; 22106 (0x565a)

lri $AR1,    #0xaf66
lri $IX1,    #0x1254
lri $WR1,    #0xd87d
cw 0xd
call send_back  ; 22107 (0x565b)

lri $AR1,    #0x611e
lri $IX1,    #0x6e62
lri $WR1,    #0x6756
cw 0xd
call send_back  ; 22108 (0x565c)

lri $AR1,    #0x6d75
lri $IX1,    #0xffc4
lri $WR1,    #0x386f
cw 0xd
call send_back  ; 22109 (0x565d)

lri $AR1,    #0xe308
lri $IX1,    #0x06f6
lri $WR1,    #0x9115
cw 0xd
call send_back  ; 22110 (0x565e)

lri $AR1,    #0xd006
lri $IX1,    #0xd31a
lri $WR1,    #0xb25a
cw 0xd
call send_back  ; 22111 (0x565f)

lri $AR1,    #0x6e90
lri $IX1,    #0x7634
lri $WR1,    #0x18ca
cw 0xd
call send_back  ; 22112 (0x5660)

lri $AR1,    #0xb82d
lri $IX1,    #0x646a
lri $WR1,    #0x874f
cw 0xd
call send_back  ; 22113 (0x5661)

lri $AR1,    #0x527b
lri $IX1,    #0x22e8
lri $WR1,    #0x8ee3
cw 0xd
call send_back  ; 22114 (0x5662)

lri $AR1,    #0xdb05
lri $IX1,    #0x5ae8
lri $WR1,    #0x3607
cw 0xd
call send_back  ; 22115 (0x5663)

lri $AR1,    #0x9f88
lri $IX1,    #0xe88e
lri $WR1,    #0x98b7
cw 0xd
call send_back  ; 22116 (0x5664)

lri $AR1,    #0x2b73
lri $IX1,    #0xb4f0
lri $WR1,    #0xb2bf
cw 0xd
call send_back  ; 22117 (0x5665)

lri $AR1,    #0x22f4
lri $IX1,    #0x3620
lri $WR1,    #0xe427
cw 0xd
call send_back  ; 22118 (0x5666)

lri $AR1,    #0x876d
lri $IX1,    #0x2f8a
lri $WR1,    #0x80a7
cw 0xd
call send_back  ; 22119 (0x5667)

lri $AR1,    #0x9885
lri $IX1,    #0xa05e
lri $WR1,    #0xc0cb
cw 0xd
call send_back  ; 22120 (0x5668)

lri $AR1,    #0x70c9
lri $IX1,    #0x957a
lri $WR1,    #0x94c8
cw 0xd
call send_back  ; 22121 (0x5669)

lri $AR1,    #0x9c0e
lri $IX1,    #0xaf8e
lri $WR1,    #0x869a
cw 0xd
call send_back  ; 22122 (0x566a)

lri $AR1,    #0x997c
lri $IX1,    #0x7dc2
lri $WR1,    #0x6a71
cw 0xd
call send_back  ; 22123 (0x566b)

lri $AR1,    #0x627d
lri $IX1,    #0x30cc
lri $WR1,    #0x720f
cw 0xd
call send_back  ; 22124 (0x566c)

lri $AR1,    #0x8b6c
lri $IX1,    #0x81aa
lri $WR1,    #0xb114
cw 0xd
call send_back  ; 22125 (0x566d)

lri $AR1,    #0x425b
lri $IX1,    #0xd2d2
lri $WR1,    #0x9dd2
cw 0xd
call send_back  ; 22126 (0x566e)

lri $AR1,    #0x33ac
lri $IX1,    #0x724a
lri $WR1,    #0x7bb8
cw 0xd
call send_back  ; 22127 (0x566f)

lri $AR1,    #0x93dd
lri $IX1,    #0x563a
lri $WR1,    #0x41e1
cw 0xd
call send_back  ; 22128 (0x5670)

lri $AR1,    #0x9950
lri $IX1,    #0x9592
lri $WR1,    #0x59dd
cw 0xd
call send_back  ; 22129 (0x5671)

lri $AR1,    #0x7065
lri $IX1,    #0x194c
lri $WR1,    #0x6039
cw 0xd
call send_back  ; 22130 (0x5672)

lri $AR1,    #0x87ad
lri $IX1,    #0x72d2
lri $WR1,    #0xc1e4
cw 0xd
call send_back  ; 22131 (0x5673)

lri $AR1,    #0x598d
lri $IX1,    #0x4740
lri $WR1,    #0x86f9
cw 0xd
call send_back  ; 22132 (0x5674)

lri $AR1,    #0x7423
lri $IX1,    #0x36c4
lri $WR1,    #0xb4f9
cw 0xd
call send_back  ; 22133 (0x5675)

lri $AR1,    #0x4faf
lri $IX1,    #0x730e
lri $WR1,    #0x5012
cw 0xd
call send_back  ; 22134 (0x5676)

lri $AR1,    #0x6766
lri $IX1,    #0x370a
lri $WR1,    #0x8478
cw 0xd
call send_back  ; 22135 (0x5677)

lri $AR1,    #0x5feb
lri $IX1,    #0xe5ae
lri $WR1,    #0x4666
cw 0xd
call send_back  ; 22136 (0x5678)

lri $AR1,    #0xb248
lri $IX1,    #0x9d42
lri $WR1,    #0x20d6
cw 0xd
call send_back  ; 22137 (0x5679)

lri $AR1,    #0xb1b2
lri $IX1,    #0x67e4
lri $WR1,    #0x5879
cw 0xd
call send_back  ; 22138 (0x567a)

lri $AR1,    #0xb5f9
lri $IX1,    #0xc18e
lri $WR1,    #0xda0b
cw 0xd
call send_back  ; 22139 (0x567b)

lri $AR1,    #0x9bce
lri $IX1,    #0xcf8a
lri $WR1,    #0x808f
cw 0xd
call send_back  ; 22140 (0x567c)

lri $AR1,    #0x87da
lri $IX1,    #0x3c90
lri $WR1,    #0x7979
cw 0xd
call send_back  ; 22141 (0x567d)

lri $AR1,    #0xc8e3
lri $IX1,    #0x1854
lri $WR1,    #0xca60
cw 0xd
call send_back  ; 22142 (0x567e)

lri $AR1,    #0xb8be
lri $IX1,    #0x38fc
lri $WR1,    #0x9d50
cw 0xd
call send_back  ; 22143 (0x567f)

lri $AR1,    #0x7382
lri $IX1,    #0x5018
lri $WR1,    #0xde34
cw 0xd
call send_back  ; 22144 (0x5680)

lri $AR1,    #0x87b0
lri $IX1,    #0x0c9e
lri $WR1,    #0x3d7e
cw 0xd
call send_back  ; 22145 (0x5681)

lri $AR1,    #0xc1a9
lri $IX1,    #0x1e98
lri $WR1,    #0xb993
cw 0xd
call send_back  ; 22146 (0x5682)

lri $AR1,    #0x4844
lri $IX1,    #0xa0e4
lri $WR1,    #0xc210
cw 0xd
call send_back  ; 22147 (0x5683)

lri $AR1,    #0xc7cf
lri $IX1,    #0x30ce
lri $WR1,    #0xbd6c
cw 0xd
call send_back  ; 22148 (0x5684)

lri $AR1,    #0x4454
lri $IX1,    #0xb2de
lri $WR1,    #0x931c
cw 0xd
call send_back  ; 22149 (0x5685)

lri $AR1,    #0xbb68
lri $IX1,    #0x4fa8
lri $WR1,    #0xb9b7
cw 0xd
call send_back  ; 22150 (0x5686)

lri $AR1,    #0xe153
lri $IX1,    #0x72d2
lri $WR1,    #0x8a2b
cw 0xd
call send_back  ; 22151 (0x5687)

lri $AR1,    #0x5cf2
lri $IX1,    #0x6a5c
lri $WR1,    #0x9ea5
cw 0xd
call send_back  ; 22152 (0x5688)

lri $AR1,    #0x510b
lri $IX1,    #0x8b38
lri $WR1,    #0x2d20
cw 0xd
call send_back  ; 22153 (0x5689)

lri $AR1,    #0xa17a
lri $IX1,    #0x5c2c
lri $WR1,    #0x7b44
cw 0xd
call send_back  ; 22154 (0x568a)

lri $AR1,    #0x15ed
lri $IX1,    #0x1748
lri $WR1,    #0x9a9b
cw 0xd
call send_back  ; 22155 (0x568b)

lri $AR1,    #0x23a3
lri $IX1,    #0xb5ac
lri $WR1,    #0x71a7
cw 0xd
call send_back  ; 22156 (0x568c)

lri $AR1,    #0x22d3
lri $IX1,    #0x9104
lri $WR1,    #0x0fed
cw 0xd
call send_back  ; 22157 (0x568d)

lri $AR1,    #0x6431
lri $IX1,    #0x518a
lri $WR1,    #0x4890
cw 0xd
call send_back  ; 22158 (0x568e)

lri $AR1,    #0x5e49
lri $IX1,    #0x3ec0
lri $WR1,    #0x7073
cw 0xd
call send_back  ; 22159 (0x568f)

lri $AR1,    #0xe20e
lri $IX1,    #0xfcdc
lri $WR1,    #0x4293
cw 0xd
call send_back  ; 22160 (0x5690)

lri $AR1,    #0xd15d
lri $IX1,    #0x281e
lri $WR1,    #0xb684
cw 0xd
call send_back  ; 22161 (0x5691)

lri $AR1,    #0x91d7
lri $IX1,    #0xfade
lri $WR1,    #0x62c4
cw 0xd
call send_back  ; 22162 (0x5692)

lri $AR1,    #0x49d9
lri $IX1,    #0x1aaa
lri $WR1,    #0xb5da
cw 0xd
call send_back  ; 22163 (0x5693)

lri $AR1,    #0x3cdb
lri $IX1,    #0xac46
lri $WR1,    #0x46de
cw 0xd
call send_back  ; 22164 (0x5694)

lri $AR1,    #0xb817
lri $IX1,    #0xc5d2
lri $WR1,    #0x9778
cw 0xd
call send_back  ; 22165 (0x5695)

lri $AR1,    #0xcfaf
lri $IX1,    #0x21fe
lri $WR1,    #0xbee5
cw 0xd
call send_back  ; 22166 (0x5696)

lri $AR1,    #0x9043
lri $IX1,    #0x7674
lri $WR1,    #0x7711
cw 0xd
call send_back  ; 22167 (0x5697)

lri $AR1,    #0xa029
lri $IX1,    #0xe37a
lri $WR1,    #0x4a57
cw 0xd
call send_back  ; 22168 (0x5698)

lri $AR1,    #0x7724
lri $IX1,    #0x79e8
lri $WR1,    #0x89f5
cw 0xd
call send_back  ; 22169 (0x5699)

lri $AR1,    #0xb2f2
lri $IX1,    #0xb074
lri $WR1,    #0xa2cd
cw 0xd
call send_back  ; 22170 (0x569a)

lri $AR1,    #0x8268
lri $IX1,    #0xb080
lri $WR1,    #0xb773
cw 0xd
call send_back  ; 22171 (0x569b)

lri $AR1,    #0x888c
lri $IX1,    #0x863e
lri $WR1,    #0x7c27
cw 0xd
call send_back  ; 22172 (0x569c)

lri $AR1,    #0x5463
lri $IX1,    #0x579a
lri $WR1,    #0x8ac3
cw 0xd
call send_back  ; 22173 (0x569d)

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