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

lri $AR1,    #0x9780
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38785 (0x9781)

lri $AR1,    #0x9781
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38786 (0x9782)

lri $AR1,    #0x9782
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38787 (0x9783)

lri $AR1,    #0x9783
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38788 (0x9784)

lri $AR1,    #0x9784
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38789 (0x9785)

lri $AR1,    #0x9785
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38790 (0x9786)

lri $AR1,    #0x9786
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38791 (0x9787)

lri $AR1,    #0x9787
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38792 (0x9788)

lri $AR1,    #0x9788
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38793 (0x9789)

lri $AR1,    #0x9789
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38794 (0x978a)

lri $AR1,    #0x978a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38795 (0x978b)

lri $AR1,    #0x978b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38796 (0x978c)

lri $AR1,    #0x978c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38797 (0x978d)

lri $AR1,    #0x978d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38798 (0x978e)

lri $AR1,    #0x978e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38799 (0x978f)

lri $AR1,    #0x978f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38800 (0x9790)

lri $AR1,    #0x9790
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38801 (0x9791)

lri $AR1,    #0x9791
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38802 (0x9792)

lri $AR1,    #0x9792
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38803 (0x9793)

lri $AR1,    #0x9793
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38804 (0x9794)

lri $AR1,    #0x9794
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38805 (0x9795)

lri $AR1,    #0x9795
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38806 (0x9796)

lri $AR1,    #0x9796
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38807 (0x9797)

lri $AR1,    #0x9797
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38808 (0x9798)

lri $AR1,    #0x9798
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38809 (0x9799)

lri $AR1,    #0x9799
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38810 (0x979a)

lri $AR1,    #0x979a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38811 (0x979b)

lri $AR1,    #0x979b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38812 (0x979c)

lri $AR1,    #0x979c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38813 (0x979d)

lri $AR1,    #0x979d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38814 (0x979e)

lri $AR1,    #0x979e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38815 (0x979f)

lri $AR1,    #0x979f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38816 (0x97a0)

lri $AR1,    #0x97a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38817 (0x97a1)

lri $AR1,    #0x97a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38818 (0x97a2)

lri $AR1,    #0x97a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38819 (0x97a3)

lri $AR1,    #0x97a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38820 (0x97a4)

lri $AR1,    #0x97a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38821 (0x97a5)

lri $AR1,    #0x97a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38822 (0x97a6)

lri $AR1,    #0x97a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38823 (0x97a7)

lri $AR1,    #0x97a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38824 (0x97a8)

lri $AR1,    #0x97a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38825 (0x97a9)

lri $AR1,    #0x97a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38826 (0x97aa)

lri $AR1,    #0x97aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38827 (0x97ab)

lri $AR1,    #0x97ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38828 (0x97ac)

lri $AR1,    #0x97ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38829 (0x97ad)

lri $AR1,    #0x97ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38830 (0x97ae)

lri $AR1,    #0x97ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38831 (0x97af)

lri $AR1,    #0x97af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38832 (0x97b0)

lri $AR1,    #0x97b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38833 (0x97b1)

lri $AR1,    #0x97b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38834 (0x97b2)

lri $AR1,    #0x97b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38835 (0x97b3)

lri $AR1,    #0x97b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38836 (0x97b4)

lri $AR1,    #0x97b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38837 (0x97b5)

lri $AR1,    #0x97b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38838 (0x97b6)

lri $AR1,    #0x97b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38839 (0x97b7)

lri $AR1,    #0x97b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38840 (0x97b8)

lri $AR1,    #0x97b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38841 (0x97b9)

lri $AR1,    #0x97b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38842 (0x97ba)

lri $AR1,    #0x97ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38843 (0x97bb)

lri $AR1,    #0x97bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38844 (0x97bc)

lri $AR1,    #0x97bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38845 (0x97bd)

lri $AR1,    #0x97bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38846 (0x97be)

lri $AR1,    #0x97be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38847 (0x97bf)

lri $AR1,    #0x97bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38848 (0x97c0)

lri $AR1,    #0x97c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38849 (0x97c1)

lri $AR1,    #0x97c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38850 (0x97c2)

lri $AR1,    #0x97c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38851 (0x97c3)

lri $AR1,    #0x97c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38852 (0x97c4)

lri $AR1,    #0x97c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38853 (0x97c5)

lri $AR1,    #0x97c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38854 (0x97c6)

lri $AR1,    #0x97c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38855 (0x97c7)

lri $AR1,    #0x97c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38856 (0x97c8)

lri $AR1,    #0x97c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38857 (0x97c9)

lri $AR1,    #0x97c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38858 (0x97ca)

lri $AR1,    #0x97ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38859 (0x97cb)

lri $AR1,    #0x97cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38860 (0x97cc)

lri $AR1,    #0x97cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38861 (0x97cd)

lri $AR1,    #0x97cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38862 (0x97ce)

lri $AR1,    #0x97ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38863 (0x97cf)

lri $AR1,    #0x97cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38864 (0x97d0)

lri $AR1,    #0x97d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38865 (0x97d1)

lri $AR1,    #0x97d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38866 (0x97d2)

lri $AR1,    #0x97d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38867 (0x97d3)

lri $AR1,    #0x97d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38868 (0x97d4)

lri $AR1,    #0x97d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38869 (0x97d5)

lri $AR1,    #0x97d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38870 (0x97d6)

lri $AR1,    #0x97d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38871 (0x97d7)

lri $AR1,    #0x97d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38872 (0x97d8)

lri $AR1,    #0x97d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38873 (0x97d9)

lri $AR1,    #0x97d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38874 (0x97da)

lri $AR1,    #0x97da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38875 (0x97db)

lri $AR1,    #0x97db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38876 (0x97dc)

lri $AR1,    #0x97dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38877 (0x97dd)

lri $AR1,    #0x97dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38878 (0x97de)

lri $AR1,    #0x97de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38879 (0x97df)

lri $AR1,    #0x97df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38880 (0x97e0)

lri $AR1,    #0x97e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38881 (0x97e1)

lri $AR1,    #0x97e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38882 (0x97e2)

lri $AR1,    #0x97e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38883 (0x97e3)

lri $AR1,    #0x97e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38884 (0x97e4)

lri $AR1,    #0x97e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38885 (0x97e5)

lri $AR1,    #0x97e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38886 (0x97e6)

lri $AR1,    #0x97e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38887 (0x97e7)

lri $AR1,    #0x97e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38888 (0x97e8)

lri $AR1,    #0x97e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38889 (0x97e9)

lri $AR1,    #0x97e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38890 (0x97ea)

lri $AR1,    #0x97ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38891 (0x97eb)

lri $AR1,    #0x97eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38892 (0x97ec)

lri $AR1,    #0x97ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38893 (0x97ed)

lri $AR1,    #0x97ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38894 (0x97ee)

lri $AR1,    #0x97ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38895 (0x97ef)

lri $AR1,    #0x97ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38896 (0x97f0)

lri $AR1,    #0x97f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38897 (0x97f1)

lri $AR1,    #0x97f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38898 (0x97f2)

lri $AR1,    #0x97f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38899 (0x97f3)

lri $AR1,    #0x97f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38900 (0x97f4)

lri $AR1,    #0x97f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38901 (0x97f5)

lri $AR1,    #0x97f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38902 (0x97f6)

lri $AR1,    #0x97f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38903 (0x97f7)

lri $AR1,    #0x97f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38904 (0x97f8)

lri $AR1,    #0x97f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38905 (0x97f9)

lri $AR1,    #0x97f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38906 (0x97fa)

lri $AR1,    #0x97fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38907 (0x97fb)

lri $AR1,    #0x97fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38908 (0x97fc)

lri $AR1,    #0x97fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38909 (0x97fd)

lri $AR1,    #0x97fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38910 (0x97fe)

lri $AR1,    #0x97fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38911 (0x97ff)

lri $AR1,    #0x97ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 38912 (0x9800)

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

