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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51841 (0xca81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51842 (0xca82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51843 (0xca83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51844 (0xca84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51845 (0xca85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51846 (0xca86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51847 (0xca87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51848 (0xca88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51849 (0xca89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51850 (0xca8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51851 (0xca8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51852 (0xca8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51853 (0xca8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51854 (0xca8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51855 (0xca8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51856 (0xca90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51857 (0xca91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51858 (0xca92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51859 (0xca93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51860 (0xca94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51861 (0xca95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51862 (0xca96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51863 (0xca97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51864 (0xca98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51865 (0xca99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51866 (0xca9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51867 (0xca9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51868 (0xca9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51869 (0xca9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51870 (0xca9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51871 (0xca9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51872 (0xcaa0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51873 (0xcaa1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51874 (0xcaa2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51875 (0xcaa3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51876 (0xcaa4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51877 (0xcaa5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51878 (0xcaa6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51879 (0xcaa7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51880 (0xcaa8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51881 (0xcaa9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51882 (0xcaaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51883 (0xcaab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51884 (0xcaac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51885 (0xcaad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51886 (0xcaae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51887 (0xcaaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51888 (0xcab0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51889 (0xcab1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51890 (0xcab2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51891 (0xcab3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51892 (0xcab4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51893 (0xcab5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51894 (0xcab6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51895 (0xcab7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51896 (0xcab8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51897 (0xcab9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51898 (0xcaba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51899 (0xcabb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51900 (0xcabc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51901 (0xcabd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51902 (0xcabe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51903 (0xcabf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51904 (0xcac0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51905 (0xcac1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51906 (0xcac2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51907 (0xcac3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51908 (0xcac4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51909 (0xcac5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51910 (0xcac6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51911 (0xcac7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51912 (0xcac8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51913 (0xcac9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51914 (0xcaca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51915 (0xcacb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51916 (0xcacc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51917 (0xcacd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51918 (0xcace)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51919 (0xcacf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51920 (0xcad0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51921 (0xcad1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51922 (0xcad2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51923 (0xcad3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51924 (0xcad4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51925 (0xcad5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51926 (0xcad6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51927 (0xcad7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51928 (0xcad8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51929 (0xcad9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51930 (0xcada)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51931 (0xcadb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51932 (0xcadc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51933 (0xcadd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51934 (0xcade)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51935 (0xcadf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51936 (0xcae0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51937 (0xcae1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51938 (0xcae2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51939 (0xcae3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51940 (0xcae4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51941 (0xcae5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51942 (0xcae6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51943 (0xcae7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51944 (0xcae8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51945 (0xcae9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51946 (0xcaea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51947 (0xcaeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51948 (0xcaec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51949 (0xcaed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51950 (0xcaee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51951 (0xcaef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51952 (0xcaf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51953 (0xcaf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51954 (0xcaf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51955 (0xcaf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51956 (0xcaf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51957 (0xcaf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51958 (0xcaf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51959 (0xcaf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51960 (0xcaf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51961 (0xcaf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51962 (0xcafa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51963 (0xcafb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51964 (0xcafc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51965 (0xcafd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51966 (0xcafe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51967 (0xcaff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51968 (0xcb00)

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