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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba80
cw 0x9
call send_back  ; 47745 (0xba81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba81
cw 0x9
call send_back  ; 47746 (0xba82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba82
cw 0x9
call send_back  ; 47747 (0xba83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba83
cw 0x9
call send_back  ; 47748 (0xba84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba84
cw 0x9
call send_back  ; 47749 (0xba85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba85
cw 0x9
call send_back  ; 47750 (0xba86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba86
cw 0x9
call send_back  ; 47751 (0xba87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba87
cw 0x9
call send_back  ; 47752 (0xba88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba88
cw 0x9
call send_back  ; 47753 (0xba89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba89
cw 0x9
call send_back  ; 47754 (0xba8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba8a
cw 0x9
call send_back  ; 47755 (0xba8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba8b
cw 0x9
call send_back  ; 47756 (0xba8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba8c
cw 0x9
call send_back  ; 47757 (0xba8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba8d
cw 0x9
call send_back  ; 47758 (0xba8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba8e
cw 0x9
call send_back  ; 47759 (0xba8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba8f
cw 0x9
call send_back  ; 47760 (0xba90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba90
cw 0x9
call send_back  ; 47761 (0xba91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba91
cw 0x9
call send_back  ; 47762 (0xba92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba92
cw 0x9
call send_back  ; 47763 (0xba93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba93
cw 0x9
call send_back  ; 47764 (0xba94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba94
cw 0x9
call send_back  ; 47765 (0xba95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba95
cw 0x9
call send_back  ; 47766 (0xba96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba96
cw 0x9
call send_back  ; 47767 (0xba97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba97
cw 0x9
call send_back  ; 47768 (0xba98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba98
cw 0x9
call send_back  ; 47769 (0xba99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba99
cw 0x9
call send_back  ; 47770 (0xba9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba9a
cw 0x9
call send_back  ; 47771 (0xba9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba9b
cw 0x9
call send_back  ; 47772 (0xba9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba9c
cw 0x9
call send_back  ; 47773 (0xba9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba9d
cw 0x9
call send_back  ; 47774 (0xba9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba9e
cw 0x9
call send_back  ; 47775 (0xba9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xba9f
cw 0x9
call send_back  ; 47776 (0xbaa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa0
cw 0x9
call send_back  ; 47777 (0xbaa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa1
cw 0x9
call send_back  ; 47778 (0xbaa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa2
cw 0x9
call send_back  ; 47779 (0xbaa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa3
cw 0x9
call send_back  ; 47780 (0xbaa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa4
cw 0x9
call send_back  ; 47781 (0xbaa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa5
cw 0x9
call send_back  ; 47782 (0xbaa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa6
cw 0x9
call send_back  ; 47783 (0xbaa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa7
cw 0x9
call send_back  ; 47784 (0xbaa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa8
cw 0x9
call send_back  ; 47785 (0xbaa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaa9
cw 0x9
call send_back  ; 47786 (0xbaaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaaa
cw 0x9
call send_back  ; 47787 (0xbaab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaab
cw 0x9
call send_back  ; 47788 (0xbaac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaac
cw 0x9
call send_back  ; 47789 (0xbaad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaad
cw 0x9
call send_back  ; 47790 (0xbaae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaae
cw 0x9
call send_back  ; 47791 (0xbaaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaaf
cw 0x9
call send_back  ; 47792 (0xbab0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab0
cw 0x9
call send_back  ; 47793 (0xbab1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab1
cw 0x9
call send_back  ; 47794 (0xbab2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab2
cw 0x9
call send_back  ; 47795 (0xbab3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab3
cw 0x9
call send_back  ; 47796 (0xbab4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab4
cw 0x9
call send_back  ; 47797 (0xbab5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab5
cw 0x9
call send_back  ; 47798 (0xbab6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab6
cw 0x9
call send_back  ; 47799 (0xbab7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab7
cw 0x9
call send_back  ; 47800 (0xbab8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab8
cw 0x9
call send_back  ; 47801 (0xbab9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbab9
cw 0x9
call send_back  ; 47802 (0xbaba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaba
cw 0x9
call send_back  ; 47803 (0xbabb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbabb
cw 0x9
call send_back  ; 47804 (0xbabc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbabc
cw 0x9
call send_back  ; 47805 (0xbabd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbabd
cw 0x9
call send_back  ; 47806 (0xbabe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbabe
cw 0x9
call send_back  ; 47807 (0xbabf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbabf
cw 0x9
call send_back  ; 47808 (0xbac0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac0
cw 0x9
call send_back  ; 47809 (0xbac1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac1
cw 0x9
call send_back  ; 47810 (0xbac2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac2
cw 0x9
call send_back  ; 47811 (0xbac3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac3
cw 0x9
call send_back  ; 47812 (0xbac4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac4
cw 0x9
call send_back  ; 47813 (0xbac5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac5
cw 0x9
call send_back  ; 47814 (0xbac6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac6
cw 0x9
call send_back  ; 47815 (0xbac7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac7
cw 0x9
call send_back  ; 47816 (0xbac8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac8
cw 0x9
call send_back  ; 47817 (0xbac9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbac9
cw 0x9
call send_back  ; 47818 (0xbaca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaca
cw 0x9
call send_back  ; 47819 (0xbacb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbacb
cw 0x9
call send_back  ; 47820 (0xbacc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbacc
cw 0x9
call send_back  ; 47821 (0xbacd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbacd
cw 0x9
call send_back  ; 47822 (0xbace)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbace
cw 0x9
call send_back  ; 47823 (0xbacf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbacf
cw 0x9
call send_back  ; 47824 (0xbad0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad0
cw 0x9
call send_back  ; 47825 (0xbad1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad1
cw 0x9
call send_back  ; 47826 (0xbad2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad2
cw 0x9
call send_back  ; 47827 (0xbad3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad3
cw 0x9
call send_back  ; 47828 (0xbad4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad4
cw 0x9
call send_back  ; 47829 (0xbad5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad5
cw 0x9
call send_back  ; 47830 (0xbad6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad6
cw 0x9
call send_back  ; 47831 (0xbad7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad7
cw 0x9
call send_back  ; 47832 (0xbad8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad8
cw 0x9
call send_back  ; 47833 (0xbad9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbad9
cw 0x9
call send_back  ; 47834 (0xbada)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbada
cw 0x9
call send_back  ; 47835 (0xbadb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbadb
cw 0x9
call send_back  ; 47836 (0xbadc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbadc
cw 0x9
call send_back  ; 47837 (0xbadd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbadd
cw 0x9
call send_back  ; 47838 (0xbade)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbade
cw 0x9
call send_back  ; 47839 (0xbadf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbadf
cw 0x9
call send_back  ; 47840 (0xbae0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae0
cw 0x9
call send_back  ; 47841 (0xbae1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae1
cw 0x9
call send_back  ; 47842 (0xbae2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae2
cw 0x9
call send_back  ; 47843 (0xbae3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae3
cw 0x9
call send_back  ; 47844 (0xbae4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae4
cw 0x9
call send_back  ; 47845 (0xbae5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae5
cw 0x9
call send_back  ; 47846 (0xbae6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae6
cw 0x9
call send_back  ; 47847 (0xbae7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae7
cw 0x9
call send_back  ; 47848 (0xbae8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae8
cw 0x9
call send_back  ; 47849 (0xbae9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbae9
cw 0x9
call send_back  ; 47850 (0xbaea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaea
cw 0x9
call send_back  ; 47851 (0xbaeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaeb
cw 0x9
call send_back  ; 47852 (0xbaec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaec
cw 0x9
call send_back  ; 47853 (0xbaed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaed
cw 0x9
call send_back  ; 47854 (0xbaee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaee
cw 0x9
call send_back  ; 47855 (0xbaef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaef
cw 0x9
call send_back  ; 47856 (0xbaf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf0
cw 0x9
call send_back  ; 47857 (0xbaf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf1
cw 0x9
call send_back  ; 47858 (0xbaf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf2
cw 0x9
call send_back  ; 47859 (0xbaf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf3
cw 0x9
call send_back  ; 47860 (0xbaf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf4
cw 0x9
call send_back  ; 47861 (0xbaf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf5
cw 0x9
call send_back  ; 47862 (0xbaf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf6
cw 0x9
call send_back  ; 47863 (0xbaf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf7
cw 0x9
call send_back  ; 47864 (0xbaf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf8
cw 0x9
call send_back  ; 47865 (0xbaf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaf9
cw 0x9
call send_back  ; 47866 (0xbafa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbafa
cw 0x9
call send_back  ; 47867 (0xbafb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbafb
cw 0x9
call send_back  ; 47868 (0xbafc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbafc
cw 0x9
call send_back  ; 47869 (0xbafd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbafd
cw 0x9
call send_back  ; 47870 (0xbafe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbafe
cw 0x9
call send_back  ; 47871 (0xbaff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbaff
cw 0x9
call send_back  ; 47872 (0xbb00)

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

