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

lri $AR1,    #0x4000
lri $IX1,    #0x0800
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2049 (0x0801)

lri $AR1,    #0x4000
lri $IX1,    #0x0801
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2050 (0x0802)

lri $AR1,    #0x4000
lri $IX1,    #0x0802
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2051 (0x0803)

lri $AR1,    #0x4000
lri $IX1,    #0x0803
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2052 (0x0804)

lri $AR1,    #0x4000
lri $IX1,    #0x0804
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2053 (0x0805)

lri $AR1,    #0x4000
lri $IX1,    #0x0805
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2054 (0x0806)

lri $AR1,    #0x4000
lri $IX1,    #0x0806
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2055 (0x0807)

lri $AR1,    #0x4000
lri $IX1,    #0x0807
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2056 (0x0808)

lri $AR1,    #0x4000
lri $IX1,    #0x0808
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2057 (0x0809)

lri $AR1,    #0x4000
lri $IX1,    #0x0809
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2058 (0x080a)

lri $AR1,    #0x4000
lri $IX1,    #0x080a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2059 (0x080b)

lri $AR1,    #0x4000
lri $IX1,    #0x080b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2060 (0x080c)

lri $AR1,    #0x4000
lri $IX1,    #0x080c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2061 (0x080d)

lri $AR1,    #0x4000
lri $IX1,    #0x080d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2062 (0x080e)

lri $AR1,    #0x4000
lri $IX1,    #0x080e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2063 (0x080f)

lri $AR1,    #0x4000
lri $IX1,    #0x080f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2064 (0x0810)

lri $AR1,    #0x4000
lri $IX1,    #0x0810
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2065 (0x0811)

lri $AR1,    #0x4000
lri $IX1,    #0x0811
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2066 (0x0812)

lri $AR1,    #0x4000
lri $IX1,    #0x0812
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2067 (0x0813)

lri $AR1,    #0x4000
lri $IX1,    #0x0813
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2068 (0x0814)

lri $AR1,    #0x4000
lri $IX1,    #0x0814
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2069 (0x0815)

lri $AR1,    #0x4000
lri $IX1,    #0x0815
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2070 (0x0816)

lri $AR1,    #0x4000
lri $IX1,    #0x0816
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2071 (0x0817)

lri $AR1,    #0x4000
lri $IX1,    #0x0817
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2072 (0x0818)

lri $AR1,    #0x4000
lri $IX1,    #0x0818
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2073 (0x0819)

lri $AR1,    #0x4000
lri $IX1,    #0x0819
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2074 (0x081a)

lri $AR1,    #0x4000
lri $IX1,    #0x081a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2075 (0x081b)

lri $AR1,    #0x4000
lri $IX1,    #0x081b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2076 (0x081c)

lri $AR1,    #0x4000
lri $IX1,    #0x081c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2077 (0x081d)

lri $AR1,    #0x4000
lri $IX1,    #0x081d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2078 (0x081e)

lri $AR1,    #0x4000
lri $IX1,    #0x081e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2079 (0x081f)

lri $AR1,    #0x4000
lri $IX1,    #0x081f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2080 (0x0820)

lri $AR1,    #0x4000
lri $IX1,    #0x0820
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2081 (0x0821)

lri $AR1,    #0x4000
lri $IX1,    #0x0821
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2082 (0x0822)

lri $AR1,    #0x4000
lri $IX1,    #0x0822
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2083 (0x0823)

lri $AR1,    #0x4000
lri $IX1,    #0x0823
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2084 (0x0824)

lri $AR1,    #0x4000
lri $IX1,    #0x0824
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2085 (0x0825)

lri $AR1,    #0x4000
lri $IX1,    #0x0825
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2086 (0x0826)

lri $AR1,    #0x4000
lri $IX1,    #0x0826
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2087 (0x0827)

lri $AR1,    #0x4000
lri $IX1,    #0x0827
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2088 (0x0828)

lri $AR1,    #0x4000
lri $IX1,    #0x0828
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2089 (0x0829)

lri $AR1,    #0x4000
lri $IX1,    #0x0829
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2090 (0x082a)

lri $AR1,    #0x4000
lri $IX1,    #0x082a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2091 (0x082b)

lri $AR1,    #0x4000
lri $IX1,    #0x082b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2092 (0x082c)

lri $AR1,    #0x4000
lri $IX1,    #0x082c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2093 (0x082d)

lri $AR1,    #0x4000
lri $IX1,    #0x082d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2094 (0x082e)

lri $AR1,    #0x4000
lri $IX1,    #0x082e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2095 (0x082f)

lri $AR1,    #0x4000
lri $IX1,    #0x082f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2096 (0x0830)

lri $AR1,    #0x4000
lri $IX1,    #0x0830
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2097 (0x0831)

lri $AR1,    #0x4000
lri $IX1,    #0x0831
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2098 (0x0832)

lri $AR1,    #0x4000
lri $IX1,    #0x0832
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2099 (0x0833)

lri $AR1,    #0x4000
lri $IX1,    #0x0833
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2100 (0x0834)

lri $AR1,    #0x4000
lri $IX1,    #0x0834
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2101 (0x0835)

lri $AR1,    #0x4000
lri $IX1,    #0x0835
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2102 (0x0836)

lri $AR1,    #0x4000
lri $IX1,    #0x0836
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2103 (0x0837)

lri $AR1,    #0x4000
lri $IX1,    #0x0837
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2104 (0x0838)

lri $AR1,    #0x4000
lri $IX1,    #0x0838
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2105 (0x0839)

lri $AR1,    #0x4000
lri $IX1,    #0x0839
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2106 (0x083a)

lri $AR1,    #0x4000
lri $IX1,    #0x083a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2107 (0x083b)

lri $AR1,    #0x4000
lri $IX1,    #0x083b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2108 (0x083c)

lri $AR1,    #0x4000
lri $IX1,    #0x083c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2109 (0x083d)

lri $AR1,    #0x4000
lri $IX1,    #0x083d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2110 (0x083e)

lri $AR1,    #0x4000
lri $IX1,    #0x083e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2111 (0x083f)

lri $AR1,    #0x4000
lri $IX1,    #0x083f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2112 (0x0840)

lri $AR1,    #0x4000
lri $IX1,    #0x0840
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2113 (0x0841)

lri $AR1,    #0x4000
lri $IX1,    #0x0841
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2114 (0x0842)

lri $AR1,    #0x4000
lri $IX1,    #0x0842
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2115 (0x0843)

lri $AR1,    #0x4000
lri $IX1,    #0x0843
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2116 (0x0844)

lri $AR1,    #0x4000
lri $IX1,    #0x0844
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2117 (0x0845)

lri $AR1,    #0x4000
lri $IX1,    #0x0845
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2118 (0x0846)

lri $AR1,    #0x4000
lri $IX1,    #0x0846
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2119 (0x0847)

lri $AR1,    #0x4000
lri $IX1,    #0x0847
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2120 (0x0848)

lri $AR1,    #0x4000
lri $IX1,    #0x0848
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2121 (0x0849)

lri $AR1,    #0x4000
lri $IX1,    #0x0849
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2122 (0x084a)

lri $AR1,    #0x4000
lri $IX1,    #0x084a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2123 (0x084b)

lri $AR1,    #0x4000
lri $IX1,    #0x084b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2124 (0x084c)

lri $AR1,    #0x4000
lri $IX1,    #0x084c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2125 (0x084d)

lri $AR1,    #0x4000
lri $IX1,    #0x084d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2126 (0x084e)

lri $AR1,    #0x4000
lri $IX1,    #0x084e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2127 (0x084f)

lri $AR1,    #0x4000
lri $IX1,    #0x084f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2128 (0x0850)

lri $AR1,    #0x4000
lri $IX1,    #0x0850
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2129 (0x0851)

lri $AR1,    #0x4000
lri $IX1,    #0x0851
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2130 (0x0852)

lri $AR1,    #0x4000
lri $IX1,    #0x0852
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2131 (0x0853)

lri $AR1,    #0x4000
lri $IX1,    #0x0853
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2132 (0x0854)

lri $AR1,    #0x4000
lri $IX1,    #0x0854
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2133 (0x0855)

lri $AR1,    #0x4000
lri $IX1,    #0x0855
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2134 (0x0856)

lri $AR1,    #0x4000
lri $IX1,    #0x0856
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2135 (0x0857)

lri $AR1,    #0x4000
lri $IX1,    #0x0857
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2136 (0x0858)

lri $AR1,    #0x4000
lri $IX1,    #0x0858
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2137 (0x0859)

lri $AR1,    #0x4000
lri $IX1,    #0x0859
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2138 (0x085a)

lri $AR1,    #0x4000
lri $IX1,    #0x085a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2139 (0x085b)

lri $AR1,    #0x4000
lri $IX1,    #0x085b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2140 (0x085c)

lri $AR1,    #0x4000
lri $IX1,    #0x085c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2141 (0x085d)

lri $AR1,    #0x4000
lri $IX1,    #0x085d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2142 (0x085e)

lri $AR1,    #0x4000
lri $IX1,    #0x085e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2143 (0x085f)

lri $AR1,    #0x4000
lri $IX1,    #0x085f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2144 (0x0860)

lri $AR1,    #0x4000
lri $IX1,    #0x0860
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2145 (0x0861)

lri $AR1,    #0x4000
lri $IX1,    #0x0861
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2146 (0x0862)

lri $AR1,    #0x4000
lri $IX1,    #0x0862
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2147 (0x0863)

lri $AR1,    #0x4000
lri $IX1,    #0x0863
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2148 (0x0864)

lri $AR1,    #0x4000
lri $IX1,    #0x0864
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2149 (0x0865)

lri $AR1,    #0x4000
lri $IX1,    #0x0865
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2150 (0x0866)

lri $AR1,    #0x4000
lri $IX1,    #0x0866
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2151 (0x0867)

lri $AR1,    #0x4000
lri $IX1,    #0x0867
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2152 (0x0868)

lri $AR1,    #0x4000
lri $IX1,    #0x0868
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2153 (0x0869)

lri $AR1,    #0x4000
lri $IX1,    #0x0869
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2154 (0x086a)

lri $AR1,    #0x4000
lri $IX1,    #0x086a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2155 (0x086b)

lri $AR1,    #0x4000
lri $IX1,    #0x086b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2156 (0x086c)

lri $AR1,    #0x4000
lri $IX1,    #0x086c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2157 (0x086d)

lri $AR1,    #0x4000
lri $IX1,    #0x086d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2158 (0x086e)

lri $AR1,    #0x4000
lri $IX1,    #0x086e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2159 (0x086f)

lri $AR1,    #0x4000
lri $IX1,    #0x086f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2160 (0x0870)

lri $AR1,    #0x4000
lri $IX1,    #0x0870
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2161 (0x0871)

lri $AR1,    #0x4000
lri $IX1,    #0x0871
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2162 (0x0872)

lri $AR1,    #0x4000
lri $IX1,    #0x0872
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2163 (0x0873)

lri $AR1,    #0x4000
lri $IX1,    #0x0873
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2164 (0x0874)

lri $AR1,    #0x4000
lri $IX1,    #0x0874
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2165 (0x0875)

lri $AR1,    #0x4000
lri $IX1,    #0x0875
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2166 (0x0876)

lri $AR1,    #0x4000
lri $IX1,    #0x0876
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2167 (0x0877)

lri $AR1,    #0x4000
lri $IX1,    #0x0877
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2168 (0x0878)

lri $AR1,    #0x4000
lri $IX1,    #0x0878
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2169 (0x0879)

lri $AR1,    #0x4000
lri $IX1,    #0x0879
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2170 (0x087a)

lri $AR1,    #0x4000
lri $IX1,    #0x087a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2171 (0x087b)

lri $AR1,    #0x4000
lri $IX1,    #0x087b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2172 (0x087c)

lri $AR1,    #0x4000
lri $IX1,    #0x087c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2173 (0x087d)

lri $AR1,    #0x4000
lri $IX1,    #0x087d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2174 (0x087e)

lri $AR1,    #0x4000
lri $IX1,    #0x087e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2175 (0x087f)

lri $AR1,    #0x4000
lri $IX1,    #0x087f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2176 (0x0880)

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

