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

lri $AR1,    #0x4000
lri $IX1,    #0x9180
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37249 (0x9181)

lri $AR1,    #0x4000
lri $IX1,    #0x9181
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37250 (0x9182)

lri $AR1,    #0x4000
lri $IX1,    #0x9182
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37251 (0x9183)

lri $AR1,    #0x4000
lri $IX1,    #0x9183
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37252 (0x9184)

lri $AR1,    #0x4000
lri $IX1,    #0x9184
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37253 (0x9185)

lri $AR1,    #0x4000
lri $IX1,    #0x9185
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37254 (0x9186)

lri $AR1,    #0x4000
lri $IX1,    #0x9186
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37255 (0x9187)

lri $AR1,    #0x4000
lri $IX1,    #0x9187
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37256 (0x9188)

lri $AR1,    #0x4000
lri $IX1,    #0x9188
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37257 (0x9189)

lri $AR1,    #0x4000
lri $IX1,    #0x9189
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37258 (0x918a)

lri $AR1,    #0x4000
lri $IX1,    #0x918a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37259 (0x918b)

lri $AR1,    #0x4000
lri $IX1,    #0x918b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37260 (0x918c)

lri $AR1,    #0x4000
lri $IX1,    #0x918c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37261 (0x918d)

lri $AR1,    #0x4000
lri $IX1,    #0x918d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37262 (0x918e)

lri $AR1,    #0x4000
lri $IX1,    #0x918e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37263 (0x918f)

lri $AR1,    #0x4000
lri $IX1,    #0x918f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37264 (0x9190)

lri $AR1,    #0x4000
lri $IX1,    #0x9190
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37265 (0x9191)

lri $AR1,    #0x4000
lri $IX1,    #0x9191
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37266 (0x9192)

lri $AR1,    #0x4000
lri $IX1,    #0x9192
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37267 (0x9193)

lri $AR1,    #0x4000
lri $IX1,    #0x9193
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37268 (0x9194)

lri $AR1,    #0x4000
lri $IX1,    #0x9194
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37269 (0x9195)

lri $AR1,    #0x4000
lri $IX1,    #0x9195
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37270 (0x9196)

lri $AR1,    #0x4000
lri $IX1,    #0x9196
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37271 (0x9197)

lri $AR1,    #0x4000
lri $IX1,    #0x9197
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37272 (0x9198)

lri $AR1,    #0x4000
lri $IX1,    #0x9198
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37273 (0x9199)

lri $AR1,    #0x4000
lri $IX1,    #0x9199
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37274 (0x919a)

lri $AR1,    #0x4000
lri $IX1,    #0x919a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37275 (0x919b)

lri $AR1,    #0x4000
lri $IX1,    #0x919b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37276 (0x919c)

lri $AR1,    #0x4000
lri $IX1,    #0x919c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37277 (0x919d)

lri $AR1,    #0x4000
lri $IX1,    #0x919d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37278 (0x919e)

lri $AR1,    #0x4000
lri $IX1,    #0x919e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37279 (0x919f)

lri $AR1,    #0x4000
lri $IX1,    #0x919f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37280 (0x91a0)

lri $AR1,    #0x4000
lri $IX1,    #0x91a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37281 (0x91a1)

lri $AR1,    #0x4000
lri $IX1,    #0x91a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37282 (0x91a2)

lri $AR1,    #0x4000
lri $IX1,    #0x91a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37283 (0x91a3)

lri $AR1,    #0x4000
lri $IX1,    #0x91a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37284 (0x91a4)

lri $AR1,    #0x4000
lri $IX1,    #0x91a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37285 (0x91a5)

lri $AR1,    #0x4000
lri $IX1,    #0x91a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37286 (0x91a6)

lri $AR1,    #0x4000
lri $IX1,    #0x91a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37287 (0x91a7)

lri $AR1,    #0x4000
lri $IX1,    #0x91a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37288 (0x91a8)

lri $AR1,    #0x4000
lri $IX1,    #0x91a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37289 (0x91a9)

lri $AR1,    #0x4000
lri $IX1,    #0x91a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37290 (0x91aa)

lri $AR1,    #0x4000
lri $IX1,    #0x91aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37291 (0x91ab)

lri $AR1,    #0x4000
lri $IX1,    #0x91ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37292 (0x91ac)

lri $AR1,    #0x4000
lri $IX1,    #0x91ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37293 (0x91ad)

lri $AR1,    #0x4000
lri $IX1,    #0x91ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37294 (0x91ae)

lri $AR1,    #0x4000
lri $IX1,    #0x91ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37295 (0x91af)

lri $AR1,    #0x4000
lri $IX1,    #0x91af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37296 (0x91b0)

lri $AR1,    #0x4000
lri $IX1,    #0x91b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37297 (0x91b1)

lri $AR1,    #0x4000
lri $IX1,    #0x91b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37298 (0x91b2)

lri $AR1,    #0x4000
lri $IX1,    #0x91b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37299 (0x91b3)

lri $AR1,    #0x4000
lri $IX1,    #0x91b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37300 (0x91b4)

lri $AR1,    #0x4000
lri $IX1,    #0x91b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37301 (0x91b5)

lri $AR1,    #0x4000
lri $IX1,    #0x91b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37302 (0x91b6)

lri $AR1,    #0x4000
lri $IX1,    #0x91b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37303 (0x91b7)

lri $AR1,    #0x4000
lri $IX1,    #0x91b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37304 (0x91b8)

lri $AR1,    #0x4000
lri $IX1,    #0x91b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37305 (0x91b9)

lri $AR1,    #0x4000
lri $IX1,    #0x91b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37306 (0x91ba)

lri $AR1,    #0x4000
lri $IX1,    #0x91ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37307 (0x91bb)

lri $AR1,    #0x4000
lri $IX1,    #0x91bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37308 (0x91bc)

lri $AR1,    #0x4000
lri $IX1,    #0x91bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37309 (0x91bd)

lri $AR1,    #0x4000
lri $IX1,    #0x91bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37310 (0x91be)

lri $AR1,    #0x4000
lri $IX1,    #0x91be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37311 (0x91bf)

lri $AR1,    #0x4000
lri $IX1,    #0x91bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37312 (0x91c0)

lri $AR1,    #0x4000
lri $IX1,    #0x91c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37313 (0x91c1)

lri $AR1,    #0x4000
lri $IX1,    #0x91c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37314 (0x91c2)

lri $AR1,    #0x4000
lri $IX1,    #0x91c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37315 (0x91c3)

lri $AR1,    #0x4000
lri $IX1,    #0x91c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37316 (0x91c4)

lri $AR1,    #0x4000
lri $IX1,    #0x91c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37317 (0x91c5)

lri $AR1,    #0x4000
lri $IX1,    #0x91c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37318 (0x91c6)

lri $AR1,    #0x4000
lri $IX1,    #0x91c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37319 (0x91c7)

lri $AR1,    #0x4000
lri $IX1,    #0x91c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37320 (0x91c8)

lri $AR1,    #0x4000
lri $IX1,    #0x91c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37321 (0x91c9)

lri $AR1,    #0x4000
lri $IX1,    #0x91c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37322 (0x91ca)

lri $AR1,    #0x4000
lri $IX1,    #0x91ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37323 (0x91cb)

lri $AR1,    #0x4000
lri $IX1,    #0x91cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37324 (0x91cc)

lri $AR1,    #0x4000
lri $IX1,    #0x91cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37325 (0x91cd)

lri $AR1,    #0x4000
lri $IX1,    #0x91cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37326 (0x91ce)

lri $AR1,    #0x4000
lri $IX1,    #0x91ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37327 (0x91cf)

lri $AR1,    #0x4000
lri $IX1,    #0x91cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37328 (0x91d0)

lri $AR1,    #0x4000
lri $IX1,    #0x91d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37329 (0x91d1)

lri $AR1,    #0x4000
lri $IX1,    #0x91d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37330 (0x91d2)

lri $AR1,    #0x4000
lri $IX1,    #0x91d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37331 (0x91d3)

lri $AR1,    #0x4000
lri $IX1,    #0x91d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37332 (0x91d4)

lri $AR1,    #0x4000
lri $IX1,    #0x91d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37333 (0x91d5)

lri $AR1,    #0x4000
lri $IX1,    #0x91d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37334 (0x91d6)

lri $AR1,    #0x4000
lri $IX1,    #0x91d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37335 (0x91d7)

lri $AR1,    #0x4000
lri $IX1,    #0x91d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37336 (0x91d8)

lri $AR1,    #0x4000
lri $IX1,    #0x91d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37337 (0x91d9)

lri $AR1,    #0x4000
lri $IX1,    #0x91d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37338 (0x91da)

lri $AR1,    #0x4000
lri $IX1,    #0x91da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37339 (0x91db)

lri $AR1,    #0x4000
lri $IX1,    #0x91db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37340 (0x91dc)

lri $AR1,    #0x4000
lri $IX1,    #0x91dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37341 (0x91dd)

lri $AR1,    #0x4000
lri $IX1,    #0x91dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37342 (0x91de)

lri $AR1,    #0x4000
lri $IX1,    #0x91de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37343 (0x91df)

lri $AR1,    #0x4000
lri $IX1,    #0x91df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37344 (0x91e0)

lri $AR1,    #0x4000
lri $IX1,    #0x91e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37345 (0x91e1)

lri $AR1,    #0x4000
lri $IX1,    #0x91e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37346 (0x91e2)

lri $AR1,    #0x4000
lri $IX1,    #0x91e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37347 (0x91e3)

lri $AR1,    #0x4000
lri $IX1,    #0x91e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37348 (0x91e4)

lri $AR1,    #0x4000
lri $IX1,    #0x91e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37349 (0x91e5)

lri $AR1,    #0x4000
lri $IX1,    #0x91e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37350 (0x91e6)

lri $AR1,    #0x4000
lri $IX1,    #0x91e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37351 (0x91e7)

lri $AR1,    #0x4000
lri $IX1,    #0x91e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37352 (0x91e8)

lri $AR1,    #0x4000
lri $IX1,    #0x91e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37353 (0x91e9)

lri $AR1,    #0x4000
lri $IX1,    #0x91e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37354 (0x91ea)

lri $AR1,    #0x4000
lri $IX1,    #0x91ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37355 (0x91eb)

lri $AR1,    #0x4000
lri $IX1,    #0x91eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37356 (0x91ec)

lri $AR1,    #0x4000
lri $IX1,    #0x91ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37357 (0x91ed)

lri $AR1,    #0x4000
lri $IX1,    #0x91ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37358 (0x91ee)

lri $AR1,    #0x4000
lri $IX1,    #0x91ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37359 (0x91ef)

lri $AR1,    #0x4000
lri $IX1,    #0x91ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37360 (0x91f0)

lri $AR1,    #0x4000
lri $IX1,    #0x91f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37361 (0x91f1)

lri $AR1,    #0x4000
lri $IX1,    #0x91f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37362 (0x91f2)

lri $AR1,    #0x4000
lri $IX1,    #0x91f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37363 (0x91f3)

lri $AR1,    #0x4000
lri $IX1,    #0x91f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37364 (0x91f4)

lri $AR1,    #0x4000
lri $IX1,    #0x91f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37365 (0x91f5)

lri $AR1,    #0x4000
lri $IX1,    #0x91f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37366 (0x91f6)

lri $AR1,    #0x4000
lri $IX1,    #0x91f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37367 (0x91f7)

lri $AR1,    #0x4000
lri $IX1,    #0x91f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37368 (0x91f8)

lri $AR1,    #0x4000
lri $IX1,    #0x91f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37369 (0x91f9)

lri $AR1,    #0x4000
lri $IX1,    #0x91f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37370 (0x91fa)

lri $AR1,    #0x4000
lri $IX1,    #0x91fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37371 (0x91fb)

lri $AR1,    #0x4000
lri $IX1,    #0x91fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37372 (0x91fc)

lri $AR1,    #0x4000
lri $IX1,    #0x91fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37373 (0x91fd)

lri $AR1,    #0x4000
lri $IX1,    #0x91fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37374 (0x91fe)

lri $AR1,    #0x4000
lri $IX1,    #0x91fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37375 (0x91ff)

lri $AR1,    #0x4000
lri $IX1,    #0x91ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 37376 (0x9200)

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

