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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47745 (0xba81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47746 (0xba82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47747 (0xba83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47748 (0xba84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47749 (0xba85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47750 (0xba86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47751 (0xba87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47752 (0xba88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47753 (0xba89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47754 (0xba8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47755 (0xba8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47756 (0xba8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47757 (0xba8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47758 (0xba8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47759 (0xba8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47760 (0xba90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47761 (0xba91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47762 (0xba92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47763 (0xba93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47764 (0xba94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47765 (0xba95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47766 (0xba96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47767 (0xba97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47768 (0xba98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47769 (0xba99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47770 (0xba9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47771 (0xba9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47772 (0xba9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47773 (0xba9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47774 (0xba9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47775 (0xba9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47776 (0xbaa0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47777 (0xbaa1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47778 (0xbaa2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47779 (0xbaa3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47780 (0xbaa4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47781 (0xbaa5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47782 (0xbaa6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47783 (0xbaa7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47784 (0xbaa8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47785 (0xbaa9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47786 (0xbaaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47787 (0xbaab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47788 (0xbaac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47789 (0xbaad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47790 (0xbaae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47791 (0xbaaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47792 (0xbab0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47793 (0xbab1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47794 (0xbab2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47795 (0xbab3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47796 (0xbab4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47797 (0xbab5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47798 (0xbab6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47799 (0xbab7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47800 (0xbab8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47801 (0xbab9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47802 (0xbaba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47803 (0xbabb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47804 (0xbabc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47805 (0xbabd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47806 (0xbabe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47807 (0xbabf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47808 (0xbac0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47809 (0xbac1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47810 (0xbac2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47811 (0xbac3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47812 (0xbac4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47813 (0xbac5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47814 (0xbac6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47815 (0xbac7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47816 (0xbac8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47817 (0xbac9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47818 (0xbaca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47819 (0xbacb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47820 (0xbacc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47821 (0xbacd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47822 (0xbace)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47823 (0xbacf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47824 (0xbad0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47825 (0xbad1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47826 (0xbad2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47827 (0xbad3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47828 (0xbad4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47829 (0xbad5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47830 (0xbad6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47831 (0xbad7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47832 (0xbad8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47833 (0xbad9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47834 (0xbada)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47835 (0xbadb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47836 (0xbadc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47837 (0xbadd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47838 (0xbade)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47839 (0xbadf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47840 (0xbae0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47841 (0xbae1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47842 (0xbae2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47843 (0xbae3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47844 (0xbae4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47845 (0xbae5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47846 (0xbae6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47847 (0xbae7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47848 (0xbae8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47849 (0xbae9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47850 (0xbaea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47851 (0xbaeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47852 (0xbaec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47853 (0xbaed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47854 (0xbaee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47855 (0xbaef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47856 (0xbaf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47857 (0xbaf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47858 (0xbaf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47859 (0xbaf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47860 (0xbaf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47861 (0xbaf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47862 (0xbaf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47863 (0xbaf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47864 (0xbaf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47865 (0xbaf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47866 (0xbafa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47867 (0xbafb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47868 (0xbafc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47869 (0xbafd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47870 (0xbafe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47871 (0xbaff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47872 (0xbb00)

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