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

lri $AR1,    #0x4000
lri $IX1,    #0xd500
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54529 (0xd501)

lri $AR1,    #0x4000
lri $IX1,    #0xd501
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54530 (0xd502)

lri $AR1,    #0x4000
lri $IX1,    #0xd502
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54531 (0xd503)

lri $AR1,    #0x4000
lri $IX1,    #0xd503
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54532 (0xd504)

lri $AR1,    #0x4000
lri $IX1,    #0xd504
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54533 (0xd505)

lri $AR1,    #0x4000
lri $IX1,    #0xd505
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54534 (0xd506)

lri $AR1,    #0x4000
lri $IX1,    #0xd506
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54535 (0xd507)

lri $AR1,    #0x4000
lri $IX1,    #0xd507
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54536 (0xd508)

lri $AR1,    #0x4000
lri $IX1,    #0xd508
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54537 (0xd509)

lri $AR1,    #0x4000
lri $IX1,    #0xd509
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54538 (0xd50a)

lri $AR1,    #0x4000
lri $IX1,    #0xd50a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54539 (0xd50b)

lri $AR1,    #0x4000
lri $IX1,    #0xd50b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54540 (0xd50c)

lri $AR1,    #0x4000
lri $IX1,    #0xd50c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54541 (0xd50d)

lri $AR1,    #0x4000
lri $IX1,    #0xd50d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54542 (0xd50e)

lri $AR1,    #0x4000
lri $IX1,    #0xd50e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54543 (0xd50f)

lri $AR1,    #0x4000
lri $IX1,    #0xd50f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54544 (0xd510)

lri $AR1,    #0x4000
lri $IX1,    #0xd510
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54545 (0xd511)

lri $AR1,    #0x4000
lri $IX1,    #0xd511
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54546 (0xd512)

lri $AR1,    #0x4000
lri $IX1,    #0xd512
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54547 (0xd513)

lri $AR1,    #0x4000
lri $IX1,    #0xd513
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54548 (0xd514)

lri $AR1,    #0x4000
lri $IX1,    #0xd514
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54549 (0xd515)

lri $AR1,    #0x4000
lri $IX1,    #0xd515
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54550 (0xd516)

lri $AR1,    #0x4000
lri $IX1,    #0xd516
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54551 (0xd517)

lri $AR1,    #0x4000
lri $IX1,    #0xd517
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54552 (0xd518)

lri $AR1,    #0x4000
lri $IX1,    #0xd518
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54553 (0xd519)

lri $AR1,    #0x4000
lri $IX1,    #0xd519
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54554 (0xd51a)

lri $AR1,    #0x4000
lri $IX1,    #0xd51a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54555 (0xd51b)

lri $AR1,    #0x4000
lri $IX1,    #0xd51b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54556 (0xd51c)

lri $AR1,    #0x4000
lri $IX1,    #0xd51c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54557 (0xd51d)

lri $AR1,    #0x4000
lri $IX1,    #0xd51d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54558 (0xd51e)

lri $AR1,    #0x4000
lri $IX1,    #0xd51e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54559 (0xd51f)

lri $AR1,    #0x4000
lri $IX1,    #0xd51f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54560 (0xd520)

lri $AR1,    #0x4000
lri $IX1,    #0xd520
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54561 (0xd521)

lri $AR1,    #0x4000
lri $IX1,    #0xd521
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54562 (0xd522)

lri $AR1,    #0x4000
lri $IX1,    #0xd522
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54563 (0xd523)

lri $AR1,    #0x4000
lri $IX1,    #0xd523
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54564 (0xd524)

lri $AR1,    #0x4000
lri $IX1,    #0xd524
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54565 (0xd525)

lri $AR1,    #0x4000
lri $IX1,    #0xd525
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54566 (0xd526)

lri $AR1,    #0x4000
lri $IX1,    #0xd526
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54567 (0xd527)

lri $AR1,    #0x4000
lri $IX1,    #0xd527
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54568 (0xd528)

lri $AR1,    #0x4000
lri $IX1,    #0xd528
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54569 (0xd529)

lri $AR1,    #0x4000
lri $IX1,    #0xd529
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54570 (0xd52a)

lri $AR1,    #0x4000
lri $IX1,    #0xd52a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54571 (0xd52b)

lri $AR1,    #0x4000
lri $IX1,    #0xd52b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54572 (0xd52c)

lri $AR1,    #0x4000
lri $IX1,    #0xd52c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54573 (0xd52d)

lri $AR1,    #0x4000
lri $IX1,    #0xd52d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54574 (0xd52e)

lri $AR1,    #0x4000
lri $IX1,    #0xd52e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54575 (0xd52f)

lri $AR1,    #0x4000
lri $IX1,    #0xd52f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54576 (0xd530)

lri $AR1,    #0x4000
lri $IX1,    #0xd530
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54577 (0xd531)

lri $AR1,    #0x4000
lri $IX1,    #0xd531
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54578 (0xd532)

lri $AR1,    #0x4000
lri $IX1,    #0xd532
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54579 (0xd533)

lri $AR1,    #0x4000
lri $IX1,    #0xd533
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54580 (0xd534)

lri $AR1,    #0x4000
lri $IX1,    #0xd534
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54581 (0xd535)

lri $AR1,    #0x4000
lri $IX1,    #0xd535
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54582 (0xd536)

lri $AR1,    #0x4000
lri $IX1,    #0xd536
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54583 (0xd537)

lri $AR1,    #0x4000
lri $IX1,    #0xd537
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54584 (0xd538)

lri $AR1,    #0x4000
lri $IX1,    #0xd538
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54585 (0xd539)

lri $AR1,    #0x4000
lri $IX1,    #0xd539
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54586 (0xd53a)

lri $AR1,    #0x4000
lri $IX1,    #0xd53a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54587 (0xd53b)

lri $AR1,    #0x4000
lri $IX1,    #0xd53b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54588 (0xd53c)

lri $AR1,    #0x4000
lri $IX1,    #0xd53c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54589 (0xd53d)

lri $AR1,    #0x4000
lri $IX1,    #0xd53d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54590 (0xd53e)

lri $AR1,    #0x4000
lri $IX1,    #0xd53e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54591 (0xd53f)

lri $AR1,    #0x4000
lri $IX1,    #0xd53f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54592 (0xd540)

lri $AR1,    #0x4000
lri $IX1,    #0xd540
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54593 (0xd541)

lri $AR1,    #0x4000
lri $IX1,    #0xd541
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54594 (0xd542)

lri $AR1,    #0x4000
lri $IX1,    #0xd542
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54595 (0xd543)

lri $AR1,    #0x4000
lri $IX1,    #0xd543
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54596 (0xd544)

lri $AR1,    #0x4000
lri $IX1,    #0xd544
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54597 (0xd545)

lri $AR1,    #0x4000
lri $IX1,    #0xd545
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54598 (0xd546)

lri $AR1,    #0x4000
lri $IX1,    #0xd546
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54599 (0xd547)

lri $AR1,    #0x4000
lri $IX1,    #0xd547
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54600 (0xd548)

lri $AR1,    #0x4000
lri $IX1,    #0xd548
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54601 (0xd549)

lri $AR1,    #0x4000
lri $IX1,    #0xd549
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54602 (0xd54a)

lri $AR1,    #0x4000
lri $IX1,    #0xd54a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54603 (0xd54b)

lri $AR1,    #0x4000
lri $IX1,    #0xd54b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54604 (0xd54c)

lri $AR1,    #0x4000
lri $IX1,    #0xd54c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54605 (0xd54d)

lri $AR1,    #0x4000
lri $IX1,    #0xd54d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54606 (0xd54e)

lri $AR1,    #0x4000
lri $IX1,    #0xd54e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54607 (0xd54f)

lri $AR1,    #0x4000
lri $IX1,    #0xd54f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54608 (0xd550)

lri $AR1,    #0x4000
lri $IX1,    #0xd550
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54609 (0xd551)

lri $AR1,    #0x4000
lri $IX1,    #0xd551
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54610 (0xd552)

lri $AR1,    #0x4000
lri $IX1,    #0xd552
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54611 (0xd553)

lri $AR1,    #0x4000
lri $IX1,    #0xd553
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54612 (0xd554)

lri $AR1,    #0x4000
lri $IX1,    #0xd554
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54613 (0xd555)

lri $AR1,    #0x4000
lri $IX1,    #0xd555
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54614 (0xd556)

lri $AR1,    #0x4000
lri $IX1,    #0xd556
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54615 (0xd557)

lri $AR1,    #0x4000
lri $IX1,    #0xd557
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54616 (0xd558)

lri $AR1,    #0x4000
lri $IX1,    #0xd558
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54617 (0xd559)

lri $AR1,    #0x4000
lri $IX1,    #0xd559
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54618 (0xd55a)

lri $AR1,    #0x4000
lri $IX1,    #0xd55a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54619 (0xd55b)

lri $AR1,    #0x4000
lri $IX1,    #0xd55b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54620 (0xd55c)

lri $AR1,    #0x4000
lri $IX1,    #0xd55c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54621 (0xd55d)

lri $AR1,    #0x4000
lri $IX1,    #0xd55d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54622 (0xd55e)

lri $AR1,    #0x4000
lri $IX1,    #0xd55e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54623 (0xd55f)

lri $AR1,    #0x4000
lri $IX1,    #0xd55f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54624 (0xd560)

lri $AR1,    #0x4000
lri $IX1,    #0xd560
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54625 (0xd561)

lri $AR1,    #0x4000
lri $IX1,    #0xd561
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54626 (0xd562)

lri $AR1,    #0x4000
lri $IX1,    #0xd562
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54627 (0xd563)

lri $AR1,    #0x4000
lri $IX1,    #0xd563
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54628 (0xd564)

lri $AR1,    #0x4000
lri $IX1,    #0xd564
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54629 (0xd565)

lri $AR1,    #0x4000
lri $IX1,    #0xd565
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54630 (0xd566)

lri $AR1,    #0x4000
lri $IX1,    #0xd566
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54631 (0xd567)

lri $AR1,    #0x4000
lri $IX1,    #0xd567
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54632 (0xd568)

lri $AR1,    #0x4000
lri $IX1,    #0xd568
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54633 (0xd569)

lri $AR1,    #0x4000
lri $IX1,    #0xd569
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54634 (0xd56a)

lri $AR1,    #0x4000
lri $IX1,    #0xd56a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54635 (0xd56b)

lri $AR1,    #0x4000
lri $IX1,    #0xd56b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54636 (0xd56c)

lri $AR1,    #0x4000
lri $IX1,    #0xd56c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54637 (0xd56d)

lri $AR1,    #0x4000
lri $IX1,    #0xd56d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54638 (0xd56e)

lri $AR1,    #0x4000
lri $IX1,    #0xd56e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54639 (0xd56f)

lri $AR1,    #0x4000
lri $IX1,    #0xd56f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54640 (0xd570)

lri $AR1,    #0x4000
lri $IX1,    #0xd570
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54641 (0xd571)

lri $AR1,    #0x4000
lri $IX1,    #0xd571
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54642 (0xd572)

lri $AR1,    #0x4000
lri $IX1,    #0xd572
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54643 (0xd573)

lri $AR1,    #0x4000
lri $IX1,    #0xd573
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54644 (0xd574)

lri $AR1,    #0x4000
lri $IX1,    #0xd574
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54645 (0xd575)

lri $AR1,    #0x4000
lri $IX1,    #0xd575
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54646 (0xd576)

lri $AR1,    #0x4000
lri $IX1,    #0xd576
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54647 (0xd577)

lri $AR1,    #0x4000
lri $IX1,    #0xd577
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54648 (0xd578)

lri $AR1,    #0x4000
lri $IX1,    #0xd578
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54649 (0xd579)

lri $AR1,    #0x4000
lri $IX1,    #0xd579
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54650 (0xd57a)

lri $AR1,    #0x4000
lri $IX1,    #0xd57a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54651 (0xd57b)

lri $AR1,    #0x4000
lri $IX1,    #0xd57b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54652 (0xd57c)

lri $AR1,    #0x4000
lri $IX1,    #0xd57c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54653 (0xd57d)

lri $AR1,    #0x4000
lri $IX1,    #0xd57d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54654 (0xd57e)

lri $AR1,    #0x4000
lri $IX1,    #0xd57e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54655 (0xd57f)

lri $AR1,    #0x4000
lri $IX1,    #0xd57f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54656 (0xd580)

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

