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

lri $AR1,    #0x4000
lri $IX1,    #0x6280
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25217 (0x6281)

lri $AR1,    #0x4000
lri $IX1,    #0x6281
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25218 (0x6282)

lri $AR1,    #0x4000
lri $IX1,    #0x6282
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25219 (0x6283)

lri $AR1,    #0x4000
lri $IX1,    #0x6283
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25220 (0x6284)

lri $AR1,    #0x4000
lri $IX1,    #0x6284
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25221 (0x6285)

lri $AR1,    #0x4000
lri $IX1,    #0x6285
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25222 (0x6286)

lri $AR1,    #0x4000
lri $IX1,    #0x6286
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25223 (0x6287)

lri $AR1,    #0x4000
lri $IX1,    #0x6287
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25224 (0x6288)

lri $AR1,    #0x4000
lri $IX1,    #0x6288
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25225 (0x6289)

lri $AR1,    #0x4000
lri $IX1,    #0x6289
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25226 (0x628a)

lri $AR1,    #0x4000
lri $IX1,    #0x628a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25227 (0x628b)

lri $AR1,    #0x4000
lri $IX1,    #0x628b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25228 (0x628c)

lri $AR1,    #0x4000
lri $IX1,    #0x628c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25229 (0x628d)

lri $AR1,    #0x4000
lri $IX1,    #0x628d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25230 (0x628e)

lri $AR1,    #0x4000
lri $IX1,    #0x628e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25231 (0x628f)

lri $AR1,    #0x4000
lri $IX1,    #0x628f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25232 (0x6290)

lri $AR1,    #0x4000
lri $IX1,    #0x6290
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25233 (0x6291)

lri $AR1,    #0x4000
lri $IX1,    #0x6291
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25234 (0x6292)

lri $AR1,    #0x4000
lri $IX1,    #0x6292
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25235 (0x6293)

lri $AR1,    #0x4000
lri $IX1,    #0x6293
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25236 (0x6294)

lri $AR1,    #0x4000
lri $IX1,    #0x6294
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25237 (0x6295)

lri $AR1,    #0x4000
lri $IX1,    #0x6295
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25238 (0x6296)

lri $AR1,    #0x4000
lri $IX1,    #0x6296
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25239 (0x6297)

lri $AR1,    #0x4000
lri $IX1,    #0x6297
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25240 (0x6298)

lri $AR1,    #0x4000
lri $IX1,    #0x6298
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25241 (0x6299)

lri $AR1,    #0x4000
lri $IX1,    #0x6299
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25242 (0x629a)

lri $AR1,    #0x4000
lri $IX1,    #0x629a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25243 (0x629b)

lri $AR1,    #0x4000
lri $IX1,    #0x629b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25244 (0x629c)

lri $AR1,    #0x4000
lri $IX1,    #0x629c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25245 (0x629d)

lri $AR1,    #0x4000
lri $IX1,    #0x629d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25246 (0x629e)

lri $AR1,    #0x4000
lri $IX1,    #0x629e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25247 (0x629f)

lri $AR1,    #0x4000
lri $IX1,    #0x629f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25248 (0x62a0)

lri $AR1,    #0x4000
lri $IX1,    #0x62a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25249 (0x62a1)

lri $AR1,    #0x4000
lri $IX1,    #0x62a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25250 (0x62a2)

lri $AR1,    #0x4000
lri $IX1,    #0x62a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25251 (0x62a3)

lri $AR1,    #0x4000
lri $IX1,    #0x62a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25252 (0x62a4)

lri $AR1,    #0x4000
lri $IX1,    #0x62a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25253 (0x62a5)

lri $AR1,    #0x4000
lri $IX1,    #0x62a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25254 (0x62a6)

lri $AR1,    #0x4000
lri $IX1,    #0x62a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25255 (0x62a7)

lri $AR1,    #0x4000
lri $IX1,    #0x62a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25256 (0x62a8)

lri $AR1,    #0x4000
lri $IX1,    #0x62a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25257 (0x62a9)

lri $AR1,    #0x4000
lri $IX1,    #0x62a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25258 (0x62aa)

lri $AR1,    #0x4000
lri $IX1,    #0x62aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25259 (0x62ab)

lri $AR1,    #0x4000
lri $IX1,    #0x62ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25260 (0x62ac)

lri $AR1,    #0x4000
lri $IX1,    #0x62ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25261 (0x62ad)

lri $AR1,    #0x4000
lri $IX1,    #0x62ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25262 (0x62ae)

lri $AR1,    #0x4000
lri $IX1,    #0x62ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25263 (0x62af)

lri $AR1,    #0x4000
lri $IX1,    #0x62af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25264 (0x62b0)

lri $AR1,    #0x4000
lri $IX1,    #0x62b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25265 (0x62b1)

lri $AR1,    #0x4000
lri $IX1,    #0x62b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25266 (0x62b2)

lri $AR1,    #0x4000
lri $IX1,    #0x62b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25267 (0x62b3)

lri $AR1,    #0x4000
lri $IX1,    #0x62b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25268 (0x62b4)

lri $AR1,    #0x4000
lri $IX1,    #0x62b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25269 (0x62b5)

lri $AR1,    #0x4000
lri $IX1,    #0x62b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25270 (0x62b6)

lri $AR1,    #0x4000
lri $IX1,    #0x62b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25271 (0x62b7)

lri $AR1,    #0x4000
lri $IX1,    #0x62b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25272 (0x62b8)

lri $AR1,    #0x4000
lri $IX1,    #0x62b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25273 (0x62b9)

lri $AR1,    #0x4000
lri $IX1,    #0x62b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25274 (0x62ba)

lri $AR1,    #0x4000
lri $IX1,    #0x62ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25275 (0x62bb)

lri $AR1,    #0x4000
lri $IX1,    #0x62bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25276 (0x62bc)

lri $AR1,    #0x4000
lri $IX1,    #0x62bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25277 (0x62bd)

lri $AR1,    #0x4000
lri $IX1,    #0x62bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25278 (0x62be)

lri $AR1,    #0x4000
lri $IX1,    #0x62be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25279 (0x62bf)

lri $AR1,    #0x4000
lri $IX1,    #0x62bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25280 (0x62c0)

lri $AR1,    #0x4000
lri $IX1,    #0x62c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25281 (0x62c1)

lri $AR1,    #0x4000
lri $IX1,    #0x62c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25282 (0x62c2)

lri $AR1,    #0x4000
lri $IX1,    #0x62c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25283 (0x62c3)

lri $AR1,    #0x4000
lri $IX1,    #0x62c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25284 (0x62c4)

lri $AR1,    #0x4000
lri $IX1,    #0x62c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25285 (0x62c5)

lri $AR1,    #0x4000
lri $IX1,    #0x62c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25286 (0x62c6)

lri $AR1,    #0x4000
lri $IX1,    #0x62c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25287 (0x62c7)

lri $AR1,    #0x4000
lri $IX1,    #0x62c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25288 (0x62c8)

lri $AR1,    #0x4000
lri $IX1,    #0x62c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25289 (0x62c9)

lri $AR1,    #0x4000
lri $IX1,    #0x62c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25290 (0x62ca)

lri $AR1,    #0x4000
lri $IX1,    #0x62ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25291 (0x62cb)

lri $AR1,    #0x4000
lri $IX1,    #0x62cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25292 (0x62cc)

lri $AR1,    #0x4000
lri $IX1,    #0x62cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25293 (0x62cd)

lri $AR1,    #0x4000
lri $IX1,    #0x62cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25294 (0x62ce)

lri $AR1,    #0x4000
lri $IX1,    #0x62ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25295 (0x62cf)

lri $AR1,    #0x4000
lri $IX1,    #0x62cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25296 (0x62d0)

lri $AR1,    #0x4000
lri $IX1,    #0x62d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25297 (0x62d1)

lri $AR1,    #0x4000
lri $IX1,    #0x62d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25298 (0x62d2)

lri $AR1,    #0x4000
lri $IX1,    #0x62d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25299 (0x62d3)

lri $AR1,    #0x4000
lri $IX1,    #0x62d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25300 (0x62d4)

lri $AR1,    #0x4000
lri $IX1,    #0x62d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25301 (0x62d5)

lri $AR1,    #0x4000
lri $IX1,    #0x62d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25302 (0x62d6)

lri $AR1,    #0x4000
lri $IX1,    #0x62d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25303 (0x62d7)

lri $AR1,    #0x4000
lri $IX1,    #0x62d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25304 (0x62d8)

lri $AR1,    #0x4000
lri $IX1,    #0x62d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25305 (0x62d9)

lri $AR1,    #0x4000
lri $IX1,    #0x62d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25306 (0x62da)

lri $AR1,    #0x4000
lri $IX1,    #0x62da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25307 (0x62db)

lri $AR1,    #0x4000
lri $IX1,    #0x62db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25308 (0x62dc)

lri $AR1,    #0x4000
lri $IX1,    #0x62dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25309 (0x62dd)

lri $AR1,    #0x4000
lri $IX1,    #0x62dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25310 (0x62de)

lri $AR1,    #0x4000
lri $IX1,    #0x62de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25311 (0x62df)

lri $AR1,    #0x4000
lri $IX1,    #0x62df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25312 (0x62e0)

lri $AR1,    #0x4000
lri $IX1,    #0x62e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25313 (0x62e1)

lri $AR1,    #0x4000
lri $IX1,    #0x62e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25314 (0x62e2)

lri $AR1,    #0x4000
lri $IX1,    #0x62e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25315 (0x62e3)

lri $AR1,    #0x4000
lri $IX1,    #0x62e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25316 (0x62e4)

lri $AR1,    #0x4000
lri $IX1,    #0x62e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25317 (0x62e5)

lri $AR1,    #0x4000
lri $IX1,    #0x62e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25318 (0x62e6)

lri $AR1,    #0x4000
lri $IX1,    #0x62e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25319 (0x62e7)

lri $AR1,    #0x4000
lri $IX1,    #0x62e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25320 (0x62e8)

lri $AR1,    #0x4000
lri $IX1,    #0x62e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25321 (0x62e9)

lri $AR1,    #0x4000
lri $IX1,    #0x62e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25322 (0x62ea)

lri $AR1,    #0x4000
lri $IX1,    #0x62ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25323 (0x62eb)

lri $AR1,    #0x4000
lri $IX1,    #0x62eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25324 (0x62ec)

lri $AR1,    #0x4000
lri $IX1,    #0x62ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25325 (0x62ed)

lri $AR1,    #0x4000
lri $IX1,    #0x62ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25326 (0x62ee)

lri $AR1,    #0x4000
lri $IX1,    #0x62ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25327 (0x62ef)

lri $AR1,    #0x4000
lri $IX1,    #0x62ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25328 (0x62f0)

lri $AR1,    #0x4000
lri $IX1,    #0x62f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25329 (0x62f1)

lri $AR1,    #0x4000
lri $IX1,    #0x62f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25330 (0x62f2)

lri $AR1,    #0x4000
lri $IX1,    #0x62f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25331 (0x62f3)

lri $AR1,    #0x4000
lri $IX1,    #0x62f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25332 (0x62f4)

lri $AR1,    #0x4000
lri $IX1,    #0x62f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25333 (0x62f5)

lri $AR1,    #0x4000
lri $IX1,    #0x62f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25334 (0x62f6)

lri $AR1,    #0x4000
lri $IX1,    #0x62f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25335 (0x62f7)

lri $AR1,    #0x4000
lri $IX1,    #0x62f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25336 (0x62f8)

lri $AR1,    #0x4000
lri $IX1,    #0x62f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25337 (0x62f9)

lri $AR1,    #0x4000
lri $IX1,    #0x62f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25338 (0x62fa)

lri $AR1,    #0x4000
lri $IX1,    #0x62fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25339 (0x62fb)

lri $AR1,    #0x4000
lri $IX1,    #0x62fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25340 (0x62fc)

lri $AR1,    #0x4000
lri $IX1,    #0x62fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25341 (0x62fd)

lri $AR1,    #0x4000
lri $IX1,    #0x62fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25342 (0x62fe)

lri $AR1,    #0x4000
lri $IX1,    #0x62fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25343 (0x62ff)

lri $AR1,    #0x4000
lri $IX1,    #0x62ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 25344 (0x6300)

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

