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

lri $AR1,    #0x0040
lri $IX1,    #0xe7ae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59311 (0xe7af)

lri $AR1,    #0x0040
lri $IX1,    #0xe7af
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59312 (0xe7b0)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59313 (0xe7b1)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59314 (0xe7b2)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59315 (0xe7b3)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59316 (0xe7b4)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59317 (0xe7b5)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59318 (0xe7b6)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59319 (0xe7b7)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59320 (0xe7b8)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59321 (0xe7b9)

lri $AR1,    #0x0040
lri $IX1,    #0xe7b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59322 (0xe7ba)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59323 (0xe7bb)

lri $AR1,    #0x0040
lri $IX1,    #0xe7bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59324 (0xe7bc)

lri $AR1,    #0x0040
lri $IX1,    #0xe7bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59325 (0xe7bd)

lri $AR1,    #0x0040
lri $IX1,    #0xe7bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59326 (0xe7be)

lri $AR1,    #0x0040
lri $IX1,    #0xe7be
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59327 (0xe7bf)

lri $AR1,    #0x0040
lri $IX1,    #0xe7bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59328 (0xe7c0)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59329 (0xe7c1)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59330 (0xe7c2)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59331 (0xe7c3)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59332 (0xe7c4)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59333 (0xe7c5)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59334 (0xe7c6)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59335 (0xe7c7)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59336 (0xe7c8)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59337 (0xe7c9)

lri $AR1,    #0x0040
lri $IX1,    #0xe7c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59338 (0xe7ca)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59339 (0xe7cb)

lri $AR1,    #0x0040
lri $IX1,    #0xe7cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59340 (0xe7cc)

lri $AR1,    #0x0040
lri $IX1,    #0xe7cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59341 (0xe7cd)

lri $AR1,    #0x0040
lri $IX1,    #0xe7cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59342 (0xe7ce)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59343 (0xe7cf)

lri $AR1,    #0x0040
lri $IX1,    #0xe7cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59344 (0xe7d0)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59345 (0xe7d1)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59346 (0xe7d2)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59347 (0xe7d3)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59348 (0xe7d4)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59349 (0xe7d5)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59350 (0xe7d6)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59351 (0xe7d7)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59352 (0xe7d8)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59353 (0xe7d9)

lri $AR1,    #0x0040
lri $IX1,    #0xe7d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59354 (0xe7da)

lri $AR1,    #0x0040
lri $IX1,    #0xe7da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59355 (0xe7db)

lri $AR1,    #0x0040
lri $IX1,    #0xe7db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59356 (0xe7dc)

lri $AR1,    #0x0040
lri $IX1,    #0xe7dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59357 (0xe7dd)

lri $AR1,    #0x0040
lri $IX1,    #0xe7dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59358 (0xe7de)

lri $AR1,    #0x0040
lri $IX1,    #0xe7de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59359 (0xe7df)

lri $AR1,    #0x0040
lri $IX1,    #0xe7df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59360 (0xe7e0)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59361 (0xe7e1)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59362 (0xe7e2)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59363 (0xe7e3)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59364 (0xe7e4)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59365 (0xe7e5)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59366 (0xe7e6)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59367 (0xe7e7)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59368 (0xe7e8)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59369 (0xe7e9)

lri $AR1,    #0x0040
lri $IX1,    #0xe7e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59370 (0xe7ea)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59371 (0xe7eb)

lri $AR1,    #0x0040
lri $IX1,    #0xe7eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59372 (0xe7ec)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59373 (0xe7ed)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59374 (0xe7ee)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59375 (0xe7ef)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59376 (0xe7f0)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59377 (0xe7f1)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59378 (0xe7f2)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59379 (0xe7f3)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59380 (0xe7f4)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59381 (0xe7f5)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59382 (0xe7f6)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59383 (0xe7f7)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59384 (0xe7f8)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59385 (0xe7f9)

lri $AR1,    #0x0040
lri $IX1,    #0xe7f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59386 (0xe7fa)

lri $AR1,    #0x0040
lri $IX1,    #0xe7fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59387 (0xe7fb)

lri $AR1,    #0x0040
lri $IX1,    #0xe7fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59388 (0xe7fc)

lri $AR1,    #0x0040
lri $IX1,    #0xe7fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59389 (0xe7fd)

lri $AR1,    #0x0040
lri $IX1,    #0xe7fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59390 (0xe7fe)

lri $AR1,    #0x0040
lri $IX1,    #0xe7fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59391 (0xe7ff)

lri $AR1,    #0x0040
lri $IX1,    #0xe7ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59392 (0xe800)

lri $AR1,    #0x0040
lri $IX1,    #0xe800
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59393 (0xe801)

lri $AR1,    #0x0040
lri $IX1,    #0xe801
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59394 (0xe802)

lri $AR1,    #0x0040
lri $IX1,    #0xe802
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59395 (0xe803)

lri $AR1,    #0x0040
lri $IX1,    #0xe803
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59396 (0xe804)

lri $AR1,    #0x0040
lri $IX1,    #0xe804
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59397 (0xe805)

lri $AR1,    #0x0040
lri $IX1,    #0xe805
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59398 (0xe806)

lri $AR1,    #0x0040
lri $IX1,    #0xe806
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59399 (0xe807)

lri $AR1,    #0x0040
lri $IX1,    #0xe807
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59400 (0xe808)

lri $AR1,    #0x0040
lri $IX1,    #0xe808
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59401 (0xe809)

lri $AR1,    #0x0040
lri $IX1,    #0xe809
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59402 (0xe80a)

lri $AR1,    #0x0040
lri $IX1,    #0xe80a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59403 (0xe80b)

lri $AR1,    #0x0040
lri $IX1,    #0xe80b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59404 (0xe80c)

lri $AR1,    #0x0040
lri $IX1,    #0xe80c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59405 (0xe80d)

lri $AR1,    #0x0040
lri $IX1,    #0xe80d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59406 (0xe80e)

lri $AR1,    #0x0040
lri $IX1,    #0xe80e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59407 (0xe80f)

lri $AR1,    #0x0040
lri $IX1,    #0xe80f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59408 (0xe810)

lri $AR1,    #0x0040
lri $IX1,    #0xe810
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59409 (0xe811)

lri $AR1,    #0x0040
lri $IX1,    #0xe811
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59410 (0xe812)

lri $AR1,    #0x0040
lri $IX1,    #0xe812
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59411 (0xe813)

lri $AR1,    #0x0040
lri $IX1,    #0xe813
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59412 (0xe814)

lri $AR1,    #0x0040
lri $IX1,    #0xe814
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59413 (0xe815)

lri $AR1,    #0x0040
lri $IX1,    #0xe815
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59414 (0xe816)

lri $AR1,    #0x0040
lri $IX1,    #0xe816
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59415 (0xe817)

lri $AR1,    #0x0040
lri $IX1,    #0xe817
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59416 (0xe818)

lri $AR1,    #0x0040
lri $IX1,    #0xe818
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59417 (0xe819)

lri $AR1,    #0x0040
lri $IX1,    #0xe819
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59418 (0xe81a)

lri $AR1,    #0x0040
lri $IX1,    #0xe81a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59419 (0xe81b)

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