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

lri $AR1,    #0x4000
lri $IX1,    #0xd700
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55041 (0xd701)

lri $AR1,    #0x4000
lri $IX1,    #0xd701
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55042 (0xd702)

lri $AR1,    #0x4000
lri $IX1,    #0xd702
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55043 (0xd703)

lri $AR1,    #0x4000
lri $IX1,    #0xd703
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55044 (0xd704)

lri $AR1,    #0x4000
lri $IX1,    #0xd704
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55045 (0xd705)

lri $AR1,    #0x4000
lri $IX1,    #0xd705
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55046 (0xd706)

lri $AR1,    #0x4000
lri $IX1,    #0xd706
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55047 (0xd707)

lri $AR1,    #0x4000
lri $IX1,    #0xd707
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55048 (0xd708)

lri $AR1,    #0x4000
lri $IX1,    #0xd708
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55049 (0xd709)

lri $AR1,    #0x4000
lri $IX1,    #0xd709
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55050 (0xd70a)

lri $AR1,    #0x4000
lri $IX1,    #0xd70a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55051 (0xd70b)

lri $AR1,    #0x4000
lri $IX1,    #0xd70b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55052 (0xd70c)

lri $AR1,    #0x4000
lri $IX1,    #0xd70c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55053 (0xd70d)

lri $AR1,    #0x4000
lri $IX1,    #0xd70d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55054 (0xd70e)

lri $AR1,    #0x4000
lri $IX1,    #0xd70e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55055 (0xd70f)

lri $AR1,    #0x4000
lri $IX1,    #0xd70f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55056 (0xd710)

lri $AR1,    #0x4000
lri $IX1,    #0xd710
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55057 (0xd711)

lri $AR1,    #0x4000
lri $IX1,    #0xd711
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55058 (0xd712)

lri $AR1,    #0x4000
lri $IX1,    #0xd712
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55059 (0xd713)

lri $AR1,    #0x4000
lri $IX1,    #0xd713
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55060 (0xd714)

lri $AR1,    #0x4000
lri $IX1,    #0xd714
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55061 (0xd715)

lri $AR1,    #0x4000
lri $IX1,    #0xd715
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55062 (0xd716)

lri $AR1,    #0x4000
lri $IX1,    #0xd716
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55063 (0xd717)

lri $AR1,    #0x4000
lri $IX1,    #0xd717
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55064 (0xd718)

lri $AR1,    #0x4000
lri $IX1,    #0xd718
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55065 (0xd719)

lri $AR1,    #0x4000
lri $IX1,    #0xd719
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55066 (0xd71a)

lri $AR1,    #0x4000
lri $IX1,    #0xd71a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55067 (0xd71b)

lri $AR1,    #0x4000
lri $IX1,    #0xd71b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55068 (0xd71c)

lri $AR1,    #0x4000
lri $IX1,    #0xd71c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55069 (0xd71d)

lri $AR1,    #0x4000
lri $IX1,    #0xd71d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55070 (0xd71e)

lri $AR1,    #0x4000
lri $IX1,    #0xd71e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55071 (0xd71f)

lri $AR1,    #0x4000
lri $IX1,    #0xd71f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55072 (0xd720)

lri $AR1,    #0x4000
lri $IX1,    #0xd720
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55073 (0xd721)

lri $AR1,    #0x4000
lri $IX1,    #0xd721
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55074 (0xd722)

lri $AR1,    #0x4000
lri $IX1,    #0xd722
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55075 (0xd723)

lri $AR1,    #0x4000
lri $IX1,    #0xd723
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55076 (0xd724)

lri $AR1,    #0x4000
lri $IX1,    #0xd724
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55077 (0xd725)

lri $AR1,    #0x4000
lri $IX1,    #0xd725
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55078 (0xd726)

lri $AR1,    #0x4000
lri $IX1,    #0xd726
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55079 (0xd727)

lri $AR1,    #0x4000
lri $IX1,    #0xd727
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55080 (0xd728)

lri $AR1,    #0x4000
lri $IX1,    #0xd728
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55081 (0xd729)

lri $AR1,    #0x4000
lri $IX1,    #0xd729
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55082 (0xd72a)

lri $AR1,    #0x4000
lri $IX1,    #0xd72a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55083 (0xd72b)

lri $AR1,    #0x4000
lri $IX1,    #0xd72b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55084 (0xd72c)

lri $AR1,    #0x4000
lri $IX1,    #0xd72c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55085 (0xd72d)

lri $AR1,    #0x4000
lri $IX1,    #0xd72d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55086 (0xd72e)

lri $AR1,    #0x4000
lri $IX1,    #0xd72e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55087 (0xd72f)

lri $AR1,    #0x4000
lri $IX1,    #0xd72f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55088 (0xd730)

lri $AR1,    #0x4000
lri $IX1,    #0xd730
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55089 (0xd731)

lri $AR1,    #0x4000
lri $IX1,    #0xd731
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55090 (0xd732)

lri $AR1,    #0x4000
lri $IX1,    #0xd732
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55091 (0xd733)

lri $AR1,    #0x4000
lri $IX1,    #0xd733
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55092 (0xd734)

lri $AR1,    #0x4000
lri $IX1,    #0xd734
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55093 (0xd735)

lri $AR1,    #0x4000
lri $IX1,    #0xd735
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55094 (0xd736)

lri $AR1,    #0x4000
lri $IX1,    #0xd736
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55095 (0xd737)

lri $AR1,    #0x4000
lri $IX1,    #0xd737
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55096 (0xd738)

lri $AR1,    #0x4000
lri $IX1,    #0xd738
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55097 (0xd739)

lri $AR1,    #0x4000
lri $IX1,    #0xd739
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55098 (0xd73a)

lri $AR1,    #0x4000
lri $IX1,    #0xd73a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55099 (0xd73b)

lri $AR1,    #0x4000
lri $IX1,    #0xd73b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55100 (0xd73c)

lri $AR1,    #0x4000
lri $IX1,    #0xd73c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55101 (0xd73d)

lri $AR1,    #0x4000
lri $IX1,    #0xd73d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55102 (0xd73e)

lri $AR1,    #0x4000
lri $IX1,    #0xd73e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55103 (0xd73f)

lri $AR1,    #0x4000
lri $IX1,    #0xd73f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55104 (0xd740)

lri $AR1,    #0x4000
lri $IX1,    #0xd740
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55105 (0xd741)

lri $AR1,    #0x4000
lri $IX1,    #0xd741
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55106 (0xd742)

lri $AR1,    #0x4000
lri $IX1,    #0xd742
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55107 (0xd743)

lri $AR1,    #0x4000
lri $IX1,    #0xd743
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55108 (0xd744)

lri $AR1,    #0x4000
lri $IX1,    #0xd744
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55109 (0xd745)

lri $AR1,    #0x4000
lri $IX1,    #0xd745
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55110 (0xd746)

lri $AR1,    #0x4000
lri $IX1,    #0xd746
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55111 (0xd747)

lri $AR1,    #0x4000
lri $IX1,    #0xd747
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55112 (0xd748)

lri $AR1,    #0x4000
lri $IX1,    #0xd748
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55113 (0xd749)

lri $AR1,    #0x4000
lri $IX1,    #0xd749
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55114 (0xd74a)

lri $AR1,    #0x4000
lri $IX1,    #0xd74a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55115 (0xd74b)

lri $AR1,    #0x4000
lri $IX1,    #0xd74b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55116 (0xd74c)

lri $AR1,    #0x4000
lri $IX1,    #0xd74c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55117 (0xd74d)

lri $AR1,    #0x4000
lri $IX1,    #0xd74d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55118 (0xd74e)

lri $AR1,    #0x4000
lri $IX1,    #0xd74e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55119 (0xd74f)

lri $AR1,    #0x4000
lri $IX1,    #0xd74f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55120 (0xd750)

lri $AR1,    #0x4000
lri $IX1,    #0xd750
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55121 (0xd751)

lri $AR1,    #0x4000
lri $IX1,    #0xd751
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55122 (0xd752)

lri $AR1,    #0x4000
lri $IX1,    #0xd752
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55123 (0xd753)

lri $AR1,    #0x4000
lri $IX1,    #0xd753
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55124 (0xd754)

lri $AR1,    #0x4000
lri $IX1,    #0xd754
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55125 (0xd755)

lri $AR1,    #0x4000
lri $IX1,    #0xd755
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55126 (0xd756)

lri $AR1,    #0x4000
lri $IX1,    #0xd756
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55127 (0xd757)

lri $AR1,    #0x4000
lri $IX1,    #0xd757
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55128 (0xd758)

lri $AR1,    #0x4000
lri $IX1,    #0xd758
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55129 (0xd759)

lri $AR1,    #0x4000
lri $IX1,    #0xd759
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55130 (0xd75a)

lri $AR1,    #0x4000
lri $IX1,    #0xd75a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55131 (0xd75b)

lri $AR1,    #0x4000
lri $IX1,    #0xd75b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55132 (0xd75c)

lri $AR1,    #0x4000
lri $IX1,    #0xd75c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55133 (0xd75d)

lri $AR1,    #0x4000
lri $IX1,    #0xd75d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55134 (0xd75e)

lri $AR1,    #0x4000
lri $IX1,    #0xd75e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55135 (0xd75f)

lri $AR1,    #0x4000
lri $IX1,    #0xd75f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55136 (0xd760)

lri $AR1,    #0x4000
lri $IX1,    #0xd760
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55137 (0xd761)

lri $AR1,    #0x4000
lri $IX1,    #0xd761
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55138 (0xd762)

lri $AR1,    #0x4000
lri $IX1,    #0xd762
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55139 (0xd763)

lri $AR1,    #0x4000
lri $IX1,    #0xd763
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55140 (0xd764)

lri $AR1,    #0x4000
lri $IX1,    #0xd764
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55141 (0xd765)

lri $AR1,    #0x4000
lri $IX1,    #0xd765
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55142 (0xd766)

lri $AR1,    #0x4000
lri $IX1,    #0xd766
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55143 (0xd767)

lri $AR1,    #0x4000
lri $IX1,    #0xd767
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55144 (0xd768)

lri $AR1,    #0x4000
lri $IX1,    #0xd768
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55145 (0xd769)

lri $AR1,    #0x4000
lri $IX1,    #0xd769
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55146 (0xd76a)

lri $AR1,    #0x4000
lri $IX1,    #0xd76a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55147 (0xd76b)

lri $AR1,    #0x4000
lri $IX1,    #0xd76b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55148 (0xd76c)

lri $AR1,    #0x4000
lri $IX1,    #0xd76c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55149 (0xd76d)

lri $AR1,    #0x4000
lri $IX1,    #0xd76d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55150 (0xd76e)

lri $AR1,    #0x4000
lri $IX1,    #0xd76e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55151 (0xd76f)

lri $AR1,    #0x4000
lri $IX1,    #0xd76f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55152 (0xd770)

lri $AR1,    #0x4000
lri $IX1,    #0xd770
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55153 (0xd771)

lri $AR1,    #0x4000
lri $IX1,    #0xd771
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55154 (0xd772)

lri $AR1,    #0x4000
lri $IX1,    #0xd772
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55155 (0xd773)

lri $AR1,    #0x4000
lri $IX1,    #0xd773
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55156 (0xd774)

lri $AR1,    #0x4000
lri $IX1,    #0xd774
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55157 (0xd775)

lri $AR1,    #0x4000
lri $IX1,    #0xd775
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55158 (0xd776)

lri $AR1,    #0x4000
lri $IX1,    #0xd776
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55159 (0xd777)

lri $AR1,    #0x4000
lri $IX1,    #0xd777
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55160 (0xd778)

lri $AR1,    #0x4000
lri $IX1,    #0xd778
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55161 (0xd779)

lri $AR1,    #0x4000
lri $IX1,    #0xd779
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55162 (0xd77a)

lri $AR1,    #0x4000
lri $IX1,    #0xd77a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55163 (0xd77b)

lri $AR1,    #0x4000
lri $IX1,    #0xd77b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55164 (0xd77c)

lri $AR1,    #0x4000
lri $IX1,    #0xd77c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55165 (0xd77d)

lri $AR1,    #0x4000
lri $IX1,    #0xd77d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55166 (0xd77e)

lri $AR1,    #0x4000
lri $IX1,    #0xd77e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55167 (0xd77f)

lri $AR1,    #0x4000
lri $IX1,    #0xd77f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 55168 (0xd780)

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

