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

lri $AR1,    #0x4000
lri $IX1,    #0x4780
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18305 (0x4781)

lri $AR1,    #0x4000
lri $IX1,    #0x4781
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18306 (0x4782)

lri $AR1,    #0x4000
lri $IX1,    #0x4782
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18307 (0x4783)

lri $AR1,    #0x4000
lri $IX1,    #0x4783
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18308 (0x4784)

lri $AR1,    #0x4000
lri $IX1,    #0x4784
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18309 (0x4785)

lri $AR1,    #0x4000
lri $IX1,    #0x4785
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18310 (0x4786)

lri $AR1,    #0x4000
lri $IX1,    #0x4786
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18311 (0x4787)

lri $AR1,    #0x4000
lri $IX1,    #0x4787
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18312 (0x4788)

lri $AR1,    #0x4000
lri $IX1,    #0x4788
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18313 (0x4789)

lri $AR1,    #0x4000
lri $IX1,    #0x4789
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18314 (0x478a)

lri $AR1,    #0x4000
lri $IX1,    #0x478a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18315 (0x478b)

lri $AR1,    #0x4000
lri $IX1,    #0x478b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18316 (0x478c)

lri $AR1,    #0x4000
lri $IX1,    #0x478c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18317 (0x478d)

lri $AR1,    #0x4000
lri $IX1,    #0x478d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18318 (0x478e)

lri $AR1,    #0x4000
lri $IX1,    #0x478e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18319 (0x478f)

lri $AR1,    #0x4000
lri $IX1,    #0x478f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18320 (0x4790)

lri $AR1,    #0x4000
lri $IX1,    #0x4790
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18321 (0x4791)

lri $AR1,    #0x4000
lri $IX1,    #0x4791
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18322 (0x4792)

lri $AR1,    #0x4000
lri $IX1,    #0x4792
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18323 (0x4793)

lri $AR1,    #0x4000
lri $IX1,    #0x4793
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18324 (0x4794)

lri $AR1,    #0x4000
lri $IX1,    #0x4794
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18325 (0x4795)

lri $AR1,    #0x4000
lri $IX1,    #0x4795
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18326 (0x4796)

lri $AR1,    #0x4000
lri $IX1,    #0x4796
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18327 (0x4797)

lri $AR1,    #0x4000
lri $IX1,    #0x4797
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18328 (0x4798)

lri $AR1,    #0x4000
lri $IX1,    #0x4798
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18329 (0x4799)

lri $AR1,    #0x4000
lri $IX1,    #0x4799
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18330 (0x479a)

lri $AR1,    #0x4000
lri $IX1,    #0x479a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18331 (0x479b)

lri $AR1,    #0x4000
lri $IX1,    #0x479b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18332 (0x479c)

lri $AR1,    #0x4000
lri $IX1,    #0x479c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18333 (0x479d)

lri $AR1,    #0x4000
lri $IX1,    #0x479d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18334 (0x479e)

lri $AR1,    #0x4000
lri $IX1,    #0x479e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18335 (0x479f)

lri $AR1,    #0x4000
lri $IX1,    #0x479f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18336 (0x47a0)

lri $AR1,    #0x4000
lri $IX1,    #0x47a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18337 (0x47a1)

lri $AR1,    #0x4000
lri $IX1,    #0x47a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18338 (0x47a2)

lri $AR1,    #0x4000
lri $IX1,    #0x47a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18339 (0x47a3)

lri $AR1,    #0x4000
lri $IX1,    #0x47a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18340 (0x47a4)

lri $AR1,    #0x4000
lri $IX1,    #0x47a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18341 (0x47a5)

lri $AR1,    #0x4000
lri $IX1,    #0x47a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18342 (0x47a6)

lri $AR1,    #0x4000
lri $IX1,    #0x47a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18343 (0x47a7)

lri $AR1,    #0x4000
lri $IX1,    #0x47a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18344 (0x47a8)

lri $AR1,    #0x4000
lri $IX1,    #0x47a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18345 (0x47a9)

lri $AR1,    #0x4000
lri $IX1,    #0x47a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18346 (0x47aa)

lri $AR1,    #0x4000
lri $IX1,    #0x47aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18347 (0x47ab)

lri $AR1,    #0x4000
lri $IX1,    #0x47ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18348 (0x47ac)

lri $AR1,    #0x4000
lri $IX1,    #0x47ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18349 (0x47ad)

lri $AR1,    #0x4000
lri $IX1,    #0x47ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18350 (0x47ae)

lri $AR1,    #0x4000
lri $IX1,    #0x47ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18351 (0x47af)

lri $AR1,    #0x4000
lri $IX1,    #0x47af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18352 (0x47b0)

lri $AR1,    #0x4000
lri $IX1,    #0x47b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18353 (0x47b1)

lri $AR1,    #0x4000
lri $IX1,    #0x47b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18354 (0x47b2)

lri $AR1,    #0x4000
lri $IX1,    #0x47b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18355 (0x47b3)

lri $AR1,    #0x4000
lri $IX1,    #0x47b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18356 (0x47b4)

lri $AR1,    #0x4000
lri $IX1,    #0x47b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18357 (0x47b5)

lri $AR1,    #0x4000
lri $IX1,    #0x47b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18358 (0x47b6)

lri $AR1,    #0x4000
lri $IX1,    #0x47b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18359 (0x47b7)

lri $AR1,    #0x4000
lri $IX1,    #0x47b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18360 (0x47b8)

lri $AR1,    #0x4000
lri $IX1,    #0x47b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18361 (0x47b9)

lri $AR1,    #0x4000
lri $IX1,    #0x47b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18362 (0x47ba)

lri $AR1,    #0x4000
lri $IX1,    #0x47ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18363 (0x47bb)

lri $AR1,    #0x4000
lri $IX1,    #0x47bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18364 (0x47bc)

lri $AR1,    #0x4000
lri $IX1,    #0x47bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18365 (0x47bd)

lri $AR1,    #0x4000
lri $IX1,    #0x47bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18366 (0x47be)

lri $AR1,    #0x4000
lri $IX1,    #0x47be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18367 (0x47bf)

lri $AR1,    #0x4000
lri $IX1,    #0x47bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18368 (0x47c0)

lri $AR1,    #0x4000
lri $IX1,    #0x47c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18369 (0x47c1)

lri $AR1,    #0x4000
lri $IX1,    #0x47c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18370 (0x47c2)

lri $AR1,    #0x4000
lri $IX1,    #0x47c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18371 (0x47c3)

lri $AR1,    #0x4000
lri $IX1,    #0x47c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18372 (0x47c4)

lri $AR1,    #0x4000
lri $IX1,    #0x47c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18373 (0x47c5)

lri $AR1,    #0x4000
lri $IX1,    #0x47c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18374 (0x47c6)

lri $AR1,    #0x4000
lri $IX1,    #0x47c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18375 (0x47c7)

lri $AR1,    #0x4000
lri $IX1,    #0x47c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18376 (0x47c8)

lri $AR1,    #0x4000
lri $IX1,    #0x47c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18377 (0x47c9)

lri $AR1,    #0x4000
lri $IX1,    #0x47c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18378 (0x47ca)

lri $AR1,    #0x4000
lri $IX1,    #0x47ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18379 (0x47cb)

lri $AR1,    #0x4000
lri $IX1,    #0x47cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18380 (0x47cc)

lri $AR1,    #0x4000
lri $IX1,    #0x47cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18381 (0x47cd)

lri $AR1,    #0x4000
lri $IX1,    #0x47cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18382 (0x47ce)

lri $AR1,    #0x4000
lri $IX1,    #0x47ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18383 (0x47cf)

lri $AR1,    #0x4000
lri $IX1,    #0x47cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18384 (0x47d0)

lri $AR1,    #0x4000
lri $IX1,    #0x47d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18385 (0x47d1)

lri $AR1,    #0x4000
lri $IX1,    #0x47d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18386 (0x47d2)

lri $AR1,    #0x4000
lri $IX1,    #0x47d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18387 (0x47d3)

lri $AR1,    #0x4000
lri $IX1,    #0x47d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18388 (0x47d4)

lri $AR1,    #0x4000
lri $IX1,    #0x47d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18389 (0x47d5)

lri $AR1,    #0x4000
lri $IX1,    #0x47d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18390 (0x47d6)

lri $AR1,    #0x4000
lri $IX1,    #0x47d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18391 (0x47d7)

lri $AR1,    #0x4000
lri $IX1,    #0x47d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18392 (0x47d8)

lri $AR1,    #0x4000
lri $IX1,    #0x47d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18393 (0x47d9)

lri $AR1,    #0x4000
lri $IX1,    #0x47d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18394 (0x47da)

lri $AR1,    #0x4000
lri $IX1,    #0x47da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18395 (0x47db)

lri $AR1,    #0x4000
lri $IX1,    #0x47db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18396 (0x47dc)

lri $AR1,    #0x4000
lri $IX1,    #0x47dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18397 (0x47dd)

lri $AR1,    #0x4000
lri $IX1,    #0x47dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18398 (0x47de)

lri $AR1,    #0x4000
lri $IX1,    #0x47de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18399 (0x47df)

lri $AR1,    #0x4000
lri $IX1,    #0x47df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18400 (0x47e0)

lri $AR1,    #0x4000
lri $IX1,    #0x47e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18401 (0x47e1)

lri $AR1,    #0x4000
lri $IX1,    #0x47e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18402 (0x47e2)

lri $AR1,    #0x4000
lri $IX1,    #0x47e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18403 (0x47e3)

lri $AR1,    #0x4000
lri $IX1,    #0x47e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18404 (0x47e4)

lri $AR1,    #0x4000
lri $IX1,    #0x47e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18405 (0x47e5)

lri $AR1,    #0x4000
lri $IX1,    #0x47e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18406 (0x47e6)

lri $AR1,    #0x4000
lri $IX1,    #0x47e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18407 (0x47e7)

lri $AR1,    #0x4000
lri $IX1,    #0x47e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18408 (0x47e8)

lri $AR1,    #0x4000
lri $IX1,    #0x47e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18409 (0x47e9)

lri $AR1,    #0x4000
lri $IX1,    #0x47e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18410 (0x47ea)

lri $AR1,    #0x4000
lri $IX1,    #0x47ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18411 (0x47eb)

lri $AR1,    #0x4000
lri $IX1,    #0x47eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18412 (0x47ec)

lri $AR1,    #0x4000
lri $IX1,    #0x47ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18413 (0x47ed)

lri $AR1,    #0x4000
lri $IX1,    #0x47ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18414 (0x47ee)

lri $AR1,    #0x4000
lri $IX1,    #0x47ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18415 (0x47ef)

lri $AR1,    #0x4000
lri $IX1,    #0x47ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18416 (0x47f0)

lri $AR1,    #0x4000
lri $IX1,    #0x47f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18417 (0x47f1)

lri $AR1,    #0x4000
lri $IX1,    #0x47f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18418 (0x47f2)

lri $AR1,    #0x4000
lri $IX1,    #0x47f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18419 (0x47f3)

lri $AR1,    #0x4000
lri $IX1,    #0x47f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18420 (0x47f4)

lri $AR1,    #0x4000
lri $IX1,    #0x47f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18421 (0x47f5)

lri $AR1,    #0x4000
lri $IX1,    #0x47f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18422 (0x47f6)

lri $AR1,    #0x4000
lri $IX1,    #0x47f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18423 (0x47f7)

lri $AR1,    #0x4000
lri $IX1,    #0x47f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18424 (0x47f8)

lri $AR1,    #0x4000
lri $IX1,    #0x47f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18425 (0x47f9)

lri $AR1,    #0x4000
lri $IX1,    #0x47f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18426 (0x47fa)

lri $AR1,    #0x4000
lri $IX1,    #0x47fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18427 (0x47fb)

lri $AR1,    #0x4000
lri $IX1,    #0x47fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18428 (0x47fc)

lri $AR1,    #0x4000
lri $IX1,    #0x47fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18429 (0x47fd)

lri $AR1,    #0x4000
lri $IX1,    #0x47fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18430 (0x47fe)

lri $AR1,    #0x4000
lri $IX1,    #0x47fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18431 (0x47ff)

lri $AR1,    #0x4000
lri $IX1,    #0x47ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 18432 (0x4800)

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

