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

lri $AR1,    #0x4000
lri $IX1,    #0x2700
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9985 (0x2701)

lri $AR1,    #0x4000
lri $IX1,    #0x2701
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9986 (0x2702)

lri $AR1,    #0x4000
lri $IX1,    #0x2702
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9987 (0x2703)

lri $AR1,    #0x4000
lri $IX1,    #0x2703
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9988 (0x2704)

lri $AR1,    #0x4000
lri $IX1,    #0x2704
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9989 (0x2705)

lri $AR1,    #0x4000
lri $IX1,    #0x2705
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9990 (0x2706)

lri $AR1,    #0x4000
lri $IX1,    #0x2706
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9991 (0x2707)

lri $AR1,    #0x4000
lri $IX1,    #0x2707
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9992 (0x2708)

lri $AR1,    #0x4000
lri $IX1,    #0x2708
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9993 (0x2709)

lri $AR1,    #0x4000
lri $IX1,    #0x2709
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9994 (0x270a)

lri $AR1,    #0x4000
lri $IX1,    #0x270a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9995 (0x270b)

lri $AR1,    #0x4000
lri $IX1,    #0x270b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9996 (0x270c)

lri $AR1,    #0x4000
lri $IX1,    #0x270c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9997 (0x270d)

lri $AR1,    #0x4000
lri $IX1,    #0x270d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9998 (0x270e)

lri $AR1,    #0x4000
lri $IX1,    #0x270e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9999 (0x270f)

lri $AR1,    #0x4000
lri $IX1,    #0x270f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10000 (0x2710)

lri $AR1,    #0x4000
lri $IX1,    #0x2710
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10001 (0x2711)

lri $AR1,    #0x4000
lri $IX1,    #0x2711
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10002 (0x2712)

lri $AR1,    #0x4000
lri $IX1,    #0x2712
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10003 (0x2713)

lri $AR1,    #0x4000
lri $IX1,    #0x2713
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10004 (0x2714)

lri $AR1,    #0x4000
lri $IX1,    #0x2714
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10005 (0x2715)

lri $AR1,    #0x4000
lri $IX1,    #0x2715
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10006 (0x2716)

lri $AR1,    #0x4000
lri $IX1,    #0x2716
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10007 (0x2717)

lri $AR1,    #0x4000
lri $IX1,    #0x2717
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10008 (0x2718)

lri $AR1,    #0x4000
lri $IX1,    #0x2718
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10009 (0x2719)

lri $AR1,    #0x4000
lri $IX1,    #0x2719
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10010 (0x271a)

lri $AR1,    #0x4000
lri $IX1,    #0x271a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10011 (0x271b)

lri $AR1,    #0x4000
lri $IX1,    #0x271b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10012 (0x271c)

lri $AR1,    #0x4000
lri $IX1,    #0x271c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10013 (0x271d)

lri $AR1,    #0x4000
lri $IX1,    #0x271d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10014 (0x271e)

lri $AR1,    #0x4000
lri $IX1,    #0x271e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10015 (0x271f)

lri $AR1,    #0x4000
lri $IX1,    #0x271f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10016 (0x2720)

lri $AR1,    #0x4000
lri $IX1,    #0x2720
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10017 (0x2721)

lri $AR1,    #0x4000
lri $IX1,    #0x2721
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10018 (0x2722)

lri $AR1,    #0x4000
lri $IX1,    #0x2722
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10019 (0x2723)

lri $AR1,    #0x4000
lri $IX1,    #0x2723
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10020 (0x2724)

lri $AR1,    #0x4000
lri $IX1,    #0x2724
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10021 (0x2725)

lri $AR1,    #0x4000
lri $IX1,    #0x2725
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10022 (0x2726)

lri $AR1,    #0x4000
lri $IX1,    #0x2726
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10023 (0x2727)

lri $AR1,    #0x4000
lri $IX1,    #0x2727
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10024 (0x2728)

lri $AR1,    #0x4000
lri $IX1,    #0x2728
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10025 (0x2729)

lri $AR1,    #0x4000
lri $IX1,    #0x2729
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10026 (0x272a)

lri $AR1,    #0x4000
lri $IX1,    #0x272a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10027 (0x272b)

lri $AR1,    #0x4000
lri $IX1,    #0x272b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10028 (0x272c)

lri $AR1,    #0x4000
lri $IX1,    #0x272c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10029 (0x272d)

lri $AR1,    #0x4000
lri $IX1,    #0x272d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10030 (0x272e)

lri $AR1,    #0x4000
lri $IX1,    #0x272e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10031 (0x272f)

lri $AR1,    #0x4000
lri $IX1,    #0x272f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10032 (0x2730)

lri $AR1,    #0x4000
lri $IX1,    #0x2730
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10033 (0x2731)

lri $AR1,    #0x4000
lri $IX1,    #0x2731
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10034 (0x2732)

lri $AR1,    #0x4000
lri $IX1,    #0x2732
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10035 (0x2733)

lri $AR1,    #0x4000
lri $IX1,    #0x2733
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10036 (0x2734)

lri $AR1,    #0x4000
lri $IX1,    #0x2734
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10037 (0x2735)

lri $AR1,    #0x4000
lri $IX1,    #0x2735
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10038 (0x2736)

lri $AR1,    #0x4000
lri $IX1,    #0x2736
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10039 (0x2737)

lri $AR1,    #0x4000
lri $IX1,    #0x2737
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10040 (0x2738)

lri $AR1,    #0x4000
lri $IX1,    #0x2738
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10041 (0x2739)

lri $AR1,    #0x4000
lri $IX1,    #0x2739
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10042 (0x273a)

lri $AR1,    #0x4000
lri $IX1,    #0x273a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10043 (0x273b)

lri $AR1,    #0x4000
lri $IX1,    #0x273b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10044 (0x273c)

lri $AR1,    #0x4000
lri $IX1,    #0x273c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10045 (0x273d)

lri $AR1,    #0x4000
lri $IX1,    #0x273d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10046 (0x273e)

lri $AR1,    #0x4000
lri $IX1,    #0x273e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10047 (0x273f)

lri $AR1,    #0x4000
lri $IX1,    #0x273f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10048 (0x2740)

lri $AR1,    #0x4000
lri $IX1,    #0x2740
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10049 (0x2741)

lri $AR1,    #0x4000
lri $IX1,    #0x2741
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10050 (0x2742)

lri $AR1,    #0x4000
lri $IX1,    #0x2742
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10051 (0x2743)

lri $AR1,    #0x4000
lri $IX1,    #0x2743
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10052 (0x2744)

lri $AR1,    #0x4000
lri $IX1,    #0x2744
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10053 (0x2745)

lri $AR1,    #0x4000
lri $IX1,    #0x2745
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10054 (0x2746)

lri $AR1,    #0x4000
lri $IX1,    #0x2746
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10055 (0x2747)

lri $AR1,    #0x4000
lri $IX1,    #0x2747
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10056 (0x2748)

lri $AR1,    #0x4000
lri $IX1,    #0x2748
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10057 (0x2749)

lri $AR1,    #0x4000
lri $IX1,    #0x2749
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10058 (0x274a)

lri $AR1,    #0x4000
lri $IX1,    #0x274a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10059 (0x274b)

lri $AR1,    #0x4000
lri $IX1,    #0x274b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10060 (0x274c)

lri $AR1,    #0x4000
lri $IX1,    #0x274c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10061 (0x274d)

lri $AR1,    #0x4000
lri $IX1,    #0x274d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10062 (0x274e)

lri $AR1,    #0x4000
lri $IX1,    #0x274e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10063 (0x274f)

lri $AR1,    #0x4000
lri $IX1,    #0x274f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10064 (0x2750)

lri $AR1,    #0x4000
lri $IX1,    #0x2750
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10065 (0x2751)

lri $AR1,    #0x4000
lri $IX1,    #0x2751
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10066 (0x2752)

lri $AR1,    #0x4000
lri $IX1,    #0x2752
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10067 (0x2753)

lri $AR1,    #0x4000
lri $IX1,    #0x2753
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10068 (0x2754)

lri $AR1,    #0x4000
lri $IX1,    #0x2754
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10069 (0x2755)

lri $AR1,    #0x4000
lri $IX1,    #0x2755
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10070 (0x2756)

lri $AR1,    #0x4000
lri $IX1,    #0x2756
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10071 (0x2757)

lri $AR1,    #0x4000
lri $IX1,    #0x2757
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10072 (0x2758)

lri $AR1,    #0x4000
lri $IX1,    #0x2758
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10073 (0x2759)

lri $AR1,    #0x4000
lri $IX1,    #0x2759
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10074 (0x275a)

lri $AR1,    #0x4000
lri $IX1,    #0x275a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10075 (0x275b)

lri $AR1,    #0x4000
lri $IX1,    #0x275b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10076 (0x275c)

lri $AR1,    #0x4000
lri $IX1,    #0x275c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10077 (0x275d)

lri $AR1,    #0x4000
lri $IX1,    #0x275d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10078 (0x275e)

lri $AR1,    #0x4000
lri $IX1,    #0x275e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10079 (0x275f)

lri $AR1,    #0x4000
lri $IX1,    #0x275f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10080 (0x2760)

lri $AR1,    #0x4000
lri $IX1,    #0x2760
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10081 (0x2761)

lri $AR1,    #0x4000
lri $IX1,    #0x2761
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10082 (0x2762)

lri $AR1,    #0x4000
lri $IX1,    #0x2762
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10083 (0x2763)

lri $AR1,    #0x4000
lri $IX1,    #0x2763
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10084 (0x2764)

lri $AR1,    #0x4000
lri $IX1,    #0x2764
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10085 (0x2765)

lri $AR1,    #0x4000
lri $IX1,    #0x2765
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10086 (0x2766)

lri $AR1,    #0x4000
lri $IX1,    #0x2766
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10087 (0x2767)

lri $AR1,    #0x4000
lri $IX1,    #0x2767
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10088 (0x2768)

lri $AR1,    #0x4000
lri $IX1,    #0x2768
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10089 (0x2769)

lri $AR1,    #0x4000
lri $IX1,    #0x2769
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10090 (0x276a)

lri $AR1,    #0x4000
lri $IX1,    #0x276a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10091 (0x276b)

lri $AR1,    #0x4000
lri $IX1,    #0x276b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10092 (0x276c)

lri $AR1,    #0x4000
lri $IX1,    #0x276c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10093 (0x276d)

lri $AR1,    #0x4000
lri $IX1,    #0x276d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10094 (0x276e)

lri $AR1,    #0x4000
lri $IX1,    #0x276e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10095 (0x276f)

lri $AR1,    #0x4000
lri $IX1,    #0x276f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10096 (0x2770)

lri $AR1,    #0x4000
lri $IX1,    #0x2770
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10097 (0x2771)

lri $AR1,    #0x4000
lri $IX1,    #0x2771
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10098 (0x2772)

lri $AR1,    #0x4000
lri $IX1,    #0x2772
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10099 (0x2773)

lri $AR1,    #0x4000
lri $IX1,    #0x2773
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10100 (0x2774)

lri $AR1,    #0x4000
lri $IX1,    #0x2774
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10101 (0x2775)

lri $AR1,    #0x4000
lri $IX1,    #0x2775
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10102 (0x2776)

lri $AR1,    #0x4000
lri $IX1,    #0x2776
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10103 (0x2777)

lri $AR1,    #0x4000
lri $IX1,    #0x2777
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10104 (0x2778)

lri $AR1,    #0x4000
lri $IX1,    #0x2778
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10105 (0x2779)

lri $AR1,    #0x4000
lri $IX1,    #0x2779
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10106 (0x277a)

lri $AR1,    #0x4000
lri $IX1,    #0x277a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10107 (0x277b)

lri $AR1,    #0x4000
lri $IX1,    #0x277b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10108 (0x277c)

lri $AR1,    #0x4000
lri $IX1,    #0x277c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10109 (0x277d)

lri $AR1,    #0x4000
lri $IX1,    #0x277d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10110 (0x277e)

lri $AR1,    #0x4000
lri $IX1,    #0x277e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10111 (0x277f)

lri $AR1,    #0x4000
lri $IX1,    #0x277f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 10112 (0x2780)

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

