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

lri $AR1,    #0x0040
lri $IX1,    #0xb555
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46422 (0xb556)

lri $AR1,    #0x0040
lri $IX1,    #0xb556
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46423 (0xb557)

lri $AR1,    #0x0040
lri $IX1,    #0xb557
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46424 (0xb558)

lri $AR1,    #0x0040
lri $IX1,    #0xb558
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46425 (0xb559)

lri $AR1,    #0x0040
lri $IX1,    #0xb559
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46426 (0xb55a)

lri $AR1,    #0x0040
lri $IX1,    #0xb55a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46427 (0xb55b)

lri $AR1,    #0x0040
lri $IX1,    #0xb55b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46428 (0xb55c)

lri $AR1,    #0x0040
lri $IX1,    #0xb55c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46429 (0xb55d)

lri $AR1,    #0x0040
lri $IX1,    #0xb55d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46430 (0xb55e)

lri $AR1,    #0x0040
lri $IX1,    #0xb55e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46431 (0xb55f)

lri $AR1,    #0x0040
lri $IX1,    #0xb55f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46432 (0xb560)

lri $AR1,    #0x0040
lri $IX1,    #0xb560
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46433 (0xb561)

lri $AR1,    #0x0040
lri $IX1,    #0xb561
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46434 (0xb562)

lri $AR1,    #0x0040
lri $IX1,    #0xb562
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46435 (0xb563)

lri $AR1,    #0x0040
lri $IX1,    #0xb563
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46436 (0xb564)

lri $AR1,    #0x0040
lri $IX1,    #0xb564
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46437 (0xb565)

lri $AR1,    #0x0040
lri $IX1,    #0xb565
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46438 (0xb566)

lri $AR1,    #0x0040
lri $IX1,    #0xb566
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46439 (0xb567)

lri $AR1,    #0x0040
lri $IX1,    #0xb567
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46440 (0xb568)

lri $AR1,    #0x0040
lri $IX1,    #0xb568
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46441 (0xb569)

lri $AR1,    #0x0040
lri $IX1,    #0xb569
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46442 (0xb56a)

lri $AR1,    #0x0040
lri $IX1,    #0xb56a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46443 (0xb56b)

lri $AR1,    #0x0040
lri $IX1,    #0xb56b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46444 (0xb56c)

lri $AR1,    #0x0040
lri $IX1,    #0xb56c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46445 (0xb56d)

lri $AR1,    #0x0040
lri $IX1,    #0xb56d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46446 (0xb56e)

lri $AR1,    #0x0040
lri $IX1,    #0xb56e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46447 (0xb56f)

lri $AR1,    #0x0040
lri $IX1,    #0xb56f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46448 (0xb570)

lri $AR1,    #0x0040
lri $IX1,    #0xb570
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46449 (0xb571)

lri $AR1,    #0x0040
lri $IX1,    #0xb571
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46450 (0xb572)

lri $AR1,    #0x0040
lri $IX1,    #0xb572
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46451 (0xb573)

lri $AR1,    #0x0040
lri $IX1,    #0xb573
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46452 (0xb574)

lri $AR1,    #0x0040
lri $IX1,    #0xb574
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46453 (0xb575)

lri $AR1,    #0x0040
lri $IX1,    #0xb575
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46454 (0xb576)

lri $AR1,    #0x0040
lri $IX1,    #0xb576
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46455 (0xb577)

lri $AR1,    #0x0040
lri $IX1,    #0xb577
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46456 (0xb578)

lri $AR1,    #0x0040
lri $IX1,    #0xb578
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46457 (0xb579)

lri $AR1,    #0x0040
lri $IX1,    #0xb579
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46458 (0xb57a)

lri $AR1,    #0x0040
lri $IX1,    #0xb57a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46459 (0xb57b)

lri $AR1,    #0x0040
lri $IX1,    #0xb57b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46460 (0xb57c)

lri $AR1,    #0x0040
lri $IX1,    #0xb57c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46461 (0xb57d)

lri $AR1,    #0x0040
lri $IX1,    #0xb57d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46462 (0xb57e)

lri $AR1,    #0x0040
lri $IX1,    #0xb57e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46463 (0xb57f)

lri $AR1,    #0x0040
lri $IX1,    #0xb57f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46464 (0xb580)

lri $AR1,    #0x0040
lri $IX1,    #0xb580
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46465 (0xb581)

lri $AR1,    #0x0040
lri $IX1,    #0xb581
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46466 (0xb582)

lri $AR1,    #0x0040
lri $IX1,    #0xb582
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46467 (0xb583)

lri $AR1,    #0x0040
lri $IX1,    #0xb583
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46468 (0xb584)

lri $AR1,    #0x0040
lri $IX1,    #0xb584
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46469 (0xb585)

lri $AR1,    #0x0040
lri $IX1,    #0xb585
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46470 (0xb586)

lri $AR1,    #0x0040
lri $IX1,    #0xb586
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46471 (0xb587)

lri $AR1,    #0x0040
lri $IX1,    #0xb587
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46472 (0xb588)

lri $AR1,    #0x0040
lri $IX1,    #0xb588
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46473 (0xb589)

lri $AR1,    #0x0040
lri $IX1,    #0xb589
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46474 (0xb58a)

lri $AR1,    #0x0040
lri $IX1,    #0xb58a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46475 (0xb58b)

lri $AR1,    #0x0040
lri $IX1,    #0xb58b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46476 (0xb58c)

lri $AR1,    #0x0040
lri $IX1,    #0xb58c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46477 (0xb58d)

lri $AR1,    #0x0040
lri $IX1,    #0xb58d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46478 (0xb58e)

lri $AR1,    #0x0040
lri $IX1,    #0xb58e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46479 (0xb58f)

lri $AR1,    #0x0040
lri $IX1,    #0xb58f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46480 (0xb590)

lri $AR1,    #0x0040
lri $IX1,    #0xb590
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46481 (0xb591)

lri $AR1,    #0x0040
lri $IX1,    #0xb591
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46482 (0xb592)

lri $AR1,    #0x0040
lri $IX1,    #0xb592
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46483 (0xb593)

lri $AR1,    #0x0040
lri $IX1,    #0xb593
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46484 (0xb594)

lri $AR1,    #0x0040
lri $IX1,    #0xb594
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46485 (0xb595)

lri $AR1,    #0x0040
lri $IX1,    #0xb595
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46486 (0xb596)

lri $AR1,    #0x0040
lri $IX1,    #0xb596
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46487 (0xb597)

lri $AR1,    #0x0040
lri $IX1,    #0xb597
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46488 (0xb598)

lri $AR1,    #0x0040
lri $IX1,    #0xb598
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46489 (0xb599)

lri $AR1,    #0x0040
lri $IX1,    #0xb599
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46490 (0xb59a)

lri $AR1,    #0x0040
lri $IX1,    #0xb59a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46491 (0xb59b)

lri $AR1,    #0x0040
lri $IX1,    #0xb59b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46492 (0xb59c)

lri $AR1,    #0x0040
lri $IX1,    #0xb59c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46493 (0xb59d)

lri $AR1,    #0x0040
lri $IX1,    #0xb59d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46494 (0xb59e)

lri $AR1,    #0x0040
lri $IX1,    #0xb59e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46495 (0xb59f)

lri $AR1,    #0x0040
lri $IX1,    #0xb59f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46496 (0xb5a0)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46497 (0xb5a1)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46498 (0xb5a2)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46499 (0xb5a3)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46500 (0xb5a4)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46501 (0xb5a5)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46502 (0xb5a6)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46503 (0xb5a7)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46504 (0xb5a8)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46505 (0xb5a9)

lri $AR1,    #0x0040
lri $IX1,    #0xb5a9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46506 (0xb5aa)

lri $AR1,    #0x0040
lri $IX1,    #0xb5aa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46507 (0xb5ab)

lri $AR1,    #0x0040
lri $IX1,    #0xb5ab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46508 (0xb5ac)

lri $AR1,    #0x0040
lri $IX1,    #0xb5ac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46509 (0xb5ad)

lri $AR1,    #0x0040
lri $IX1,    #0xb5ad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46510 (0xb5ae)

lri $AR1,    #0x0040
lri $IX1,    #0xb5ae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46511 (0xb5af)

lri $AR1,    #0x0040
lri $IX1,    #0xb5af
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46512 (0xb5b0)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46513 (0xb5b1)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46514 (0xb5b2)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46515 (0xb5b3)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46516 (0xb5b4)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46517 (0xb5b5)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46518 (0xb5b6)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46519 (0xb5b7)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46520 (0xb5b8)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46521 (0xb5b9)

lri $AR1,    #0x0040
lri $IX1,    #0xb5b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46522 (0xb5ba)

lri $AR1,    #0x0040
lri $IX1,    #0xb5ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46523 (0xb5bb)

lri $AR1,    #0x0040
lri $IX1,    #0xb5bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46524 (0xb5bc)

lri $AR1,    #0x0040
lri $IX1,    #0xb5bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46525 (0xb5bd)

lri $AR1,    #0x0040
lri $IX1,    #0xb5bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46526 (0xb5be)

lri $AR1,    #0x0040
lri $IX1,    #0xb5be
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46527 (0xb5bf)

lri $AR1,    #0x0040
lri $IX1,    #0xb5bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46528 (0xb5c0)

lri $AR1,    #0x0040
lri $IX1,    #0xb5c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46529 (0xb5c1)

lri $AR1,    #0x0040
lri $IX1,    #0xb5c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 46530 (0xb5c2)

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