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

lri $AR1,    #0x0040
lri $IX1,    #0xf8bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63680 (0xf8c0)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63681 (0xf8c1)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63682 (0xf8c2)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63683 (0xf8c3)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63684 (0xf8c4)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63685 (0xf8c5)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63686 (0xf8c6)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63687 (0xf8c7)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63688 (0xf8c8)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63689 (0xf8c9)

lri $AR1,    #0x0040
lri $IX1,    #0xf8c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63690 (0xf8ca)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63691 (0xf8cb)

lri $AR1,    #0x0040
lri $IX1,    #0xf8cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63692 (0xf8cc)

lri $AR1,    #0x0040
lri $IX1,    #0xf8cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63693 (0xf8cd)

lri $AR1,    #0x0040
lri $IX1,    #0xf8cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63694 (0xf8ce)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63695 (0xf8cf)

lri $AR1,    #0x0040
lri $IX1,    #0xf8cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63696 (0xf8d0)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63697 (0xf8d1)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63698 (0xf8d2)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63699 (0xf8d3)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63700 (0xf8d4)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63701 (0xf8d5)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63702 (0xf8d6)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63703 (0xf8d7)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63704 (0xf8d8)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63705 (0xf8d9)

lri $AR1,    #0x0040
lri $IX1,    #0xf8d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63706 (0xf8da)

lri $AR1,    #0x0040
lri $IX1,    #0xf8da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63707 (0xf8db)

lri $AR1,    #0x0040
lri $IX1,    #0xf8db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63708 (0xf8dc)

lri $AR1,    #0x0040
lri $IX1,    #0xf8dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63709 (0xf8dd)

lri $AR1,    #0x0040
lri $IX1,    #0xf8dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63710 (0xf8de)

lri $AR1,    #0x0040
lri $IX1,    #0xf8de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63711 (0xf8df)

lri $AR1,    #0x0040
lri $IX1,    #0xf8df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63712 (0xf8e0)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63713 (0xf8e1)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63714 (0xf8e2)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63715 (0xf8e3)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63716 (0xf8e4)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63717 (0xf8e5)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63718 (0xf8e6)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63719 (0xf8e7)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63720 (0xf8e8)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63721 (0xf8e9)

lri $AR1,    #0x0040
lri $IX1,    #0xf8e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63722 (0xf8ea)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63723 (0xf8eb)

lri $AR1,    #0x0040
lri $IX1,    #0xf8eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63724 (0xf8ec)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63725 (0xf8ed)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63726 (0xf8ee)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63727 (0xf8ef)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63728 (0xf8f0)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63729 (0xf8f1)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63730 (0xf8f2)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63731 (0xf8f3)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63732 (0xf8f4)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63733 (0xf8f5)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63734 (0xf8f6)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63735 (0xf8f7)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63736 (0xf8f8)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63737 (0xf8f9)

lri $AR1,    #0x0040
lri $IX1,    #0xf8f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63738 (0xf8fa)

lri $AR1,    #0x0040
lri $IX1,    #0xf8fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63739 (0xf8fb)

lri $AR1,    #0x0040
lri $IX1,    #0xf8fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63740 (0xf8fc)

lri $AR1,    #0x0040
lri $IX1,    #0xf8fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63741 (0xf8fd)

lri $AR1,    #0x0040
lri $IX1,    #0xf8fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63742 (0xf8fe)

lri $AR1,    #0x0040
lri $IX1,    #0xf8fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63743 (0xf8ff)

lri $AR1,    #0x0040
lri $IX1,    #0xf8ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63744 (0xf900)

lri $AR1,    #0x0040
lri $IX1,    #0xf900
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63745 (0xf901)

lri $AR1,    #0x0040
lri $IX1,    #0xf901
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63746 (0xf902)

lri $AR1,    #0x0040
lri $IX1,    #0xf902
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63747 (0xf903)

lri $AR1,    #0x0040
lri $IX1,    #0xf903
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63748 (0xf904)

lri $AR1,    #0x0040
lri $IX1,    #0xf904
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63749 (0xf905)

lri $AR1,    #0x0040
lri $IX1,    #0xf905
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63750 (0xf906)

lri $AR1,    #0x0040
lri $IX1,    #0xf906
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63751 (0xf907)

lri $AR1,    #0x0040
lri $IX1,    #0xf907
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63752 (0xf908)

lri $AR1,    #0x0040
lri $IX1,    #0xf908
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63753 (0xf909)

lri $AR1,    #0x0040
lri $IX1,    #0xf909
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63754 (0xf90a)

lri $AR1,    #0x0040
lri $IX1,    #0xf90a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63755 (0xf90b)

lri $AR1,    #0x0040
lri $IX1,    #0xf90b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63756 (0xf90c)

lri $AR1,    #0x0040
lri $IX1,    #0xf90c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63757 (0xf90d)

lri $AR1,    #0x0040
lri $IX1,    #0xf90d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63758 (0xf90e)

lri $AR1,    #0x0040
lri $IX1,    #0xf90e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63759 (0xf90f)

lri $AR1,    #0x0040
lri $IX1,    #0xf90f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63760 (0xf910)

lri $AR1,    #0x0040
lri $IX1,    #0xf910
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63761 (0xf911)

lri $AR1,    #0x0040
lri $IX1,    #0xf911
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63762 (0xf912)

lri $AR1,    #0x0040
lri $IX1,    #0xf912
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63763 (0xf913)

lri $AR1,    #0x0040
lri $IX1,    #0xf913
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63764 (0xf914)

lri $AR1,    #0x0040
lri $IX1,    #0xf914
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63765 (0xf915)

lri $AR1,    #0x0040
lri $IX1,    #0xf915
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63766 (0xf916)

lri $AR1,    #0x0040
lri $IX1,    #0xf916
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63767 (0xf917)

lri $AR1,    #0x0040
lri $IX1,    #0xf917
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63768 (0xf918)

lri $AR1,    #0x0040
lri $IX1,    #0xf918
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63769 (0xf919)

lri $AR1,    #0x0040
lri $IX1,    #0xf919
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63770 (0xf91a)

lri $AR1,    #0x0040
lri $IX1,    #0xf91a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63771 (0xf91b)

lri $AR1,    #0x0040
lri $IX1,    #0xf91b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63772 (0xf91c)

lri $AR1,    #0x0040
lri $IX1,    #0xf91c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63773 (0xf91d)

lri $AR1,    #0x0040
lri $IX1,    #0xf91d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63774 (0xf91e)

lri $AR1,    #0x0040
lri $IX1,    #0xf91e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63775 (0xf91f)

lri $AR1,    #0x0040
lri $IX1,    #0xf91f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63776 (0xf920)

lri $AR1,    #0x0040
lri $IX1,    #0xf920
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63777 (0xf921)

lri $AR1,    #0x0040
lri $IX1,    #0xf921
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63778 (0xf922)

lri $AR1,    #0x0040
lri $IX1,    #0xf922
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63779 (0xf923)

lri $AR1,    #0x0040
lri $IX1,    #0xf923
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63780 (0xf924)

lri $AR1,    #0x0040
lri $IX1,    #0xf924
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63781 (0xf925)

lri $AR1,    #0x0040
lri $IX1,    #0xf925
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63782 (0xf926)

lri $AR1,    #0x0040
lri $IX1,    #0xf926
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63783 (0xf927)

lri $AR1,    #0x0040
lri $IX1,    #0xf927
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63784 (0xf928)

lri $AR1,    #0x0040
lri $IX1,    #0xf928
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63785 (0xf929)

lri $AR1,    #0x0040
lri $IX1,    #0xf929
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63786 (0xf92a)

lri $AR1,    #0x0040
lri $IX1,    #0xf92a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63787 (0xf92b)

lri $AR1,    #0x0040
lri $IX1,    #0xf92b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 63788 (0xf92c)

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