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

lri $AR1,    #0x0040
lri $IX1,    #0xd555
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54614 (0xd556)

lri $AR1,    #0x0040
lri $IX1,    #0xd556
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54615 (0xd557)

lri $AR1,    #0x0040
lri $IX1,    #0xd557
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54616 (0xd558)

lri $AR1,    #0x0040
lri $IX1,    #0xd558
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54617 (0xd559)

lri $AR1,    #0x0040
lri $IX1,    #0xd559
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54618 (0xd55a)

lri $AR1,    #0x0040
lri $IX1,    #0xd55a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54619 (0xd55b)

lri $AR1,    #0x0040
lri $IX1,    #0xd55b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54620 (0xd55c)

lri $AR1,    #0x0040
lri $IX1,    #0xd55c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54621 (0xd55d)

lri $AR1,    #0x0040
lri $IX1,    #0xd55d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54622 (0xd55e)

lri $AR1,    #0x0040
lri $IX1,    #0xd55e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54623 (0xd55f)

lri $AR1,    #0x0040
lri $IX1,    #0xd55f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54624 (0xd560)

lri $AR1,    #0x0040
lri $IX1,    #0xd560
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54625 (0xd561)

lri $AR1,    #0x0040
lri $IX1,    #0xd561
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54626 (0xd562)

lri $AR1,    #0x0040
lri $IX1,    #0xd562
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54627 (0xd563)

lri $AR1,    #0x0040
lri $IX1,    #0xd563
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54628 (0xd564)

lri $AR1,    #0x0040
lri $IX1,    #0xd564
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54629 (0xd565)

lri $AR1,    #0x0040
lri $IX1,    #0xd565
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54630 (0xd566)

lri $AR1,    #0x0040
lri $IX1,    #0xd566
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54631 (0xd567)

lri $AR1,    #0x0040
lri $IX1,    #0xd567
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54632 (0xd568)

lri $AR1,    #0x0040
lri $IX1,    #0xd568
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54633 (0xd569)

lri $AR1,    #0x0040
lri $IX1,    #0xd569
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54634 (0xd56a)

lri $AR1,    #0x0040
lri $IX1,    #0xd56a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54635 (0xd56b)

lri $AR1,    #0x0040
lri $IX1,    #0xd56b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54636 (0xd56c)

lri $AR1,    #0x0040
lri $IX1,    #0xd56c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54637 (0xd56d)

lri $AR1,    #0x0040
lri $IX1,    #0xd56d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54638 (0xd56e)

lri $AR1,    #0x0040
lri $IX1,    #0xd56e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54639 (0xd56f)

lri $AR1,    #0x0040
lri $IX1,    #0xd56f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54640 (0xd570)

lri $AR1,    #0x0040
lri $IX1,    #0xd570
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54641 (0xd571)

lri $AR1,    #0x0040
lri $IX1,    #0xd571
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54642 (0xd572)

lri $AR1,    #0x0040
lri $IX1,    #0xd572
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54643 (0xd573)

lri $AR1,    #0x0040
lri $IX1,    #0xd573
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54644 (0xd574)

lri $AR1,    #0x0040
lri $IX1,    #0xd574
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54645 (0xd575)

lri $AR1,    #0x0040
lri $IX1,    #0xd575
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54646 (0xd576)

lri $AR1,    #0x0040
lri $IX1,    #0xd576
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54647 (0xd577)

lri $AR1,    #0x0040
lri $IX1,    #0xd577
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54648 (0xd578)

lri $AR1,    #0x0040
lri $IX1,    #0xd578
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54649 (0xd579)

lri $AR1,    #0x0040
lri $IX1,    #0xd579
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54650 (0xd57a)

lri $AR1,    #0x0040
lri $IX1,    #0xd57a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54651 (0xd57b)

lri $AR1,    #0x0040
lri $IX1,    #0xd57b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54652 (0xd57c)

lri $AR1,    #0x0040
lri $IX1,    #0xd57c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54653 (0xd57d)

lri $AR1,    #0x0040
lri $IX1,    #0xd57d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54654 (0xd57e)

lri $AR1,    #0x0040
lri $IX1,    #0xd57e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54655 (0xd57f)

lri $AR1,    #0x0040
lri $IX1,    #0xd57f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54656 (0xd580)

lri $AR1,    #0x0040
lri $IX1,    #0xd580
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54657 (0xd581)

lri $AR1,    #0x0040
lri $IX1,    #0xd581
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54658 (0xd582)

lri $AR1,    #0x0040
lri $IX1,    #0xd582
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54659 (0xd583)

lri $AR1,    #0x0040
lri $IX1,    #0xd583
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54660 (0xd584)

lri $AR1,    #0x0040
lri $IX1,    #0xd584
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54661 (0xd585)

lri $AR1,    #0x0040
lri $IX1,    #0xd585
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54662 (0xd586)

lri $AR1,    #0x0040
lri $IX1,    #0xd586
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54663 (0xd587)

lri $AR1,    #0x0040
lri $IX1,    #0xd587
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54664 (0xd588)

lri $AR1,    #0x0040
lri $IX1,    #0xd588
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54665 (0xd589)

lri $AR1,    #0x0040
lri $IX1,    #0xd589
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54666 (0xd58a)

lri $AR1,    #0x0040
lri $IX1,    #0xd58a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54667 (0xd58b)

lri $AR1,    #0x0040
lri $IX1,    #0xd58b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54668 (0xd58c)

lri $AR1,    #0x0040
lri $IX1,    #0xd58c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54669 (0xd58d)

lri $AR1,    #0x0040
lri $IX1,    #0xd58d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54670 (0xd58e)

lri $AR1,    #0x0040
lri $IX1,    #0xd58e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54671 (0xd58f)

lri $AR1,    #0x0040
lri $IX1,    #0xd58f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54672 (0xd590)

lri $AR1,    #0x0040
lri $IX1,    #0xd590
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54673 (0xd591)

lri $AR1,    #0x0040
lri $IX1,    #0xd591
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54674 (0xd592)

lri $AR1,    #0x0040
lri $IX1,    #0xd592
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54675 (0xd593)

lri $AR1,    #0x0040
lri $IX1,    #0xd593
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54676 (0xd594)

lri $AR1,    #0x0040
lri $IX1,    #0xd594
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54677 (0xd595)

lri $AR1,    #0x0040
lri $IX1,    #0xd595
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54678 (0xd596)

lri $AR1,    #0x0040
lri $IX1,    #0xd596
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54679 (0xd597)

lri $AR1,    #0x0040
lri $IX1,    #0xd597
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54680 (0xd598)

lri $AR1,    #0x0040
lri $IX1,    #0xd598
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54681 (0xd599)

lri $AR1,    #0x0040
lri $IX1,    #0xd599
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54682 (0xd59a)

lri $AR1,    #0x0040
lri $IX1,    #0xd59a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54683 (0xd59b)

lri $AR1,    #0x0040
lri $IX1,    #0xd59b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54684 (0xd59c)

lri $AR1,    #0x0040
lri $IX1,    #0xd59c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54685 (0xd59d)

lri $AR1,    #0x0040
lri $IX1,    #0xd59d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54686 (0xd59e)

lri $AR1,    #0x0040
lri $IX1,    #0xd59e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54687 (0xd59f)

lri $AR1,    #0x0040
lri $IX1,    #0xd59f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54688 (0xd5a0)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54689 (0xd5a1)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54690 (0xd5a2)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54691 (0xd5a3)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54692 (0xd5a4)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54693 (0xd5a5)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54694 (0xd5a6)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54695 (0xd5a7)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54696 (0xd5a8)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54697 (0xd5a9)

lri $AR1,    #0x0040
lri $IX1,    #0xd5a9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54698 (0xd5aa)

lri $AR1,    #0x0040
lri $IX1,    #0xd5aa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54699 (0xd5ab)

lri $AR1,    #0x0040
lri $IX1,    #0xd5ab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54700 (0xd5ac)

lri $AR1,    #0x0040
lri $IX1,    #0xd5ac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54701 (0xd5ad)

lri $AR1,    #0x0040
lri $IX1,    #0xd5ad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54702 (0xd5ae)

lri $AR1,    #0x0040
lri $IX1,    #0xd5ae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54703 (0xd5af)

lri $AR1,    #0x0040
lri $IX1,    #0xd5af
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54704 (0xd5b0)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54705 (0xd5b1)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54706 (0xd5b2)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54707 (0xd5b3)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54708 (0xd5b4)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54709 (0xd5b5)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54710 (0xd5b6)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54711 (0xd5b7)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54712 (0xd5b8)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54713 (0xd5b9)

lri $AR1,    #0x0040
lri $IX1,    #0xd5b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54714 (0xd5ba)

lri $AR1,    #0x0040
lri $IX1,    #0xd5ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54715 (0xd5bb)

lri $AR1,    #0x0040
lri $IX1,    #0xd5bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54716 (0xd5bc)

lri $AR1,    #0x0040
lri $IX1,    #0xd5bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54717 (0xd5bd)

lri $AR1,    #0x0040
lri $IX1,    #0xd5bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54718 (0xd5be)

lri $AR1,    #0x0040
lri $IX1,    #0xd5be
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54719 (0xd5bf)

lri $AR1,    #0x0040
lri $IX1,    #0xd5bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54720 (0xd5c0)

lri $AR1,    #0x0040
lri $IX1,    #0xd5c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54721 (0xd5c1)

lri $AR1,    #0x0040
lri $IX1,    #0xd5c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54722 (0xd5c2)

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