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

lri $AR1,    #0x4000
lri $IX1,    #0x5780
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22401 (0x5781)

lri $AR1,    #0x4000
lri $IX1,    #0x5781
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22402 (0x5782)

lri $AR1,    #0x4000
lri $IX1,    #0x5782
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22403 (0x5783)

lri $AR1,    #0x4000
lri $IX1,    #0x5783
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22404 (0x5784)

lri $AR1,    #0x4000
lri $IX1,    #0x5784
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22405 (0x5785)

lri $AR1,    #0x4000
lri $IX1,    #0x5785
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22406 (0x5786)

lri $AR1,    #0x4000
lri $IX1,    #0x5786
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22407 (0x5787)

lri $AR1,    #0x4000
lri $IX1,    #0x5787
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22408 (0x5788)

lri $AR1,    #0x4000
lri $IX1,    #0x5788
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22409 (0x5789)

lri $AR1,    #0x4000
lri $IX1,    #0x5789
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22410 (0x578a)

lri $AR1,    #0x4000
lri $IX1,    #0x578a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22411 (0x578b)

lri $AR1,    #0x4000
lri $IX1,    #0x578b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22412 (0x578c)

lri $AR1,    #0x4000
lri $IX1,    #0x578c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22413 (0x578d)

lri $AR1,    #0x4000
lri $IX1,    #0x578d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22414 (0x578e)

lri $AR1,    #0x4000
lri $IX1,    #0x578e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22415 (0x578f)

lri $AR1,    #0x4000
lri $IX1,    #0x578f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22416 (0x5790)

lri $AR1,    #0x4000
lri $IX1,    #0x5790
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22417 (0x5791)

lri $AR1,    #0x4000
lri $IX1,    #0x5791
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22418 (0x5792)

lri $AR1,    #0x4000
lri $IX1,    #0x5792
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22419 (0x5793)

lri $AR1,    #0x4000
lri $IX1,    #0x5793
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22420 (0x5794)

lri $AR1,    #0x4000
lri $IX1,    #0x5794
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22421 (0x5795)

lri $AR1,    #0x4000
lri $IX1,    #0x5795
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22422 (0x5796)

lri $AR1,    #0x4000
lri $IX1,    #0x5796
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22423 (0x5797)

lri $AR1,    #0x4000
lri $IX1,    #0x5797
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22424 (0x5798)

lri $AR1,    #0x4000
lri $IX1,    #0x5798
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22425 (0x5799)

lri $AR1,    #0x4000
lri $IX1,    #0x5799
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22426 (0x579a)

lri $AR1,    #0x4000
lri $IX1,    #0x579a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22427 (0x579b)

lri $AR1,    #0x4000
lri $IX1,    #0x579b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22428 (0x579c)

lri $AR1,    #0x4000
lri $IX1,    #0x579c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22429 (0x579d)

lri $AR1,    #0x4000
lri $IX1,    #0x579d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22430 (0x579e)

lri $AR1,    #0x4000
lri $IX1,    #0x579e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22431 (0x579f)

lri $AR1,    #0x4000
lri $IX1,    #0x579f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22432 (0x57a0)

lri $AR1,    #0x4000
lri $IX1,    #0x57a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22433 (0x57a1)

lri $AR1,    #0x4000
lri $IX1,    #0x57a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22434 (0x57a2)

lri $AR1,    #0x4000
lri $IX1,    #0x57a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22435 (0x57a3)

lri $AR1,    #0x4000
lri $IX1,    #0x57a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22436 (0x57a4)

lri $AR1,    #0x4000
lri $IX1,    #0x57a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22437 (0x57a5)

lri $AR1,    #0x4000
lri $IX1,    #0x57a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22438 (0x57a6)

lri $AR1,    #0x4000
lri $IX1,    #0x57a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22439 (0x57a7)

lri $AR1,    #0x4000
lri $IX1,    #0x57a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22440 (0x57a8)

lri $AR1,    #0x4000
lri $IX1,    #0x57a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22441 (0x57a9)

lri $AR1,    #0x4000
lri $IX1,    #0x57a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22442 (0x57aa)

lri $AR1,    #0x4000
lri $IX1,    #0x57aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22443 (0x57ab)

lri $AR1,    #0x4000
lri $IX1,    #0x57ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22444 (0x57ac)

lri $AR1,    #0x4000
lri $IX1,    #0x57ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22445 (0x57ad)

lri $AR1,    #0x4000
lri $IX1,    #0x57ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22446 (0x57ae)

lri $AR1,    #0x4000
lri $IX1,    #0x57ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22447 (0x57af)

lri $AR1,    #0x4000
lri $IX1,    #0x57af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22448 (0x57b0)

lri $AR1,    #0x4000
lri $IX1,    #0x57b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22449 (0x57b1)

lri $AR1,    #0x4000
lri $IX1,    #0x57b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22450 (0x57b2)

lri $AR1,    #0x4000
lri $IX1,    #0x57b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22451 (0x57b3)

lri $AR1,    #0x4000
lri $IX1,    #0x57b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22452 (0x57b4)

lri $AR1,    #0x4000
lri $IX1,    #0x57b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22453 (0x57b5)

lri $AR1,    #0x4000
lri $IX1,    #0x57b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22454 (0x57b6)

lri $AR1,    #0x4000
lri $IX1,    #0x57b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22455 (0x57b7)

lri $AR1,    #0x4000
lri $IX1,    #0x57b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22456 (0x57b8)

lri $AR1,    #0x4000
lri $IX1,    #0x57b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22457 (0x57b9)

lri $AR1,    #0x4000
lri $IX1,    #0x57b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22458 (0x57ba)

lri $AR1,    #0x4000
lri $IX1,    #0x57ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22459 (0x57bb)

lri $AR1,    #0x4000
lri $IX1,    #0x57bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22460 (0x57bc)

lri $AR1,    #0x4000
lri $IX1,    #0x57bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22461 (0x57bd)

lri $AR1,    #0x4000
lri $IX1,    #0x57bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22462 (0x57be)

lri $AR1,    #0x4000
lri $IX1,    #0x57be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22463 (0x57bf)

lri $AR1,    #0x4000
lri $IX1,    #0x57bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22464 (0x57c0)

lri $AR1,    #0x4000
lri $IX1,    #0x57c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22465 (0x57c1)

lri $AR1,    #0x4000
lri $IX1,    #0x57c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22466 (0x57c2)

lri $AR1,    #0x4000
lri $IX1,    #0x57c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22467 (0x57c3)

lri $AR1,    #0x4000
lri $IX1,    #0x57c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22468 (0x57c4)

lri $AR1,    #0x4000
lri $IX1,    #0x57c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22469 (0x57c5)

lri $AR1,    #0x4000
lri $IX1,    #0x57c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22470 (0x57c6)

lri $AR1,    #0x4000
lri $IX1,    #0x57c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22471 (0x57c7)

lri $AR1,    #0x4000
lri $IX1,    #0x57c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22472 (0x57c8)

lri $AR1,    #0x4000
lri $IX1,    #0x57c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22473 (0x57c9)

lri $AR1,    #0x4000
lri $IX1,    #0x57c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22474 (0x57ca)

lri $AR1,    #0x4000
lri $IX1,    #0x57ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22475 (0x57cb)

lri $AR1,    #0x4000
lri $IX1,    #0x57cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22476 (0x57cc)

lri $AR1,    #0x4000
lri $IX1,    #0x57cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22477 (0x57cd)

lri $AR1,    #0x4000
lri $IX1,    #0x57cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22478 (0x57ce)

lri $AR1,    #0x4000
lri $IX1,    #0x57ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22479 (0x57cf)

lri $AR1,    #0x4000
lri $IX1,    #0x57cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22480 (0x57d0)

lri $AR1,    #0x4000
lri $IX1,    #0x57d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22481 (0x57d1)

lri $AR1,    #0x4000
lri $IX1,    #0x57d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22482 (0x57d2)

lri $AR1,    #0x4000
lri $IX1,    #0x57d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22483 (0x57d3)

lri $AR1,    #0x4000
lri $IX1,    #0x57d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22484 (0x57d4)

lri $AR1,    #0x4000
lri $IX1,    #0x57d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22485 (0x57d5)

lri $AR1,    #0x4000
lri $IX1,    #0x57d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22486 (0x57d6)

lri $AR1,    #0x4000
lri $IX1,    #0x57d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22487 (0x57d7)

lri $AR1,    #0x4000
lri $IX1,    #0x57d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22488 (0x57d8)

lri $AR1,    #0x4000
lri $IX1,    #0x57d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22489 (0x57d9)

lri $AR1,    #0x4000
lri $IX1,    #0x57d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22490 (0x57da)

lri $AR1,    #0x4000
lri $IX1,    #0x57da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22491 (0x57db)

lri $AR1,    #0x4000
lri $IX1,    #0x57db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22492 (0x57dc)

lri $AR1,    #0x4000
lri $IX1,    #0x57dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22493 (0x57dd)

lri $AR1,    #0x4000
lri $IX1,    #0x57dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22494 (0x57de)

lri $AR1,    #0x4000
lri $IX1,    #0x57de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22495 (0x57df)

lri $AR1,    #0x4000
lri $IX1,    #0x57df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22496 (0x57e0)

lri $AR1,    #0x4000
lri $IX1,    #0x57e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22497 (0x57e1)

lri $AR1,    #0x4000
lri $IX1,    #0x57e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22498 (0x57e2)

lri $AR1,    #0x4000
lri $IX1,    #0x57e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22499 (0x57e3)

lri $AR1,    #0x4000
lri $IX1,    #0x57e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22500 (0x57e4)

lri $AR1,    #0x4000
lri $IX1,    #0x57e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22501 (0x57e5)

lri $AR1,    #0x4000
lri $IX1,    #0x57e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22502 (0x57e6)

lri $AR1,    #0x4000
lri $IX1,    #0x57e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22503 (0x57e7)

lri $AR1,    #0x4000
lri $IX1,    #0x57e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22504 (0x57e8)

lri $AR1,    #0x4000
lri $IX1,    #0x57e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22505 (0x57e9)

lri $AR1,    #0x4000
lri $IX1,    #0x57e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22506 (0x57ea)

lri $AR1,    #0x4000
lri $IX1,    #0x57ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22507 (0x57eb)

lri $AR1,    #0x4000
lri $IX1,    #0x57eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22508 (0x57ec)

lri $AR1,    #0x4000
lri $IX1,    #0x57ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22509 (0x57ed)

lri $AR1,    #0x4000
lri $IX1,    #0x57ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22510 (0x57ee)

lri $AR1,    #0x4000
lri $IX1,    #0x57ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22511 (0x57ef)

lri $AR1,    #0x4000
lri $IX1,    #0x57ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22512 (0x57f0)

lri $AR1,    #0x4000
lri $IX1,    #0x57f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22513 (0x57f1)

lri $AR1,    #0x4000
lri $IX1,    #0x57f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22514 (0x57f2)

lri $AR1,    #0x4000
lri $IX1,    #0x57f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22515 (0x57f3)

lri $AR1,    #0x4000
lri $IX1,    #0x57f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22516 (0x57f4)

lri $AR1,    #0x4000
lri $IX1,    #0x57f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22517 (0x57f5)

lri $AR1,    #0x4000
lri $IX1,    #0x57f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22518 (0x57f6)

lri $AR1,    #0x4000
lri $IX1,    #0x57f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22519 (0x57f7)

lri $AR1,    #0x4000
lri $IX1,    #0x57f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22520 (0x57f8)

lri $AR1,    #0x4000
lri $IX1,    #0x57f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22521 (0x57f9)

lri $AR1,    #0x4000
lri $IX1,    #0x57f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22522 (0x57fa)

lri $AR1,    #0x4000
lri $IX1,    #0x57fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22523 (0x57fb)

lri $AR1,    #0x4000
lri $IX1,    #0x57fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22524 (0x57fc)

lri $AR1,    #0x4000
lri $IX1,    #0x57fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22525 (0x57fd)

lri $AR1,    #0x4000
lri $IX1,    #0x57fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22526 (0x57fe)

lri $AR1,    #0x4000
lri $IX1,    #0x57fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22527 (0x57ff)

lri $AR1,    #0x4000
lri $IX1,    #0x57ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22528 (0x5800)

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

