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

lri $AR1,    #0x4000
lri $IX1,    #0x1800
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6145 (0x1801)

lri $AR1,    #0x4000
lri $IX1,    #0x1801
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6146 (0x1802)

lri $AR1,    #0x4000
lri $IX1,    #0x1802
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6147 (0x1803)

lri $AR1,    #0x4000
lri $IX1,    #0x1803
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6148 (0x1804)

lri $AR1,    #0x4000
lri $IX1,    #0x1804
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6149 (0x1805)

lri $AR1,    #0x4000
lri $IX1,    #0x1805
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6150 (0x1806)

lri $AR1,    #0x4000
lri $IX1,    #0x1806
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6151 (0x1807)

lri $AR1,    #0x4000
lri $IX1,    #0x1807
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6152 (0x1808)

lri $AR1,    #0x4000
lri $IX1,    #0x1808
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6153 (0x1809)

lri $AR1,    #0x4000
lri $IX1,    #0x1809
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6154 (0x180a)

lri $AR1,    #0x4000
lri $IX1,    #0x180a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6155 (0x180b)

lri $AR1,    #0x4000
lri $IX1,    #0x180b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6156 (0x180c)

lri $AR1,    #0x4000
lri $IX1,    #0x180c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6157 (0x180d)

lri $AR1,    #0x4000
lri $IX1,    #0x180d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6158 (0x180e)

lri $AR1,    #0x4000
lri $IX1,    #0x180e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6159 (0x180f)

lri $AR1,    #0x4000
lri $IX1,    #0x180f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6160 (0x1810)

lri $AR1,    #0x4000
lri $IX1,    #0x1810
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6161 (0x1811)

lri $AR1,    #0x4000
lri $IX1,    #0x1811
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6162 (0x1812)

lri $AR1,    #0x4000
lri $IX1,    #0x1812
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6163 (0x1813)

lri $AR1,    #0x4000
lri $IX1,    #0x1813
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6164 (0x1814)

lri $AR1,    #0x4000
lri $IX1,    #0x1814
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6165 (0x1815)

lri $AR1,    #0x4000
lri $IX1,    #0x1815
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6166 (0x1816)

lri $AR1,    #0x4000
lri $IX1,    #0x1816
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6167 (0x1817)

lri $AR1,    #0x4000
lri $IX1,    #0x1817
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6168 (0x1818)

lri $AR1,    #0x4000
lri $IX1,    #0x1818
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6169 (0x1819)

lri $AR1,    #0x4000
lri $IX1,    #0x1819
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6170 (0x181a)

lri $AR1,    #0x4000
lri $IX1,    #0x181a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6171 (0x181b)

lri $AR1,    #0x4000
lri $IX1,    #0x181b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6172 (0x181c)

lri $AR1,    #0x4000
lri $IX1,    #0x181c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6173 (0x181d)

lri $AR1,    #0x4000
lri $IX1,    #0x181d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6174 (0x181e)

lri $AR1,    #0x4000
lri $IX1,    #0x181e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6175 (0x181f)

lri $AR1,    #0x4000
lri $IX1,    #0x181f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6176 (0x1820)

lri $AR1,    #0x4000
lri $IX1,    #0x1820
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6177 (0x1821)

lri $AR1,    #0x4000
lri $IX1,    #0x1821
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6178 (0x1822)

lri $AR1,    #0x4000
lri $IX1,    #0x1822
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6179 (0x1823)

lri $AR1,    #0x4000
lri $IX1,    #0x1823
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6180 (0x1824)

lri $AR1,    #0x4000
lri $IX1,    #0x1824
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6181 (0x1825)

lri $AR1,    #0x4000
lri $IX1,    #0x1825
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6182 (0x1826)

lri $AR1,    #0x4000
lri $IX1,    #0x1826
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6183 (0x1827)

lri $AR1,    #0x4000
lri $IX1,    #0x1827
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6184 (0x1828)

lri $AR1,    #0x4000
lri $IX1,    #0x1828
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6185 (0x1829)

lri $AR1,    #0x4000
lri $IX1,    #0x1829
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6186 (0x182a)

lri $AR1,    #0x4000
lri $IX1,    #0x182a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6187 (0x182b)

lri $AR1,    #0x4000
lri $IX1,    #0x182b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6188 (0x182c)

lri $AR1,    #0x4000
lri $IX1,    #0x182c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6189 (0x182d)

lri $AR1,    #0x4000
lri $IX1,    #0x182d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6190 (0x182e)

lri $AR1,    #0x4000
lri $IX1,    #0x182e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6191 (0x182f)

lri $AR1,    #0x4000
lri $IX1,    #0x182f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6192 (0x1830)

lri $AR1,    #0x4000
lri $IX1,    #0x1830
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6193 (0x1831)

lri $AR1,    #0x4000
lri $IX1,    #0x1831
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6194 (0x1832)

lri $AR1,    #0x4000
lri $IX1,    #0x1832
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6195 (0x1833)

lri $AR1,    #0x4000
lri $IX1,    #0x1833
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6196 (0x1834)

lri $AR1,    #0x4000
lri $IX1,    #0x1834
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6197 (0x1835)

lri $AR1,    #0x4000
lri $IX1,    #0x1835
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6198 (0x1836)

lri $AR1,    #0x4000
lri $IX1,    #0x1836
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6199 (0x1837)

lri $AR1,    #0x4000
lri $IX1,    #0x1837
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6200 (0x1838)

lri $AR1,    #0x4000
lri $IX1,    #0x1838
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6201 (0x1839)

lri $AR1,    #0x4000
lri $IX1,    #0x1839
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6202 (0x183a)

lri $AR1,    #0x4000
lri $IX1,    #0x183a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6203 (0x183b)

lri $AR1,    #0x4000
lri $IX1,    #0x183b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6204 (0x183c)

lri $AR1,    #0x4000
lri $IX1,    #0x183c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6205 (0x183d)

lri $AR1,    #0x4000
lri $IX1,    #0x183d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6206 (0x183e)

lri $AR1,    #0x4000
lri $IX1,    #0x183e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6207 (0x183f)

lri $AR1,    #0x4000
lri $IX1,    #0x183f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6208 (0x1840)

lri $AR1,    #0x4000
lri $IX1,    #0x1840
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6209 (0x1841)

lri $AR1,    #0x4000
lri $IX1,    #0x1841
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6210 (0x1842)

lri $AR1,    #0x4000
lri $IX1,    #0x1842
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6211 (0x1843)

lri $AR1,    #0x4000
lri $IX1,    #0x1843
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6212 (0x1844)

lri $AR1,    #0x4000
lri $IX1,    #0x1844
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6213 (0x1845)

lri $AR1,    #0x4000
lri $IX1,    #0x1845
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6214 (0x1846)

lri $AR1,    #0x4000
lri $IX1,    #0x1846
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6215 (0x1847)

lri $AR1,    #0x4000
lri $IX1,    #0x1847
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6216 (0x1848)

lri $AR1,    #0x4000
lri $IX1,    #0x1848
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6217 (0x1849)

lri $AR1,    #0x4000
lri $IX1,    #0x1849
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6218 (0x184a)

lri $AR1,    #0x4000
lri $IX1,    #0x184a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6219 (0x184b)

lri $AR1,    #0x4000
lri $IX1,    #0x184b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6220 (0x184c)

lri $AR1,    #0x4000
lri $IX1,    #0x184c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6221 (0x184d)

lri $AR1,    #0x4000
lri $IX1,    #0x184d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6222 (0x184e)

lri $AR1,    #0x4000
lri $IX1,    #0x184e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6223 (0x184f)

lri $AR1,    #0x4000
lri $IX1,    #0x184f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6224 (0x1850)

lri $AR1,    #0x4000
lri $IX1,    #0x1850
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6225 (0x1851)

lri $AR1,    #0x4000
lri $IX1,    #0x1851
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6226 (0x1852)

lri $AR1,    #0x4000
lri $IX1,    #0x1852
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6227 (0x1853)

lri $AR1,    #0x4000
lri $IX1,    #0x1853
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6228 (0x1854)

lri $AR1,    #0x4000
lri $IX1,    #0x1854
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6229 (0x1855)

lri $AR1,    #0x4000
lri $IX1,    #0x1855
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6230 (0x1856)

lri $AR1,    #0x4000
lri $IX1,    #0x1856
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6231 (0x1857)

lri $AR1,    #0x4000
lri $IX1,    #0x1857
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6232 (0x1858)

lri $AR1,    #0x4000
lri $IX1,    #0x1858
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6233 (0x1859)

lri $AR1,    #0x4000
lri $IX1,    #0x1859
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6234 (0x185a)

lri $AR1,    #0x4000
lri $IX1,    #0x185a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6235 (0x185b)

lri $AR1,    #0x4000
lri $IX1,    #0x185b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6236 (0x185c)

lri $AR1,    #0x4000
lri $IX1,    #0x185c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6237 (0x185d)

lri $AR1,    #0x4000
lri $IX1,    #0x185d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6238 (0x185e)

lri $AR1,    #0x4000
lri $IX1,    #0x185e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6239 (0x185f)

lri $AR1,    #0x4000
lri $IX1,    #0x185f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6240 (0x1860)

lri $AR1,    #0x4000
lri $IX1,    #0x1860
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6241 (0x1861)

lri $AR1,    #0x4000
lri $IX1,    #0x1861
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6242 (0x1862)

lri $AR1,    #0x4000
lri $IX1,    #0x1862
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6243 (0x1863)

lri $AR1,    #0x4000
lri $IX1,    #0x1863
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6244 (0x1864)

lri $AR1,    #0x4000
lri $IX1,    #0x1864
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6245 (0x1865)

lri $AR1,    #0x4000
lri $IX1,    #0x1865
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6246 (0x1866)

lri $AR1,    #0x4000
lri $IX1,    #0x1866
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6247 (0x1867)

lri $AR1,    #0x4000
lri $IX1,    #0x1867
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6248 (0x1868)

lri $AR1,    #0x4000
lri $IX1,    #0x1868
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6249 (0x1869)

lri $AR1,    #0x4000
lri $IX1,    #0x1869
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6250 (0x186a)

lri $AR1,    #0x4000
lri $IX1,    #0x186a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6251 (0x186b)

lri $AR1,    #0x4000
lri $IX1,    #0x186b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6252 (0x186c)

lri $AR1,    #0x4000
lri $IX1,    #0x186c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6253 (0x186d)

lri $AR1,    #0x4000
lri $IX1,    #0x186d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6254 (0x186e)

lri $AR1,    #0x4000
lri $IX1,    #0x186e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6255 (0x186f)

lri $AR1,    #0x4000
lri $IX1,    #0x186f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6256 (0x1870)

lri $AR1,    #0x4000
lri $IX1,    #0x1870
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6257 (0x1871)

lri $AR1,    #0x4000
lri $IX1,    #0x1871
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6258 (0x1872)

lri $AR1,    #0x4000
lri $IX1,    #0x1872
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6259 (0x1873)

lri $AR1,    #0x4000
lri $IX1,    #0x1873
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6260 (0x1874)

lri $AR1,    #0x4000
lri $IX1,    #0x1874
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6261 (0x1875)

lri $AR1,    #0x4000
lri $IX1,    #0x1875
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6262 (0x1876)

lri $AR1,    #0x4000
lri $IX1,    #0x1876
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6263 (0x1877)

lri $AR1,    #0x4000
lri $IX1,    #0x1877
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6264 (0x1878)

lri $AR1,    #0x4000
lri $IX1,    #0x1878
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6265 (0x1879)

lri $AR1,    #0x4000
lri $IX1,    #0x1879
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6266 (0x187a)

lri $AR1,    #0x4000
lri $IX1,    #0x187a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6267 (0x187b)

lri $AR1,    #0x4000
lri $IX1,    #0x187b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6268 (0x187c)

lri $AR1,    #0x4000
lri $IX1,    #0x187c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6269 (0x187d)

lri $AR1,    #0x4000
lri $IX1,    #0x187d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6270 (0x187e)

lri $AR1,    #0x4000
lri $IX1,    #0x187e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6271 (0x187f)

lri $AR1,    #0x4000
lri $IX1,    #0x187f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6272 (0x1880)

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

