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

lri $AR1,    #0x4000
lri $IX1,    #0xc600
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50689 (0xc601)

lri $AR1,    #0x4000
lri $IX1,    #0xc601
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50690 (0xc602)

lri $AR1,    #0x4000
lri $IX1,    #0xc602
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50691 (0xc603)

lri $AR1,    #0x4000
lri $IX1,    #0xc603
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50692 (0xc604)

lri $AR1,    #0x4000
lri $IX1,    #0xc604
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50693 (0xc605)

lri $AR1,    #0x4000
lri $IX1,    #0xc605
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50694 (0xc606)

lri $AR1,    #0x4000
lri $IX1,    #0xc606
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50695 (0xc607)

lri $AR1,    #0x4000
lri $IX1,    #0xc607
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50696 (0xc608)

lri $AR1,    #0x4000
lri $IX1,    #0xc608
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50697 (0xc609)

lri $AR1,    #0x4000
lri $IX1,    #0xc609
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50698 (0xc60a)

lri $AR1,    #0x4000
lri $IX1,    #0xc60a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50699 (0xc60b)

lri $AR1,    #0x4000
lri $IX1,    #0xc60b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50700 (0xc60c)

lri $AR1,    #0x4000
lri $IX1,    #0xc60c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50701 (0xc60d)

lri $AR1,    #0x4000
lri $IX1,    #0xc60d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50702 (0xc60e)

lri $AR1,    #0x4000
lri $IX1,    #0xc60e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50703 (0xc60f)

lri $AR1,    #0x4000
lri $IX1,    #0xc60f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50704 (0xc610)

lri $AR1,    #0x4000
lri $IX1,    #0xc610
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50705 (0xc611)

lri $AR1,    #0x4000
lri $IX1,    #0xc611
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50706 (0xc612)

lri $AR1,    #0x4000
lri $IX1,    #0xc612
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50707 (0xc613)

lri $AR1,    #0x4000
lri $IX1,    #0xc613
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50708 (0xc614)

lri $AR1,    #0x4000
lri $IX1,    #0xc614
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50709 (0xc615)

lri $AR1,    #0x4000
lri $IX1,    #0xc615
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50710 (0xc616)

lri $AR1,    #0x4000
lri $IX1,    #0xc616
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50711 (0xc617)

lri $AR1,    #0x4000
lri $IX1,    #0xc617
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50712 (0xc618)

lri $AR1,    #0x4000
lri $IX1,    #0xc618
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50713 (0xc619)

lri $AR1,    #0x4000
lri $IX1,    #0xc619
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50714 (0xc61a)

lri $AR1,    #0x4000
lri $IX1,    #0xc61a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50715 (0xc61b)

lri $AR1,    #0x4000
lri $IX1,    #0xc61b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50716 (0xc61c)

lri $AR1,    #0x4000
lri $IX1,    #0xc61c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50717 (0xc61d)

lri $AR1,    #0x4000
lri $IX1,    #0xc61d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50718 (0xc61e)

lri $AR1,    #0x4000
lri $IX1,    #0xc61e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50719 (0xc61f)

lri $AR1,    #0x4000
lri $IX1,    #0xc61f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50720 (0xc620)

lri $AR1,    #0x4000
lri $IX1,    #0xc620
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50721 (0xc621)

lri $AR1,    #0x4000
lri $IX1,    #0xc621
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50722 (0xc622)

lri $AR1,    #0x4000
lri $IX1,    #0xc622
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50723 (0xc623)

lri $AR1,    #0x4000
lri $IX1,    #0xc623
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50724 (0xc624)

lri $AR1,    #0x4000
lri $IX1,    #0xc624
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50725 (0xc625)

lri $AR1,    #0x4000
lri $IX1,    #0xc625
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50726 (0xc626)

lri $AR1,    #0x4000
lri $IX1,    #0xc626
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50727 (0xc627)

lri $AR1,    #0x4000
lri $IX1,    #0xc627
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50728 (0xc628)

lri $AR1,    #0x4000
lri $IX1,    #0xc628
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50729 (0xc629)

lri $AR1,    #0x4000
lri $IX1,    #0xc629
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50730 (0xc62a)

lri $AR1,    #0x4000
lri $IX1,    #0xc62a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50731 (0xc62b)

lri $AR1,    #0x4000
lri $IX1,    #0xc62b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50732 (0xc62c)

lri $AR1,    #0x4000
lri $IX1,    #0xc62c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50733 (0xc62d)

lri $AR1,    #0x4000
lri $IX1,    #0xc62d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50734 (0xc62e)

lri $AR1,    #0x4000
lri $IX1,    #0xc62e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50735 (0xc62f)

lri $AR1,    #0x4000
lri $IX1,    #0xc62f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50736 (0xc630)

lri $AR1,    #0x4000
lri $IX1,    #0xc630
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50737 (0xc631)

lri $AR1,    #0x4000
lri $IX1,    #0xc631
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50738 (0xc632)

lri $AR1,    #0x4000
lri $IX1,    #0xc632
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50739 (0xc633)

lri $AR1,    #0x4000
lri $IX1,    #0xc633
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50740 (0xc634)

lri $AR1,    #0x4000
lri $IX1,    #0xc634
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50741 (0xc635)

lri $AR1,    #0x4000
lri $IX1,    #0xc635
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50742 (0xc636)

lri $AR1,    #0x4000
lri $IX1,    #0xc636
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50743 (0xc637)

lri $AR1,    #0x4000
lri $IX1,    #0xc637
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50744 (0xc638)

lri $AR1,    #0x4000
lri $IX1,    #0xc638
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50745 (0xc639)

lri $AR1,    #0x4000
lri $IX1,    #0xc639
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50746 (0xc63a)

lri $AR1,    #0x4000
lri $IX1,    #0xc63a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50747 (0xc63b)

lri $AR1,    #0x4000
lri $IX1,    #0xc63b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50748 (0xc63c)

lri $AR1,    #0x4000
lri $IX1,    #0xc63c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50749 (0xc63d)

lri $AR1,    #0x4000
lri $IX1,    #0xc63d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50750 (0xc63e)

lri $AR1,    #0x4000
lri $IX1,    #0xc63e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50751 (0xc63f)

lri $AR1,    #0x4000
lri $IX1,    #0xc63f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50752 (0xc640)

lri $AR1,    #0x4000
lri $IX1,    #0xc640
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50753 (0xc641)

lri $AR1,    #0x4000
lri $IX1,    #0xc641
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50754 (0xc642)

lri $AR1,    #0x4000
lri $IX1,    #0xc642
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50755 (0xc643)

lri $AR1,    #0x4000
lri $IX1,    #0xc643
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50756 (0xc644)

lri $AR1,    #0x4000
lri $IX1,    #0xc644
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50757 (0xc645)

lri $AR1,    #0x4000
lri $IX1,    #0xc645
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50758 (0xc646)

lri $AR1,    #0x4000
lri $IX1,    #0xc646
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50759 (0xc647)

lri $AR1,    #0x4000
lri $IX1,    #0xc647
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50760 (0xc648)

lri $AR1,    #0x4000
lri $IX1,    #0xc648
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50761 (0xc649)

lri $AR1,    #0x4000
lri $IX1,    #0xc649
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50762 (0xc64a)

lri $AR1,    #0x4000
lri $IX1,    #0xc64a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50763 (0xc64b)

lri $AR1,    #0x4000
lri $IX1,    #0xc64b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50764 (0xc64c)

lri $AR1,    #0x4000
lri $IX1,    #0xc64c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50765 (0xc64d)

lri $AR1,    #0x4000
lri $IX1,    #0xc64d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50766 (0xc64e)

lri $AR1,    #0x4000
lri $IX1,    #0xc64e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50767 (0xc64f)

lri $AR1,    #0x4000
lri $IX1,    #0xc64f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50768 (0xc650)

lri $AR1,    #0x4000
lri $IX1,    #0xc650
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50769 (0xc651)

lri $AR1,    #0x4000
lri $IX1,    #0xc651
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50770 (0xc652)

lri $AR1,    #0x4000
lri $IX1,    #0xc652
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50771 (0xc653)

lri $AR1,    #0x4000
lri $IX1,    #0xc653
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50772 (0xc654)

lri $AR1,    #0x4000
lri $IX1,    #0xc654
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50773 (0xc655)

lri $AR1,    #0x4000
lri $IX1,    #0xc655
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50774 (0xc656)

lri $AR1,    #0x4000
lri $IX1,    #0xc656
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50775 (0xc657)

lri $AR1,    #0x4000
lri $IX1,    #0xc657
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50776 (0xc658)

lri $AR1,    #0x4000
lri $IX1,    #0xc658
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50777 (0xc659)

lri $AR1,    #0x4000
lri $IX1,    #0xc659
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50778 (0xc65a)

lri $AR1,    #0x4000
lri $IX1,    #0xc65a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50779 (0xc65b)

lri $AR1,    #0x4000
lri $IX1,    #0xc65b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50780 (0xc65c)

lri $AR1,    #0x4000
lri $IX1,    #0xc65c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50781 (0xc65d)

lri $AR1,    #0x4000
lri $IX1,    #0xc65d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50782 (0xc65e)

lri $AR1,    #0x4000
lri $IX1,    #0xc65e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50783 (0xc65f)

lri $AR1,    #0x4000
lri $IX1,    #0xc65f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50784 (0xc660)

lri $AR1,    #0x4000
lri $IX1,    #0xc660
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50785 (0xc661)

lri $AR1,    #0x4000
lri $IX1,    #0xc661
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50786 (0xc662)

lri $AR1,    #0x4000
lri $IX1,    #0xc662
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50787 (0xc663)

lri $AR1,    #0x4000
lri $IX1,    #0xc663
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50788 (0xc664)

lri $AR1,    #0x4000
lri $IX1,    #0xc664
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50789 (0xc665)

lri $AR1,    #0x4000
lri $IX1,    #0xc665
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50790 (0xc666)

lri $AR1,    #0x4000
lri $IX1,    #0xc666
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50791 (0xc667)

lri $AR1,    #0x4000
lri $IX1,    #0xc667
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50792 (0xc668)

lri $AR1,    #0x4000
lri $IX1,    #0xc668
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50793 (0xc669)

lri $AR1,    #0x4000
lri $IX1,    #0xc669
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50794 (0xc66a)

lri $AR1,    #0x4000
lri $IX1,    #0xc66a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50795 (0xc66b)

lri $AR1,    #0x4000
lri $IX1,    #0xc66b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50796 (0xc66c)

lri $AR1,    #0x4000
lri $IX1,    #0xc66c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50797 (0xc66d)

lri $AR1,    #0x4000
lri $IX1,    #0xc66d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50798 (0xc66e)

lri $AR1,    #0x4000
lri $IX1,    #0xc66e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50799 (0xc66f)

lri $AR1,    #0x4000
lri $IX1,    #0xc66f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50800 (0xc670)

lri $AR1,    #0x4000
lri $IX1,    #0xc670
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50801 (0xc671)

lri $AR1,    #0x4000
lri $IX1,    #0xc671
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50802 (0xc672)

lri $AR1,    #0x4000
lri $IX1,    #0xc672
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50803 (0xc673)

lri $AR1,    #0x4000
lri $IX1,    #0xc673
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50804 (0xc674)

lri $AR1,    #0x4000
lri $IX1,    #0xc674
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50805 (0xc675)

lri $AR1,    #0x4000
lri $IX1,    #0xc675
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50806 (0xc676)

lri $AR1,    #0x4000
lri $IX1,    #0xc676
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50807 (0xc677)

lri $AR1,    #0x4000
lri $IX1,    #0xc677
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50808 (0xc678)

lri $AR1,    #0x4000
lri $IX1,    #0xc678
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50809 (0xc679)

lri $AR1,    #0x4000
lri $IX1,    #0xc679
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50810 (0xc67a)

lri $AR1,    #0x4000
lri $IX1,    #0xc67a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50811 (0xc67b)

lri $AR1,    #0x4000
lri $IX1,    #0xc67b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50812 (0xc67c)

lri $AR1,    #0x4000
lri $IX1,    #0xc67c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50813 (0xc67d)

lri $AR1,    #0x4000
lri $IX1,    #0xc67d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50814 (0xc67e)

lri $AR1,    #0x4000
lri $IX1,    #0xc67e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50815 (0xc67f)

lri $AR1,    #0x4000
lri $IX1,    #0xc67f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50816 (0xc680)

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

