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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed80
cw 0x9
call send_back  ; 60801 (0xed81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed81
cw 0x9
call send_back  ; 60802 (0xed82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed82
cw 0x9
call send_back  ; 60803 (0xed83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed83
cw 0x9
call send_back  ; 60804 (0xed84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed84
cw 0x9
call send_back  ; 60805 (0xed85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed85
cw 0x9
call send_back  ; 60806 (0xed86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed86
cw 0x9
call send_back  ; 60807 (0xed87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed87
cw 0x9
call send_back  ; 60808 (0xed88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed88
cw 0x9
call send_back  ; 60809 (0xed89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed89
cw 0x9
call send_back  ; 60810 (0xed8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed8a
cw 0x9
call send_back  ; 60811 (0xed8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed8b
cw 0x9
call send_back  ; 60812 (0xed8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed8c
cw 0x9
call send_back  ; 60813 (0xed8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed8d
cw 0x9
call send_back  ; 60814 (0xed8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed8e
cw 0x9
call send_back  ; 60815 (0xed8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed8f
cw 0x9
call send_back  ; 60816 (0xed90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed90
cw 0x9
call send_back  ; 60817 (0xed91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed91
cw 0x9
call send_back  ; 60818 (0xed92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed92
cw 0x9
call send_back  ; 60819 (0xed93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed93
cw 0x9
call send_back  ; 60820 (0xed94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed94
cw 0x9
call send_back  ; 60821 (0xed95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed95
cw 0x9
call send_back  ; 60822 (0xed96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed96
cw 0x9
call send_back  ; 60823 (0xed97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed97
cw 0x9
call send_back  ; 60824 (0xed98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed98
cw 0x9
call send_back  ; 60825 (0xed99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed99
cw 0x9
call send_back  ; 60826 (0xed9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed9a
cw 0x9
call send_back  ; 60827 (0xed9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed9b
cw 0x9
call send_back  ; 60828 (0xed9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed9c
cw 0x9
call send_back  ; 60829 (0xed9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed9d
cw 0x9
call send_back  ; 60830 (0xed9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed9e
cw 0x9
call send_back  ; 60831 (0xed9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xed9f
cw 0x9
call send_back  ; 60832 (0xeda0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda0
cw 0x9
call send_back  ; 60833 (0xeda1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda1
cw 0x9
call send_back  ; 60834 (0xeda2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda2
cw 0x9
call send_back  ; 60835 (0xeda3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda3
cw 0x9
call send_back  ; 60836 (0xeda4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda4
cw 0x9
call send_back  ; 60837 (0xeda5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda5
cw 0x9
call send_back  ; 60838 (0xeda6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda6
cw 0x9
call send_back  ; 60839 (0xeda7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda7
cw 0x9
call send_back  ; 60840 (0xeda8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda8
cw 0x9
call send_back  ; 60841 (0xeda9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeda9
cw 0x9
call send_back  ; 60842 (0xedaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedaa
cw 0x9
call send_back  ; 60843 (0xedab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedab
cw 0x9
call send_back  ; 60844 (0xedac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedac
cw 0x9
call send_back  ; 60845 (0xedad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedad
cw 0x9
call send_back  ; 60846 (0xedae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedae
cw 0x9
call send_back  ; 60847 (0xedaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedaf
cw 0x9
call send_back  ; 60848 (0xedb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb0
cw 0x9
call send_back  ; 60849 (0xedb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb1
cw 0x9
call send_back  ; 60850 (0xedb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb2
cw 0x9
call send_back  ; 60851 (0xedb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb3
cw 0x9
call send_back  ; 60852 (0xedb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb4
cw 0x9
call send_back  ; 60853 (0xedb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb5
cw 0x9
call send_back  ; 60854 (0xedb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb6
cw 0x9
call send_back  ; 60855 (0xedb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb7
cw 0x9
call send_back  ; 60856 (0xedb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb8
cw 0x9
call send_back  ; 60857 (0xedb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedb9
cw 0x9
call send_back  ; 60858 (0xedba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedba
cw 0x9
call send_back  ; 60859 (0xedbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedbb
cw 0x9
call send_back  ; 60860 (0xedbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedbc
cw 0x9
call send_back  ; 60861 (0xedbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedbd
cw 0x9
call send_back  ; 60862 (0xedbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedbe
cw 0x9
call send_back  ; 60863 (0xedbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedbf
cw 0x9
call send_back  ; 60864 (0xedc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc0
cw 0x9
call send_back  ; 60865 (0xedc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc1
cw 0x9
call send_back  ; 60866 (0xedc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc2
cw 0x9
call send_back  ; 60867 (0xedc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc3
cw 0x9
call send_back  ; 60868 (0xedc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc4
cw 0x9
call send_back  ; 60869 (0xedc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc5
cw 0x9
call send_back  ; 60870 (0xedc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc6
cw 0x9
call send_back  ; 60871 (0xedc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc7
cw 0x9
call send_back  ; 60872 (0xedc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc8
cw 0x9
call send_back  ; 60873 (0xedc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedc9
cw 0x9
call send_back  ; 60874 (0xedca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedca
cw 0x9
call send_back  ; 60875 (0xedcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedcb
cw 0x9
call send_back  ; 60876 (0xedcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedcc
cw 0x9
call send_back  ; 60877 (0xedcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedcd
cw 0x9
call send_back  ; 60878 (0xedce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedce
cw 0x9
call send_back  ; 60879 (0xedcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedcf
cw 0x9
call send_back  ; 60880 (0xedd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd0
cw 0x9
call send_back  ; 60881 (0xedd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd1
cw 0x9
call send_back  ; 60882 (0xedd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd2
cw 0x9
call send_back  ; 60883 (0xedd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd3
cw 0x9
call send_back  ; 60884 (0xedd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd4
cw 0x9
call send_back  ; 60885 (0xedd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd5
cw 0x9
call send_back  ; 60886 (0xedd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd6
cw 0x9
call send_back  ; 60887 (0xedd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd7
cw 0x9
call send_back  ; 60888 (0xedd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd8
cw 0x9
call send_back  ; 60889 (0xedd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedd9
cw 0x9
call send_back  ; 60890 (0xedda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedda
cw 0x9
call send_back  ; 60891 (0xeddb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeddb
cw 0x9
call send_back  ; 60892 (0xeddc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeddc
cw 0x9
call send_back  ; 60893 (0xeddd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeddd
cw 0x9
call send_back  ; 60894 (0xedde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedde
cw 0x9
call send_back  ; 60895 (0xeddf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeddf
cw 0x9
call send_back  ; 60896 (0xede0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede0
cw 0x9
call send_back  ; 60897 (0xede1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede1
cw 0x9
call send_back  ; 60898 (0xede2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede2
cw 0x9
call send_back  ; 60899 (0xede3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede3
cw 0x9
call send_back  ; 60900 (0xede4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede4
cw 0x9
call send_back  ; 60901 (0xede5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede5
cw 0x9
call send_back  ; 60902 (0xede6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede6
cw 0x9
call send_back  ; 60903 (0xede7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede7
cw 0x9
call send_back  ; 60904 (0xede8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede8
cw 0x9
call send_back  ; 60905 (0xede9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xede9
cw 0x9
call send_back  ; 60906 (0xedea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedea
cw 0x9
call send_back  ; 60907 (0xedeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedeb
cw 0x9
call send_back  ; 60908 (0xedec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedec
cw 0x9
call send_back  ; 60909 (0xeded)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeded
cw 0x9
call send_back  ; 60910 (0xedee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedee
cw 0x9
call send_back  ; 60911 (0xedef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedef
cw 0x9
call send_back  ; 60912 (0xedf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf0
cw 0x9
call send_back  ; 60913 (0xedf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf1
cw 0x9
call send_back  ; 60914 (0xedf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf2
cw 0x9
call send_back  ; 60915 (0xedf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf3
cw 0x9
call send_back  ; 60916 (0xedf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf4
cw 0x9
call send_back  ; 60917 (0xedf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf5
cw 0x9
call send_back  ; 60918 (0xedf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf6
cw 0x9
call send_back  ; 60919 (0xedf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf7
cw 0x9
call send_back  ; 60920 (0xedf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf8
cw 0x9
call send_back  ; 60921 (0xedf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedf9
cw 0x9
call send_back  ; 60922 (0xedfa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedfa
cw 0x9
call send_back  ; 60923 (0xedfb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedfb
cw 0x9
call send_back  ; 60924 (0xedfc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedfc
cw 0x9
call send_back  ; 60925 (0xedfd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedfd
cw 0x9
call send_back  ; 60926 (0xedfe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedfe
cw 0x9
call send_back  ; 60927 (0xedff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xedff
cw 0x9
call send_back  ; 60928 (0xee00)

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

