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

lri $AR1,    #0x4000
lri $IX1,    #0xd400
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54273 (0xd401)

lri $AR1,    #0x4000
lri $IX1,    #0xd401
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54274 (0xd402)

lri $AR1,    #0x4000
lri $IX1,    #0xd402
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54275 (0xd403)

lri $AR1,    #0x4000
lri $IX1,    #0xd403
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54276 (0xd404)

lri $AR1,    #0x4000
lri $IX1,    #0xd404
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54277 (0xd405)

lri $AR1,    #0x4000
lri $IX1,    #0xd405
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54278 (0xd406)

lri $AR1,    #0x4000
lri $IX1,    #0xd406
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54279 (0xd407)

lri $AR1,    #0x4000
lri $IX1,    #0xd407
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54280 (0xd408)

lri $AR1,    #0x4000
lri $IX1,    #0xd408
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54281 (0xd409)

lri $AR1,    #0x4000
lri $IX1,    #0xd409
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54282 (0xd40a)

lri $AR1,    #0x4000
lri $IX1,    #0xd40a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54283 (0xd40b)

lri $AR1,    #0x4000
lri $IX1,    #0xd40b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54284 (0xd40c)

lri $AR1,    #0x4000
lri $IX1,    #0xd40c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54285 (0xd40d)

lri $AR1,    #0x4000
lri $IX1,    #0xd40d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54286 (0xd40e)

lri $AR1,    #0x4000
lri $IX1,    #0xd40e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54287 (0xd40f)

lri $AR1,    #0x4000
lri $IX1,    #0xd40f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54288 (0xd410)

lri $AR1,    #0x4000
lri $IX1,    #0xd410
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54289 (0xd411)

lri $AR1,    #0x4000
lri $IX1,    #0xd411
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54290 (0xd412)

lri $AR1,    #0x4000
lri $IX1,    #0xd412
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54291 (0xd413)

lri $AR1,    #0x4000
lri $IX1,    #0xd413
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54292 (0xd414)

lri $AR1,    #0x4000
lri $IX1,    #0xd414
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54293 (0xd415)

lri $AR1,    #0x4000
lri $IX1,    #0xd415
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54294 (0xd416)

lri $AR1,    #0x4000
lri $IX1,    #0xd416
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54295 (0xd417)

lri $AR1,    #0x4000
lri $IX1,    #0xd417
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54296 (0xd418)

lri $AR1,    #0x4000
lri $IX1,    #0xd418
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54297 (0xd419)

lri $AR1,    #0x4000
lri $IX1,    #0xd419
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54298 (0xd41a)

lri $AR1,    #0x4000
lri $IX1,    #0xd41a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54299 (0xd41b)

lri $AR1,    #0x4000
lri $IX1,    #0xd41b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54300 (0xd41c)

lri $AR1,    #0x4000
lri $IX1,    #0xd41c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54301 (0xd41d)

lri $AR1,    #0x4000
lri $IX1,    #0xd41d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54302 (0xd41e)

lri $AR1,    #0x4000
lri $IX1,    #0xd41e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54303 (0xd41f)

lri $AR1,    #0x4000
lri $IX1,    #0xd41f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54304 (0xd420)

lri $AR1,    #0x4000
lri $IX1,    #0xd420
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54305 (0xd421)

lri $AR1,    #0x4000
lri $IX1,    #0xd421
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54306 (0xd422)

lri $AR1,    #0x4000
lri $IX1,    #0xd422
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54307 (0xd423)

lri $AR1,    #0x4000
lri $IX1,    #0xd423
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54308 (0xd424)

lri $AR1,    #0x4000
lri $IX1,    #0xd424
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54309 (0xd425)

lri $AR1,    #0x4000
lri $IX1,    #0xd425
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54310 (0xd426)

lri $AR1,    #0x4000
lri $IX1,    #0xd426
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54311 (0xd427)

lri $AR1,    #0x4000
lri $IX1,    #0xd427
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54312 (0xd428)

lri $AR1,    #0x4000
lri $IX1,    #0xd428
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54313 (0xd429)

lri $AR1,    #0x4000
lri $IX1,    #0xd429
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54314 (0xd42a)

lri $AR1,    #0x4000
lri $IX1,    #0xd42a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54315 (0xd42b)

lri $AR1,    #0x4000
lri $IX1,    #0xd42b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54316 (0xd42c)

lri $AR1,    #0x4000
lri $IX1,    #0xd42c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54317 (0xd42d)

lri $AR1,    #0x4000
lri $IX1,    #0xd42d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54318 (0xd42e)

lri $AR1,    #0x4000
lri $IX1,    #0xd42e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54319 (0xd42f)

lri $AR1,    #0x4000
lri $IX1,    #0xd42f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54320 (0xd430)

lri $AR1,    #0x4000
lri $IX1,    #0xd430
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54321 (0xd431)

lri $AR1,    #0x4000
lri $IX1,    #0xd431
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54322 (0xd432)

lri $AR1,    #0x4000
lri $IX1,    #0xd432
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54323 (0xd433)

lri $AR1,    #0x4000
lri $IX1,    #0xd433
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54324 (0xd434)

lri $AR1,    #0x4000
lri $IX1,    #0xd434
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54325 (0xd435)

lri $AR1,    #0x4000
lri $IX1,    #0xd435
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54326 (0xd436)

lri $AR1,    #0x4000
lri $IX1,    #0xd436
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54327 (0xd437)

lri $AR1,    #0x4000
lri $IX1,    #0xd437
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54328 (0xd438)

lri $AR1,    #0x4000
lri $IX1,    #0xd438
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54329 (0xd439)

lri $AR1,    #0x4000
lri $IX1,    #0xd439
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54330 (0xd43a)

lri $AR1,    #0x4000
lri $IX1,    #0xd43a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54331 (0xd43b)

lri $AR1,    #0x4000
lri $IX1,    #0xd43b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54332 (0xd43c)

lri $AR1,    #0x4000
lri $IX1,    #0xd43c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54333 (0xd43d)

lri $AR1,    #0x4000
lri $IX1,    #0xd43d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54334 (0xd43e)

lri $AR1,    #0x4000
lri $IX1,    #0xd43e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54335 (0xd43f)

lri $AR1,    #0x4000
lri $IX1,    #0xd43f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54336 (0xd440)

lri $AR1,    #0x4000
lri $IX1,    #0xd440
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54337 (0xd441)

lri $AR1,    #0x4000
lri $IX1,    #0xd441
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54338 (0xd442)

lri $AR1,    #0x4000
lri $IX1,    #0xd442
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54339 (0xd443)

lri $AR1,    #0x4000
lri $IX1,    #0xd443
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54340 (0xd444)

lri $AR1,    #0x4000
lri $IX1,    #0xd444
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54341 (0xd445)

lri $AR1,    #0x4000
lri $IX1,    #0xd445
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54342 (0xd446)

lri $AR1,    #0x4000
lri $IX1,    #0xd446
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54343 (0xd447)

lri $AR1,    #0x4000
lri $IX1,    #0xd447
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54344 (0xd448)

lri $AR1,    #0x4000
lri $IX1,    #0xd448
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54345 (0xd449)

lri $AR1,    #0x4000
lri $IX1,    #0xd449
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54346 (0xd44a)

lri $AR1,    #0x4000
lri $IX1,    #0xd44a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54347 (0xd44b)

lri $AR1,    #0x4000
lri $IX1,    #0xd44b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54348 (0xd44c)

lri $AR1,    #0x4000
lri $IX1,    #0xd44c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54349 (0xd44d)

lri $AR1,    #0x4000
lri $IX1,    #0xd44d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54350 (0xd44e)

lri $AR1,    #0x4000
lri $IX1,    #0xd44e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54351 (0xd44f)

lri $AR1,    #0x4000
lri $IX1,    #0xd44f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54352 (0xd450)

lri $AR1,    #0x4000
lri $IX1,    #0xd450
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54353 (0xd451)

lri $AR1,    #0x4000
lri $IX1,    #0xd451
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54354 (0xd452)

lri $AR1,    #0x4000
lri $IX1,    #0xd452
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54355 (0xd453)

lri $AR1,    #0x4000
lri $IX1,    #0xd453
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54356 (0xd454)

lri $AR1,    #0x4000
lri $IX1,    #0xd454
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54357 (0xd455)

lri $AR1,    #0x4000
lri $IX1,    #0xd455
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54358 (0xd456)

lri $AR1,    #0x4000
lri $IX1,    #0xd456
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54359 (0xd457)

lri $AR1,    #0x4000
lri $IX1,    #0xd457
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54360 (0xd458)

lri $AR1,    #0x4000
lri $IX1,    #0xd458
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54361 (0xd459)

lri $AR1,    #0x4000
lri $IX1,    #0xd459
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54362 (0xd45a)

lri $AR1,    #0x4000
lri $IX1,    #0xd45a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54363 (0xd45b)

lri $AR1,    #0x4000
lri $IX1,    #0xd45b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54364 (0xd45c)

lri $AR1,    #0x4000
lri $IX1,    #0xd45c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54365 (0xd45d)

lri $AR1,    #0x4000
lri $IX1,    #0xd45d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54366 (0xd45e)

lri $AR1,    #0x4000
lri $IX1,    #0xd45e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54367 (0xd45f)

lri $AR1,    #0x4000
lri $IX1,    #0xd45f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54368 (0xd460)

lri $AR1,    #0x4000
lri $IX1,    #0xd460
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54369 (0xd461)

lri $AR1,    #0x4000
lri $IX1,    #0xd461
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54370 (0xd462)

lri $AR1,    #0x4000
lri $IX1,    #0xd462
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54371 (0xd463)

lri $AR1,    #0x4000
lri $IX1,    #0xd463
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54372 (0xd464)

lri $AR1,    #0x4000
lri $IX1,    #0xd464
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54373 (0xd465)

lri $AR1,    #0x4000
lri $IX1,    #0xd465
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54374 (0xd466)

lri $AR1,    #0x4000
lri $IX1,    #0xd466
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54375 (0xd467)

lri $AR1,    #0x4000
lri $IX1,    #0xd467
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54376 (0xd468)

lri $AR1,    #0x4000
lri $IX1,    #0xd468
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54377 (0xd469)

lri $AR1,    #0x4000
lri $IX1,    #0xd469
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54378 (0xd46a)

lri $AR1,    #0x4000
lri $IX1,    #0xd46a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54379 (0xd46b)

lri $AR1,    #0x4000
lri $IX1,    #0xd46b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54380 (0xd46c)

lri $AR1,    #0x4000
lri $IX1,    #0xd46c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54381 (0xd46d)

lri $AR1,    #0x4000
lri $IX1,    #0xd46d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54382 (0xd46e)

lri $AR1,    #0x4000
lri $IX1,    #0xd46e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54383 (0xd46f)

lri $AR1,    #0x4000
lri $IX1,    #0xd46f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54384 (0xd470)

lri $AR1,    #0x4000
lri $IX1,    #0xd470
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54385 (0xd471)

lri $AR1,    #0x4000
lri $IX1,    #0xd471
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54386 (0xd472)

lri $AR1,    #0x4000
lri $IX1,    #0xd472
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54387 (0xd473)

lri $AR1,    #0x4000
lri $IX1,    #0xd473
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54388 (0xd474)

lri $AR1,    #0x4000
lri $IX1,    #0xd474
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54389 (0xd475)

lri $AR1,    #0x4000
lri $IX1,    #0xd475
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54390 (0xd476)

lri $AR1,    #0x4000
lri $IX1,    #0xd476
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54391 (0xd477)

lri $AR1,    #0x4000
lri $IX1,    #0xd477
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54392 (0xd478)

lri $AR1,    #0x4000
lri $IX1,    #0xd478
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54393 (0xd479)

lri $AR1,    #0x4000
lri $IX1,    #0xd479
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54394 (0xd47a)

lri $AR1,    #0x4000
lri $IX1,    #0xd47a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54395 (0xd47b)

lri $AR1,    #0x4000
lri $IX1,    #0xd47b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54396 (0xd47c)

lri $AR1,    #0x4000
lri $IX1,    #0xd47c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54397 (0xd47d)

lri $AR1,    #0x4000
lri $IX1,    #0xd47d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54398 (0xd47e)

lri $AR1,    #0x4000
lri $IX1,    #0xd47e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54399 (0xd47f)

lri $AR1,    #0x4000
lri $IX1,    #0xd47f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54400 (0xd480)

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

