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

lri $AR1,    #0x4000
lri $IX1,    #0x9380
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37761 (0x9381)

lri $AR1,    #0x4000
lri $IX1,    #0x9381
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37762 (0x9382)

lri $AR1,    #0x4000
lri $IX1,    #0x9382
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37763 (0x9383)

lri $AR1,    #0x4000
lri $IX1,    #0x9383
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37764 (0x9384)

lri $AR1,    #0x4000
lri $IX1,    #0x9384
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37765 (0x9385)

lri $AR1,    #0x4000
lri $IX1,    #0x9385
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37766 (0x9386)

lri $AR1,    #0x4000
lri $IX1,    #0x9386
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37767 (0x9387)

lri $AR1,    #0x4000
lri $IX1,    #0x9387
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37768 (0x9388)

lri $AR1,    #0x4000
lri $IX1,    #0x9388
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37769 (0x9389)

lri $AR1,    #0x4000
lri $IX1,    #0x9389
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37770 (0x938a)

lri $AR1,    #0x4000
lri $IX1,    #0x938a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37771 (0x938b)

lri $AR1,    #0x4000
lri $IX1,    #0x938b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37772 (0x938c)

lri $AR1,    #0x4000
lri $IX1,    #0x938c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37773 (0x938d)

lri $AR1,    #0x4000
lri $IX1,    #0x938d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37774 (0x938e)

lri $AR1,    #0x4000
lri $IX1,    #0x938e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37775 (0x938f)

lri $AR1,    #0x4000
lri $IX1,    #0x938f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37776 (0x9390)

lri $AR1,    #0x4000
lri $IX1,    #0x9390
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37777 (0x9391)

lri $AR1,    #0x4000
lri $IX1,    #0x9391
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37778 (0x9392)

lri $AR1,    #0x4000
lri $IX1,    #0x9392
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37779 (0x9393)

lri $AR1,    #0x4000
lri $IX1,    #0x9393
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37780 (0x9394)

lri $AR1,    #0x4000
lri $IX1,    #0x9394
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37781 (0x9395)

lri $AR1,    #0x4000
lri $IX1,    #0x9395
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37782 (0x9396)

lri $AR1,    #0x4000
lri $IX1,    #0x9396
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37783 (0x9397)

lri $AR1,    #0x4000
lri $IX1,    #0x9397
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37784 (0x9398)

lri $AR1,    #0x4000
lri $IX1,    #0x9398
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37785 (0x9399)

lri $AR1,    #0x4000
lri $IX1,    #0x9399
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37786 (0x939a)

lri $AR1,    #0x4000
lri $IX1,    #0x939a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37787 (0x939b)

lri $AR1,    #0x4000
lri $IX1,    #0x939b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37788 (0x939c)

lri $AR1,    #0x4000
lri $IX1,    #0x939c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37789 (0x939d)

lri $AR1,    #0x4000
lri $IX1,    #0x939d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37790 (0x939e)

lri $AR1,    #0x4000
lri $IX1,    #0x939e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37791 (0x939f)

lri $AR1,    #0x4000
lri $IX1,    #0x939f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37792 (0x93a0)

lri $AR1,    #0x4000
lri $IX1,    #0x93a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37793 (0x93a1)

lri $AR1,    #0x4000
lri $IX1,    #0x93a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37794 (0x93a2)

lri $AR1,    #0x4000
lri $IX1,    #0x93a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37795 (0x93a3)

lri $AR1,    #0x4000
lri $IX1,    #0x93a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37796 (0x93a4)

lri $AR1,    #0x4000
lri $IX1,    #0x93a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37797 (0x93a5)

lri $AR1,    #0x4000
lri $IX1,    #0x93a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37798 (0x93a6)

lri $AR1,    #0x4000
lri $IX1,    #0x93a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37799 (0x93a7)

lri $AR1,    #0x4000
lri $IX1,    #0x93a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37800 (0x93a8)

lri $AR1,    #0x4000
lri $IX1,    #0x93a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37801 (0x93a9)

lri $AR1,    #0x4000
lri $IX1,    #0x93a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37802 (0x93aa)

lri $AR1,    #0x4000
lri $IX1,    #0x93aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37803 (0x93ab)

lri $AR1,    #0x4000
lri $IX1,    #0x93ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37804 (0x93ac)

lri $AR1,    #0x4000
lri $IX1,    #0x93ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37805 (0x93ad)

lri $AR1,    #0x4000
lri $IX1,    #0x93ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37806 (0x93ae)

lri $AR1,    #0x4000
lri $IX1,    #0x93ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37807 (0x93af)

lri $AR1,    #0x4000
lri $IX1,    #0x93af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37808 (0x93b0)

lri $AR1,    #0x4000
lri $IX1,    #0x93b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37809 (0x93b1)

lri $AR1,    #0x4000
lri $IX1,    #0x93b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37810 (0x93b2)

lri $AR1,    #0x4000
lri $IX1,    #0x93b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37811 (0x93b3)

lri $AR1,    #0x4000
lri $IX1,    #0x93b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37812 (0x93b4)

lri $AR1,    #0x4000
lri $IX1,    #0x93b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37813 (0x93b5)

lri $AR1,    #0x4000
lri $IX1,    #0x93b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37814 (0x93b6)

lri $AR1,    #0x4000
lri $IX1,    #0x93b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37815 (0x93b7)

lri $AR1,    #0x4000
lri $IX1,    #0x93b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37816 (0x93b8)

lri $AR1,    #0x4000
lri $IX1,    #0x93b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37817 (0x93b9)

lri $AR1,    #0x4000
lri $IX1,    #0x93b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37818 (0x93ba)

lri $AR1,    #0x4000
lri $IX1,    #0x93ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37819 (0x93bb)

lri $AR1,    #0x4000
lri $IX1,    #0x93bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37820 (0x93bc)

lri $AR1,    #0x4000
lri $IX1,    #0x93bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37821 (0x93bd)

lri $AR1,    #0x4000
lri $IX1,    #0x93bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37822 (0x93be)

lri $AR1,    #0x4000
lri $IX1,    #0x93be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37823 (0x93bf)

lri $AR1,    #0x4000
lri $IX1,    #0x93bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37824 (0x93c0)

lri $AR1,    #0x4000
lri $IX1,    #0x93c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37825 (0x93c1)

lri $AR1,    #0x4000
lri $IX1,    #0x93c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37826 (0x93c2)

lri $AR1,    #0x4000
lri $IX1,    #0x93c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37827 (0x93c3)

lri $AR1,    #0x4000
lri $IX1,    #0x93c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37828 (0x93c4)

lri $AR1,    #0x4000
lri $IX1,    #0x93c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37829 (0x93c5)

lri $AR1,    #0x4000
lri $IX1,    #0x93c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37830 (0x93c6)

lri $AR1,    #0x4000
lri $IX1,    #0x93c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37831 (0x93c7)

lri $AR1,    #0x4000
lri $IX1,    #0x93c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37832 (0x93c8)

lri $AR1,    #0x4000
lri $IX1,    #0x93c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37833 (0x93c9)

lri $AR1,    #0x4000
lri $IX1,    #0x93c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37834 (0x93ca)

lri $AR1,    #0x4000
lri $IX1,    #0x93ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37835 (0x93cb)

lri $AR1,    #0x4000
lri $IX1,    #0x93cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37836 (0x93cc)

lri $AR1,    #0x4000
lri $IX1,    #0x93cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37837 (0x93cd)

lri $AR1,    #0x4000
lri $IX1,    #0x93cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37838 (0x93ce)

lri $AR1,    #0x4000
lri $IX1,    #0x93ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37839 (0x93cf)

lri $AR1,    #0x4000
lri $IX1,    #0x93cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37840 (0x93d0)

lri $AR1,    #0x4000
lri $IX1,    #0x93d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37841 (0x93d1)

lri $AR1,    #0x4000
lri $IX1,    #0x93d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37842 (0x93d2)

lri $AR1,    #0x4000
lri $IX1,    #0x93d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37843 (0x93d3)

lri $AR1,    #0x4000
lri $IX1,    #0x93d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37844 (0x93d4)

lri $AR1,    #0x4000
lri $IX1,    #0x93d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37845 (0x93d5)

lri $AR1,    #0x4000
lri $IX1,    #0x93d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37846 (0x93d6)

lri $AR1,    #0x4000
lri $IX1,    #0x93d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37847 (0x93d7)

lri $AR1,    #0x4000
lri $IX1,    #0x93d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37848 (0x93d8)

lri $AR1,    #0x4000
lri $IX1,    #0x93d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37849 (0x93d9)

lri $AR1,    #0x4000
lri $IX1,    #0x93d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37850 (0x93da)

lri $AR1,    #0x4000
lri $IX1,    #0x93da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37851 (0x93db)

lri $AR1,    #0x4000
lri $IX1,    #0x93db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37852 (0x93dc)

lri $AR1,    #0x4000
lri $IX1,    #0x93dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37853 (0x93dd)

lri $AR1,    #0x4000
lri $IX1,    #0x93dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37854 (0x93de)

lri $AR1,    #0x4000
lri $IX1,    #0x93de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37855 (0x93df)

lri $AR1,    #0x4000
lri $IX1,    #0x93df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37856 (0x93e0)

lri $AR1,    #0x4000
lri $IX1,    #0x93e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37857 (0x93e1)

lri $AR1,    #0x4000
lri $IX1,    #0x93e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37858 (0x93e2)

lri $AR1,    #0x4000
lri $IX1,    #0x93e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37859 (0x93e3)

lri $AR1,    #0x4000
lri $IX1,    #0x93e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37860 (0x93e4)

lri $AR1,    #0x4000
lri $IX1,    #0x93e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37861 (0x93e5)

lri $AR1,    #0x4000
lri $IX1,    #0x93e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37862 (0x93e6)

lri $AR1,    #0x4000
lri $IX1,    #0x93e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37863 (0x93e7)

lri $AR1,    #0x4000
lri $IX1,    #0x93e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37864 (0x93e8)

lri $AR1,    #0x4000
lri $IX1,    #0x93e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37865 (0x93e9)

lri $AR1,    #0x4000
lri $IX1,    #0x93e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37866 (0x93ea)

lri $AR1,    #0x4000
lri $IX1,    #0x93ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37867 (0x93eb)

lri $AR1,    #0x4000
lri $IX1,    #0x93eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37868 (0x93ec)

lri $AR1,    #0x4000
lri $IX1,    #0x93ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37869 (0x93ed)

lri $AR1,    #0x4000
lri $IX1,    #0x93ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37870 (0x93ee)

lri $AR1,    #0x4000
lri $IX1,    #0x93ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37871 (0x93ef)

lri $AR1,    #0x4000
lri $IX1,    #0x93ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37872 (0x93f0)

lri $AR1,    #0x4000
lri $IX1,    #0x93f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37873 (0x93f1)

lri $AR1,    #0x4000
lri $IX1,    #0x93f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37874 (0x93f2)

lri $AR1,    #0x4000
lri $IX1,    #0x93f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37875 (0x93f3)

lri $AR1,    #0x4000
lri $IX1,    #0x93f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37876 (0x93f4)

lri $AR1,    #0x4000
lri $IX1,    #0x93f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37877 (0x93f5)

lri $AR1,    #0x4000
lri $IX1,    #0x93f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37878 (0x93f6)

lri $AR1,    #0x4000
lri $IX1,    #0x93f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37879 (0x93f7)

lri $AR1,    #0x4000
lri $IX1,    #0x93f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37880 (0x93f8)

lri $AR1,    #0x4000
lri $IX1,    #0x93f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37881 (0x93f9)

lri $AR1,    #0x4000
lri $IX1,    #0x93f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37882 (0x93fa)

lri $AR1,    #0x4000
lri $IX1,    #0x93fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37883 (0x93fb)

lri $AR1,    #0x4000
lri $IX1,    #0x93fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37884 (0x93fc)

lri $AR1,    #0x4000
lri $IX1,    #0x93fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37885 (0x93fd)

lri $AR1,    #0x4000
lri $IX1,    #0x93fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37886 (0x93fe)

lri $AR1,    #0x4000
lri $IX1,    #0x93fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37887 (0x93ff)

lri $AR1,    #0x4000
lri $IX1,    #0x93ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37888 (0x9400)

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

