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

lri $AR1,    #0x4000
lri $IX1,    #0x7580
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30081 (0x7581)

lri $AR1,    #0x4000
lri $IX1,    #0x7581
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30082 (0x7582)

lri $AR1,    #0x4000
lri $IX1,    #0x7582
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30083 (0x7583)

lri $AR1,    #0x4000
lri $IX1,    #0x7583
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30084 (0x7584)

lri $AR1,    #0x4000
lri $IX1,    #0x7584
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30085 (0x7585)

lri $AR1,    #0x4000
lri $IX1,    #0x7585
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30086 (0x7586)

lri $AR1,    #0x4000
lri $IX1,    #0x7586
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30087 (0x7587)

lri $AR1,    #0x4000
lri $IX1,    #0x7587
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30088 (0x7588)

lri $AR1,    #0x4000
lri $IX1,    #0x7588
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30089 (0x7589)

lri $AR1,    #0x4000
lri $IX1,    #0x7589
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30090 (0x758a)

lri $AR1,    #0x4000
lri $IX1,    #0x758a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30091 (0x758b)

lri $AR1,    #0x4000
lri $IX1,    #0x758b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30092 (0x758c)

lri $AR1,    #0x4000
lri $IX1,    #0x758c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30093 (0x758d)

lri $AR1,    #0x4000
lri $IX1,    #0x758d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30094 (0x758e)

lri $AR1,    #0x4000
lri $IX1,    #0x758e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30095 (0x758f)

lri $AR1,    #0x4000
lri $IX1,    #0x758f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30096 (0x7590)

lri $AR1,    #0x4000
lri $IX1,    #0x7590
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30097 (0x7591)

lri $AR1,    #0x4000
lri $IX1,    #0x7591
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30098 (0x7592)

lri $AR1,    #0x4000
lri $IX1,    #0x7592
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30099 (0x7593)

lri $AR1,    #0x4000
lri $IX1,    #0x7593
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30100 (0x7594)

lri $AR1,    #0x4000
lri $IX1,    #0x7594
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30101 (0x7595)

lri $AR1,    #0x4000
lri $IX1,    #0x7595
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30102 (0x7596)

lri $AR1,    #0x4000
lri $IX1,    #0x7596
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30103 (0x7597)

lri $AR1,    #0x4000
lri $IX1,    #0x7597
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30104 (0x7598)

lri $AR1,    #0x4000
lri $IX1,    #0x7598
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30105 (0x7599)

lri $AR1,    #0x4000
lri $IX1,    #0x7599
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30106 (0x759a)

lri $AR1,    #0x4000
lri $IX1,    #0x759a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30107 (0x759b)

lri $AR1,    #0x4000
lri $IX1,    #0x759b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30108 (0x759c)

lri $AR1,    #0x4000
lri $IX1,    #0x759c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30109 (0x759d)

lri $AR1,    #0x4000
lri $IX1,    #0x759d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30110 (0x759e)

lri $AR1,    #0x4000
lri $IX1,    #0x759e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30111 (0x759f)

lri $AR1,    #0x4000
lri $IX1,    #0x759f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30112 (0x75a0)

lri $AR1,    #0x4000
lri $IX1,    #0x75a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30113 (0x75a1)

lri $AR1,    #0x4000
lri $IX1,    #0x75a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30114 (0x75a2)

lri $AR1,    #0x4000
lri $IX1,    #0x75a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30115 (0x75a3)

lri $AR1,    #0x4000
lri $IX1,    #0x75a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30116 (0x75a4)

lri $AR1,    #0x4000
lri $IX1,    #0x75a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30117 (0x75a5)

lri $AR1,    #0x4000
lri $IX1,    #0x75a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30118 (0x75a6)

lri $AR1,    #0x4000
lri $IX1,    #0x75a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30119 (0x75a7)

lri $AR1,    #0x4000
lri $IX1,    #0x75a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30120 (0x75a8)

lri $AR1,    #0x4000
lri $IX1,    #0x75a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30121 (0x75a9)

lri $AR1,    #0x4000
lri $IX1,    #0x75a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30122 (0x75aa)

lri $AR1,    #0x4000
lri $IX1,    #0x75aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30123 (0x75ab)

lri $AR1,    #0x4000
lri $IX1,    #0x75ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30124 (0x75ac)

lri $AR1,    #0x4000
lri $IX1,    #0x75ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30125 (0x75ad)

lri $AR1,    #0x4000
lri $IX1,    #0x75ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30126 (0x75ae)

lri $AR1,    #0x4000
lri $IX1,    #0x75ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30127 (0x75af)

lri $AR1,    #0x4000
lri $IX1,    #0x75af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30128 (0x75b0)

lri $AR1,    #0x4000
lri $IX1,    #0x75b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30129 (0x75b1)

lri $AR1,    #0x4000
lri $IX1,    #0x75b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30130 (0x75b2)

lri $AR1,    #0x4000
lri $IX1,    #0x75b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30131 (0x75b3)

lri $AR1,    #0x4000
lri $IX1,    #0x75b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30132 (0x75b4)

lri $AR1,    #0x4000
lri $IX1,    #0x75b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30133 (0x75b5)

lri $AR1,    #0x4000
lri $IX1,    #0x75b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30134 (0x75b6)

lri $AR1,    #0x4000
lri $IX1,    #0x75b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30135 (0x75b7)

lri $AR1,    #0x4000
lri $IX1,    #0x75b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30136 (0x75b8)

lri $AR1,    #0x4000
lri $IX1,    #0x75b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30137 (0x75b9)

lri $AR1,    #0x4000
lri $IX1,    #0x75b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30138 (0x75ba)

lri $AR1,    #0x4000
lri $IX1,    #0x75ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30139 (0x75bb)

lri $AR1,    #0x4000
lri $IX1,    #0x75bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30140 (0x75bc)

lri $AR1,    #0x4000
lri $IX1,    #0x75bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30141 (0x75bd)

lri $AR1,    #0x4000
lri $IX1,    #0x75bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30142 (0x75be)

lri $AR1,    #0x4000
lri $IX1,    #0x75be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30143 (0x75bf)

lri $AR1,    #0x4000
lri $IX1,    #0x75bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30144 (0x75c0)

lri $AR1,    #0x4000
lri $IX1,    #0x75c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30145 (0x75c1)

lri $AR1,    #0x4000
lri $IX1,    #0x75c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30146 (0x75c2)

lri $AR1,    #0x4000
lri $IX1,    #0x75c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30147 (0x75c3)

lri $AR1,    #0x4000
lri $IX1,    #0x75c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30148 (0x75c4)

lri $AR1,    #0x4000
lri $IX1,    #0x75c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30149 (0x75c5)

lri $AR1,    #0x4000
lri $IX1,    #0x75c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30150 (0x75c6)

lri $AR1,    #0x4000
lri $IX1,    #0x75c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30151 (0x75c7)

lri $AR1,    #0x4000
lri $IX1,    #0x75c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30152 (0x75c8)

lri $AR1,    #0x4000
lri $IX1,    #0x75c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30153 (0x75c9)

lri $AR1,    #0x4000
lri $IX1,    #0x75c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30154 (0x75ca)

lri $AR1,    #0x4000
lri $IX1,    #0x75ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30155 (0x75cb)

lri $AR1,    #0x4000
lri $IX1,    #0x75cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30156 (0x75cc)

lri $AR1,    #0x4000
lri $IX1,    #0x75cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30157 (0x75cd)

lri $AR1,    #0x4000
lri $IX1,    #0x75cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30158 (0x75ce)

lri $AR1,    #0x4000
lri $IX1,    #0x75ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30159 (0x75cf)

lri $AR1,    #0x4000
lri $IX1,    #0x75cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30160 (0x75d0)

lri $AR1,    #0x4000
lri $IX1,    #0x75d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30161 (0x75d1)

lri $AR1,    #0x4000
lri $IX1,    #0x75d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30162 (0x75d2)

lri $AR1,    #0x4000
lri $IX1,    #0x75d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30163 (0x75d3)

lri $AR1,    #0x4000
lri $IX1,    #0x75d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30164 (0x75d4)

lri $AR1,    #0x4000
lri $IX1,    #0x75d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30165 (0x75d5)

lri $AR1,    #0x4000
lri $IX1,    #0x75d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30166 (0x75d6)

lri $AR1,    #0x4000
lri $IX1,    #0x75d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30167 (0x75d7)

lri $AR1,    #0x4000
lri $IX1,    #0x75d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30168 (0x75d8)

lri $AR1,    #0x4000
lri $IX1,    #0x75d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30169 (0x75d9)

lri $AR1,    #0x4000
lri $IX1,    #0x75d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30170 (0x75da)

lri $AR1,    #0x4000
lri $IX1,    #0x75da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30171 (0x75db)

lri $AR1,    #0x4000
lri $IX1,    #0x75db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30172 (0x75dc)

lri $AR1,    #0x4000
lri $IX1,    #0x75dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30173 (0x75dd)

lri $AR1,    #0x4000
lri $IX1,    #0x75dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30174 (0x75de)

lri $AR1,    #0x4000
lri $IX1,    #0x75de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30175 (0x75df)

lri $AR1,    #0x4000
lri $IX1,    #0x75df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30176 (0x75e0)

lri $AR1,    #0x4000
lri $IX1,    #0x75e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30177 (0x75e1)

lri $AR1,    #0x4000
lri $IX1,    #0x75e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30178 (0x75e2)

lri $AR1,    #0x4000
lri $IX1,    #0x75e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30179 (0x75e3)

lri $AR1,    #0x4000
lri $IX1,    #0x75e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30180 (0x75e4)

lri $AR1,    #0x4000
lri $IX1,    #0x75e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30181 (0x75e5)

lri $AR1,    #0x4000
lri $IX1,    #0x75e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30182 (0x75e6)

lri $AR1,    #0x4000
lri $IX1,    #0x75e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30183 (0x75e7)

lri $AR1,    #0x4000
lri $IX1,    #0x75e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30184 (0x75e8)

lri $AR1,    #0x4000
lri $IX1,    #0x75e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30185 (0x75e9)

lri $AR1,    #0x4000
lri $IX1,    #0x75e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30186 (0x75ea)

lri $AR1,    #0x4000
lri $IX1,    #0x75ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30187 (0x75eb)

lri $AR1,    #0x4000
lri $IX1,    #0x75eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30188 (0x75ec)

lri $AR1,    #0x4000
lri $IX1,    #0x75ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30189 (0x75ed)

lri $AR1,    #0x4000
lri $IX1,    #0x75ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30190 (0x75ee)

lri $AR1,    #0x4000
lri $IX1,    #0x75ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30191 (0x75ef)

lri $AR1,    #0x4000
lri $IX1,    #0x75ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30192 (0x75f0)

lri $AR1,    #0x4000
lri $IX1,    #0x75f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30193 (0x75f1)

lri $AR1,    #0x4000
lri $IX1,    #0x75f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30194 (0x75f2)

lri $AR1,    #0x4000
lri $IX1,    #0x75f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30195 (0x75f3)

lri $AR1,    #0x4000
lri $IX1,    #0x75f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30196 (0x75f4)

lri $AR1,    #0x4000
lri $IX1,    #0x75f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30197 (0x75f5)

lri $AR1,    #0x4000
lri $IX1,    #0x75f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30198 (0x75f6)

lri $AR1,    #0x4000
lri $IX1,    #0x75f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30199 (0x75f7)

lri $AR1,    #0x4000
lri $IX1,    #0x75f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30200 (0x75f8)

lri $AR1,    #0x4000
lri $IX1,    #0x75f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30201 (0x75f9)

lri $AR1,    #0x4000
lri $IX1,    #0x75f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30202 (0x75fa)

lri $AR1,    #0x4000
lri $IX1,    #0x75fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30203 (0x75fb)

lri $AR1,    #0x4000
lri $IX1,    #0x75fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30204 (0x75fc)

lri $AR1,    #0x4000
lri $IX1,    #0x75fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30205 (0x75fd)

lri $AR1,    #0x4000
lri $IX1,    #0x75fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30206 (0x75fe)

lri $AR1,    #0x4000
lri $IX1,    #0x75fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30207 (0x75ff)

lri $AR1,    #0x4000
lri $IX1,    #0x75ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 30208 (0x7600)

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

