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

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

lri $AR1,    #0x4000
lri $IX1,    #0x1881
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6274 (0x1882)

lri $AR1,    #0x4000
lri $IX1,    #0x1882
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6275 (0x1883)

lri $AR1,    #0x4000
lri $IX1,    #0x1883
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6276 (0x1884)

lri $AR1,    #0x4000
lri $IX1,    #0x1884
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6277 (0x1885)

lri $AR1,    #0x4000
lri $IX1,    #0x1885
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6278 (0x1886)

lri $AR1,    #0x4000
lri $IX1,    #0x1886
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6279 (0x1887)

lri $AR1,    #0x4000
lri $IX1,    #0x1887
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6280 (0x1888)

lri $AR1,    #0x4000
lri $IX1,    #0x1888
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6281 (0x1889)

lri $AR1,    #0x4000
lri $IX1,    #0x1889
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6282 (0x188a)

lri $AR1,    #0x4000
lri $IX1,    #0x188a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6283 (0x188b)

lri $AR1,    #0x4000
lri $IX1,    #0x188b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6284 (0x188c)

lri $AR1,    #0x4000
lri $IX1,    #0x188c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6285 (0x188d)

lri $AR1,    #0x4000
lri $IX1,    #0x188d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6286 (0x188e)

lri $AR1,    #0x4000
lri $IX1,    #0x188e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6287 (0x188f)

lri $AR1,    #0x4000
lri $IX1,    #0x188f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6288 (0x1890)

lri $AR1,    #0x4000
lri $IX1,    #0x1890
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6289 (0x1891)

lri $AR1,    #0x4000
lri $IX1,    #0x1891
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6290 (0x1892)

lri $AR1,    #0x4000
lri $IX1,    #0x1892
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6291 (0x1893)

lri $AR1,    #0x4000
lri $IX1,    #0x1893
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6292 (0x1894)

lri $AR1,    #0x4000
lri $IX1,    #0x1894
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6293 (0x1895)

lri $AR1,    #0x4000
lri $IX1,    #0x1895
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6294 (0x1896)

lri $AR1,    #0x4000
lri $IX1,    #0x1896
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6295 (0x1897)

lri $AR1,    #0x4000
lri $IX1,    #0x1897
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6296 (0x1898)

lri $AR1,    #0x4000
lri $IX1,    #0x1898
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6297 (0x1899)

lri $AR1,    #0x4000
lri $IX1,    #0x1899
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6298 (0x189a)

lri $AR1,    #0x4000
lri $IX1,    #0x189a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6299 (0x189b)

lri $AR1,    #0x4000
lri $IX1,    #0x189b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6300 (0x189c)

lri $AR1,    #0x4000
lri $IX1,    #0x189c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6301 (0x189d)

lri $AR1,    #0x4000
lri $IX1,    #0x189d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6302 (0x189e)

lri $AR1,    #0x4000
lri $IX1,    #0x189e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6303 (0x189f)

lri $AR1,    #0x4000
lri $IX1,    #0x189f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6304 (0x18a0)

lri $AR1,    #0x4000
lri $IX1,    #0x18a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6305 (0x18a1)

lri $AR1,    #0x4000
lri $IX1,    #0x18a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6306 (0x18a2)

lri $AR1,    #0x4000
lri $IX1,    #0x18a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6307 (0x18a3)

lri $AR1,    #0x4000
lri $IX1,    #0x18a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6308 (0x18a4)

lri $AR1,    #0x4000
lri $IX1,    #0x18a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6309 (0x18a5)

lri $AR1,    #0x4000
lri $IX1,    #0x18a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6310 (0x18a6)

lri $AR1,    #0x4000
lri $IX1,    #0x18a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6311 (0x18a7)

lri $AR1,    #0x4000
lri $IX1,    #0x18a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6312 (0x18a8)

lri $AR1,    #0x4000
lri $IX1,    #0x18a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6313 (0x18a9)

lri $AR1,    #0x4000
lri $IX1,    #0x18a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6314 (0x18aa)

lri $AR1,    #0x4000
lri $IX1,    #0x18aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6315 (0x18ab)

lri $AR1,    #0x4000
lri $IX1,    #0x18ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6316 (0x18ac)

lri $AR1,    #0x4000
lri $IX1,    #0x18ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6317 (0x18ad)

lri $AR1,    #0x4000
lri $IX1,    #0x18ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6318 (0x18ae)

lri $AR1,    #0x4000
lri $IX1,    #0x18ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6319 (0x18af)

lri $AR1,    #0x4000
lri $IX1,    #0x18af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6320 (0x18b0)

lri $AR1,    #0x4000
lri $IX1,    #0x18b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6321 (0x18b1)

lri $AR1,    #0x4000
lri $IX1,    #0x18b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6322 (0x18b2)

lri $AR1,    #0x4000
lri $IX1,    #0x18b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6323 (0x18b3)

lri $AR1,    #0x4000
lri $IX1,    #0x18b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6324 (0x18b4)

lri $AR1,    #0x4000
lri $IX1,    #0x18b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6325 (0x18b5)

lri $AR1,    #0x4000
lri $IX1,    #0x18b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6326 (0x18b6)

lri $AR1,    #0x4000
lri $IX1,    #0x18b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6327 (0x18b7)

lri $AR1,    #0x4000
lri $IX1,    #0x18b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6328 (0x18b8)

lri $AR1,    #0x4000
lri $IX1,    #0x18b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6329 (0x18b9)

lri $AR1,    #0x4000
lri $IX1,    #0x18b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6330 (0x18ba)

lri $AR1,    #0x4000
lri $IX1,    #0x18ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6331 (0x18bb)

lri $AR1,    #0x4000
lri $IX1,    #0x18bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6332 (0x18bc)

lri $AR1,    #0x4000
lri $IX1,    #0x18bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6333 (0x18bd)

lri $AR1,    #0x4000
lri $IX1,    #0x18bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6334 (0x18be)

lri $AR1,    #0x4000
lri $IX1,    #0x18be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6335 (0x18bf)

lri $AR1,    #0x4000
lri $IX1,    #0x18bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6336 (0x18c0)

lri $AR1,    #0x4000
lri $IX1,    #0x18c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6337 (0x18c1)

lri $AR1,    #0x4000
lri $IX1,    #0x18c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6338 (0x18c2)

lri $AR1,    #0x4000
lri $IX1,    #0x18c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6339 (0x18c3)

lri $AR1,    #0x4000
lri $IX1,    #0x18c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6340 (0x18c4)

lri $AR1,    #0x4000
lri $IX1,    #0x18c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6341 (0x18c5)

lri $AR1,    #0x4000
lri $IX1,    #0x18c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6342 (0x18c6)

lri $AR1,    #0x4000
lri $IX1,    #0x18c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6343 (0x18c7)

lri $AR1,    #0x4000
lri $IX1,    #0x18c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6344 (0x18c8)

lri $AR1,    #0x4000
lri $IX1,    #0x18c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6345 (0x18c9)

lri $AR1,    #0x4000
lri $IX1,    #0x18c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6346 (0x18ca)

lri $AR1,    #0x4000
lri $IX1,    #0x18ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6347 (0x18cb)

lri $AR1,    #0x4000
lri $IX1,    #0x18cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6348 (0x18cc)

lri $AR1,    #0x4000
lri $IX1,    #0x18cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6349 (0x18cd)

lri $AR1,    #0x4000
lri $IX1,    #0x18cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6350 (0x18ce)

lri $AR1,    #0x4000
lri $IX1,    #0x18ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6351 (0x18cf)

lri $AR1,    #0x4000
lri $IX1,    #0x18cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6352 (0x18d0)

lri $AR1,    #0x4000
lri $IX1,    #0x18d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6353 (0x18d1)

lri $AR1,    #0x4000
lri $IX1,    #0x18d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6354 (0x18d2)

lri $AR1,    #0x4000
lri $IX1,    #0x18d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6355 (0x18d3)

lri $AR1,    #0x4000
lri $IX1,    #0x18d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6356 (0x18d4)

lri $AR1,    #0x4000
lri $IX1,    #0x18d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6357 (0x18d5)

lri $AR1,    #0x4000
lri $IX1,    #0x18d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6358 (0x18d6)

lri $AR1,    #0x4000
lri $IX1,    #0x18d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6359 (0x18d7)

lri $AR1,    #0x4000
lri $IX1,    #0x18d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6360 (0x18d8)

lri $AR1,    #0x4000
lri $IX1,    #0x18d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6361 (0x18d9)

lri $AR1,    #0x4000
lri $IX1,    #0x18d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6362 (0x18da)

lri $AR1,    #0x4000
lri $IX1,    #0x18da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6363 (0x18db)

lri $AR1,    #0x4000
lri $IX1,    #0x18db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6364 (0x18dc)

lri $AR1,    #0x4000
lri $IX1,    #0x18dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6365 (0x18dd)

lri $AR1,    #0x4000
lri $IX1,    #0x18dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6366 (0x18de)

lri $AR1,    #0x4000
lri $IX1,    #0x18de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6367 (0x18df)

lri $AR1,    #0x4000
lri $IX1,    #0x18df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6368 (0x18e0)

lri $AR1,    #0x4000
lri $IX1,    #0x18e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6369 (0x18e1)

lri $AR1,    #0x4000
lri $IX1,    #0x18e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6370 (0x18e2)

lri $AR1,    #0x4000
lri $IX1,    #0x18e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6371 (0x18e3)

lri $AR1,    #0x4000
lri $IX1,    #0x18e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6372 (0x18e4)

lri $AR1,    #0x4000
lri $IX1,    #0x18e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6373 (0x18e5)

lri $AR1,    #0x4000
lri $IX1,    #0x18e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6374 (0x18e6)

lri $AR1,    #0x4000
lri $IX1,    #0x18e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6375 (0x18e7)

lri $AR1,    #0x4000
lri $IX1,    #0x18e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6376 (0x18e8)

lri $AR1,    #0x4000
lri $IX1,    #0x18e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6377 (0x18e9)

lri $AR1,    #0x4000
lri $IX1,    #0x18e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6378 (0x18ea)

lri $AR1,    #0x4000
lri $IX1,    #0x18ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6379 (0x18eb)

lri $AR1,    #0x4000
lri $IX1,    #0x18eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6380 (0x18ec)

lri $AR1,    #0x4000
lri $IX1,    #0x18ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6381 (0x18ed)

lri $AR1,    #0x4000
lri $IX1,    #0x18ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6382 (0x18ee)

lri $AR1,    #0x4000
lri $IX1,    #0x18ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6383 (0x18ef)

lri $AR1,    #0x4000
lri $IX1,    #0x18ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6384 (0x18f0)

lri $AR1,    #0x4000
lri $IX1,    #0x18f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6385 (0x18f1)

lri $AR1,    #0x4000
lri $IX1,    #0x18f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6386 (0x18f2)

lri $AR1,    #0x4000
lri $IX1,    #0x18f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6387 (0x18f3)

lri $AR1,    #0x4000
lri $IX1,    #0x18f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6388 (0x18f4)

lri $AR1,    #0x4000
lri $IX1,    #0x18f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6389 (0x18f5)

lri $AR1,    #0x4000
lri $IX1,    #0x18f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6390 (0x18f6)

lri $AR1,    #0x4000
lri $IX1,    #0x18f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6391 (0x18f7)

lri $AR1,    #0x4000
lri $IX1,    #0x18f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6392 (0x18f8)

lri $AR1,    #0x4000
lri $IX1,    #0x18f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6393 (0x18f9)

lri $AR1,    #0x4000
lri $IX1,    #0x18f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6394 (0x18fa)

lri $AR1,    #0x4000
lri $IX1,    #0x18fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6395 (0x18fb)

lri $AR1,    #0x4000
lri $IX1,    #0x18fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6396 (0x18fc)

lri $AR1,    #0x4000
lri $IX1,    #0x18fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6397 (0x18fd)

lri $AR1,    #0x4000
lri $IX1,    #0x18fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6398 (0x18fe)

lri $AR1,    #0x4000
lri $IX1,    #0x18fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6399 (0x18ff)

lri $AR1,    #0x4000
lri $IX1,    #0x18ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6400 (0x1900)

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

