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

lri $AR1,    #0x4000
lri $IX1,    #0xf400
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62465 (0xf401)

lri $AR1,    #0x4000
lri $IX1,    #0xf401
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62466 (0xf402)

lri $AR1,    #0x4000
lri $IX1,    #0xf402
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62467 (0xf403)

lri $AR1,    #0x4000
lri $IX1,    #0xf403
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62468 (0xf404)

lri $AR1,    #0x4000
lri $IX1,    #0xf404
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62469 (0xf405)

lri $AR1,    #0x4000
lri $IX1,    #0xf405
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62470 (0xf406)

lri $AR1,    #0x4000
lri $IX1,    #0xf406
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62471 (0xf407)

lri $AR1,    #0x4000
lri $IX1,    #0xf407
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62472 (0xf408)

lri $AR1,    #0x4000
lri $IX1,    #0xf408
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62473 (0xf409)

lri $AR1,    #0x4000
lri $IX1,    #0xf409
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62474 (0xf40a)

lri $AR1,    #0x4000
lri $IX1,    #0xf40a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62475 (0xf40b)

lri $AR1,    #0x4000
lri $IX1,    #0xf40b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62476 (0xf40c)

lri $AR1,    #0x4000
lri $IX1,    #0xf40c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62477 (0xf40d)

lri $AR1,    #0x4000
lri $IX1,    #0xf40d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62478 (0xf40e)

lri $AR1,    #0x4000
lri $IX1,    #0xf40e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62479 (0xf40f)

lri $AR1,    #0x4000
lri $IX1,    #0xf40f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62480 (0xf410)

lri $AR1,    #0x4000
lri $IX1,    #0xf410
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62481 (0xf411)

lri $AR1,    #0x4000
lri $IX1,    #0xf411
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62482 (0xf412)

lri $AR1,    #0x4000
lri $IX1,    #0xf412
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62483 (0xf413)

lri $AR1,    #0x4000
lri $IX1,    #0xf413
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62484 (0xf414)

lri $AR1,    #0x4000
lri $IX1,    #0xf414
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62485 (0xf415)

lri $AR1,    #0x4000
lri $IX1,    #0xf415
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62486 (0xf416)

lri $AR1,    #0x4000
lri $IX1,    #0xf416
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62487 (0xf417)

lri $AR1,    #0x4000
lri $IX1,    #0xf417
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62488 (0xf418)

lri $AR1,    #0x4000
lri $IX1,    #0xf418
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62489 (0xf419)

lri $AR1,    #0x4000
lri $IX1,    #0xf419
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62490 (0xf41a)

lri $AR1,    #0x4000
lri $IX1,    #0xf41a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62491 (0xf41b)

lri $AR1,    #0x4000
lri $IX1,    #0xf41b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62492 (0xf41c)

lri $AR1,    #0x4000
lri $IX1,    #0xf41c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62493 (0xf41d)

lri $AR1,    #0x4000
lri $IX1,    #0xf41d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62494 (0xf41e)

lri $AR1,    #0x4000
lri $IX1,    #0xf41e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62495 (0xf41f)

lri $AR1,    #0x4000
lri $IX1,    #0xf41f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62496 (0xf420)

lri $AR1,    #0x4000
lri $IX1,    #0xf420
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62497 (0xf421)

lri $AR1,    #0x4000
lri $IX1,    #0xf421
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62498 (0xf422)

lri $AR1,    #0x4000
lri $IX1,    #0xf422
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62499 (0xf423)

lri $AR1,    #0x4000
lri $IX1,    #0xf423
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62500 (0xf424)

lri $AR1,    #0x4000
lri $IX1,    #0xf424
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62501 (0xf425)

lri $AR1,    #0x4000
lri $IX1,    #0xf425
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62502 (0xf426)

lri $AR1,    #0x4000
lri $IX1,    #0xf426
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62503 (0xf427)

lri $AR1,    #0x4000
lri $IX1,    #0xf427
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62504 (0xf428)

lri $AR1,    #0x4000
lri $IX1,    #0xf428
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62505 (0xf429)

lri $AR1,    #0x4000
lri $IX1,    #0xf429
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62506 (0xf42a)

lri $AR1,    #0x4000
lri $IX1,    #0xf42a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62507 (0xf42b)

lri $AR1,    #0x4000
lri $IX1,    #0xf42b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62508 (0xf42c)

lri $AR1,    #0x4000
lri $IX1,    #0xf42c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62509 (0xf42d)

lri $AR1,    #0x4000
lri $IX1,    #0xf42d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62510 (0xf42e)

lri $AR1,    #0x4000
lri $IX1,    #0xf42e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62511 (0xf42f)

lri $AR1,    #0x4000
lri $IX1,    #0xf42f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62512 (0xf430)

lri $AR1,    #0x4000
lri $IX1,    #0xf430
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62513 (0xf431)

lri $AR1,    #0x4000
lri $IX1,    #0xf431
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62514 (0xf432)

lri $AR1,    #0x4000
lri $IX1,    #0xf432
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62515 (0xf433)

lri $AR1,    #0x4000
lri $IX1,    #0xf433
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62516 (0xf434)

lri $AR1,    #0x4000
lri $IX1,    #0xf434
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62517 (0xf435)

lri $AR1,    #0x4000
lri $IX1,    #0xf435
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62518 (0xf436)

lri $AR1,    #0x4000
lri $IX1,    #0xf436
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62519 (0xf437)

lri $AR1,    #0x4000
lri $IX1,    #0xf437
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62520 (0xf438)

lri $AR1,    #0x4000
lri $IX1,    #0xf438
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62521 (0xf439)

lri $AR1,    #0x4000
lri $IX1,    #0xf439
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62522 (0xf43a)

lri $AR1,    #0x4000
lri $IX1,    #0xf43a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62523 (0xf43b)

lri $AR1,    #0x4000
lri $IX1,    #0xf43b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62524 (0xf43c)

lri $AR1,    #0x4000
lri $IX1,    #0xf43c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62525 (0xf43d)

lri $AR1,    #0x4000
lri $IX1,    #0xf43d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62526 (0xf43e)

lri $AR1,    #0x4000
lri $IX1,    #0xf43e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62527 (0xf43f)

lri $AR1,    #0x4000
lri $IX1,    #0xf43f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62528 (0xf440)

lri $AR1,    #0x4000
lri $IX1,    #0xf440
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62529 (0xf441)

lri $AR1,    #0x4000
lri $IX1,    #0xf441
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62530 (0xf442)

lri $AR1,    #0x4000
lri $IX1,    #0xf442
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62531 (0xf443)

lri $AR1,    #0x4000
lri $IX1,    #0xf443
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62532 (0xf444)

lri $AR1,    #0x4000
lri $IX1,    #0xf444
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62533 (0xf445)

lri $AR1,    #0x4000
lri $IX1,    #0xf445
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62534 (0xf446)

lri $AR1,    #0x4000
lri $IX1,    #0xf446
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62535 (0xf447)

lri $AR1,    #0x4000
lri $IX1,    #0xf447
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62536 (0xf448)

lri $AR1,    #0x4000
lri $IX1,    #0xf448
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62537 (0xf449)

lri $AR1,    #0x4000
lri $IX1,    #0xf449
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62538 (0xf44a)

lri $AR1,    #0x4000
lri $IX1,    #0xf44a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62539 (0xf44b)

lri $AR1,    #0x4000
lri $IX1,    #0xf44b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62540 (0xf44c)

lri $AR1,    #0x4000
lri $IX1,    #0xf44c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62541 (0xf44d)

lri $AR1,    #0x4000
lri $IX1,    #0xf44d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62542 (0xf44e)

lri $AR1,    #0x4000
lri $IX1,    #0xf44e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62543 (0xf44f)

lri $AR1,    #0x4000
lri $IX1,    #0xf44f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62544 (0xf450)

lri $AR1,    #0x4000
lri $IX1,    #0xf450
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62545 (0xf451)

lri $AR1,    #0x4000
lri $IX1,    #0xf451
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62546 (0xf452)

lri $AR1,    #0x4000
lri $IX1,    #0xf452
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62547 (0xf453)

lri $AR1,    #0x4000
lri $IX1,    #0xf453
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62548 (0xf454)

lri $AR1,    #0x4000
lri $IX1,    #0xf454
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62549 (0xf455)

lri $AR1,    #0x4000
lri $IX1,    #0xf455
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62550 (0xf456)

lri $AR1,    #0x4000
lri $IX1,    #0xf456
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62551 (0xf457)

lri $AR1,    #0x4000
lri $IX1,    #0xf457
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62552 (0xf458)

lri $AR1,    #0x4000
lri $IX1,    #0xf458
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62553 (0xf459)

lri $AR1,    #0x4000
lri $IX1,    #0xf459
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62554 (0xf45a)

lri $AR1,    #0x4000
lri $IX1,    #0xf45a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62555 (0xf45b)

lri $AR1,    #0x4000
lri $IX1,    #0xf45b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62556 (0xf45c)

lri $AR1,    #0x4000
lri $IX1,    #0xf45c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62557 (0xf45d)

lri $AR1,    #0x4000
lri $IX1,    #0xf45d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62558 (0xf45e)

lri $AR1,    #0x4000
lri $IX1,    #0xf45e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62559 (0xf45f)

lri $AR1,    #0x4000
lri $IX1,    #0xf45f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62560 (0xf460)

lri $AR1,    #0x4000
lri $IX1,    #0xf460
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62561 (0xf461)

lri $AR1,    #0x4000
lri $IX1,    #0xf461
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62562 (0xf462)

lri $AR1,    #0x4000
lri $IX1,    #0xf462
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62563 (0xf463)

lri $AR1,    #0x4000
lri $IX1,    #0xf463
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62564 (0xf464)

lri $AR1,    #0x4000
lri $IX1,    #0xf464
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62565 (0xf465)

lri $AR1,    #0x4000
lri $IX1,    #0xf465
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62566 (0xf466)

lri $AR1,    #0x4000
lri $IX1,    #0xf466
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62567 (0xf467)

lri $AR1,    #0x4000
lri $IX1,    #0xf467
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62568 (0xf468)

lri $AR1,    #0x4000
lri $IX1,    #0xf468
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62569 (0xf469)

lri $AR1,    #0x4000
lri $IX1,    #0xf469
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62570 (0xf46a)

lri $AR1,    #0x4000
lri $IX1,    #0xf46a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62571 (0xf46b)

lri $AR1,    #0x4000
lri $IX1,    #0xf46b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62572 (0xf46c)

lri $AR1,    #0x4000
lri $IX1,    #0xf46c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62573 (0xf46d)

lri $AR1,    #0x4000
lri $IX1,    #0xf46d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62574 (0xf46e)

lri $AR1,    #0x4000
lri $IX1,    #0xf46e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62575 (0xf46f)

lri $AR1,    #0x4000
lri $IX1,    #0xf46f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62576 (0xf470)

lri $AR1,    #0x4000
lri $IX1,    #0xf470
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62577 (0xf471)

lri $AR1,    #0x4000
lri $IX1,    #0xf471
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62578 (0xf472)

lri $AR1,    #0x4000
lri $IX1,    #0xf472
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62579 (0xf473)

lri $AR1,    #0x4000
lri $IX1,    #0xf473
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62580 (0xf474)

lri $AR1,    #0x4000
lri $IX1,    #0xf474
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62581 (0xf475)

lri $AR1,    #0x4000
lri $IX1,    #0xf475
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62582 (0xf476)

lri $AR1,    #0x4000
lri $IX1,    #0xf476
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62583 (0xf477)

lri $AR1,    #0x4000
lri $IX1,    #0xf477
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62584 (0xf478)

lri $AR1,    #0x4000
lri $IX1,    #0xf478
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62585 (0xf479)

lri $AR1,    #0x4000
lri $IX1,    #0xf479
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62586 (0xf47a)

lri $AR1,    #0x4000
lri $IX1,    #0xf47a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62587 (0xf47b)

lri $AR1,    #0x4000
lri $IX1,    #0xf47b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62588 (0xf47c)

lri $AR1,    #0x4000
lri $IX1,    #0xf47c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62589 (0xf47d)

lri $AR1,    #0x4000
lri $IX1,    #0xf47d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62590 (0xf47e)

lri $AR1,    #0x4000
lri $IX1,    #0xf47e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62591 (0xf47f)

lri $AR1,    #0x4000
lri $IX1,    #0xf47f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62592 (0xf480)

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

