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

lri $AR1,    #0x4000
lri $IX1,    #0xa600
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42497 (0xa601)

lri $AR1,    #0x4000
lri $IX1,    #0xa601
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42498 (0xa602)

lri $AR1,    #0x4000
lri $IX1,    #0xa602
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42499 (0xa603)

lri $AR1,    #0x4000
lri $IX1,    #0xa603
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42500 (0xa604)

lri $AR1,    #0x4000
lri $IX1,    #0xa604
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42501 (0xa605)

lri $AR1,    #0x4000
lri $IX1,    #0xa605
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42502 (0xa606)

lri $AR1,    #0x4000
lri $IX1,    #0xa606
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42503 (0xa607)

lri $AR1,    #0x4000
lri $IX1,    #0xa607
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42504 (0xa608)

lri $AR1,    #0x4000
lri $IX1,    #0xa608
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42505 (0xa609)

lri $AR1,    #0x4000
lri $IX1,    #0xa609
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42506 (0xa60a)

lri $AR1,    #0x4000
lri $IX1,    #0xa60a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42507 (0xa60b)

lri $AR1,    #0x4000
lri $IX1,    #0xa60b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42508 (0xa60c)

lri $AR1,    #0x4000
lri $IX1,    #0xa60c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42509 (0xa60d)

lri $AR1,    #0x4000
lri $IX1,    #0xa60d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42510 (0xa60e)

lri $AR1,    #0x4000
lri $IX1,    #0xa60e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42511 (0xa60f)

lri $AR1,    #0x4000
lri $IX1,    #0xa60f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42512 (0xa610)

lri $AR1,    #0x4000
lri $IX1,    #0xa610
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42513 (0xa611)

lri $AR1,    #0x4000
lri $IX1,    #0xa611
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42514 (0xa612)

lri $AR1,    #0x4000
lri $IX1,    #0xa612
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42515 (0xa613)

lri $AR1,    #0x4000
lri $IX1,    #0xa613
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42516 (0xa614)

lri $AR1,    #0x4000
lri $IX1,    #0xa614
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42517 (0xa615)

lri $AR1,    #0x4000
lri $IX1,    #0xa615
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42518 (0xa616)

lri $AR1,    #0x4000
lri $IX1,    #0xa616
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42519 (0xa617)

lri $AR1,    #0x4000
lri $IX1,    #0xa617
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42520 (0xa618)

lri $AR1,    #0x4000
lri $IX1,    #0xa618
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42521 (0xa619)

lri $AR1,    #0x4000
lri $IX1,    #0xa619
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42522 (0xa61a)

lri $AR1,    #0x4000
lri $IX1,    #0xa61a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42523 (0xa61b)

lri $AR1,    #0x4000
lri $IX1,    #0xa61b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42524 (0xa61c)

lri $AR1,    #0x4000
lri $IX1,    #0xa61c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42525 (0xa61d)

lri $AR1,    #0x4000
lri $IX1,    #0xa61d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42526 (0xa61e)

lri $AR1,    #0x4000
lri $IX1,    #0xa61e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42527 (0xa61f)

lri $AR1,    #0x4000
lri $IX1,    #0xa61f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42528 (0xa620)

lri $AR1,    #0x4000
lri $IX1,    #0xa620
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42529 (0xa621)

lri $AR1,    #0x4000
lri $IX1,    #0xa621
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42530 (0xa622)

lri $AR1,    #0x4000
lri $IX1,    #0xa622
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42531 (0xa623)

lri $AR1,    #0x4000
lri $IX1,    #0xa623
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42532 (0xa624)

lri $AR1,    #0x4000
lri $IX1,    #0xa624
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42533 (0xa625)

lri $AR1,    #0x4000
lri $IX1,    #0xa625
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42534 (0xa626)

lri $AR1,    #0x4000
lri $IX1,    #0xa626
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42535 (0xa627)

lri $AR1,    #0x4000
lri $IX1,    #0xa627
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42536 (0xa628)

lri $AR1,    #0x4000
lri $IX1,    #0xa628
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42537 (0xa629)

lri $AR1,    #0x4000
lri $IX1,    #0xa629
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42538 (0xa62a)

lri $AR1,    #0x4000
lri $IX1,    #0xa62a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42539 (0xa62b)

lri $AR1,    #0x4000
lri $IX1,    #0xa62b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42540 (0xa62c)

lri $AR1,    #0x4000
lri $IX1,    #0xa62c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42541 (0xa62d)

lri $AR1,    #0x4000
lri $IX1,    #0xa62d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42542 (0xa62e)

lri $AR1,    #0x4000
lri $IX1,    #0xa62e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42543 (0xa62f)

lri $AR1,    #0x4000
lri $IX1,    #0xa62f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42544 (0xa630)

lri $AR1,    #0x4000
lri $IX1,    #0xa630
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42545 (0xa631)

lri $AR1,    #0x4000
lri $IX1,    #0xa631
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42546 (0xa632)

lri $AR1,    #0x4000
lri $IX1,    #0xa632
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42547 (0xa633)

lri $AR1,    #0x4000
lri $IX1,    #0xa633
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42548 (0xa634)

lri $AR1,    #0x4000
lri $IX1,    #0xa634
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42549 (0xa635)

lri $AR1,    #0x4000
lri $IX1,    #0xa635
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42550 (0xa636)

lri $AR1,    #0x4000
lri $IX1,    #0xa636
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42551 (0xa637)

lri $AR1,    #0x4000
lri $IX1,    #0xa637
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42552 (0xa638)

lri $AR1,    #0x4000
lri $IX1,    #0xa638
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42553 (0xa639)

lri $AR1,    #0x4000
lri $IX1,    #0xa639
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42554 (0xa63a)

lri $AR1,    #0x4000
lri $IX1,    #0xa63a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42555 (0xa63b)

lri $AR1,    #0x4000
lri $IX1,    #0xa63b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42556 (0xa63c)

lri $AR1,    #0x4000
lri $IX1,    #0xa63c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42557 (0xa63d)

lri $AR1,    #0x4000
lri $IX1,    #0xa63d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42558 (0xa63e)

lri $AR1,    #0x4000
lri $IX1,    #0xa63e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42559 (0xa63f)

lri $AR1,    #0x4000
lri $IX1,    #0xa63f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42560 (0xa640)

lri $AR1,    #0x4000
lri $IX1,    #0xa640
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42561 (0xa641)

lri $AR1,    #0x4000
lri $IX1,    #0xa641
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42562 (0xa642)

lri $AR1,    #0x4000
lri $IX1,    #0xa642
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42563 (0xa643)

lri $AR1,    #0x4000
lri $IX1,    #0xa643
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42564 (0xa644)

lri $AR1,    #0x4000
lri $IX1,    #0xa644
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42565 (0xa645)

lri $AR1,    #0x4000
lri $IX1,    #0xa645
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42566 (0xa646)

lri $AR1,    #0x4000
lri $IX1,    #0xa646
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42567 (0xa647)

lri $AR1,    #0x4000
lri $IX1,    #0xa647
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42568 (0xa648)

lri $AR1,    #0x4000
lri $IX1,    #0xa648
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42569 (0xa649)

lri $AR1,    #0x4000
lri $IX1,    #0xa649
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42570 (0xa64a)

lri $AR1,    #0x4000
lri $IX1,    #0xa64a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42571 (0xa64b)

lri $AR1,    #0x4000
lri $IX1,    #0xa64b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42572 (0xa64c)

lri $AR1,    #0x4000
lri $IX1,    #0xa64c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42573 (0xa64d)

lri $AR1,    #0x4000
lri $IX1,    #0xa64d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42574 (0xa64e)

lri $AR1,    #0x4000
lri $IX1,    #0xa64e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42575 (0xa64f)

lri $AR1,    #0x4000
lri $IX1,    #0xa64f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42576 (0xa650)

lri $AR1,    #0x4000
lri $IX1,    #0xa650
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42577 (0xa651)

lri $AR1,    #0x4000
lri $IX1,    #0xa651
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42578 (0xa652)

lri $AR1,    #0x4000
lri $IX1,    #0xa652
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42579 (0xa653)

lri $AR1,    #0x4000
lri $IX1,    #0xa653
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42580 (0xa654)

lri $AR1,    #0x4000
lri $IX1,    #0xa654
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42581 (0xa655)

lri $AR1,    #0x4000
lri $IX1,    #0xa655
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42582 (0xa656)

lri $AR1,    #0x4000
lri $IX1,    #0xa656
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42583 (0xa657)

lri $AR1,    #0x4000
lri $IX1,    #0xa657
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42584 (0xa658)

lri $AR1,    #0x4000
lri $IX1,    #0xa658
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42585 (0xa659)

lri $AR1,    #0x4000
lri $IX1,    #0xa659
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42586 (0xa65a)

lri $AR1,    #0x4000
lri $IX1,    #0xa65a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42587 (0xa65b)

lri $AR1,    #0x4000
lri $IX1,    #0xa65b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42588 (0xa65c)

lri $AR1,    #0x4000
lri $IX1,    #0xa65c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42589 (0xa65d)

lri $AR1,    #0x4000
lri $IX1,    #0xa65d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42590 (0xa65e)

lri $AR1,    #0x4000
lri $IX1,    #0xa65e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42591 (0xa65f)

lri $AR1,    #0x4000
lri $IX1,    #0xa65f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42592 (0xa660)

lri $AR1,    #0x4000
lri $IX1,    #0xa660
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42593 (0xa661)

lri $AR1,    #0x4000
lri $IX1,    #0xa661
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42594 (0xa662)

lri $AR1,    #0x4000
lri $IX1,    #0xa662
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42595 (0xa663)

lri $AR1,    #0x4000
lri $IX1,    #0xa663
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42596 (0xa664)

lri $AR1,    #0x4000
lri $IX1,    #0xa664
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42597 (0xa665)

lri $AR1,    #0x4000
lri $IX1,    #0xa665
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42598 (0xa666)

lri $AR1,    #0x4000
lri $IX1,    #0xa666
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42599 (0xa667)

lri $AR1,    #0x4000
lri $IX1,    #0xa667
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42600 (0xa668)

lri $AR1,    #0x4000
lri $IX1,    #0xa668
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42601 (0xa669)

lri $AR1,    #0x4000
lri $IX1,    #0xa669
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42602 (0xa66a)

lri $AR1,    #0x4000
lri $IX1,    #0xa66a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42603 (0xa66b)

lri $AR1,    #0x4000
lri $IX1,    #0xa66b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42604 (0xa66c)

lri $AR1,    #0x4000
lri $IX1,    #0xa66c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42605 (0xa66d)

lri $AR1,    #0x4000
lri $IX1,    #0xa66d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42606 (0xa66e)

lri $AR1,    #0x4000
lri $IX1,    #0xa66e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42607 (0xa66f)

lri $AR1,    #0x4000
lri $IX1,    #0xa66f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42608 (0xa670)

lri $AR1,    #0x4000
lri $IX1,    #0xa670
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42609 (0xa671)

lri $AR1,    #0x4000
lri $IX1,    #0xa671
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42610 (0xa672)

lri $AR1,    #0x4000
lri $IX1,    #0xa672
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42611 (0xa673)

lri $AR1,    #0x4000
lri $IX1,    #0xa673
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42612 (0xa674)

lri $AR1,    #0x4000
lri $IX1,    #0xa674
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42613 (0xa675)

lri $AR1,    #0x4000
lri $IX1,    #0xa675
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42614 (0xa676)

lri $AR1,    #0x4000
lri $IX1,    #0xa676
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42615 (0xa677)

lri $AR1,    #0x4000
lri $IX1,    #0xa677
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42616 (0xa678)

lri $AR1,    #0x4000
lri $IX1,    #0xa678
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42617 (0xa679)

lri $AR1,    #0x4000
lri $IX1,    #0xa679
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42618 (0xa67a)

lri $AR1,    #0x4000
lri $IX1,    #0xa67a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42619 (0xa67b)

lri $AR1,    #0x4000
lri $IX1,    #0xa67b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42620 (0xa67c)

lri $AR1,    #0x4000
lri $IX1,    #0xa67c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42621 (0xa67d)

lri $AR1,    #0x4000
lri $IX1,    #0xa67d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42622 (0xa67e)

lri $AR1,    #0x4000
lri $IX1,    #0xa67e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42623 (0xa67f)

lri $AR1,    #0x4000
lri $IX1,    #0xa67f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 42624 (0xa680)

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

