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

lri $AR1,    #0x4000
lri $IX1,    #0x8580
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34177 (0x8581)

lri $AR1,    #0x4000
lri $IX1,    #0x8581
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34178 (0x8582)

lri $AR1,    #0x4000
lri $IX1,    #0x8582
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34179 (0x8583)

lri $AR1,    #0x4000
lri $IX1,    #0x8583
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34180 (0x8584)

lri $AR1,    #0x4000
lri $IX1,    #0x8584
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34181 (0x8585)

lri $AR1,    #0x4000
lri $IX1,    #0x8585
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34182 (0x8586)

lri $AR1,    #0x4000
lri $IX1,    #0x8586
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34183 (0x8587)

lri $AR1,    #0x4000
lri $IX1,    #0x8587
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34184 (0x8588)

lri $AR1,    #0x4000
lri $IX1,    #0x8588
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34185 (0x8589)

lri $AR1,    #0x4000
lri $IX1,    #0x8589
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34186 (0x858a)

lri $AR1,    #0x4000
lri $IX1,    #0x858a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34187 (0x858b)

lri $AR1,    #0x4000
lri $IX1,    #0x858b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34188 (0x858c)

lri $AR1,    #0x4000
lri $IX1,    #0x858c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34189 (0x858d)

lri $AR1,    #0x4000
lri $IX1,    #0x858d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34190 (0x858e)

lri $AR1,    #0x4000
lri $IX1,    #0x858e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34191 (0x858f)

lri $AR1,    #0x4000
lri $IX1,    #0x858f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34192 (0x8590)

lri $AR1,    #0x4000
lri $IX1,    #0x8590
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34193 (0x8591)

lri $AR1,    #0x4000
lri $IX1,    #0x8591
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34194 (0x8592)

lri $AR1,    #0x4000
lri $IX1,    #0x8592
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34195 (0x8593)

lri $AR1,    #0x4000
lri $IX1,    #0x8593
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34196 (0x8594)

lri $AR1,    #0x4000
lri $IX1,    #0x8594
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34197 (0x8595)

lri $AR1,    #0x4000
lri $IX1,    #0x8595
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34198 (0x8596)

lri $AR1,    #0x4000
lri $IX1,    #0x8596
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34199 (0x8597)

lri $AR1,    #0x4000
lri $IX1,    #0x8597
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34200 (0x8598)

lri $AR1,    #0x4000
lri $IX1,    #0x8598
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34201 (0x8599)

lri $AR1,    #0x4000
lri $IX1,    #0x8599
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34202 (0x859a)

lri $AR1,    #0x4000
lri $IX1,    #0x859a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34203 (0x859b)

lri $AR1,    #0x4000
lri $IX1,    #0x859b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34204 (0x859c)

lri $AR1,    #0x4000
lri $IX1,    #0x859c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34205 (0x859d)

lri $AR1,    #0x4000
lri $IX1,    #0x859d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34206 (0x859e)

lri $AR1,    #0x4000
lri $IX1,    #0x859e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34207 (0x859f)

lri $AR1,    #0x4000
lri $IX1,    #0x859f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34208 (0x85a0)

lri $AR1,    #0x4000
lri $IX1,    #0x85a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34209 (0x85a1)

lri $AR1,    #0x4000
lri $IX1,    #0x85a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34210 (0x85a2)

lri $AR1,    #0x4000
lri $IX1,    #0x85a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34211 (0x85a3)

lri $AR1,    #0x4000
lri $IX1,    #0x85a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34212 (0x85a4)

lri $AR1,    #0x4000
lri $IX1,    #0x85a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34213 (0x85a5)

lri $AR1,    #0x4000
lri $IX1,    #0x85a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34214 (0x85a6)

lri $AR1,    #0x4000
lri $IX1,    #0x85a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34215 (0x85a7)

lri $AR1,    #0x4000
lri $IX1,    #0x85a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34216 (0x85a8)

lri $AR1,    #0x4000
lri $IX1,    #0x85a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34217 (0x85a9)

lri $AR1,    #0x4000
lri $IX1,    #0x85a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34218 (0x85aa)

lri $AR1,    #0x4000
lri $IX1,    #0x85aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34219 (0x85ab)

lri $AR1,    #0x4000
lri $IX1,    #0x85ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34220 (0x85ac)

lri $AR1,    #0x4000
lri $IX1,    #0x85ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34221 (0x85ad)

lri $AR1,    #0x4000
lri $IX1,    #0x85ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34222 (0x85ae)

lri $AR1,    #0x4000
lri $IX1,    #0x85ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34223 (0x85af)

lri $AR1,    #0x4000
lri $IX1,    #0x85af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34224 (0x85b0)

lri $AR1,    #0x4000
lri $IX1,    #0x85b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34225 (0x85b1)

lri $AR1,    #0x4000
lri $IX1,    #0x85b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34226 (0x85b2)

lri $AR1,    #0x4000
lri $IX1,    #0x85b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34227 (0x85b3)

lri $AR1,    #0x4000
lri $IX1,    #0x85b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34228 (0x85b4)

lri $AR1,    #0x4000
lri $IX1,    #0x85b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34229 (0x85b5)

lri $AR1,    #0x4000
lri $IX1,    #0x85b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34230 (0x85b6)

lri $AR1,    #0x4000
lri $IX1,    #0x85b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34231 (0x85b7)

lri $AR1,    #0x4000
lri $IX1,    #0x85b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34232 (0x85b8)

lri $AR1,    #0x4000
lri $IX1,    #0x85b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34233 (0x85b9)

lri $AR1,    #0x4000
lri $IX1,    #0x85b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34234 (0x85ba)

lri $AR1,    #0x4000
lri $IX1,    #0x85ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34235 (0x85bb)

lri $AR1,    #0x4000
lri $IX1,    #0x85bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34236 (0x85bc)

lri $AR1,    #0x4000
lri $IX1,    #0x85bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34237 (0x85bd)

lri $AR1,    #0x4000
lri $IX1,    #0x85bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34238 (0x85be)

lri $AR1,    #0x4000
lri $IX1,    #0x85be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34239 (0x85bf)

lri $AR1,    #0x4000
lri $IX1,    #0x85bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34240 (0x85c0)

lri $AR1,    #0x4000
lri $IX1,    #0x85c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34241 (0x85c1)

lri $AR1,    #0x4000
lri $IX1,    #0x85c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34242 (0x85c2)

lri $AR1,    #0x4000
lri $IX1,    #0x85c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34243 (0x85c3)

lri $AR1,    #0x4000
lri $IX1,    #0x85c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34244 (0x85c4)

lri $AR1,    #0x4000
lri $IX1,    #0x85c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34245 (0x85c5)

lri $AR1,    #0x4000
lri $IX1,    #0x85c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34246 (0x85c6)

lri $AR1,    #0x4000
lri $IX1,    #0x85c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34247 (0x85c7)

lri $AR1,    #0x4000
lri $IX1,    #0x85c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34248 (0x85c8)

lri $AR1,    #0x4000
lri $IX1,    #0x85c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34249 (0x85c9)

lri $AR1,    #0x4000
lri $IX1,    #0x85c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34250 (0x85ca)

lri $AR1,    #0x4000
lri $IX1,    #0x85ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34251 (0x85cb)

lri $AR1,    #0x4000
lri $IX1,    #0x85cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34252 (0x85cc)

lri $AR1,    #0x4000
lri $IX1,    #0x85cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34253 (0x85cd)

lri $AR1,    #0x4000
lri $IX1,    #0x85cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34254 (0x85ce)

lri $AR1,    #0x4000
lri $IX1,    #0x85ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34255 (0x85cf)

lri $AR1,    #0x4000
lri $IX1,    #0x85cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34256 (0x85d0)

lri $AR1,    #0x4000
lri $IX1,    #0x85d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34257 (0x85d1)

lri $AR1,    #0x4000
lri $IX1,    #0x85d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34258 (0x85d2)

lri $AR1,    #0x4000
lri $IX1,    #0x85d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34259 (0x85d3)

lri $AR1,    #0x4000
lri $IX1,    #0x85d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34260 (0x85d4)

lri $AR1,    #0x4000
lri $IX1,    #0x85d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34261 (0x85d5)

lri $AR1,    #0x4000
lri $IX1,    #0x85d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34262 (0x85d6)

lri $AR1,    #0x4000
lri $IX1,    #0x85d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34263 (0x85d7)

lri $AR1,    #0x4000
lri $IX1,    #0x85d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34264 (0x85d8)

lri $AR1,    #0x4000
lri $IX1,    #0x85d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34265 (0x85d9)

lri $AR1,    #0x4000
lri $IX1,    #0x85d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34266 (0x85da)

lri $AR1,    #0x4000
lri $IX1,    #0x85da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34267 (0x85db)

lri $AR1,    #0x4000
lri $IX1,    #0x85db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34268 (0x85dc)

lri $AR1,    #0x4000
lri $IX1,    #0x85dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34269 (0x85dd)

lri $AR1,    #0x4000
lri $IX1,    #0x85dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34270 (0x85de)

lri $AR1,    #0x4000
lri $IX1,    #0x85de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34271 (0x85df)

lri $AR1,    #0x4000
lri $IX1,    #0x85df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34272 (0x85e0)

lri $AR1,    #0x4000
lri $IX1,    #0x85e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34273 (0x85e1)

lri $AR1,    #0x4000
lri $IX1,    #0x85e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34274 (0x85e2)

lri $AR1,    #0x4000
lri $IX1,    #0x85e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34275 (0x85e3)

lri $AR1,    #0x4000
lri $IX1,    #0x85e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34276 (0x85e4)

lri $AR1,    #0x4000
lri $IX1,    #0x85e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34277 (0x85e5)

lri $AR1,    #0x4000
lri $IX1,    #0x85e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34278 (0x85e6)

lri $AR1,    #0x4000
lri $IX1,    #0x85e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34279 (0x85e7)

lri $AR1,    #0x4000
lri $IX1,    #0x85e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34280 (0x85e8)

lri $AR1,    #0x4000
lri $IX1,    #0x85e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34281 (0x85e9)

lri $AR1,    #0x4000
lri $IX1,    #0x85e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34282 (0x85ea)

lri $AR1,    #0x4000
lri $IX1,    #0x85ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34283 (0x85eb)

lri $AR1,    #0x4000
lri $IX1,    #0x85eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34284 (0x85ec)

lri $AR1,    #0x4000
lri $IX1,    #0x85ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34285 (0x85ed)

lri $AR1,    #0x4000
lri $IX1,    #0x85ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34286 (0x85ee)

lri $AR1,    #0x4000
lri $IX1,    #0x85ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34287 (0x85ef)

lri $AR1,    #0x4000
lri $IX1,    #0x85ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34288 (0x85f0)

lri $AR1,    #0x4000
lri $IX1,    #0x85f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34289 (0x85f1)

lri $AR1,    #0x4000
lri $IX1,    #0x85f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34290 (0x85f2)

lri $AR1,    #0x4000
lri $IX1,    #0x85f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34291 (0x85f3)

lri $AR1,    #0x4000
lri $IX1,    #0x85f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34292 (0x85f4)

lri $AR1,    #0x4000
lri $IX1,    #0x85f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34293 (0x85f5)

lri $AR1,    #0x4000
lri $IX1,    #0x85f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34294 (0x85f6)

lri $AR1,    #0x4000
lri $IX1,    #0x85f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34295 (0x85f7)

lri $AR1,    #0x4000
lri $IX1,    #0x85f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34296 (0x85f8)

lri $AR1,    #0x4000
lri $IX1,    #0x85f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34297 (0x85f9)

lri $AR1,    #0x4000
lri $IX1,    #0x85f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34298 (0x85fa)

lri $AR1,    #0x4000
lri $IX1,    #0x85fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34299 (0x85fb)

lri $AR1,    #0x4000
lri $IX1,    #0x85fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34300 (0x85fc)

lri $AR1,    #0x4000
lri $IX1,    #0x85fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34301 (0x85fd)

lri $AR1,    #0x4000
lri $IX1,    #0x85fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34302 (0x85fe)

lri $AR1,    #0x4000
lri $IX1,    #0x85fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34303 (0x85ff)

lri $AR1,    #0x4000
lri $IX1,    #0x85ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34304 (0x8600)

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

