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

lri $AR1,    #0x4000
lri $IX1,    #0x9680
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38529 (0x9681)

lri $AR1,    #0x4000
lri $IX1,    #0x9681
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38530 (0x9682)

lri $AR1,    #0x4000
lri $IX1,    #0x9682
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38531 (0x9683)

lri $AR1,    #0x4000
lri $IX1,    #0x9683
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38532 (0x9684)

lri $AR1,    #0x4000
lri $IX1,    #0x9684
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38533 (0x9685)

lri $AR1,    #0x4000
lri $IX1,    #0x9685
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38534 (0x9686)

lri $AR1,    #0x4000
lri $IX1,    #0x9686
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38535 (0x9687)

lri $AR1,    #0x4000
lri $IX1,    #0x9687
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38536 (0x9688)

lri $AR1,    #0x4000
lri $IX1,    #0x9688
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38537 (0x9689)

lri $AR1,    #0x4000
lri $IX1,    #0x9689
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38538 (0x968a)

lri $AR1,    #0x4000
lri $IX1,    #0x968a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38539 (0x968b)

lri $AR1,    #0x4000
lri $IX1,    #0x968b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38540 (0x968c)

lri $AR1,    #0x4000
lri $IX1,    #0x968c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38541 (0x968d)

lri $AR1,    #0x4000
lri $IX1,    #0x968d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38542 (0x968e)

lri $AR1,    #0x4000
lri $IX1,    #0x968e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38543 (0x968f)

lri $AR1,    #0x4000
lri $IX1,    #0x968f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38544 (0x9690)

lri $AR1,    #0x4000
lri $IX1,    #0x9690
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38545 (0x9691)

lri $AR1,    #0x4000
lri $IX1,    #0x9691
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38546 (0x9692)

lri $AR1,    #0x4000
lri $IX1,    #0x9692
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38547 (0x9693)

lri $AR1,    #0x4000
lri $IX1,    #0x9693
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38548 (0x9694)

lri $AR1,    #0x4000
lri $IX1,    #0x9694
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38549 (0x9695)

lri $AR1,    #0x4000
lri $IX1,    #0x9695
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38550 (0x9696)

lri $AR1,    #0x4000
lri $IX1,    #0x9696
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38551 (0x9697)

lri $AR1,    #0x4000
lri $IX1,    #0x9697
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38552 (0x9698)

lri $AR1,    #0x4000
lri $IX1,    #0x9698
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38553 (0x9699)

lri $AR1,    #0x4000
lri $IX1,    #0x9699
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38554 (0x969a)

lri $AR1,    #0x4000
lri $IX1,    #0x969a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38555 (0x969b)

lri $AR1,    #0x4000
lri $IX1,    #0x969b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38556 (0x969c)

lri $AR1,    #0x4000
lri $IX1,    #0x969c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38557 (0x969d)

lri $AR1,    #0x4000
lri $IX1,    #0x969d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38558 (0x969e)

lri $AR1,    #0x4000
lri $IX1,    #0x969e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38559 (0x969f)

lri $AR1,    #0x4000
lri $IX1,    #0x969f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38560 (0x96a0)

lri $AR1,    #0x4000
lri $IX1,    #0x96a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38561 (0x96a1)

lri $AR1,    #0x4000
lri $IX1,    #0x96a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38562 (0x96a2)

lri $AR1,    #0x4000
lri $IX1,    #0x96a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38563 (0x96a3)

lri $AR1,    #0x4000
lri $IX1,    #0x96a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38564 (0x96a4)

lri $AR1,    #0x4000
lri $IX1,    #0x96a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38565 (0x96a5)

lri $AR1,    #0x4000
lri $IX1,    #0x96a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38566 (0x96a6)

lri $AR1,    #0x4000
lri $IX1,    #0x96a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38567 (0x96a7)

lri $AR1,    #0x4000
lri $IX1,    #0x96a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38568 (0x96a8)

lri $AR1,    #0x4000
lri $IX1,    #0x96a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38569 (0x96a9)

lri $AR1,    #0x4000
lri $IX1,    #0x96a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38570 (0x96aa)

lri $AR1,    #0x4000
lri $IX1,    #0x96aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38571 (0x96ab)

lri $AR1,    #0x4000
lri $IX1,    #0x96ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38572 (0x96ac)

lri $AR1,    #0x4000
lri $IX1,    #0x96ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38573 (0x96ad)

lri $AR1,    #0x4000
lri $IX1,    #0x96ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38574 (0x96ae)

lri $AR1,    #0x4000
lri $IX1,    #0x96ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38575 (0x96af)

lri $AR1,    #0x4000
lri $IX1,    #0x96af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38576 (0x96b0)

lri $AR1,    #0x4000
lri $IX1,    #0x96b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38577 (0x96b1)

lri $AR1,    #0x4000
lri $IX1,    #0x96b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38578 (0x96b2)

lri $AR1,    #0x4000
lri $IX1,    #0x96b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38579 (0x96b3)

lri $AR1,    #0x4000
lri $IX1,    #0x96b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38580 (0x96b4)

lri $AR1,    #0x4000
lri $IX1,    #0x96b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38581 (0x96b5)

lri $AR1,    #0x4000
lri $IX1,    #0x96b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38582 (0x96b6)

lri $AR1,    #0x4000
lri $IX1,    #0x96b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38583 (0x96b7)

lri $AR1,    #0x4000
lri $IX1,    #0x96b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38584 (0x96b8)

lri $AR1,    #0x4000
lri $IX1,    #0x96b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38585 (0x96b9)

lri $AR1,    #0x4000
lri $IX1,    #0x96b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38586 (0x96ba)

lri $AR1,    #0x4000
lri $IX1,    #0x96ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38587 (0x96bb)

lri $AR1,    #0x4000
lri $IX1,    #0x96bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38588 (0x96bc)

lri $AR1,    #0x4000
lri $IX1,    #0x96bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38589 (0x96bd)

lri $AR1,    #0x4000
lri $IX1,    #0x96bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38590 (0x96be)

lri $AR1,    #0x4000
lri $IX1,    #0x96be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38591 (0x96bf)

lri $AR1,    #0x4000
lri $IX1,    #0x96bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38592 (0x96c0)

lri $AR1,    #0x4000
lri $IX1,    #0x96c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38593 (0x96c1)

lri $AR1,    #0x4000
lri $IX1,    #0x96c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38594 (0x96c2)

lri $AR1,    #0x4000
lri $IX1,    #0x96c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38595 (0x96c3)

lri $AR1,    #0x4000
lri $IX1,    #0x96c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38596 (0x96c4)

lri $AR1,    #0x4000
lri $IX1,    #0x96c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38597 (0x96c5)

lri $AR1,    #0x4000
lri $IX1,    #0x96c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38598 (0x96c6)

lri $AR1,    #0x4000
lri $IX1,    #0x96c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38599 (0x96c7)

lri $AR1,    #0x4000
lri $IX1,    #0x96c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38600 (0x96c8)

lri $AR1,    #0x4000
lri $IX1,    #0x96c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38601 (0x96c9)

lri $AR1,    #0x4000
lri $IX1,    #0x96c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38602 (0x96ca)

lri $AR1,    #0x4000
lri $IX1,    #0x96ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38603 (0x96cb)

lri $AR1,    #0x4000
lri $IX1,    #0x96cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38604 (0x96cc)

lri $AR1,    #0x4000
lri $IX1,    #0x96cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38605 (0x96cd)

lri $AR1,    #0x4000
lri $IX1,    #0x96cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38606 (0x96ce)

lri $AR1,    #0x4000
lri $IX1,    #0x96ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38607 (0x96cf)

lri $AR1,    #0x4000
lri $IX1,    #0x96cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38608 (0x96d0)

lri $AR1,    #0x4000
lri $IX1,    #0x96d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38609 (0x96d1)

lri $AR1,    #0x4000
lri $IX1,    #0x96d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38610 (0x96d2)

lri $AR1,    #0x4000
lri $IX1,    #0x96d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38611 (0x96d3)

lri $AR1,    #0x4000
lri $IX1,    #0x96d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38612 (0x96d4)

lri $AR1,    #0x4000
lri $IX1,    #0x96d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38613 (0x96d5)

lri $AR1,    #0x4000
lri $IX1,    #0x96d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38614 (0x96d6)

lri $AR1,    #0x4000
lri $IX1,    #0x96d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38615 (0x96d7)

lri $AR1,    #0x4000
lri $IX1,    #0x96d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38616 (0x96d8)

lri $AR1,    #0x4000
lri $IX1,    #0x96d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38617 (0x96d9)

lri $AR1,    #0x4000
lri $IX1,    #0x96d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38618 (0x96da)

lri $AR1,    #0x4000
lri $IX1,    #0x96da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38619 (0x96db)

lri $AR1,    #0x4000
lri $IX1,    #0x96db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38620 (0x96dc)

lri $AR1,    #0x4000
lri $IX1,    #0x96dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38621 (0x96dd)

lri $AR1,    #0x4000
lri $IX1,    #0x96dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38622 (0x96de)

lri $AR1,    #0x4000
lri $IX1,    #0x96de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38623 (0x96df)

lri $AR1,    #0x4000
lri $IX1,    #0x96df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38624 (0x96e0)

lri $AR1,    #0x4000
lri $IX1,    #0x96e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38625 (0x96e1)

lri $AR1,    #0x4000
lri $IX1,    #0x96e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38626 (0x96e2)

lri $AR1,    #0x4000
lri $IX1,    #0x96e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38627 (0x96e3)

lri $AR1,    #0x4000
lri $IX1,    #0x96e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38628 (0x96e4)

lri $AR1,    #0x4000
lri $IX1,    #0x96e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38629 (0x96e5)

lri $AR1,    #0x4000
lri $IX1,    #0x96e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38630 (0x96e6)

lri $AR1,    #0x4000
lri $IX1,    #0x96e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38631 (0x96e7)

lri $AR1,    #0x4000
lri $IX1,    #0x96e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38632 (0x96e8)

lri $AR1,    #0x4000
lri $IX1,    #0x96e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38633 (0x96e9)

lri $AR1,    #0x4000
lri $IX1,    #0x96e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38634 (0x96ea)

lri $AR1,    #0x4000
lri $IX1,    #0x96ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38635 (0x96eb)

lri $AR1,    #0x4000
lri $IX1,    #0x96eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38636 (0x96ec)

lri $AR1,    #0x4000
lri $IX1,    #0x96ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38637 (0x96ed)

lri $AR1,    #0x4000
lri $IX1,    #0x96ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38638 (0x96ee)

lri $AR1,    #0x4000
lri $IX1,    #0x96ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38639 (0x96ef)

lri $AR1,    #0x4000
lri $IX1,    #0x96ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38640 (0x96f0)

lri $AR1,    #0x4000
lri $IX1,    #0x96f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38641 (0x96f1)

lri $AR1,    #0x4000
lri $IX1,    #0x96f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38642 (0x96f2)

lri $AR1,    #0x4000
lri $IX1,    #0x96f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38643 (0x96f3)

lri $AR1,    #0x4000
lri $IX1,    #0x96f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38644 (0x96f4)

lri $AR1,    #0x4000
lri $IX1,    #0x96f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38645 (0x96f5)

lri $AR1,    #0x4000
lri $IX1,    #0x96f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38646 (0x96f6)

lri $AR1,    #0x4000
lri $IX1,    #0x96f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38647 (0x96f7)

lri $AR1,    #0x4000
lri $IX1,    #0x96f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38648 (0x96f8)

lri $AR1,    #0x4000
lri $IX1,    #0x96f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38649 (0x96f9)

lri $AR1,    #0x4000
lri $IX1,    #0x96f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38650 (0x96fa)

lri $AR1,    #0x4000
lri $IX1,    #0x96fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38651 (0x96fb)

lri $AR1,    #0x4000
lri $IX1,    #0x96fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38652 (0x96fc)

lri $AR1,    #0x4000
lri $IX1,    #0x96fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38653 (0x96fd)

lri $AR1,    #0x4000
lri $IX1,    #0x96fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38654 (0x96fe)

lri $AR1,    #0x4000
lri $IX1,    #0x96fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38655 (0x96ff)

lri $AR1,    #0x4000
lri $IX1,    #0x96ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38656 (0x9700)

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

