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

lri $AR1,    #0x4000
lri $IX1,    #0x1480
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5249 (0x1481)

lri $AR1,    #0x4000
lri $IX1,    #0x1481
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5250 (0x1482)

lri $AR1,    #0x4000
lri $IX1,    #0x1482
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5251 (0x1483)

lri $AR1,    #0x4000
lri $IX1,    #0x1483
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5252 (0x1484)

lri $AR1,    #0x4000
lri $IX1,    #0x1484
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5253 (0x1485)

lri $AR1,    #0x4000
lri $IX1,    #0x1485
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5254 (0x1486)

lri $AR1,    #0x4000
lri $IX1,    #0x1486
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5255 (0x1487)

lri $AR1,    #0x4000
lri $IX1,    #0x1487
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5256 (0x1488)

lri $AR1,    #0x4000
lri $IX1,    #0x1488
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5257 (0x1489)

lri $AR1,    #0x4000
lri $IX1,    #0x1489
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5258 (0x148a)

lri $AR1,    #0x4000
lri $IX1,    #0x148a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5259 (0x148b)

lri $AR1,    #0x4000
lri $IX1,    #0x148b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5260 (0x148c)

lri $AR1,    #0x4000
lri $IX1,    #0x148c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5261 (0x148d)

lri $AR1,    #0x4000
lri $IX1,    #0x148d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5262 (0x148e)

lri $AR1,    #0x4000
lri $IX1,    #0x148e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5263 (0x148f)

lri $AR1,    #0x4000
lri $IX1,    #0x148f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5264 (0x1490)

lri $AR1,    #0x4000
lri $IX1,    #0x1490
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5265 (0x1491)

lri $AR1,    #0x4000
lri $IX1,    #0x1491
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5266 (0x1492)

lri $AR1,    #0x4000
lri $IX1,    #0x1492
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5267 (0x1493)

lri $AR1,    #0x4000
lri $IX1,    #0x1493
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5268 (0x1494)

lri $AR1,    #0x4000
lri $IX1,    #0x1494
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5269 (0x1495)

lri $AR1,    #0x4000
lri $IX1,    #0x1495
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5270 (0x1496)

lri $AR1,    #0x4000
lri $IX1,    #0x1496
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5271 (0x1497)

lri $AR1,    #0x4000
lri $IX1,    #0x1497
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5272 (0x1498)

lri $AR1,    #0x4000
lri $IX1,    #0x1498
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5273 (0x1499)

lri $AR1,    #0x4000
lri $IX1,    #0x1499
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5274 (0x149a)

lri $AR1,    #0x4000
lri $IX1,    #0x149a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5275 (0x149b)

lri $AR1,    #0x4000
lri $IX1,    #0x149b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5276 (0x149c)

lri $AR1,    #0x4000
lri $IX1,    #0x149c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5277 (0x149d)

lri $AR1,    #0x4000
lri $IX1,    #0x149d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5278 (0x149e)

lri $AR1,    #0x4000
lri $IX1,    #0x149e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5279 (0x149f)

lri $AR1,    #0x4000
lri $IX1,    #0x149f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5280 (0x14a0)

lri $AR1,    #0x4000
lri $IX1,    #0x14a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5281 (0x14a1)

lri $AR1,    #0x4000
lri $IX1,    #0x14a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5282 (0x14a2)

lri $AR1,    #0x4000
lri $IX1,    #0x14a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5283 (0x14a3)

lri $AR1,    #0x4000
lri $IX1,    #0x14a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5284 (0x14a4)

lri $AR1,    #0x4000
lri $IX1,    #0x14a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5285 (0x14a5)

lri $AR1,    #0x4000
lri $IX1,    #0x14a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5286 (0x14a6)

lri $AR1,    #0x4000
lri $IX1,    #0x14a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5287 (0x14a7)

lri $AR1,    #0x4000
lri $IX1,    #0x14a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5288 (0x14a8)

lri $AR1,    #0x4000
lri $IX1,    #0x14a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5289 (0x14a9)

lri $AR1,    #0x4000
lri $IX1,    #0x14a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5290 (0x14aa)

lri $AR1,    #0x4000
lri $IX1,    #0x14aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5291 (0x14ab)

lri $AR1,    #0x4000
lri $IX1,    #0x14ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5292 (0x14ac)

lri $AR1,    #0x4000
lri $IX1,    #0x14ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5293 (0x14ad)

lri $AR1,    #0x4000
lri $IX1,    #0x14ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5294 (0x14ae)

lri $AR1,    #0x4000
lri $IX1,    #0x14ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5295 (0x14af)

lri $AR1,    #0x4000
lri $IX1,    #0x14af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5296 (0x14b0)

lri $AR1,    #0x4000
lri $IX1,    #0x14b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5297 (0x14b1)

lri $AR1,    #0x4000
lri $IX1,    #0x14b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5298 (0x14b2)

lri $AR1,    #0x4000
lri $IX1,    #0x14b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5299 (0x14b3)

lri $AR1,    #0x4000
lri $IX1,    #0x14b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5300 (0x14b4)

lri $AR1,    #0x4000
lri $IX1,    #0x14b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5301 (0x14b5)

lri $AR1,    #0x4000
lri $IX1,    #0x14b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5302 (0x14b6)

lri $AR1,    #0x4000
lri $IX1,    #0x14b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5303 (0x14b7)

lri $AR1,    #0x4000
lri $IX1,    #0x14b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5304 (0x14b8)

lri $AR1,    #0x4000
lri $IX1,    #0x14b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5305 (0x14b9)

lri $AR1,    #0x4000
lri $IX1,    #0x14b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5306 (0x14ba)

lri $AR1,    #0x4000
lri $IX1,    #0x14ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5307 (0x14bb)

lri $AR1,    #0x4000
lri $IX1,    #0x14bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5308 (0x14bc)

lri $AR1,    #0x4000
lri $IX1,    #0x14bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5309 (0x14bd)

lri $AR1,    #0x4000
lri $IX1,    #0x14bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5310 (0x14be)

lri $AR1,    #0x4000
lri $IX1,    #0x14be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5311 (0x14bf)

lri $AR1,    #0x4000
lri $IX1,    #0x14bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5312 (0x14c0)

lri $AR1,    #0x4000
lri $IX1,    #0x14c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5313 (0x14c1)

lri $AR1,    #0x4000
lri $IX1,    #0x14c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5314 (0x14c2)

lri $AR1,    #0x4000
lri $IX1,    #0x14c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5315 (0x14c3)

lri $AR1,    #0x4000
lri $IX1,    #0x14c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5316 (0x14c4)

lri $AR1,    #0x4000
lri $IX1,    #0x14c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5317 (0x14c5)

lri $AR1,    #0x4000
lri $IX1,    #0x14c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5318 (0x14c6)

lri $AR1,    #0x4000
lri $IX1,    #0x14c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5319 (0x14c7)

lri $AR1,    #0x4000
lri $IX1,    #0x14c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5320 (0x14c8)

lri $AR1,    #0x4000
lri $IX1,    #0x14c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5321 (0x14c9)

lri $AR1,    #0x4000
lri $IX1,    #0x14c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5322 (0x14ca)

lri $AR1,    #0x4000
lri $IX1,    #0x14ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5323 (0x14cb)

lri $AR1,    #0x4000
lri $IX1,    #0x14cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5324 (0x14cc)

lri $AR1,    #0x4000
lri $IX1,    #0x14cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5325 (0x14cd)

lri $AR1,    #0x4000
lri $IX1,    #0x14cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5326 (0x14ce)

lri $AR1,    #0x4000
lri $IX1,    #0x14ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5327 (0x14cf)

lri $AR1,    #0x4000
lri $IX1,    #0x14cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5328 (0x14d0)

lri $AR1,    #0x4000
lri $IX1,    #0x14d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5329 (0x14d1)

lri $AR1,    #0x4000
lri $IX1,    #0x14d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5330 (0x14d2)

lri $AR1,    #0x4000
lri $IX1,    #0x14d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5331 (0x14d3)

lri $AR1,    #0x4000
lri $IX1,    #0x14d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5332 (0x14d4)

lri $AR1,    #0x4000
lri $IX1,    #0x14d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5333 (0x14d5)

lri $AR1,    #0x4000
lri $IX1,    #0x14d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5334 (0x14d6)

lri $AR1,    #0x4000
lri $IX1,    #0x14d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5335 (0x14d7)

lri $AR1,    #0x4000
lri $IX1,    #0x14d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5336 (0x14d8)

lri $AR1,    #0x4000
lri $IX1,    #0x14d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5337 (0x14d9)

lri $AR1,    #0x4000
lri $IX1,    #0x14d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5338 (0x14da)

lri $AR1,    #0x4000
lri $IX1,    #0x14da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5339 (0x14db)

lri $AR1,    #0x4000
lri $IX1,    #0x14db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5340 (0x14dc)

lri $AR1,    #0x4000
lri $IX1,    #0x14dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5341 (0x14dd)

lri $AR1,    #0x4000
lri $IX1,    #0x14dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5342 (0x14de)

lri $AR1,    #0x4000
lri $IX1,    #0x14de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5343 (0x14df)

lri $AR1,    #0x4000
lri $IX1,    #0x14df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5344 (0x14e0)

lri $AR1,    #0x4000
lri $IX1,    #0x14e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5345 (0x14e1)

lri $AR1,    #0x4000
lri $IX1,    #0x14e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5346 (0x14e2)

lri $AR1,    #0x4000
lri $IX1,    #0x14e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5347 (0x14e3)

lri $AR1,    #0x4000
lri $IX1,    #0x14e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5348 (0x14e4)

lri $AR1,    #0x4000
lri $IX1,    #0x14e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5349 (0x14e5)

lri $AR1,    #0x4000
lri $IX1,    #0x14e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5350 (0x14e6)

lri $AR1,    #0x4000
lri $IX1,    #0x14e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5351 (0x14e7)

lri $AR1,    #0x4000
lri $IX1,    #0x14e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5352 (0x14e8)

lri $AR1,    #0x4000
lri $IX1,    #0x14e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5353 (0x14e9)

lri $AR1,    #0x4000
lri $IX1,    #0x14e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5354 (0x14ea)

lri $AR1,    #0x4000
lri $IX1,    #0x14ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5355 (0x14eb)

lri $AR1,    #0x4000
lri $IX1,    #0x14eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5356 (0x14ec)

lri $AR1,    #0x4000
lri $IX1,    #0x14ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5357 (0x14ed)

lri $AR1,    #0x4000
lri $IX1,    #0x14ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5358 (0x14ee)

lri $AR1,    #0x4000
lri $IX1,    #0x14ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5359 (0x14ef)

lri $AR1,    #0x4000
lri $IX1,    #0x14ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5360 (0x14f0)

lri $AR1,    #0x4000
lri $IX1,    #0x14f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5361 (0x14f1)

lri $AR1,    #0x4000
lri $IX1,    #0x14f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5362 (0x14f2)

lri $AR1,    #0x4000
lri $IX1,    #0x14f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5363 (0x14f3)

lri $AR1,    #0x4000
lri $IX1,    #0x14f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5364 (0x14f4)

lri $AR1,    #0x4000
lri $IX1,    #0x14f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5365 (0x14f5)

lri $AR1,    #0x4000
lri $IX1,    #0x14f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5366 (0x14f6)

lri $AR1,    #0x4000
lri $IX1,    #0x14f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5367 (0x14f7)

lri $AR1,    #0x4000
lri $IX1,    #0x14f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5368 (0x14f8)

lri $AR1,    #0x4000
lri $IX1,    #0x14f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5369 (0x14f9)

lri $AR1,    #0x4000
lri $IX1,    #0x14f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5370 (0x14fa)

lri $AR1,    #0x4000
lri $IX1,    #0x14fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5371 (0x14fb)

lri $AR1,    #0x4000
lri $IX1,    #0x14fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5372 (0x14fc)

lri $AR1,    #0x4000
lri $IX1,    #0x14fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5373 (0x14fd)

lri $AR1,    #0x4000
lri $IX1,    #0x14fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5374 (0x14fe)

lri $AR1,    #0x4000
lri $IX1,    #0x14fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5375 (0x14ff)

lri $AR1,    #0x4000
lri $IX1,    #0x14ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5376 (0x1500)

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

