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

lri $AR1,    #0xd900
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55553 (0xd901)

lri $AR1,    #0xd901
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55554 (0xd902)

lri $AR1,    #0xd902
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55555 (0xd903)

lri $AR1,    #0xd903
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55556 (0xd904)

lri $AR1,    #0xd904
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55557 (0xd905)

lri $AR1,    #0xd905
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55558 (0xd906)

lri $AR1,    #0xd906
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55559 (0xd907)

lri $AR1,    #0xd907
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55560 (0xd908)

lri $AR1,    #0xd908
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55561 (0xd909)

lri $AR1,    #0xd909
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55562 (0xd90a)

lri $AR1,    #0xd90a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55563 (0xd90b)

lri $AR1,    #0xd90b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55564 (0xd90c)

lri $AR1,    #0xd90c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55565 (0xd90d)

lri $AR1,    #0xd90d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55566 (0xd90e)

lri $AR1,    #0xd90e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55567 (0xd90f)

lri $AR1,    #0xd90f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55568 (0xd910)

lri $AR1,    #0xd910
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55569 (0xd911)

lri $AR1,    #0xd911
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55570 (0xd912)

lri $AR1,    #0xd912
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55571 (0xd913)

lri $AR1,    #0xd913
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55572 (0xd914)

lri $AR1,    #0xd914
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55573 (0xd915)

lri $AR1,    #0xd915
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55574 (0xd916)

lri $AR1,    #0xd916
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55575 (0xd917)

lri $AR1,    #0xd917
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55576 (0xd918)

lri $AR1,    #0xd918
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55577 (0xd919)

lri $AR1,    #0xd919
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55578 (0xd91a)

lri $AR1,    #0xd91a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55579 (0xd91b)

lri $AR1,    #0xd91b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55580 (0xd91c)

lri $AR1,    #0xd91c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55581 (0xd91d)

lri $AR1,    #0xd91d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55582 (0xd91e)

lri $AR1,    #0xd91e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55583 (0xd91f)

lri $AR1,    #0xd91f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55584 (0xd920)

lri $AR1,    #0xd920
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55585 (0xd921)

lri $AR1,    #0xd921
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55586 (0xd922)

lri $AR1,    #0xd922
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55587 (0xd923)

lri $AR1,    #0xd923
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55588 (0xd924)

lri $AR1,    #0xd924
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55589 (0xd925)

lri $AR1,    #0xd925
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55590 (0xd926)

lri $AR1,    #0xd926
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55591 (0xd927)

lri $AR1,    #0xd927
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55592 (0xd928)

lri $AR1,    #0xd928
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55593 (0xd929)

lri $AR1,    #0xd929
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55594 (0xd92a)

lri $AR1,    #0xd92a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55595 (0xd92b)

lri $AR1,    #0xd92b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55596 (0xd92c)

lri $AR1,    #0xd92c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55597 (0xd92d)

lri $AR1,    #0xd92d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55598 (0xd92e)

lri $AR1,    #0xd92e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55599 (0xd92f)

lri $AR1,    #0xd92f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55600 (0xd930)

lri $AR1,    #0xd930
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55601 (0xd931)

lri $AR1,    #0xd931
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55602 (0xd932)

lri $AR1,    #0xd932
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55603 (0xd933)

lri $AR1,    #0xd933
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55604 (0xd934)

lri $AR1,    #0xd934
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55605 (0xd935)

lri $AR1,    #0xd935
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55606 (0xd936)

lri $AR1,    #0xd936
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55607 (0xd937)

lri $AR1,    #0xd937
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55608 (0xd938)

lri $AR1,    #0xd938
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55609 (0xd939)

lri $AR1,    #0xd939
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55610 (0xd93a)

lri $AR1,    #0xd93a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55611 (0xd93b)

lri $AR1,    #0xd93b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55612 (0xd93c)

lri $AR1,    #0xd93c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55613 (0xd93d)

lri $AR1,    #0xd93d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55614 (0xd93e)

lri $AR1,    #0xd93e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55615 (0xd93f)

lri $AR1,    #0xd93f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55616 (0xd940)

lri $AR1,    #0xd940
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55617 (0xd941)

lri $AR1,    #0xd941
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55618 (0xd942)

lri $AR1,    #0xd942
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55619 (0xd943)

lri $AR1,    #0xd943
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55620 (0xd944)

lri $AR1,    #0xd944
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55621 (0xd945)

lri $AR1,    #0xd945
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55622 (0xd946)

lri $AR1,    #0xd946
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55623 (0xd947)

lri $AR1,    #0xd947
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55624 (0xd948)

lri $AR1,    #0xd948
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55625 (0xd949)

lri $AR1,    #0xd949
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55626 (0xd94a)

lri $AR1,    #0xd94a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55627 (0xd94b)

lri $AR1,    #0xd94b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55628 (0xd94c)

lri $AR1,    #0xd94c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55629 (0xd94d)

lri $AR1,    #0xd94d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55630 (0xd94e)

lri $AR1,    #0xd94e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55631 (0xd94f)

lri $AR1,    #0xd94f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55632 (0xd950)

lri $AR1,    #0xd950
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55633 (0xd951)

lri $AR1,    #0xd951
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55634 (0xd952)

lri $AR1,    #0xd952
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55635 (0xd953)

lri $AR1,    #0xd953
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55636 (0xd954)

lri $AR1,    #0xd954
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55637 (0xd955)

lri $AR1,    #0xd955
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55638 (0xd956)

lri $AR1,    #0xd956
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55639 (0xd957)

lri $AR1,    #0xd957
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55640 (0xd958)

lri $AR1,    #0xd958
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55641 (0xd959)

lri $AR1,    #0xd959
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55642 (0xd95a)

lri $AR1,    #0xd95a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55643 (0xd95b)

lri $AR1,    #0xd95b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55644 (0xd95c)

lri $AR1,    #0xd95c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55645 (0xd95d)

lri $AR1,    #0xd95d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55646 (0xd95e)

lri $AR1,    #0xd95e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55647 (0xd95f)

lri $AR1,    #0xd95f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55648 (0xd960)

lri $AR1,    #0xd960
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55649 (0xd961)

lri $AR1,    #0xd961
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55650 (0xd962)

lri $AR1,    #0xd962
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55651 (0xd963)

lri $AR1,    #0xd963
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55652 (0xd964)

lri $AR1,    #0xd964
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55653 (0xd965)

lri $AR1,    #0xd965
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55654 (0xd966)

lri $AR1,    #0xd966
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55655 (0xd967)

lri $AR1,    #0xd967
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55656 (0xd968)

lri $AR1,    #0xd968
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55657 (0xd969)

lri $AR1,    #0xd969
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55658 (0xd96a)

lri $AR1,    #0xd96a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55659 (0xd96b)

lri $AR1,    #0xd96b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55660 (0xd96c)

lri $AR1,    #0xd96c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55661 (0xd96d)

lri $AR1,    #0xd96d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55662 (0xd96e)

lri $AR1,    #0xd96e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55663 (0xd96f)

lri $AR1,    #0xd96f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55664 (0xd970)

lri $AR1,    #0xd970
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55665 (0xd971)

lri $AR1,    #0xd971
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55666 (0xd972)

lri $AR1,    #0xd972
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55667 (0xd973)

lri $AR1,    #0xd973
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55668 (0xd974)

lri $AR1,    #0xd974
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55669 (0xd975)

lri $AR1,    #0xd975
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55670 (0xd976)

lri $AR1,    #0xd976
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55671 (0xd977)

lri $AR1,    #0xd977
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55672 (0xd978)

lri $AR1,    #0xd978
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55673 (0xd979)

lri $AR1,    #0xd979
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55674 (0xd97a)

lri $AR1,    #0xd97a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55675 (0xd97b)

lri $AR1,    #0xd97b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55676 (0xd97c)

lri $AR1,    #0xd97c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55677 (0xd97d)

lri $AR1,    #0xd97d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55678 (0xd97e)

lri $AR1,    #0xd97e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55679 (0xd97f)

lri $AR1,    #0xd97f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55680 (0xd980)

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

