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

lri $AR1,    #0x4000
lri $IX1,    #0x5880
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22657 (0x5881)

lri $AR1,    #0x4000
lri $IX1,    #0x5881
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22658 (0x5882)

lri $AR1,    #0x4000
lri $IX1,    #0x5882
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22659 (0x5883)

lri $AR1,    #0x4000
lri $IX1,    #0x5883
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22660 (0x5884)

lri $AR1,    #0x4000
lri $IX1,    #0x5884
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22661 (0x5885)

lri $AR1,    #0x4000
lri $IX1,    #0x5885
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22662 (0x5886)

lri $AR1,    #0x4000
lri $IX1,    #0x5886
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22663 (0x5887)

lri $AR1,    #0x4000
lri $IX1,    #0x5887
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22664 (0x5888)

lri $AR1,    #0x4000
lri $IX1,    #0x5888
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22665 (0x5889)

lri $AR1,    #0x4000
lri $IX1,    #0x5889
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22666 (0x588a)

lri $AR1,    #0x4000
lri $IX1,    #0x588a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22667 (0x588b)

lri $AR1,    #0x4000
lri $IX1,    #0x588b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22668 (0x588c)

lri $AR1,    #0x4000
lri $IX1,    #0x588c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22669 (0x588d)

lri $AR1,    #0x4000
lri $IX1,    #0x588d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22670 (0x588e)

lri $AR1,    #0x4000
lri $IX1,    #0x588e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22671 (0x588f)

lri $AR1,    #0x4000
lri $IX1,    #0x588f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22672 (0x5890)

lri $AR1,    #0x4000
lri $IX1,    #0x5890
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22673 (0x5891)

lri $AR1,    #0x4000
lri $IX1,    #0x5891
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22674 (0x5892)

lri $AR1,    #0x4000
lri $IX1,    #0x5892
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22675 (0x5893)

lri $AR1,    #0x4000
lri $IX1,    #0x5893
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22676 (0x5894)

lri $AR1,    #0x4000
lri $IX1,    #0x5894
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22677 (0x5895)

lri $AR1,    #0x4000
lri $IX1,    #0x5895
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22678 (0x5896)

lri $AR1,    #0x4000
lri $IX1,    #0x5896
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22679 (0x5897)

lri $AR1,    #0x4000
lri $IX1,    #0x5897
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22680 (0x5898)

lri $AR1,    #0x4000
lri $IX1,    #0x5898
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22681 (0x5899)

lri $AR1,    #0x4000
lri $IX1,    #0x5899
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22682 (0x589a)

lri $AR1,    #0x4000
lri $IX1,    #0x589a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22683 (0x589b)

lri $AR1,    #0x4000
lri $IX1,    #0x589b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22684 (0x589c)

lri $AR1,    #0x4000
lri $IX1,    #0x589c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22685 (0x589d)

lri $AR1,    #0x4000
lri $IX1,    #0x589d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22686 (0x589e)

lri $AR1,    #0x4000
lri $IX1,    #0x589e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22687 (0x589f)

lri $AR1,    #0x4000
lri $IX1,    #0x589f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22688 (0x58a0)

lri $AR1,    #0x4000
lri $IX1,    #0x58a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22689 (0x58a1)

lri $AR1,    #0x4000
lri $IX1,    #0x58a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22690 (0x58a2)

lri $AR1,    #0x4000
lri $IX1,    #0x58a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22691 (0x58a3)

lri $AR1,    #0x4000
lri $IX1,    #0x58a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22692 (0x58a4)

lri $AR1,    #0x4000
lri $IX1,    #0x58a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22693 (0x58a5)

lri $AR1,    #0x4000
lri $IX1,    #0x58a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22694 (0x58a6)

lri $AR1,    #0x4000
lri $IX1,    #0x58a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22695 (0x58a7)

lri $AR1,    #0x4000
lri $IX1,    #0x58a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22696 (0x58a8)

lri $AR1,    #0x4000
lri $IX1,    #0x58a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22697 (0x58a9)

lri $AR1,    #0x4000
lri $IX1,    #0x58a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22698 (0x58aa)

lri $AR1,    #0x4000
lri $IX1,    #0x58aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22699 (0x58ab)

lri $AR1,    #0x4000
lri $IX1,    #0x58ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22700 (0x58ac)

lri $AR1,    #0x4000
lri $IX1,    #0x58ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22701 (0x58ad)

lri $AR1,    #0x4000
lri $IX1,    #0x58ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22702 (0x58ae)

lri $AR1,    #0x4000
lri $IX1,    #0x58ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22703 (0x58af)

lri $AR1,    #0x4000
lri $IX1,    #0x58af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22704 (0x58b0)

lri $AR1,    #0x4000
lri $IX1,    #0x58b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22705 (0x58b1)

lri $AR1,    #0x4000
lri $IX1,    #0x58b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22706 (0x58b2)

lri $AR1,    #0x4000
lri $IX1,    #0x58b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22707 (0x58b3)

lri $AR1,    #0x4000
lri $IX1,    #0x58b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22708 (0x58b4)

lri $AR1,    #0x4000
lri $IX1,    #0x58b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22709 (0x58b5)

lri $AR1,    #0x4000
lri $IX1,    #0x58b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22710 (0x58b6)

lri $AR1,    #0x4000
lri $IX1,    #0x58b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22711 (0x58b7)

lri $AR1,    #0x4000
lri $IX1,    #0x58b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22712 (0x58b8)

lri $AR1,    #0x4000
lri $IX1,    #0x58b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22713 (0x58b9)

lri $AR1,    #0x4000
lri $IX1,    #0x58b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22714 (0x58ba)

lri $AR1,    #0x4000
lri $IX1,    #0x58ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22715 (0x58bb)

lri $AR1,    #0x4000
lri $IX1,    #0x58bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22716 (0x58bc)

lri $AR1,    #0x4000
lri $IX1,    #0x58bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22717 (0x58bd)

lri $AR1,    #0x4000
lri $IX1,    #0x58bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22718 (0x58be)

lri $AR1,    #0x4000
lri $IX1,    #0x58be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22719 (0x58bf)

lri $AR1,    #0x4000
lri $IX1,    #0x58bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22720 (0x58c0)

lri $AR1,    #0x4000
lri $IX1,    #0x58c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22721 (0x58c1)

lri $AR1,    #0x4000
lri $IX1,    #0x58c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22722 (0x58c2)

lri $AR1,    #0x4000
lri $IX1,    #0x58c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22723 (0x58c3)

lri $AR1,    #0x4000
lri $IX1,    #0x58c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22724 (0x58c4)

lri $AR1,    #0x4000
lri $IX1,    #0x58c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22725 (0x58c5)

lri $AR1,    #0x4000
lri $IX1,    #0x58c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22726 (0x58c6)

lri $AR1,    #0x4000
lri $IX1,    #0x58c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22727 (0x58c7)

lri $AR1,    #0x4000
lri $IX1,    #0x58c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22728 (0x58c8)

lri $AR1,    #0x4000
lri $IX1,    #0x58c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22729 (0x58c9)

lri $AR1,    #0x4000
lri $IX1,    #0x58c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22730 (0x58ca)

lri $AR1,    #0x4000
lri $IX1,    #0x58ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22731 (0x58cb)

lri $AR1,    #0x4000
lri $IX1,    #0x58cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22732 (0x58cc)

lri $AR1,    #0x4000
lri $IX1,    #0x58cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22733 (0x58cd)

lri $AR1,    #0x4000
lri $IX1,    #0x58cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22734 (0x58ce)

lri $AR1,    #0x4000
lri $IX1,    #0x58ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22735 (0x58cf)

lri $AR1,    #0x4000
lri $IX1,    #0x58cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22736 (0x58d0)

lri $AR1,    #0x4000
lri $IX1,    #0x58d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22737 (0x58d1)

lri $AR1,    #0x4000
lri $IX1,    #0x58d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22738 (0x58d2)

lri $AR1,    #0x4000
lri $IX1,    #0x58d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22739 (0x58d3)

lri $AR1,    #0x4000
lri $IX1,    #0x58d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22740 (0x58d4)

lri $AR1,    #0x4000
lri $IX1,    #0x58d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22741 (0x58d5)

lri $AR1,    #0x4000
lri $IX1,    #0x58d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22742 (0x58d6)

lri $AR1,    #0x4000
lri $IX1,    #0x58d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22743 (0x58d7)

lri $AR1,    #0x4000
lri $IX1,    #0x58d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22744 (0x58d8)

lri $AR1,    #0x4000
lri $IX1,    #0x58d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22745 (0x58d9)

lri $AR1,    #0x4000
lri $IX1,    #0x58d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22746 (0x58da)

lri $AR1,    #0x4000
lri $IX1,    #0x58da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22747 (0x58db)

lri $AR1,    #0x4000
lri $IX1,    #0x58db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22748 (0x58dc)

lri $AR1,    #0x4000
lri $IX1,    #0x58dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22749 (0x58dd)

lri $AR1,    #0x4000
lri $IX1,    #0x58dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22750 (0x58de)

lri $AR1,    #0x4000
lri $IX1,    #0x58de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22751 (0x58df)

lri $AR1,    #0x4000
lri $IX1,    #0x58df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22752 (0x58e0)

lri $AR1,    #0x4000
lri $IX1,    #0x58e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22753 (0x58e1)

lri $AR1,    #0x4000
lri $IX1,    #0x58e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22754 (0x58e2)

lri $AR1,    #0x4000
lri $IX1,    #0x58e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22755 (0x58e3)

lri $AR1,    #0x4000
lri $IX1,    #0x58e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22756 (0x58e4)

lri $AR1,    #0x4000
lri $IX1,    #0x58e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22757 (0x58e5)

lri $AR1,    #0x4000
lri $IX1,    #0x58e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22758 (0x58e6)

lri $AR1,    #0x4000
lri $IX1,    #0x58e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22759 (0x58e7)

lri $AR1,    #0x4000
lri $IX1,    #0x58e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22760 (0x58e8)

lri $AR1,    #0x4000
lri $IX1,    #0x58e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22761 (0x58e9)

lri $AR1,    #0x4000
lri $IX1,    #0x58e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22762 (0x58ea)

lri $AR1,    #0x4000
lri $IX1,    #0x58ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22763 (0x58eb)

lri $AR1,    #0x4000
lri $IX1,    #0x58eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22764 (0x58ec)

lri $AR1,    #0x4000
lri $IX1,    #0x58ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22765 (0x58ed)

lri $AR1,    #0x4000
lri $IX1,    #0x58ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22766 (0x58ee)

lri $AR1,    #0x4000
lri $IX1,    #0x58ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22767 (0x58ef)

lri $AR1,    #0x4000
lri $IX1,    #0x58ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22768 (0x58f0)

lri $AR1,    #0x4000
lri $IX1,    #0x58f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22769 (0x58f1)

lri $AR1,    #0x4000
lri $IX1,    #0x58f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22770 (0x58f2)

lri $AR1,    #0x4000
lri $IX1,    #0x58f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22771 (0x58f3)

lri $AR1,    #0x4000
lri $IX1,    #0x58f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22772 (0x58f4)

lri $AR1,    #0x4000
lri $IX1,    #0x58f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22773 (0x58f5)

lri $AR1,    #0x4000
lri $IX1,    #0x58f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22774 (0x58f6)

lri $AR1,    #0x4000
lri $IX1,    #0x58f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22775 (0x58f7)

lri $AR1,    #0x4000
lri $IX1,    #0x58f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22776 (0x58f8)

lri $AR1,    #0x4000
lri $IX1,    #0x58f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22777 (0x58f9)

lri $AR1,    #0x4000
lri $IX1,    #0x58f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22778 (0x58fa)

lri $AR1,    #0x4000
lri $IX1,    #0x58fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22779 (0x58fb)

lri $AR1,    #0x4000
lri $IX1,    #0x58fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22780 (0x58fc)

lri $AR1,    #0x4000
lri $IX1,    #0x58fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22781 (0x58fd)

lri $AR1,    #0x4000
lri $IX1,    #0x58fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22782 (0x58fe)

lri $AR1,    #0x4000
lri $IX1,    #0x58fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22783 (0x58ff)

lri $AR1,    #0x4000
lri $IX1,    #0x58ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22784 (0x5900)

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

