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

lri $AR1,    #0x4000
lri $IX1,    #0x5380
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21377 (0x5381)

lri $AR1,    #0x4000
lri $IX1,    #0x5381
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21378 (0x5382)

lri $AR1,    #0x4000
lri $IX1,    #0x5382
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21379 (0x5383)

lri $AR1,    #0x4000
lri $IX1,    #0x5383
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21380 (0x5384)

lri $AR1,    #0x4000
lri $IX1,    #0x5384
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21381 (0x5385)

lri $AR1,    #0x4000
lri $IX1,    #0x5385
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21382 (0x5386)

lri $AR1,    #0x4000
lri $IX1,    #0x5386
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21383 (0x5387)

lri $AR1,    #0x4000
lri $IX1,    #0x5387
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21384 (0x5388)

lri $AR1,    #0x4000
lri $IX1,    #0x5388
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21385 (0x5389)

lri $AR1,    #0x4000
lri $IX1,    #0x5389
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21386 (0x538a)

lri $AR1,    #0x4000
lri $IX1,    #0x538a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21387 (0x538b)

lri $AR1,    #0x4000
lri $IX1,    #0x538b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21388 (0x538c)

lri $AR1,    #0x4000
lri $IX1,    #0x538c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21389 (0x538d)

lri $AR1,    #0x4000
lri $IX1,    #0x538d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21390 (0x538e)

lri $AR1,    #0x4000
lri $IX1,    #0x538e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21391 (0x538f)

lri $AR1,    #0x4000
lri $IX1,    #0x538f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21392 (0x5390)

lri $AR1,    #0x4000
lri $IX1,    #0x5390
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21393 (0x5391)

lri $AR1,    #0x4000
lri $IX1,    #0x5391
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21394 (0x5392)

lri $AR1,    #0x4000
lri $IX1,    #0x5392
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21395 (0x5393)

lri $AR1,    #0x4000
lri $IX1,    #0x5393
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21396 (0x5394)

lri $AR1,    #0x4000
lri $IX1,    #0x5394
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21397 (0x5395)

lri $AR1,    #0x4000
lri $IX1,    #0x5395
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21398 (0x5396)

lri $AR1,    #0x4000
lri $IX1,    #0x5396
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21399 (0x5397)

lri $AR1,    #0x4000
lri $IX1,    #0x5397
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21400 (0x5398)

lri $AR1,    #0x4000
lri $IX1,    #0x5398
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21401 (0x5399)

lri $AR1,    #0x4000
lri $IX1,    #0x5399
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21402 (0x539a)

lri $AR1,    #0x4000
lri $IX1,    #0x539a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21403 (0x539b)

lri $AR1,    #0x4000
lri $IX1,    #0x539b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21404 (0x539c)

lri $AR1,    #0x4000
lri $IX1,    #0x539c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21405 (0x539d)

lri $AR1,    #0x4000
lri $IX1,    #0x539d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21406 (0x539e)

lri $AR1,    #0x4000
lri $IX1,    #0x539e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21407 (0x539f)

lri $AR1,    #0x4000
lri $IX1,    #0x539f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21408 (0x53a0)

lri $AR1,    #0x4000
lri $IX1,    #0x53a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21409 (0x53a1)

lri $AR1,    #0x4000
lri $IX1,    #0x53a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21410 (0x53a2)

lri $AR1,    #0x4000
lri $IX1,    #0x53a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21411 (0x53a3)

lri $AR1,    #0x4000
lri $IX1,    #0x53a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21412 (0x53a4)

lri $AR1,    #0x4000
lri $IX1,    #0x53a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21413 (0x53a5)

lri $AR1,    #0x4000
lri $IX1,    #0x53a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21414 (0x53a6)

lri $AR1,    #0x4000
lri $IX1,    #0x53a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21415 (0x53a7)

lri $AR1,    #0x4000
lri $IX1,    #0x53a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21416 (0x53a8)

lri $AR1,    #0x4000
lri $IX1,    #0x53a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21417 (0x53a9)

lri $AR1,    #0x4000
lri $IX1,    #0x53a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21418 (0x53aa)

lri $AR1,    #0x4000
lri $IX1,    #0x53aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21419 (0x53ab)

lri $AR1,    #0x4000
lri $IX1,    #0x53ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21420 (0x53ac)

lri $AR1,    #0x4000
lri $IX1,    #0x53ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21421 (0x53ad)

lri $AR1,    #0x4000
lri $IX1,    #0x53ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21422 (0x53ae)

lri $AR1,    #0x4000
lri $IX1,    #0x53ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21423 (0x53af)

lri $AR1,    #0x4000
lri $IX1,    #0x53af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21424 (0x53b0)

lri $AR1,    #0x4000
lri $IX1,    #0x53b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21425 (0x53b1)

lri $AR1,    #0x4000
lri $IX1,    #0x53b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21426 (0x53b2)

lri $AR1,    #0x4000
lri $IX1,    #0x53b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21427 (0x53b3)

lri $AR1,    #0x4000
lri $IX1,    #0x53b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21428 (0x53b4)

lri $AR1,    #0x4000
lri $IX1,    #0x53b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21429 (0x53b5)

lri $AR1,    #0x4000
lri $IX1,    #0x53b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21430 (0x53b6)

lri $AR1,    #0x4000
lri $IX1,    #0x53b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21431 (0x53b7)

lri $AR1,    #0x4000
lri $IX1,    #0x53b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21432 (0x53b8)

lri $AR1,    #0x4000
lri $IX1,    #0x53b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21433 (0x53b9)

lri $AR1,    #0x4000
lri $IX1,    #0x53b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21434 (0x53ba)

lri $AR1,    #0x4000
lri $IX1,    #0x53ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21435 (0x53bb)

lri $AR1,    #0x4000
lri $IX1,    #0x53bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21436 (0x53bc)

lri $AR1,    #0x4000
lri $IX1,    #0x53bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21437 (0x53bd)

lri $AR1,    #0x4000
lri $IX1,    #0x53bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21438 (0x53be)

lri $AR1,    #0x4000
lri $IX1,    #0x53be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21439 (0x53bf)

lri $AR1,    #0x4000
lri $IX1,    #0x53bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21440 (0x53c0)

lri $AR1,    #0x4000
lri $IX1,    #0x53c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21441 (0x53c1)

lri $AR1,    #0x4000
lri $IX1,    #0x53c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21442 (0x53c2)

lri $AR1,    #0x4000
lri $IX1,    #0x53c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21443 (0x53c3)

lri $AR1,    #0x4000
lri $IX1,    #0x53c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21444 (0x53c4)

lri $AR1,    #0x4000
lri $IX1,    #0x53c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21445 (0x53c5)

lri $AR1,    #0x4000
lri $IX1,    #0x53c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21446 (0x53c6)

lri $AR1,    #0x4000
lri $IX1,    #0x53c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21447 (0x53c7)

lri $AR1,    #0x4000
lri $IX1,    #0x53c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21448 (0x53c8)

lri $AR1,    #0x4000
lri $IX1,    #0x53c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21449 (0x53c9)

lri $AR1,    #0x4000
lri $IX1,    #0x53c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21450 (0x53ca)

lri $AR1,    #0x4000
lri $IX1,    #0x53ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21451 (0x53cb)

lri $AR1,    #0x4000
lri $IX1,    #0x53cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21452 (0x53cc)

lri $AR1,    #0x4000
lri $IX1,    #0x53cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21453 (0x53cd)

lri $AR1,    #0x4000
lri $IX1,    #0x53cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21454 (0x53ce)

lri $AR1,    #0x4000
lri $IX1,    #0x53ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21455 (0x53cf)

lri $AR1,    #0x4000
lri $IX1,    #0x53cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21456 (0x53d0)

lri $AR1,    #0x4000
lri $IX1,    #0x53d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21457 (0x53d1)

lri $AR1,    #0x4000
lri $IX1,    #0x53d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21458 (0x53d2)

lri $AR1,    #0x4000
lri $IX1,    #0x53d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21459 (0x53d3)

lri $AR1,    #0x4000
lri $IX1,    #0x53d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21460 (0x53d4)

lri $AR1,    #0x4000
lri $IX1,    #0x53d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21461 (0x53d5)

lri $AR1,    #0x4000
lri $IX1,    #0x53d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21462 (0x53d6)

lri $AR1,    #0x4000
lri $IX1,    #0x53d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21463 (0x53d7)

lri $AR1,    #0x4000
lri $IX1,    #0x53d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21464 (0x53d8)

lri $AR1,    #0x4000
lri $IX1,    #0x53d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21465 (0x53d9)

lri $AR1,    #0x4000
lri $IX1,    #0x53d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21466 (0x53da)

lri $AR1,    #0x4000
lri $IX1,    #0x53da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21467 (0x53db)

lri $AR1,    #0x4000
lri $IX1,    #0x53db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21468 (0x53dc)

lri $AR1,    #0x4000
lri $IX1,    #0x53dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21469 (0x53dd)

lri $AR1,    #0x4000
lri $IX1,    #0x53dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21470 (0x53de)

lri $AR1,    #0x4000
lri $IX1,    #0x53de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21471 (0x53df)

lri $AR1,    #0x4000
lri $IX1,    #0x53df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21472 (0x53e0)

lri $AR1,    #0x4000
lri $IX1,    #0x53e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21473 (0x53e1)

lri $AR1,    #0x4000
lri $IX1,    #0x53e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21474 (0x53e2)

lri $AR1,    #0x4000
lri $IX1,    #0x53e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21475 (0x53e3)

lri $AR1,    #0x4000
lri $IX1,    #0x53e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21476 (0x53e4)

lri $AR1,    #0x4000
lri $IX1,    #0x53e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21477 (0x53e5)

lri $AR1,    #0x4000
lri $IX1,    #0x53e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21478 (0x53e6)

lri $AR1,    #0x4000
lri $IX1,    #0x53e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21479 (0x53e7)

lri $AR1,    #0x4000
lri $IX1,    #0x53e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21480 (0x53e8)

lri $AR1,    #0x4000
lri $IX1,    #0x53e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21481 (0x53e9)

lri $AR1,    #0x4000
lri $IX1,    #0x53e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21482 (0x53ea)

lri $AR1,    #0x4000
lri $IX1,    #0x53ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21483 (0x53eb)

lri $AR1,    #0x4000
lri $IX1,    #0x53eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21484 (0x53ec)

lri $AR1,    #0x4000
lri $IX1,    #0x53ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21485 (0x53ed)

lri $AR1,    #0x4000
lri $IX1,    #0x53ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21486 (0x53ee)

lri $AR1,    #0x4000
lri $IX1,    #0x53ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21487 (0x53ef)

lri $AR1,    #0x4000
lri $IX1,    #0x53ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21488 (0x53f0)

lri $AR1,    #0x4000
lri $IX1,    #0x53f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21489 (0x53f1)

lri $AR1,    #0x4000
lri $IX1,    #0x53f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21490 (0x53f2)

lri $AR1,    #0x4000
lri $IX1,    #0x53f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21491 (0x53f3)

lri $AR1,    #0x4000
lri $IX1,    #0x53f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21492 (0x53f4)

lri $AR1,    #0x4000
lri $IX1,    #0x53f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21493 (0x53f5)

lri $AR1,    #0x4000
lri $IX1,    #0x53f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21494 (0x53f6)

lri $AR1,    #0x4000
lri $IX1,    #0x53f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21495 (0x53f7)

lri $AR1,    #0x4000
lri $IX1,    #0x53f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21496 (0x53f8)

lri $AR1,    #0x4000
lri $IX1,    #0x53f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21497 (0x53f9)

lri $AR1,    #0x4000
lri $IX1,    #0x53f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21498 (0x53fa)

lri $AR1,    #0x4000
lri $IX1,    #0x53fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21499 (0x53fb)

lri $AR1,    #0x4000
lri $IX1,    #0x53fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21500 (0x53fc)

lri $AR1,    #0x4000
lri $IX1,    #0x53fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21501 (0x53fd)

lri $AR1,    #0x4000
lri $IX1,    #0x53fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21502 (0x53fe)

lri $AR1,    #0x4000
lri $IX1,    #0x53fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21503 (0x53ff)

lri $AR1,    #0x4000
lri $IX1,    #0x53ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 21504 (0x5400)

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

