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

lri $AR1,    #0x5036
lri $IX1,    #0x86fc
lri $WR1,    #0x68e4
cw 0xd
call send_back  ; 42162 (0xa4b2)

lri $AR1,    #0x6a7f
lri $IX1,    #0xd384
lri $WR1,    #0x8a7d
cw 0xd
call send_back  ; 42163 (0xa4b3)

lri $AR1,    #0xafe0
lri $IX1,    #0x21e2
lri $WR1,    #0x6530
cw 0xd
call send_back  ; 42164 (0xa4b4)

lri $AR1,    #0x537a
lri $IX1,    #0xfb7c
lri $WR1,    #0x9edb
cw 0xd
call send_back  ; 42165 (0xa4b5)

lri $AR1,    #0x8ba4
lri $IX1,    #0x7cca
lri $WR1,    #0x7759
cw 0xd
call send_back  ; 42166 (0xa4b6)

lri $AR1,    #0x703b
lri $IX1,    #0xbe8a
lri $WR1,    #0x9d5e
cw 0xd
call send_back  ; 42167 (0xa4b7)

lri $AR1,    #0x8a95
lri $IX1,    #0xaa1c
lri $WR1,    #0x2df3
cw 0xd
call send_back  ; 42168 (0xa4b8)

lri $AR1,    #0x6e02
lri $IX1,    #0x663e
lri $WR1,    #0x76af
cw 0xd
call send_back  ; 42169 (0xa4b9)

lri $AR1,    #0x8f11
lri $IX1,    #0xe510
lri $WR1,    #0x8031
cw 0xd
call send_back  ; 42170 (0xa4ba)

lri $AR1,    #0x8374
lri $IX1,    #0xaba4
lri $WR1,    #0xb7f3
cw 0xd
call send_back  ; 42171 (0xa4bb)

lri $AR1,    #0xbbd1
lri $IX1,    #0x8eec
lri $WR1,    #0xa607
cw 0xd
call send_back  ; 42172 (0xa4bc)

lri $AR1,    #0x845d
lri $IX1,    #0xb952
lri $WR1,    #0xd4bd
cw 0xd
call send_back  ; 42173 (0xa4bd)

lri $AR1,    #0x886e
lri $IX1,    #0xb7d4
lri $WR1,    #0xcddc
cw 0xd
call send_back  ; 42174 (0xa4be)

lri $AR1,    #0x9902
lri $IX1,    #0x6cea
lri $WR1,    #0xb26e
cw 0xd
call send_back  ; 42175 (0xa4bf)

lri $AR1,    #0x6d65
lri $IX1,    #0x7b0e
lri $WR1,    #0x57aa
cw 0xd
call send_back  ; 42176 (0xa4c0)

lri $AR1,    #0x60df
lri $IX1,    #0xe02c
lri $WR1,    #0xdd22
cw 0xd
call send_back  ; 42177 (0xa4c1)

lri $AR1,    #0xafa5
lri $IX1,    #0xf6d0
lri $WR1,    #0xbda8
cw 0xd
call send_back  ; 42178 (0xa4c2)

lri $AR1,    #0xc8f6
lri $IX1,    #0xc170
lri $WR1,    #0xce17
cw 0xd
call send_back  ; 42179 (0xa4c3)

lri $AR1,    #0x5395
lri $IX1,    #0x277e
lri $WR1,    #0x5274
cw 0xd
call send_back  ; 42180 (0xa4c4)

lri $AR1,    #0x5d93
lri $IX1,    #0x83ba
lri $WR1,    #0x2b93
cw 0xd
call send_back  ; 42181 (0xa4c5)

lri $AR1,    #0xbf99
lri $IX1,    #0x6e7a
lri $WR1,    #0x7cb8
cw 0xd
call send_back  ; 42182 (0xa4c6)

lri $AR1,    #0x5f97
lri $IX1,    #0xee3e
lri $WR1,    #0x6a4f
cw 0xd
call send_back  ; 42183 (0xa4c7)

lri $AR1,    #0x961f
lri $IX1,    #0x0c6a
lri $WR1,    #0x1854
cw 0xd
call send_back  ; 42184 (0xa4c8)

lri $AR1,    #0xe53e
lri $IX1,    #0x1366
lri $WR1,    #0xb85d
cw 0xd
call send_back  ; 42185 (0xa4c9)

lri $AR1,    #0xcf24
lri $IX1,    #0x56fe
lri $WR1,    #0xa506
cw 0xd
call send_back  ; 42186 (0xa4ca)

lri $AR1,    #0xce67
lri $IX1,    #0x375a
lri $WR1,    #0x9992
cw 0xd
call send_back  ; 42187 (0xa4cb)

lri $AR1,    #0x993a
lri $IX1,    #0xf23c
lri $WR1,    #0x6a91
cw 0xd
call send_back  ; 42188 (0xa4cc)

lri $AR1,    #0x545d
lri $IX1,    #0xae0a
lri $WR1,    #0x9d67
cw 0xd
call send_back  ; 42189 (0xa4cd)

lri $AR1,    #0x8a17
lri $IX1,    #0xd540
lri $WR1,    #0xba65
cw 0xd
call send_back  ; 42190 (0xa4ce)

lri $AR1,    #0x7d1e
lri $IX1,    #0x38ba
lri $WR1,    #0x966e
cw 0xd
call send_back  ; 42191 (0xa4cf)

lri $AR1,    #0xa695
lri $IX1,    #0x6292
lri $WR1,    #0x76ca
cw 0xd
call send_back  ; 42192 (0xa4d0)

lri $AR1,    #0x3a23
lri $IX1,    #0xeafe
lri $WR1,    #0x3b2d
cw 0xd
call send_back  ; 42193 (0xa4d1)

lri $AR1,    #0x4a3e
lri $IX1,    #0x5bde
lri $WR1,    #0x8782
cw 0xd
call send_back  ; 42194 (0xa4d2)

lri $AR1,    #0x7aaa
lri $IX1,    #0x1f52
lri $WR1,    #0x988e
cw 0xd
call send_back  ; 42195 (0xa4d3)

lri $AR1,    #0x7655
lri $IX1,    #0xf946
lri $WR1,    #0x63f7
cw 0xd
call send_back  ; 42196 (0xa4d4)

lri $AR1,    #0x797d
lri $IX1,    #0x8312
lri $WR1,    #0x3dc3
cw 0xd
call send_back  ; 42197 (0xa4d5)

lri $AR1,    #0x905b
lri $IX1,    #0xec28
lri $WR1,    #0x5adf
cw 0xd
call send_back  ; 42198 (0xa4d6)

lri $AR1,    #0x8e36
lri $IX1,    #0xc20c
lri $WR1,    #0x89b3
cw 0xd
call send_back  ; 42199 (0xa4d7)

lri $AR1,    #0x1819
lri $IX1,    #0x9568
lri $WR1,    #0x3f67
cw 0xd
call send_back  ; 42200 (0xa4d8)

lri $AR1,    #0xca0f
lri $IX1,    #0xd98a
lri $WR1,    #0x81d9
cw 0xd
call send_back  ; 42201 (0xa4d9)

lri $AR1,    #0x5d28
lri $IX1,    #0x372e
lri $WR1,    #0xa3d8
cw 0xd
call send_back  ; 42202 (0xa4da)

lri $AR1,    #0xa821
lri $IX1,    #0x9acc
lri $WR1,    #0x9ab6
cw 0xd
call send_back  ; 42203 (0xa4db)

lri $AR1,    #0x3bf7
lri $IX1,    #0x6a3e
lri $WR1,    #0x49c1
cw 0xd
call send_back  ; 42204 (0xa4dc)

lri $AR1,    #0x9934
lri $IX1,    #0x6524
lri $WR1,    #0x59b3
cw 0xd
call send_back  ; 42205 (0xa4dd)

lri $AR1,    #0x6a57
lri $IX1,    #0x9eb4
lri $WR1,    #0x6fa0
cw 0xd
call send_back  ; 42206 (0xa4de)

lri $AR1,    #0x3304
lri $IX1,    #0x9f6a
lri $WR1,    #0x3889
cw 0xd
call send_back  ; 42207 (0xa4df)

lri $AR1,    #0xdb7d
lri $IX1,    #0xf04c
lri $WR1,    #0xa405
cw 0xd
call send_back  ; 42208 (0xa4e0)

lri $AR1,    #0xcb04
lri $IX1,    #0xf916
lri $WR1,    #0x322c
cw 0xd
call send_back  ; 42209 (0xa4e1)

lri $AR1,    #0xc392
lri $IX1,    #0x1634
lri $WR1,    #0xc641
cw 0xd
call send_back  ; 42210 (0xa4e2)

lri $AR1,    #0xc4ae
lri $IX1,    #0xfaba
lri $WR1,    #0x6134
cw 0xd
call send_back  ; 42211 (0xa4e3)

lri $AR1,    #0xc2b2
lri $IX1,    #0xb648
lri $WR1,    #0x5c89
cw 0xd
call send_back  ; 42212 (0xa4e4)

lri $AR1,    #0x5b47
lri $IX1,    #0xee12
lri $WR1,    #0x97bd
cw 0xd
call send_back  ; 42213 (0xa4e5)

lri $AR1,    #0x3f7b
lri $IX1,    #0xe3e4
lri $WR1,    #0xe7a1
cw 0xd
call send_back  ; 42214 (0xa4e6)

lri $AR1,    #0xaf28
lri $IX1,    #0xa586
lri $WR1,    #0x58d9
cw 0xd
call send_back  ; 42215 (0xa4e7)

lri $AR1,    #0x7913
lri $IX1,    #0x1224
lri $WR1,    #0x5bfe
cw 0xd
call send_back  ; 42216 (0xa4e8)

lri $AR1,    #0x5e84
lri $IX1,    #0x2b38
lri $WR1,    #0x9b70
cw 0xd
call send_back  ; 42217 (0xa4e9)

lri $AR1,    #0x58ad
lri $IX1,    #0x41b0
lri $WR1,    #0xe878
cw 0xd
call send_back  ; 42218 (0xa4ea)

lri $AR1,    #0x71b3
lri $IX1,    #0xdf8e
lri $WR1,    #0x3eb0
cw 0xd
call send_back  ; 42219 (0xa4eb)

lri $AR1,    #0x8a97
lri $IX1,    #0xb204
lri $WR1,    #0x326a
cw 0xd
call send_back  ; 42220 (0xa4ec)

lri $AR1,    #0xe2f6
lri $IX1,    #0x0f2c
lri $WR1,    #0x97ee
cw 0xd
call send_back  ; 42221 (0xa4ed)

lri $AR1,    #0x66bb
lri $IX1,    #0xde3c
lri $WR1,    #0xaf5c
cw 0xd
call send_back  ; 42222 (0xa4ee)

lri $AR1,    #0x89c5
lri $IX1,    #0x888e
lri $WR1,    #0x820e
cw 0xd
call send_back  ; 42223 (0xa4ef)

lri $AR1,    #0xb0ad
lri $IX1,    #0x0d4e
lri $WR1,    #0x442c
cw 0xd
call send_back  ; 42224 (0xa4f0)

lri $AR1,    #0x3192
lri $IX1,    #0x3902
lri $WR1,    #0xd670
cw 0xd
call send_back  ; 42225 (0xa4f1)

lri $AR1,    #0xb72f
lri $IX1,    #0x3de4
lri $WR1,    #0xd1b5
cw 0xd
call send_back  ; 42226 (0xa4f2)

lri $AR1,    #0x2410
lri $IX1,    #0x5938
lri $WR1,    #0xb757
cw 0xd
call send_back  ; 42227 (0xa4f3)

lri $AR1,    #0xdb39
lri $IX1,    #0xb596
lri $WR1,    #0x56fb
cw 0xd
call send_back  ; 42228 (0xa4f4)

lri $AR1,    #0x6f03
lri $IX1,    #0x3148
lri $WR1,    #0x93cf
cw 0xd
call send_back  ; 42229 (0xa4f5)

lri $AR1,    #0x8689
lri $IX1,    #0xfbbc
lri $WR1,    #0xd0ca
cw 0xd
call send_back  ; 42230 (0xa4f6)

lri $AR1,    #0x2d7d
lri $IX1,    #0xfc38
lri $WR1,    #0x4d10
cw 0xd
call send_back  ; 42231 (0xa4f7)

lri $AR1,    #0x999d
lri $IX1,    #0x87ae
lri $WR1,    #0x7ee8
cw 0xd
call send_back  ; 42232 (0xa4f8)

lri $AR1,    #0x9cae
lri $IX1,    #0xf304
lri $WR1,    #0xe575
cw 0xd
call send_back  ; 42233 (0xa4f9)

lri $AR1,    #0x5946
lri $IX1,    #0xea92
lri $WR1,    #0xb6b5
cw 0xd
call send_back  ; 42234 (0xa4fa)

lri $AR1,    #0x442a
lri $IX1,    #0x072c
lri $WR1,    #0x20d3
cw 0xd
call send_back  ; 42235 (0xa4fb)

lri $AR1,    #0x63ac
lri $IX1,    #0xbc9e
lri $WR1,    #0xeb59
cw 0xd
call send_back  ; 42236 (0xa4fc)

lri $AR1,    #0x79b0
lri $IX1,    #0x54b6
lri $WR1,    #0x7e6a
cw 0xd
call send_back  ; 42237 (0xa4fd)

lri $AR1,    #0xb4d6
lri $IX1,    #0x15e8
lri $WR1,    #0x9369
cw 0xd
call send_back  ; 42238 (0xa4fe)

lri $AR1,    #0x8872
lri $IX1,    #0xd3b4
lri $WR1,    #0xf44d
cw 0xd
call send_back  ; 42239 (0xa4ff)

lri $AR1,    #0xc2b4
lri $IX1,    #0xdaa6
lri $WR1,    #0x940e
cw 0xd
call send_back  ; 42240 (0xa500)

lri $AR1,    #0x43dc
lri $IX1,    #0x5152
lri $WR1,    #0xd449
cw 0xd
call send_back  ; 42241 (0xa501)

lri $AR1,    #0x38a5
lri $IX1,    #0xa2fc
lri $WR1,    #0x59b0
cw 0xd
call send_back  ; 42242 (0xa502)

lri $AR1,    #0x4de2
lri $IX1,    #0x385c
lri $WR1,    #0xc24a
cw 0xd
call send_back  ; 42243 (0xa503)

lri $AR1,    #0x5a7e
lri $IX1,    #0x863e
lri $WR1,    #0xc61c
cw 0xd
call send_back  ; 42244 (0xa504)

lri $AR1,    #0xd8bf
lri $IX1,    #0x3146
lri $WR1,    #0xa448
cw 0xd
call send_back  ; 42245 (0xa505)

lri $AR1,    #0x1715
lri $IX1,    #0x91c0
lri $WR1,    #0x9c2e
cw 0xd
call send_back  ; 42246 (0xa506)

lri $AR1,    #0xac45
lri $IX1,    #0x21b4
lri $WR1,    #0x73ab
cw 0xd
call send_back  ; 42247 (0xa507)

lri $AR1,    #0x5246
lri $IX1,    #0x3318
lri $WR1,    #0x90f6
cw 0xd
call send_back  ; 42248 (0xa508)

lri $AR1,    #0xb69d
lri $IX1,    #0x937c
lri $WR1,    #0xd836
cw 0xd
call send_back  ; 42249 (0xa509)

lri $AR1,    #0x6e7f
lri $IX1,    #0x5de4
lri $WR1,    #0x2a60
cw 0xd
call send_back  ; 42250 (0xa50a)

lri $AR1,    #0x709a
lri $IX1,    #0x0b3a
lri $WR1,    #0xf469
cw 0xd
call send_back  ; 42251 (0xa50b)

lri $AR1,    #0x9dc4
lri $IX1,    #0xb51a
lri $WR1,    #0x9360
cw 0xd
call send_back  ; 42252 (0xa50c)

lri $AR1,    #0x5d73
lri $IX1,    #0x564e
lri $WR1,    #0xcb75
cw 0xd
call send_back  ; 42253 (0xa50d)

lri $AR1,    #0x8237
lri $IX1,    #0x7fca
lri $WR1,    #0x8d97
cw 0xd
call send_back  ; 42254 (0xa50e)

lri $AR1,    #0x6e19
lri $IX1,    #0x586a
lri $WR1,    #0x2897
cw 0xd
call send_back  ; 42255 (0xa50f)

lri $AR1,    #0x2624
lri $IX1,    #0xb166
lri $WR1,    #0xa87b
cw 0xd
call send_back  ; 42256 (0xa510)

lri $AR1,    #0x8ff4
lri $IX1,    #0x6094
lri $WR1,    #0x7005
cw 0xd
call send_back  ; 42257 (0xa511)

lri $AR1,    #0x5386
lri $IX1,    #0xcd8c
lri $WR1,    #0xe5ff
cw 0xd
call send_back  ; 42258 (0xa512)

lri $AR1,    #0x2f32
lri $IX1,    #0x8db6
lri $WR1,    #0x415b
cw 0xd
call send_back  ; 42259 (0xa513)

lri $AR1,    #0xd30e
lri $IX1,    #0xef52
lri $WR1,    #0x74be
cw 0xd
call send_back  ; 42260 (0xa514)

lri $AR1,    #0x748d
lri $IX1,    #0x4a9e
lri $WR1,    #0x537a
cw 0xd
call send_back  ; 42261 (0xa515)

lri $AR1,    #0x1aaf
lri $IX1,    #0xbc02
lri $WR1,    #0x279b
cw 0xd
call send_back  ; 42262 (0xa516)

lri $AR1,    #0x8690
lri $IX1,    #0x698a
lri $WR1,    #0x71f8
cw 0xd
call send_back  ; 42263 (0xa517)

lri $AR1,    #0x73a0
lri $IX1,    #0x8970
lri $WR1,    #0xd2f7
cw 0xd
call send_back  ; 42264 (0xa518)

lri $AR1,    #0x9662
lri $IX1,    #0xe72e
lri $WR1,    #0x8402
cw 0xd
call send_back  ; 42265 (0xa519)

lri $AR1,    #0x9feb
lri $IX1,    #0x7fb8
lri $WR1,    #0x3748
cw 0xd
call send_back  ; 42266 (0xa51a)

lri $AR1,    #0x800f
lri $IX1,    #0xdd44
lri $WR1,    #0x84c8
cw 0xd
call send_back  ; 42267 (0xa51b)

lri $AR1,    #0x8770
lri $IX1,    #0xfe88
lri $WR1,    #0xa14e
cw 0xd
call send_back  ; 42268 (0xa51c)

lri $AR1,    #0x464e
lri $IX1,    #0xac86
lri $WR1,    #0x5562
cw 0xd
call send_back  ; 42269 (0xa51d)

lri $AR1,    #0x746e
lri $IX1,    #0x0df0
lri $WR1,    #0x67b7
cw 0xd
call send_back  ; 42270 (0xa51e)

lri $AR1,    #0xb1cb
lri $IX1,    #0xe642
lri $WR1,    #0xd03a
cw 0xd
call send_back  ; 42271 (0xa51f)

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