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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca80
cw 0x9
call send_back  ; 51841 (0xca81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca81
cw 0x9
call send_back  ; 51842 (0xca82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca82
cw 0x9
call send_back  ; 51843 (0xca83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca83
cw 0x9
call send_back  ; 51844 (0xca84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca84
cw 0x9
call send_back  ; 51845 (0xca85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca85
cw 0x9
call send_back  ; 51846 (0xca86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca86
cw 0x9
call send_back  ; 51847 (0xca87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca87
cw 0x9
call send_back  ; 51848 (0xca88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca88
cw 0x9
call send_back  ; 51849 (0xca89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca89
cw 0x9
call send_back  ; 51850 (0xca8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca8a
cw 0x9
call send_back  ; 51851 (0xca8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca8b
cw 0x9
call send_back  ; 51852 (0xca8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca8c
cw 0x9
call send_back  ; 51853 (0xca8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca8d
cw 0x9
call send_back  ; 51854 (0xca8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca8e
cw 0x9
call send_back  ; 51855 (0xca8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca8f
cw 0x9
call send_back  ; 51856 (0xca90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca90
cw 0x9
call send_back  ; 51857 (0xca91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca91
cw 0x9
call send_back  ; 51858 (0xca92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca92
cw 0x9
call send_back  ; 51859 (0xca93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca93
cw 0x9
call send_back  ; 51860 (0xca94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca94
cw 0x9
call send_back  ; 51861 (0xca95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca95
cw 0x9
call send_back  ; 51862 (0xca96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca96
cw 0x9
call send_back  ; 51863 (0xca97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca97
cw 0x9
call send_back  ; 51864 (0xca98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca98
cw 0x9
call send_back  ; 51865 (0xca99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca99
cw 0x9
call send_back  ; 51866 (0xca9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca9a
cw 0x9
call send_back  ; 51867 (0xca9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca9b
cw 0x9
call send_back  ; 51868 (0xca9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca9c
cw 0x9
call send_back  ; 51869 (0xca9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca9d
cw 0x9
call send_back  ; 51870 (0xca9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca9e
cw 0x9
call send_back  ; 51871 (0xca9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xca9f
cw 0x9
call send_back  ; 51872 (0xcaa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa0
cw 0x9
call send_back  ; 51873 (0xcaa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa1
cw 0x9
call send_back  ; 51874 (0xcaa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa2
cw 0x9
call send_back  ; 51875 (0xcaa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa3
cw 0x9
call send_back  ; 51876 (0xcaa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa4
cw 0x9
call send_back  ; 51877 (0xcaa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa5
cw 0x9
call send_back  ; 51878 (0xcaa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa6
cw 0x9
call send_back  ; 51879 (0xcaa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa7
cw 0x9
call send_back  ; 51880 (0xcaa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa8
cw 0x9
call send_back  ; 51881 (0xcaa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaa9
cw 0x9
call send_back  ; 51882 (0xcaaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaaa
cw 0x9
call send_back  ; 51883 (0xcaab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaab
cw 0x9
call send_back  ; 51884 (0xcaac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaac
cw 0x9
call send_back  ; 51885 (0xcaad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaad
cw 0x9
call send_back  ; 51886 (0xcaae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaae
cw 0x9
call send_back  ; 51887 (0xcaaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaaf
cw 0x9
call send_back  ; 51888 (0xcab0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab0
cw 0x9
call send_back  ; 51889 (0xcab1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab1
cw 0x9
call send_back  ; 51890 (0xcab2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab2
cw 0x9
call send_back  ; 51891 (0xcab3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab3
cw 0x9
call send_back  ; 51892 (0xcab4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab4
cw 0x9
call send_back  ; 51893 (0xcab5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab5
cw 0x9
call send_back  ; 51894 (0xcab6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab6
cw 0x9
call send_back  ; 51895 (0xcab7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab7
cw 0x9
call send_back  ; 51896 (0xcab8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab8
cw 0x9
call send_back  ; 51897 (0xcab9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcab9
cw 0x9
call send_back  ; 51898 (0xcaba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaba
cw 0x9
call send_back  ; 51899 (0xcabb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcabb
cw 0x9
call send_back  ; 51900 (0xcabc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcabc
cw 0x9
call send_back  ; 51901 (0xcabd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcabd
cw 0x9
call send_back  ; 51902 (0xcabe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcabe
cw 0x9
call send_back  ; 51903 (0xcabf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcabf
cw 0x9
call send_back  ; 51904 (0xcac0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac0
cw 0x9
call send_back  ; 51905 (0xcac1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac1
cw 0x9
call send_back  ; 51906 (0xcac2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac2
cw 0x9
call send_back  ; 51907 (0xcac3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac3
cw 0x9
call send_back  ; 51908 (0xcac4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac4
cw 0x9
call send_back  ; 51909 (0xcac5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac5
cw 0x9
call send_back  ; 51910 (0xcac6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac6
cw 0x9
call send_back  ; 51911 (0xcac7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac7
cw 0x9
call send_back  ; 51912 (0xcac8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac8
cw 0x9
call send_back  ; 51913 (0xcac9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcac9
cw 0x9
call send_back  ; 51914 (0xcaca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaca
cw 0x9
call send_back  ; 51915 (0xcacb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcacb
cw 0x9
call send_back  ; 51916 (0xcacc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcacc
cw 0x9
call send_back  ; 51917 (0xcacd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcacd
cw 0x9
call send_back  ; 51918 (0xcace)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcace
cw 0x9
call send_back  ; 51919 (0xcacf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcacf
cw 0x9
call send_back  ; 51920 (0xcad0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad0
cw 0x9
call send_back  ; 51921 (0xcad1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad1
cw 0x9
call send_back  ; 51922 (0xcad2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad2
cw 0x9
call send_back  ; 51923 (0xcad3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad3
cw 0x9
call send_back  ; 51924 (0xcad4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad4
cw 0x9
call send_back  ; 51925 (0xcad5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad5
cw 0x9
call send_back  ; 51926 (0xcad6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad6
cw 0x9
call send_back  ; 51927 (0xcad7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad7
cw 0x9
call send_back  ; 51928 (0xcad8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad8
cw 0x9
call send_back  ; 51929 (0xcad9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcad9
cw 0x9
call send_back  ; 51930 (0xcada)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcada
cw 0x9
call send_back  ; 51931 (0xcadb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcadb
cw 0x9
call send_back  ; 51932 (0xcadc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcadc
cw 0x9
call send_back  ; 51933 (0xcadd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcadd
cw 0x9
call send_back  ; 51934 (0xcade)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcade
cw 0x9
call send_back  ; 51935 (0xcadf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcadf
cw 0x9
call send_back  ; 51936 (0xcae0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae0
cw 0x9
call send_back  ; 51937 (0xcae1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae1
cw 0x9
call send_back  ; 51938 (0xcae2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae2
cw 0x9
call send_back  ; 51939 (0xcae3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae3
cw 0x9
call send_back  ; 51940 (0xcae4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae4
cw 0x9
call send_back  ; 51941 (0xcae5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae5
cw 0x9
call send_back  ; 51942 (0xcae6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae6
cw 0x9
call send_back  ; 51943 (0xcae7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae7
cw 0x9
call send_back  ; 51944 (0xcae8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae8
cw 0x9
call send_back  ; 51945 (0xcae9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcae9
cw 0x9
call send_back  ; 51946 (0xcaea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaea
cw 0x9
call send_back  ; 51947 (0xcaeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaeb
cw 0x9
call send_back  ; 51948 (0xcaec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaec
cw 0x9
call send_back  ; 51949 (0xcaed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaed
cw 0x9
call send_back  ; 51950 (0xcaee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaee
cw 0x9
call send_back  ; 51951 (0xcaef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaef
cw 0x9
call send_back  ; 51952 (0xcaf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf0
cw 0x9
call send_back  ; 51953 (0xcaf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf1
cw 0x9
call send_back  ; 51954 (0xcaf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf2
cw 0x9
call send_back  ; 51955 (0xcaf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf3
cw 0x9
call send_back  ; 51956 (0xcaf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf4
cw 0x9
call send_back  ; 51957 (0xcaf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf5
cw 0x9
call send_back  ; 51958 (0xcaf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf6
cw 0x9
call send_back  ; 51959 (0xcaf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf7
cw 0x9
call send_back  ; 51960 (0xcaf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf8
cw 0x9
call send_back  ; 51961 (0xcaf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaf9
cw 0x9
call send_back  ; 51962 (0xcafa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcafa
cw 0x9
call send_back  ; 51963 (0xcafb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcafb
cw 0x9
call send_back  ; 51964 (0xcafc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcafc
cw 0x9
call send_back  ; 51965 (0xcafd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcafd
cw 0x9
call send_back  ; 51966 (0xcafe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcafe
cw 0x9
call send_back  ; 51967 (0xcaff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcaff
cw 0x9
call send_back  ; 51968 (0xcb00)

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

