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

lri $AR1,    #0x9280
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37505 (0x9281)

lri $AR1,    #0x9281
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37506 (0x9282)

lri $AR1,    #0x9282
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37507 (0x9283)

lri $AR1,    #0x9283
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37508 (0x9284)

lri $AR1,    #0x9284
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37509 (0x9285)

lri $AR1,    #0x9285
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37510 (0x9286)

lri $AR1,    #0x9286
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37511 (0x9287)

lri $AR1,    #0x9287
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37512 (0x9288)

lri $AR1,    #0x9288
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37513 (0x9289)

lri $AR1,    #0x9289
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37514 (0x928a)

lri $AR1,    #0x928a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37515 (0x928b)

lri $AR1,    #0x928b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37516 (0x928c)

lri $AR1,    #0x928c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37517 (0x928d)

lri $AR1,    #0x928d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37518 (0x928e)

lri $AR1,    #0x928e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37519 (0x928f)

lri $AR1,    #0x928f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37520 (0x9290)

lri $AR1,    #0x9290
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37521 (0x9291)

lri $AR1,    #0x9291
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37522 (0x9292)

lri $AR1,    #0x9292
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37523 (0x9293)

lri $AR1,    #0x9293
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37524 (0x9294)

lri $AR1,    #0x9294
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37525 (0x9295)

lri $AR1,    #0x9295
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37526 (0x9296)

lri $AR1,    #0x9296
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37527 (0x9297)

lri $AR1,    #0x9297
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37528 (0x9298)

lri $AR1,    #0x9298
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37529 (0x9299)

lri $AR1,    #0x9299
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37530 (0x929a)

lri $AR1,    #0x929a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37531 (0x929b)

lri $AR1,    #0x929b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37532 (0x929c)

lri $AR1,    #0x929c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37533 (0x929d)

lri $AR1,    #0x929d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37534 (0x929e)

lri $AR1,    #0x929e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37535 (0x929f)

lri $AR1,    #0x929f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37536 (0x92a0)

lri $AR1,    #0x92a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37537 (0x92a1)

lri $AR1,    #0x92a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37538 (0x92a2)

lri $AR1,    #0x92a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37539 (0x92a3)

lri $AR1,    #0x92a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37540 (0x92a4)

lri $AR1,    #0x92a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37541 (0x92a5)

lri $AR1,    #0x92a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37542 (0x92a6)

lri $AR1,    #0x92a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37543 (0x92a7)

lri $AR1,    #0x92a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37544 (0x92a8)

lri $AR1,    #0x92a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37545 (0x92a9)

lri $AR1,    #0x92a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37546 (0x92aa)

lri $AR1,    #0x92aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37547 (0x92ab)

lri $AR1,    #0x92ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37548 (0x92ac)

lri $AR1,    #0x92ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37549 (0x92ad)

lri $AR1,    #0x92ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37550 (0x92ae)

lri $AR1,    #0x92ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37551 (0x92af)

lri $AR1,    #0x92af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37552 (0x92b0)

lri $AR1,    #0x92b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37553 (0x92b1)

lri $AR1,    #0x92b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37554 (0x92b2)

lri $AR1,    #0x92b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37555 (0x92b3)

lri $AR1,    #0x92b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37556 (0x92b4)

lri $AR1,    #0x92b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37557 (0x92b5)

lri $AR1,    #0x92b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37558 (0x92b6)

lri $AR1,    #0x92b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37559 (0x92b7)

lri $AR1,    #0x92b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37560 (0x92b8)

lri $AR1,    #0x92b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37561 (0x92b9)

lri $AR1,    #0x92b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37562 (0x92ba)

lri $AR1,    #0x92ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37563 (0x92bb)

lri $AR1,    #0x92bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37564 (0x92bc)

lri $AR1,    #0x92bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37565 (0x92bd)

lri $AR1,    #0x92bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37566 (0x92be)

lri $AR1,    #0x92be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37567 (0x92bf)

lri $AR1,    #0x92bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37568 (0x92c0)

lri $AR1,    #0x92c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37569 (0x92c1)

lri $AR1,    #0x92c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37570 (0x92c2)

lri $AR1,    #0x92c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37571 (0x92c3)

lri $AR1,    #0x92c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37572 (0x92c4)

lri $AR1,    #0x92c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37573 (0x92c5)

lri $AR1,    #0x92c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37574 (0x92c6)

lri $AR1,    #0x92c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37575 (0x92c7)

lri $AR1,    #0x92c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37576 (0x92c8)

lri $AR1,    #0x92c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37577 (0x92c9)

lri $AR1,    #0x92c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37578 (0x92ca)

lri $AR1,    #0x92ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37579 (0x92cb)

lri $AR1,    #0x92cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37580 (0x92cc)

lri $AR1,    #0x92cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37581 (0x92cd)

lri $AR1,    #0x92cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37582 (0x92ce)

lri $AR1,    #0x92ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37583 (0x92cf)

lri $AR1,    #0x92cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37584 (0x92d0)

lri $AR1,    #0x92d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37585 (0x92d1)

lri $AR1,    #0x92d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37586 (0x92d2)

lri $AR1,    #0x92d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37587 (0x92d3)

lri $AR1,    #0x92d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37588 (0x92d4)

lri $AR1,    #0x92d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37589 (0x92d5)

lri $AR1,    #0x92d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37590 (0x92d6)

lri $AR1,    #0x92d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37591 (0x92d7)

lri $AR1,    #0x92d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37592 (0x92d8)

lri $AR1,    #0x92d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37593 (0x92d9)

lri $AR1,    #0x92d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37594 (0x92da)

lri $AR1,    #0x92da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37595 (0x92db)

lri $AR1,    #0x92db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37596 (0x92dc)

lri $AR1,    #0x92dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37597 (0x92dd)

lri $AR1,    #0x92dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37598 (0x92de)

lri $AR1,    #0x92de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37599 (0x92df)

lri $AR1,    #0x92df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37600 (0x92e0)

lri $AR1,    #0x92e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37601 (0x92e1)

lri $AR1,    #0x92e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37602 (0x92e2)

lri $AR1,    #0x92e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37603 (0x92e3)

lri $AR1,    #0x92e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37604 (0x92e4)

lri $AR1,    #0x92e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37605 (0x92e5)

lri $AR1,    #0x92e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37606 (0x92e6)

lri $AR1,    #0x92e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37607 (0x92e7)

lri $AR1,    #0x92e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37608 (0x92e8)

lri $AR1,    #0x92e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37609 (0x92e9)

lri $AR1,    #0x92e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37610 (0x92ea)

lri $AR1,    #0x92ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37611 (0x92eb)

lri $AR1,    #0x92eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37612 (0x92ec)

lri $AR1,    #0x92ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37613 (0x92ed)

lri $AR1,    #0x92ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37614 (0x92ee)

lri $AR1,    #0x92ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37615 (0x92ef)

lri $AR1,    #0x92ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37616 (0x92f0)

lri $AR1,    #0x92f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37617 (0x92f1)

lri $AR1,    #0x92f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37618 (0x92f2)

lri $AR1,    #0x92f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37619 (0x92f3)

lri $AR1,    #0x92f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37620 (0x92f4)

lri $AR1,    #0x92f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37621 (0x92f5)

lri $AR1,    #0x92f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37622 (0x92f6)

lri $AR1,    #0x92f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37623 (0x92f7)

lri $AR1,    #0x92f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37624 (0x92f8)

lri $AR1,    #0x92f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37625 (0x92f9)

lri $AR1,    #0x92f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37626 (0x92fa)

lri $AR1,    #0x92fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37627 (0x92fb)

lri $AR1,    #0x92fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37628 (0x92fc)

lri $AR1,    #0x92fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37629 (0x92fd)

lri $AR1,    #0x92fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37630 (0x92fe)

lri $AR1,    #0x92fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37631 (0x92ff)

lri $AR1,    #0x92ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37632 (0x9300)

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

