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

lri $AR1,    #0x4000
lri $IX1,    #0x7880
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30849 (0x7881)

lri $AR1,    #0x4000
lri $IX1,    #0x7881
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30850 (0x7882)

lri $AR1,    #0x4000
lri $IX1,    #0x7882
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30851 (0x7883)

lri $AR1,    #0x4000
lri $IX1,    #0x7883
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30852 (0x7884)

lri $AR1,    #0x4000
lri $IX1,    #0x7884
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30853 (0x7885)

lri $AR1,    #0x4000
lri $IX1,    #0x7885
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30854 (0x7886)

lri $AR1,    #0x4000
lri $IX1,    #0x7886
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30855 (0x7887)

lri $AR1,    #0x4000
lri $IX1,    #0x7887
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30856 (0x7888)

lri $AR1,    #0x4000
lri $IX1,    #0x7888
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30857 (0x7889)

lri $AR1,    #0x4000
lri $IX1,    #0x7889
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30858 (0x788a)

lri $AR1,    #0x4000
lri $IX1,    #0x788a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30859 (0x788b)

lri $AR1,    #0x4000
lri $IX1,    #0x788b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30860 (0x788c)

lri $AR1,    #0x4000
lri $IX1,    #0x788c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30861 (0x788d)

lri $AR1,    #0x4000
lri $IX1,    #0x788d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30862 (0x788e)

lri $AR1,    #0x4000
lri $IX1,    #0x788e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30863 (0x788f)

lri $AR1,    #0x4000
lri $IX1,    #0x788f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30864 (0x7890)

lri $AR1,    #0x4000
lri $IX1,    #0x7890
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30865 (0x7891)

lri $AR1,    #0x4000
lri $IX1,    #0x7891
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30866 (0x7892)

lri $AR1,    #0x4000
lri $IX1,    #0x7892
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30867 (0x7893)

lri $AR1,    #0x4000
lri $IX1,    #0x7893
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30868 (0x7894)

lri $AR1,    #0x4000
lri $IX1,    #0x7894
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30869 (0x7895)

lri $AR1,    #0x4000
lri $IX1,    #0x7895
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30870 (0x7896)

lri $AR1,    #0x4000
lri $IX1,    #0x7896
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30871 (0x7897)

lri $AR1,    #0x4000
lri $IX1,    #0x7897
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30872 (0x7898)

lri $AR1,    #0x4000
lri $IX1,    #0x7898
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30873 (0x7899)

lri $AR1,    #0x4000
lri $IX1,    #0x7899
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30874 (0x789a)

lri $AR1,    #0x4000
lri $IX1,    #0x789a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30875 (0x789b)

lri $AR1,    #0x4000
lri $IX1,    #0x789b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30876 (0x789c)

lri $AR1,    #0x4000
lri $IX1,    #0x789c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30877 (0x789d)

lri $AR1,    #0x4000
lri $IX1,    #0x789d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30878 (0x789e)

lri $AR1,    #0x4000
lri $IX1,    #0x789e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30879 (0x789f)

lri $AR1,    #0x4000
lri $IX1,    #0x789f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30880 (0x78a0)

lri $AR1,    #0x4000
lri $IX1,    #0x78a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30881 (0x78a1)

lri $AR1,    #0x4000
lri $IX1,    #0x78a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30882 (0x78a2)

lri $AR1,    #0x4000
lri $IX1,    #0x78a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30883 (0x78a3)

lri $AR1,    #0x4000
lri $IX1,    #0x78a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30884 (0x78a4)

lri $AR1,    #0x4000
lri $IX1,    #0x78a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30885 (0x78a5)

lri $AR1,    #0x4000
lri $IX1,    #0x78a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30886 (0x78a6)

lri $AR1,    #0x4000
lri $IX1,    #0x78a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30887 (0x78a7)

lri $AR1,    #0x4000
lri $IX1,    #0x78a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30888 (0x78a8)

lri $AR1,    #0x4000
lri $IX1,    #0x78a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30889 (0x78a9)

lri $AR1,    #0x4000
lri $IX1,    #0x78a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30890 (0x78aa)

lri $AR1,    #0x4000
lri $IX1,    #0x78aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30891 (0x78ab)

lri $AR1,    #0x4000
lri $IX1,    #0x78ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30892 (0x78ac)

lri $AR1,    #0x4000
lri $IX1,    #0x78ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30893 (0x78ad)

lri $AR1,    #0x4000
lri $IX1,    #0x78ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30894 (0x78ae)

lri $AR1,    #0x4000
lri $IX1,    #0x78ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30895 (0x78af)

lri $AR1,    #0x4000
lri $IX1,    #0x78af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30896 (0x78b0)

lri $AR1,    #0x4000
lri $IX1,    #0x78b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30897 (0x78b1)

lri $AR1,    #0x4000
lri $IX1,    #0x78b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30898 (0x78b2)

lri $AR1,    #0x4000
lri $IX1,    #0x78b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30899 (0x78b3)

lri $AR1,    #0x4000
lri $IX1,    #0x78b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30900 (0x78b4)

lri $AR1,    #0x4000
lri $IX1,    #0x78b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30901 (0x78b5)

lri $AR1,    #0x4000
lri $IX1,    #0x78b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30902 (0x78b6)

lri $AR1,    #0x4000
lri $IX1,    #0x78b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30903 (0x78b7)

lri $AR1,    #0x4000
lri $IX1,    #0x78b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30904 (0x78b8)

lri $AR1,    #0x4000
lri $IX1,    #0x78b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30905 (0x78b9)

lri $AR1,    #0x4000
lri $IX1,    #0x78b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30906 (0x78ba)

lri $AR1,    #0x4000
lri $IX1,    #0x78ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30907 (0x78bb)

lri $AR1,    #0x4000
lri $IX1,    #0x78bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30908 (0x78bc)

lri $AR1,    #0x4000
lri $IX1,    #0x78bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30909 (0x78bd)

lri $AR1,    #0x4000
lri $IX1,    #0x78bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30910 (0x78be)

lri $AR1,    #0x4000
lri $IX1,    #0x78be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30911 (0x78bf)

lri $AR1,    #0x4000
lri $IX1,    #0x78bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30912 (0x78c0)

lri $AR1,    #0x4000
lri $IX1,    #0x78c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30913 (0x78c1)

lri $AR1,    #0x4000
lri $IX1,    #0x78c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30914 (0x78c2)

lri $AR1,    #0x4000
lri $IX1,    #0x78c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30915 (0x78c3)

lri $AR1,    #0x4000
lri $IX1,    #0x78c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30916 (0x78c4)

lri $AR1,    #0x4000
lri $IX1,    #0x78c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30917 (0x78c5)

lri $AR1,    #0x4000
lri $IX1,    #0x78c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30918 (0x78c6)

lri $AR1,    #0x4000
lri $IX1,    #0x78c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30919 (0x78c7)

lri $AR1,    #0x4000
lri $IX1,    #0x78c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30920 (0x78c8)

lri $AR1,    #0x4000
lri $IX1,    #0x78c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30921 (0x78c9)

lri $AR1,    #0x4000
lri $IX1,    #0x78c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30922 (0x78ca)

lri $AR1,    #0x4000
lri $IX1,    #0x78ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30923 (0x78cb)

lri $AR1,    #0x4000
lri $IX1,    #0x78cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30924 (0x78cc)

lri $AR1,    #0x4000
lri $IX1,    #0x78cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30925 (0x78cd)

lri $AR1,    #0x4000
lri $IX1,    #0x78cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30926 (0x78ce)

lri $AR1,    #0x4000
lri $IX1,    #0x78ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30927 (0x78cf)

lri $AR1,    #0x4000
lri $IX1,    #0x78cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30928 (0x78d0)

lri $AR1,    #0x4000
lri $IX1,    #0x78d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30929 (0x78d1)

lri $AR1,    #0x4000
lri $IX1,    #0x78d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30930 (0x78d2)

lri $AR1,    #0x4000
lri $IX1,    #0x78d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30931 (0x78d3)

lri $AR1,    #0x4000
lri $IX1,    #0x78d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30932 (0x78d4)

lri $AR1,    #0x4000
lri $IX1,    #0x78d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30933 (0x78d5)

lri $AR1,    #0x4000
lri $IX1,    #0x78d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30934 (0x78d6)

lri $AR1,    #0x4000
lri $IX1,    #0x78d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30935 (0x78d7)

lri $AR1,    #0x4000
lri $IX1,    #0x78d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30936 (0x78d8)

lri $AR1,    #0x4000
lri $IX1,    #0x78d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30937 (0x78d9)

lri $AR1,    #0x4000
lri $IX1,    #0x78d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30938 (0x78da)

lri $AR1,    #0x4000
lri $IX1,    #0x78da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30939 (0x78db)

lri $AR1,    #0x4000
lri $IX1,    #0x78db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30940 (0x78dc)

lri $AR1,    #0x4000
lri $IX1,    #0x78dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30941 (0x78dd)

lri $AR1,    #0x4000
lri $IX1,    #0x78dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30942 (0x78de)

lri $AR1,    #0x4000
lri $IX1,    #0x78de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30943 (0x78df)

lri $AR1,    #0x4000
lri $IX1,    #0x78df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30944 (0x78e0)

lri $AR1,    #0x4000
lri $IX1,    #0x78e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30945 (0x78e1)

lri $AR1,    #0x4000
lri $IX1,    #0x78e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30946 (0x78e2)

lri $AR1,    #0x4000
lri $IX1,    #0x78e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30947 (0x78e3)

lri $AR1,    #0x4000
lri $IX1,    #0x78e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30948 (0x78e4)

lri $AR1,    #0x4000
lri $IX1,    #0x78e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30949 (0x78e5)

lri $AR1,    #0x4000
lri $IX1,    #0x78e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30950 (0x78e6)

lri $AR1,    #0x4000
lri $IX1,    #0x78e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30951 (0x78e7)

lri $AR1,    #0x4000
lri $IX1,    #0x78e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30952 (0x78e8)

lri $AR1,    #0x4000
lri $IX1,    #0x78e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30953 (0x78e9)

lri $AR1,    #0x4000
lri $IX1,    #0x78e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30954 (0x78ea)

lri $AR1,    #0x4000
lri $IX1,    #0x78ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30955 (0x78eb)

lri $AR1,    #0x4000
lri $IX1,    #0x78eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30956 (0x78ec)

lri $AR1,    #0x4000
lri $IX1,    #0x78ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30957 (0x78ed)

lri $AR1,    #0x4000
lri $IX1,    #0x78ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30958 (0x78ee)

lri $AR1,    #0x4000
lri $IX1,    #0x78ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30959 (0x78ef)

lri $AR1,    #0x4000
lri $IX1,    #0x78ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30960 (0x78f0)

lri $AR1,    #0x4000
lri $IX1,    #0x78f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30961 (0x78f1)

lri $AR1,    #0x4000
lri $IX1,    #0x78f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30962 (0x78f2)

lri $AR1,    #0x4000
lri $IX1,    #0x78f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30963 (0x78f3)

lri $AR1,    #0x4000
lri $IX1,    #0x78f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30964 (0x78f4)

lri $AR1,    #0x4000
lri $IX1,    #0x78f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30965 (0x78f5)

lri $AR1,    #0x4000
lri $IX1,    #0x78f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30966 (0x78f6)

lri $AR1,    #0x4000
lri $IX1,    #0x78f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30967 (0x78f7)

lri $AR1,    #0x4000
lri $IX1,    #0x78f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30968 (0x78f8)

lri $AR1,    #0x4000
lri $IX1,    #0x78f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30969 (0x78f9)

lri $AR1,    #0x4000
lri $IX1,    #0x78f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30970 (0x78fa)

lri $AR1,    #0x4000
lri $IX1,    #0x78fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30971 (0x78fb)

lri $AR1,    #0x4000
lri $IX1,    #0x78fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30972 (0x78fc)

lri $AR1,    #0x4000
lri $IX1,    #0x78fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30973 (0x78fd)

lri $AR1,    #0x4000
lri $IX1,    #0x78fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30974 (0x78fe)

lri $AR1,    #0x4000
lri $IX1,    #0x78fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30975 (0x78ff)

lri $AR1,    #0x4000
lri $IX1,    #0x78ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30976 (0x7900)

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

