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

lri $AR1,    #0x4000
lri $IX1,    #0xd600
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54785 (0xd601)

lri $AR1,    #0x4000
lri $IX1,    #0xd601
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54786 (0xd602)

lri $AR1,    #0x4000
lri $IX1,    #0xd602
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54787 (0xd603)

lri $AR1,    #0x4000
lri $IX1,    #0xd603
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54788 (0xd604)

lri $AR1,    #0x4000
lri $IX1,    #0xd604
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54789 (0xd605)

lri $AR1,    #0x4000
lri $IX1,    #0xd605
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54790 (0xd606)

lri $AR1,    #0x4000
lri $IX1,    #0xd606
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54791 (0xd607)

lri $AR1,    #0x4000
lri $IX1,    #0xd607
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54792 (0xd608)

lri $AR1,    #0x4000
lri $IX1,    #0xd608
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54793 (0xd609)

lri $AR1,    #0x4000
lri $IX1,    #0xd609
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54794 (0xd60a)

lri $AR1,    #0x4000
lri $IX1,    #0xd60a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54795 (0xd60b)

lri $AR1,    #0x4000
lri $IX1,    #0xd60b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54796 (0xd60c)

lri $AR1,    #0x4000
lri $IX1,    #0xd60c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54797 (0xd60d)

lri $AR1,    #0x4000
lri $IX1,    #0xd60d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54798 (0xd60e)

lri $AR1,    #0x4000
lri $IX1,    #0xd60e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54799 (0xd60f)

lri $AR1,    #0x4000
lri $IX1,    #0xd60f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54800 (0xd610)

lri $AR1,    #0x4000
lri $IX1,    #0xd610
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54801 (0xd611)

lri $AR1,    #0x4000
lri $IX1,    #0xd611
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54802 (0xd612)

lri $AR1,    #0x4000
lri $IX1,    #0xd612
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54803 (0xd613)

lri $AR1,    #0x4000
lri $IX1,    #0xd613
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54804 (0xd614)

lri $AR1,    #0x4000
lri $IX1,    #0xd614
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54805 (0xd615)

lri $AR1,    #0x4000
lri $IX1,    #0xd615
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54806 (0xd616)

lri $AR1,    #0x4000
lri $IX1,    #0xd616
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54807 (0xd617)

lri $AR1,    #0x4000
lri $IX1,    #0xd617
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54808 (0xd618)

lri $AR1,    #0x4000
lri $IX1,    #0xd618
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54809 (0xd619)

lri $AR1,    #0x4000
lri $IX1,    #0xd619
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54810 (0xd61a)

lri $AR1,    #0x4000
lri $IX1,    #0xd61a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54811 (0xd61b)

lri $AR1,    #0x4000
lri $IX1,    #0xd61b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54812 (0xd61c)

lri $AR1,    #0x4000
lri $IX1,    #0xd61c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54813 (0xd61d)

lri $AR1,    #0x4000
lri $IX1,    #0xd61d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54814 (0xd61e)

lri $AR1,    #0x4000
lri $IX1,    #0xd61e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54815 (0xd61f)

lri $AR1,    #0x4000
lri $IX1,    #0xd61f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54816 (0xd620)

lri $AR1,    #0x4000
lri $IX1,    #0xd620
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54817 (0xd621)

lri $AR1,    #0x4000
lri $IX1,    #0xd621
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54818 (0xd622)

lri $AR1,    #0x4000
lri $IX1,    #0xd622
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54819 (0xd623)

lri $AR1,    #0x4000
lri $IX1,    #0xd623
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54820 (0xd624)

lri $AR1,    #0x4000
lri $IX1,    #0xd624
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54821 (0xd625)

lri $AR1,    #0x4000
lri $IX1,    #0xd625
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54822 (0xd626)

lri $AR1,    #0x4000
lri $IX1,    #0xd626
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54823 (0xd627)

lri $AR1,    #0x4000
lri $IX1,    #0xd627
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54824 (0xd628)

lri $AR1,    #0x4000
lri $IX1,    #0xd628
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54825 (0xd629)

lri $AR1,    #0x4000
lri $IX1,    #0xd629
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54826 (0xd62a)

lri $AR1,    #0x4000
lri $IX1,    #0xd62a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54827 (0xd62b)

lri $AR1,    #0x4000
lri $IX1,    #0xd62b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54828 (0xd62c)

lri $AR1,    #0x4000
lri $IX1,    #0xd62c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54829 (0xd62d)

lri $AR1,    #0x4000
lri $IX1,    #0xd62d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54830 (0xd62e)

lri $AR1,    #0x4000
lri $IX1,    #0xd62e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54831 (0xd62f)

lri $AR1,    #0x4000
lri $IX1,    #0xd62f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54832 (0xd630)

lri $AR1,    #0x4000
lri $IX1,    #0xd630
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54833 (0xd631)

lri $AR1,    #0x4000
lri $IX1,    #0xd631
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54834 (0xd632)

lri $AR1,    #0x4000
lri $IX1,    #0xd632
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54835 (0xd633)

lri $AR1,    #0x4000
lri $IX1,    #0xd633
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54836 (0xd634)

lri $AR1,    #0x4000
lri $IX1,    #0xd634
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54837 (0xd635)

lri $AR1,    #0x4000
lri $IX1,    #0xd635
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54838 (0xd636)

lri $AR1,    #0x4000
lri $IX1,    #0xd636
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54839 (0xd637)

lri $AR1,    #0x4000
lri $IX1,    #0xd637
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54840 (0xd638)

lri $AR1,    #0x4000
lri $IX1,    #0xd638
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54841 (0xd639)

lri $AR1,    #0x4000
lri $IX1,    #0xd639
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54842 (0xd63a)

lri $AR1,    #0x4000
lri $IX1,    #0xd63a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54843 (0xd63b)

lri $AR1,    #0x4000
lri $IX1,    #0xd63b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54844 (0xd63c)

lri $AR1,    #0x4000
lri $IX1,    #0xd63c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54845 (0xd63d)

lri $AR1,    #0x4000
lri $IX1,    #0xd63d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54846 (0xd63e)

lri $AR1,    #0x4000
lri $IX1,    #0xd63e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54847 (0xd63f)

lri $AR1,    #0x4000
lri $IX1,    #0xd63f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54848 (0xd640)

lri $AR1,    #0x4000
lri $IX1,    #0xd640
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54849 (0xd641)

lri $AR1,    #0x4000
lri $IX1,    #0xd641
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54850 (0xd642)

lri $AR1,    #0x4000
lri $IX1,    #0xd642
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54851 (0xd643)

lri $AR1,    #0x4000
lri $IX1,    #0xd643
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54852 (0xd644)

lri $AR1,    #0x4000
lri $IX1,    #0xd644
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54853 (0xd645)

lri $AR1,    #0x4000
lri $IX1,    #0xd645
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54854 (0xd646)

lri $AR1,    #0x4000
lri $IX1,    #0xd646
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54855 (0xd647)

lri $AR1,    #0x4000
lri $IX1,    #0xd647
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54856 (0xd648)

lri $AR1,    #0x4000
lri $IX1,    #0xd648
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54857 (0xd649)

lri $AR1,    #0x4000
lri $IX1,    #0xd649
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54858 (0xd64a)

lri $AR1,    #0x4000
lri $IX1,    #0xd64a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54859 (0xd64b)

lri $AR1,    #0x4000
lri $IX1,    #0xd64b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54860 (0xd64c)

lri $AR1,    #0x4000
lri $IX1,    #0xd64c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54861 (0xd64d)

lri $AR1,    #0x4000
lri $IX1,    #0xd64d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54862 (0xd64e)

lri $AR1,    #0x4000
lri $IX1,    #0xd64e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54863 (0xd64f)

lri $AR1,    #0x4000
lri $IX1,    #0xd64f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54864 (0xd650)

lri $AR1,    #0x4000
lri $IX1,    #0xd650
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54865 (0xd651)

lri $AR1,    #0x4000
lri $IX1,    #0xd651
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54866 (0xd652)

lri $AR1,    #0x4000
lri $IX1,    #0xd652
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54867 (0xd653)

lri $AR1,    #0x4000
lri $IX1,    #0xd653
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54868 (0xd654)

lri $AR1,    #0x4000
lri $IX1,    #0xd654
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54869 (0xd655)

lri $AR1,    #0x4000
lri $IX1,    #0xd655
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54870 (0xd656)

lri $AR1,    #0x4000
lri $IX1,    #0xd656
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54871 (0xd657)

lri $AR1,    #0x4000
lri $IX1,    #0xd657
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54872 (0xd658)

lri $AR1,    #0x4000
lri $IX1,    #0xd658
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54873 (0xd659)

lri $AR1,    #0x4000
lri $IX1,    #0xd659
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54874 (0xd65a)

lri $AR1,    #0x4000
lri $IX1,    #0xd65a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54875 (0xd65b)

lri $AR1,    #0x4000
lri $IX1,    #0xd65b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54876 (0xd65c)

lri $AR1,    #0x4000
lri $IX1,    #0xd65c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54877 (0xd65d)

lri $AR1,    #0x4000
lri $IX1,    #0xd65d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54878 (0xd65e)

lri $AR1,    #0x4000
lri $IX1,    #0xd65e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54879 (0xd65f)

lri $AR1,    #0x4000
lri $IX1,    #0xd65f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54880 (0xd660)

lri $AR1,    #0x4000
lri $IX1,    #0xd660
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54881 (0xd661)

lri $AR1,    #0x4000
lri $IX1,    #0xd661
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54882 (0xd662)

lri $AR1,    #0x4000
lri $IX1,    #0xd662
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54883 (0xd663)

lri $AR1,    #0x4000
lri $IX1,    #0xd663
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54884 (0xd664)

lri $AR1,    #0x4000
lri $IX1,    #0xd664
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54885 (0xd665)

lri $AR1,    #0x4000
lri $IX1,    #0xd665
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54886 (0xd666)

lri $AR1,    #0x4000
lri $IX1,    #0xd666
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54887 (0xd667)

lri $AR1,    #0x4000
lri $IX1,    #0xd667
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54888 (0xd668)

lri $AR1,    #0x4000
lri $IX1,    #0xd668
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54889 (0xd669)

lri $AR1,    #0x4000
lri $IX1,    #0xd669
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54890 (0xd66a)

lri $AR1,    #0x4000
lri $IX1,    #0xd66a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54891 (0xd66b)

lri $AR1,    #0x4000
lri $IX1,    #0xd66b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54892 (0xd66c)

lri $AR1,    #0x4000
lri $IX1,    #0xd66c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54893 (0xd66d)

lri $AR1,    #0x4000
lri $IX1,    #0xd66d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54894 (0xd66e)

lri $AR1,    #0x4000
lri $IX1,    #0xd66e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54895 (0xd66f)

lri $AR1,    #0x4000
lri $IX1,    #0xd66f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54896 (0xd670)

lri $AR1,    #0x4000
lri $IX1,    #0xd670
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54897 (0xd671)

lri $AR1,    #0x4000
lri $IX1,    #0xd671
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54898 (0xd672)

lri $AR1,    #0x4000
lri $IX1,    #0xd672
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54899 (0xd673)

lri $AR1,    #0x4000
lri $IX1,    #0xd673
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54900 (0xd674)

lri $AR1,    #0x4000
lri $IX1,    #0xd674
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54901 (0xd675)

lri $AR1,    #0x4000
lri $IX1,    #0xd675
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54902 (0xd676)

lri $AR1,    #0x4000
lri $IX1,    #0xd676
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54903 (0xd677)

lri $AR1,    #0x4000
lri $IX1,    #0xd677
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54904 (0xd678)

lri $AR1,    #0x4000
lri $IX1,    #0xd678
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54905 (0xd679)

lri $AR1,    #0x4000
lri $IX1,    #0xd679
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54906 (0xd67a)

lri $AR1,    #0x4000
lri $IX1,    #0xd67a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54907 (0xd67b)

lri $AR1,    #0x4000
lri $IX1,    #0xd67b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54908 (0xd67c)

lri $AR1,    #0x4000
lri $IX1,    #0xd67c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54909 (0xd67d)

lri $AR1,    #0x4000
lri $IX1,    #0xd67d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54910 (0xd67e)

lri $AR1,    #0x4000
lri $IX1,    #0xd67e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54911 (0xd67f)

lri $AR1,    #0x4000
lri $IX1,    #0xd67f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54912 (0xd680)

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

