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

lri $AR1,    #0x4000
lri $IX1,    #0x4180
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16769 (0x4181)

lri $AR1,    #0x4000
lri $IX1,    #0x4181
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16770 (0x4182)

lri $AR1,    #0x4000
lri $IX1,    #0x4182
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16771 (0x4183)

lri $AR1,    #0x4000
lri $IX1,    #0x4183
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16772 (0x4184)

lri $AR1,    #0x4000
lri $IX1,    #0x4184
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16773 (0x4185)

lri $AR1,    #0x4000
lri $IX1,    #0x4185
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16774 (0x4186)

lri $AR1,    #0x4000
lri $IX1,    #0x4186
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16775 (0x4187)

lri $AR1,    #0x4000
lri $IX1,    #0x4187
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16776 (0x4188)

lri $AR1,    #0x4000
lri $IX1,    #0x4188
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16777 (0x4189)

lri $AR1,    #0x4000
lri $IX1,    #0x4189
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16778 (0x418a)

lri $AR1,    #0x4000
lri $IX1,    #0x418a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16779 (0x418b)

lri $AR1,    #0x4000
lri $IX1,    #0x418b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16780 (0x418c)

lri $AR1,    #0x4000
lri $IX1,    #0x418c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16781 (0x418d)

lri $AR1,    #0x4000
lri $IX1,    #0x418d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16782 (0x418e)

lri $AR1,    #0x4000
lri $IX1,    #0x418e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16783 (0x418f)

lri $AR1,    #0x4000
lri $IX1,    #0x418f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16784 (0x4190)

lri $AR1,    #0x4000
lri $IX1,    #0x4190
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16785 (0x4191)

lri $AR1,    #0x4000
lri $IX1,    #0x4191
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16786 (0x4192)

lri $AR1,    #0x4000
lri $IX1,    #0x4192
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16787 (0x4193)

lri $AR1,    #0x4000
lri $IX1,    #0x4193
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16788 (0x4194)

lri $AR1,    #0x4000
lri $IX1,    #0x4194
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16789 (0x4195)

lri $AR1,    #0x4000
lri $IX1,    #0x4195
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16790 (0x4196)

lri $AR1,    #0x4000
lri $IX1,    #0x4196
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16791 (0x4197)

lri $AR1,    #0x4000
lri $IX1,    #0x4197
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16792 (0x4198)

lri $AR1,    #0x4000
lri $IX1,    #0x4198
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16793 (0x4199)

lri $AR1,    #0x4000
lri $IX1,    #0x4199
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16794 (0x419a)

lri $AR1,    #0x4000
lri $IX1,    #0x419a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16795 (0x419b)

lri $AR1,    #0x4000
lri $IX1,    #0x419b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16796 (0x419c)

lri $AR1,    #0x4000
lri $IX1,    #0x419c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16797 (0x419d)

lri $AR1,    #0x4000
lri $IX1,    #0x419d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16798 (0x419e)

lri $AR1,    #0x4000
lri $IX1,    #0x419e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16799 (0x419f)

lri $AR1,    #0x4000
lri $IX1,    #0x419f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16800 (0x41a0)

lri $AR1,    #0x4000
lri $IX1,    #0x41a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16801 (0x41a1)

lri $AR1,    #0x4000
lri $IX1,    #0x41a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16802 (0x41a2)

lri $AR1,    #0x4000
lri $IX1,    #0x41a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16803 (0x41a3)

lri $AR1,    #0x4000
lri $IX1,    #0x41a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16804 (0x41a4)

lri $AR1,    #0x4000
lri $IX1,    #0x41a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16805 (0x41a5)

lri $AR1,    #0x4000
lri $IX1,    #0x41a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16806 (0x41a6)

lri $AR1,    #0x4000
lri $IX1,    #0x41a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16807 (0x41a7)

lri $AR1,    #0x4000
lri $IX1,    #0x41a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16808 (0x41a8)

lri $AR1,    #0x4000
lri $IX1,    #0x41a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16809 (0x41a9)

lri $AR1,    #0x4000
lri $IX1,    #0x41a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16810 (0x41aa)

lri $AR1,    #0x4000
lri $IX1,    #0x41aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16811 (0x41ab)

lri $AR1,    #0x4000
lri $IX1,    #0x41ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16812 (0x41ac)

lri $AR1,    #0x4000
lri $IX1,    #0x41ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16813 (0x41ad)

lri $AR1,    #0x4000
lri $IX1,    #0x41ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16814 (0x41ae)

lri $AR1,    #0x4000
lri $IX1,    #0x41ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16815 (0x41af)

lri $AR1,    #0x4000
lri $IX1,    #0x41af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16816 (0x41b0)

lri $AR1,    #0x4000
lri $IX1,    #0x41b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16817 (0x41b1)

lri $AR1,    #0x4000
lri $IX1,    #0x41b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16818 (0x41b2)

lri $AR1,    #0x4000
lri $IX1,    #0x41b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16819 (0x41b3)

lri $AR1,    #0x4000
lri $IX1,    #0x41b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16820 (0x41b4)

lri $AR1,    #0x4000
lri $IX1,    #0x41b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16821 (0x41b5)

lri $AR1,    #0x4000
lri $IX1,    #0x41b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16822 (0x41b6)

lri $AR1,    #0x4000
lri $IX1,    #0x41b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16823 (0x41b7)

lri $AR1,    #0x4000
lri $IX1,    #0x41b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16824 (0x41b8)

lri $AR1,    #0x4000
lri $IX1,    #0x41b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16825 (0x41b9)

lri $AR1,    #0x4000
lri $IX1,    #0x41b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16826 (0x41ba)

lri $AR1,    #0x4000
lri $IX1,    #0x41ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16827 (0x41bb)

lri $AR1,    #0x4000
lri $IX1,    #0x41bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16828 (0x41bc)

lri $AR1,    #0x4000
lri $IX1,    #0x41bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16829 (0x41bd)

lri $AR1,    #0x4000
lri $IX1,    #0x41bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16830 (0x41be)

lri $AR1,    #0x4000
lri $IX1,    #0x41be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16831 (0x41bf)

lri $AR1,    #0x4000
lri $IX1,    #0x41bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16832 (0x41c0)

lri $AR1,    #0x4000
lri $IX1,    #0x41c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16833 (0x41c1)

lri $AR1,    #0x4000
lri $IX1,    #0x41c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16834 (0x41c2)

lri $AR1,    #0x4000
lri $IX1,    #0x41c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16835 (0x41c3)

lri $AR1,    #0x4000
lri $IX1,    #0x41c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16836 (0x41c4)

lri $AR1,    #0x4000
lri $IX1,    #0x41c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16837 (0x41c5)

lri $AR1,    #0x4000
lri $IX1,    #0x41c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16838 (0x41c6)

lri $AR1,    #0x4000
lri $IX1,    #0x41c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16839 (0x41c7)

lri $AR1,    #0x4000
lri $IX1,    #0x41c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16840 (0x41c8)

lri $AR1,    #0x4000
lri $IX1,    #0x41c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16841 (0x41c9)

lri $AR1,    #0x4000
lri $IX1,    #0x41c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16842 (0x41ca)

lri $AR1,    #0x4000
lri $IX1,    #0x41ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16843 (0x41cb)

lri $AR1,    #0x4000
lri $IX1,    #0x41cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16844 (0x41cc)

lri $AR1,    #0x4000
lri $IX1,    #0x41cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16845 (0x41cd)

lri $AR1,    #0x4000
lri $IX1,    #0x41cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16846 (0x41ce)

lri $AR1,    #0x4000
lri $IX1,    #0x41ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16847 (0x41cf)

lri $AR1,    #0x4000
lri $IX1,    #0x41cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16848 (0x41d0)

lri $AR1,    #0x4000
lri $IX1,    #0x41d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16849 (0x41d1)

lri $AR1,    #0x4000
lri $IX1,    #0x41d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16850 (0x41d2)

lri $AR1,    #0x4000
lri $IX1,    #0x41d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16851 (0x41d3)

lri $AR1,    #0x4000
lri $IX1,    #0x41d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16852 (0x41d4)

lri $AR1,    #0x4000
lri $IX1,    #0x41d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16853 (0x41d5)

lri $AR1,    #0x4000
lri $IX1,    #0x41d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16854 (0x41d6)

lri $AR1,    #0x4000
lri $IX1,    #0x41d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16855 (0x41d7)

lri $AR1,    #0x4000
lri $IX1,    #0x41d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16856 (0x41d8)

lri $AR1,    #0x4000
lri $IX1,    #0x41d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16857 (0x41d9)

lri $AR1,    #0x4000
lri $IX1,    #0x41d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16858 (0x41da)

lri $AR1,    #0x4000
lri $IX1,    #0x41da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16859 (0x41db)

lri $AR1,    #0x4000
lri $IX1,    #0x41db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16860 (0x41dc)

lri $AR1,    #0x4000
lri $IX1,    #0x41dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16861 (0x41dd)

lri $AR1,    #0x4000
lri $IX1,    #0x41dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16862 (0x41de)

lri $AR1,    #0x4000
lri $IX1,    #0x41de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16863 (0x41df)

lri $AR1,    #0x4000
lri $IX1,    #0x41df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16864 (0x41e0)

lri $AR1,    #0x4000
lri $IX1,    #0x41e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16865 (0x41e1)

lri $AR1,    #0x4000
lri $IX1,    #0x41e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16866 (0x41e2)

lri $AR1,    #0x4000
lri $IX1,    #0x41e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16867 (0x41e3)

lri $AR1,    #0x4000
lri $IX1,    #0x41e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16868 (0x41e4)

lri $AR1,    #0x4000
lri $IX1,    #0x41e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16869 (0x41e5)

lri $AR1,    #0x4000
lri $IX1,    #0x41e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16870 (0x41e6)

lri $AR1,    #0x4000
lri $IX1,    #0x41e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16871 (0x41e7)

lri $AR1,    #0x4000
lri $IX1,    #0x41e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16872 (0x41e8)

lri $AR1,    #0x4000
lri $IX1,    #0x41e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16873 (0x41e9)

lri $AR1,    #0x4000
lri $IX1,    #0x41e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16874 (0x41ea)

lri $AR1,    #0x4000
lri $IX1,    #0x41ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16875 (0x41eb)

lri $AR1,    #0x4000
lri $IX1,    #0x41eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16876 (0x41ec)

lri $AR1,    #0x4000
lri $IX1,    #0x41ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16877 (0x41ed)

lri $AR1,    #0x4000
lri $IX1,    #0x41ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16878 (0x41ee)

lri $AR1,    #0x4000
lri $IX1,    #0x41ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16879 (0x41ef)

lri $AR1,    #0x4000
lri $IX1,    #0x41ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16880 (0x41f0)

lri $AR1,    #0x4000
lri $IX1,    #0x41f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16881 (0x41f1)

lri $AR1,    #0x4000
lri $IX1,    #0x41f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16882 (0x41f2)

lri $AR1,    #0x4000
lri $IX1,    #0x41f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16883 (0x41f3)

lri $AR1,    #0x4000
lri $IX1,    #0x41f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16884 (0x41f4)

lri $AR1,    #0x4000
lri $IX1,    #0x41f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16885 (0x41f5)

lri $AR1,    #0x4000
lri $IX1,    #0x41f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16886 (0x41f6)

lri $AR1,    #0x4000
lri $IX1,    #0x41f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16887 (0x41f7)

lri $AR1,    #0x4000
lri $IX1,    #0x41f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16888 (0x41f8)

lri $AR1,    #0x4000
lri $IX1,    #0x41f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16889 (0x41f9)

lri $AR1,    #0x4000
lri $IX1,    #0x41f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16890 (0x41fa)

lri $AR1,    #0x4000
lri $IX1,    #0x41fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16891 (0x41fb)

lri $AR1,    #0x4000
lri $IX1,    #0x41fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16892 (0x41fc)

lri $AR1,    #0x4000
lri $IX1,    #0x41fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16893 (0x41fd)

lri $AR1,    #0x4000
lri $IX1,    #0x41fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16894 (0x41fe)

lri $AR1,    #0x4000
lri $IX1,    #0x41fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16895 (0x41ff)

lri $AR1,    #0x4000
lri $IX1,    #0x41ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16896 (0x4200)

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

