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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda80
cw 0x5
call send_back  ; 55937 (0xda81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda81
cw 0x5
call send_back  ; 55938 (0xda82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda82
cw 0x5
call send_back  ; 55939 (0xda83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda83
cw 0x5
call send_back  ; 55940 (0xda84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda84
cw 0x5
call send_back  ; 55941 (0xda85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda85
cw 0x5
call send_back  ; 55942 (0xda86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda86
cw 0x5
call send_back  ; 55943 (0xda87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda87
cw 0x5
call send_back  ; 55944 (0xda88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda88
cw 0x5
call send_back  ; 55945 (0xda89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda89
cw 0x5
call send_back  ; 55946 (0xda8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda8a
cw 0x5
call send_back  ; 55947 (0xda8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda8b
cw 0x5
call send_back  ; 55948 (0xda8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda8c
cw 0x5
call send_back  ; 55949 (0xda8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda8d
cw 0x5
call send_back  ; 55950 (0xda8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda8e
cw 0x5
call send_back  ; 55951 (0xda8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda8f
cw 0x5
call send_back  ; 55952 (0xda90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda90
cw 0x5
call send_back  ; 55953 (0xda91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda91
cw 0x5
call send_back  ; 55954 (0xda92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda92
cw 0x5
call send_back  ; 55955 (0xda93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda93
cw 0x5
call send_back  ; 55956 (0xda94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda94
cw 0x5
call send_back  ; 55957 (0xda95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda95
cw 0x5
call send_back  ; 55958 (0xda96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda96
cw 0x5
call send_back  ; 55959 (0xda97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda97
cw 0x5
call send_back  ; 55960 (0xda98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda98
cw 0x5
call send_back  ; 55961 (0xda99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda99
cw 0x5
call send_back  ; 55962 (0xda9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda9a
cw 0x5
call send_back  ; 55963 (0xda9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda9b
cw 0x5
call send_back  ; 55964 (0xda9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda9c
cw 0x5
call send_back  ; 55965 (0xda9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda9d
cw 0x5
call send_back  ; 55966 (0xda9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda9e
cw 0x5
call send_back  ; 55967 (0xda9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xda9f
cw 0x5
call send_back  ; 55968 (0xdaa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa0
cw 0x5
call send_back  ; 55969 (0xdaa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa1
cw 0x5
call send_back  ; 55970 (0xdaa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa2
cw 0x5
call send_back  ; 55971 (0xdaa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa3
cw 0x5
call send_back  ; 55972 (0xdaa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa4
cw 0x5
call send_back  ; 55973 (0xdaa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa5
cw 0x5
call send_back  ; 55974 (0xdaa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa6
cw 0x5
call send_back  ; 55975 (0xdaa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa7
cw 0x5
call send_back  ; 55976 (0xdaa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa8
cw 0x5
call send_back  ; 55977 (0xdaa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaa9
cw 0x5
call send_back  ; 55978 (0xdaaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaaa
cw 0x5
call send_back  ; 55979 (0xdaab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaab
cw 0x5
call send_back  ; 55980 (0xdaac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaac
cw 0x5
call send_back  ; 55981 (0xdaad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaad
cw 0x5
call send_back  ; 55982 (0xdaae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaae
cw 0x5
call send_back  ; 55983 (0xdaaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaaf
cw 0x5
call send_back  ; 55984 (0xdab0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab0
cw 0x5
call send_back  ; 55985 (0xdab1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab1
cw 0x5
call send_back  ; 55986 (0xdab2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab2
cw 0x5
call send_back  ; 55987 (0xdab3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab3
cw 0x5
call send_back  ; 55988 (0xdab4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab4
cw 0x5
call send_back  ; 55989 (0xdab5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab5
cw 0x5
call send_back  ; 55990 (0xdab6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab6
cw 0x5
call send_back  ; 55991 (0xdab7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab7
cw 0x5
call send_back  ; 55992 (0xdab8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab8
cw 0x5
call send_back  ; 55993 (0xdab9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdab9
cw 0x5
call send_back  ; 55994 (0xdaba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaba
cw 0x5
call send_back  ; 55995 (0xdabb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdabb
cw 0x5
call send_back  ; 55996 (0xdabc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdabc
cw 0x5
call send_back  ; 55997 (0xdabd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdabd
cw 0x5
call send_back  ; 55998 (0xdabe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdabe
cw 0x5
call send_back  ; 55999 (0xdabf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdabf
cw 0x5
call send_back  ; 56000 (0xdac0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac0
cw 0x5
call send_back  ; 56001 (0xdac1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac1
cw 0x5
call send_back  ; 56002 (0xdac2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac2
cw 0x5
call send_back  ; 56003 (0xdac3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac3
cw 0x5
call send_back  ; 56004 (0xdac4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac4
cw 0x5
call send_back  ; 56005 (0xdac5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac5
cw 0x5
call send_back  ; 56006 (0xdac6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac6
cw 0x5
call send_back  ; 56007 (0xdac7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac7
cw 0x5
call send_back  ; 56008 (0xdac8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac8
cw 0x5
call send_back  ; 56009 (0xdac9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdac9
cw 0x5
call send_back  ; 56010 (0xdaca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaca
cw 0x5
call send_back  ; 56011 (0xdacb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdacb
cw 0x5
call send_back  ; 56012 (0xdacc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdacc
cw 0x5
call send_back  ; 56013 (0xdacd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdacd
cw 0x5
call send_back  ; 56014 (0xdace)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdace
cw 0x5
call send_back  ; 56015 (0xdacf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdacf
cw 0x5
call send_back  ; 56016 (0xdad0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad0
cw 0x5
call send_back  ; 56017 (0xdad1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad1
cw 0x5
call send_back  ; 56018 (0xdad2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad2
cw 0x5
call send_back  ; 56019 (0xdad3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad3
cw 0x5
call send_back  ; 56020 (0xdad4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad4
cw 0x5
call send_back  ; 56021 (0xdad5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad5
cw 0x5
call send_back  ; 56022 (0xdad6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad6
cw 0x5
call send_back  ; 56023 (0xdad7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad7
cw 0x5
call send_back  ; 56024 (0xdad8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad8
cw 0x5
call send_back  ; 56025 (0xdad9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdad9
cw 0x5
call send_back  ; 56026 (0xdada)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdada
cw 0x5
call send_back  ; 56027 (0xdadb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdadb
cw 0x5
call send_back  ; 56028 (0xdadc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdadc
cw 0x5
call send_back  ; 56029 (0xdadd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdadd
cw 0x5
call send_back  ; 56030 (0xdade)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdade
cw 0x5
call send_back  ; 56031 (0xdadf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdadf
cw 0x5
call send_back  ; 56032 (0xdae0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae0
cw 0x5
call send_back  ; 56033 (0xdae1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae1
cw 0x5
call send_back  ; 56034 (0xdae2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae2
cw 0x5
call send_back  ; 56035 (0xdae3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae3
cw 0x5
call send_back  ; 56036 (0xdae4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae4
cw 0x5
call send_back  ; 56037 (0xdae5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae5
cw 0x5
call send_back  ; 56038 (0xdae6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae6
cw 0x5
call send_back  ; 56039 (0xdae7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae7
cw 0x5
call send_back  ; 56040 (0xdae8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae8
cw 0x5
call send_back  ; 56041 (0xdae9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdae9
cw 0x5
call send_back  ; 56042 (0xdaea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaea
cw 0x5
call send_back  ; 56043 (0xdaeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaeb
cw 0x5
call send_back  ; 56044 (0xdaec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaec
cw 0x5
call send_back  ; 56045 (0xdaed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaed
cw 0x5
call send_back  ; 56046 (0xdaee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaee
cw 0x5
call send_back  ; 56047 (0xdaef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaef
cw 0x5
call send_back  ; 56048 (0xdaf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf0
cw 0x5
call send_back  ; 56049 (0xdaf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf1
cw 0x5
call send_back  ; 56050 (0xdaf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf2
cw 0x5
call send_back  ; 56051 (0xdaf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf3
cw 0x5
call send_back  ; 56052 (0xdaf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf4
cw 0x5
call send_back  ; 56053 (0xdaf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf5
cw 0x5
call send_back  ; 56054 (0xdaf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf6
cw 0x5
call send_back  ; 56055 (0xdaf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf7
cw 0x5
call send_back  ; 56056 (0xdaf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf8
cw 0x5
call send_back  ; 56057 (0xdaf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaf9
cw 0x5
call send_back  ; 56058 (0xdafa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdafa
cw 0x5
call send_back  ; 56059 (0xdafb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdafb
cw 0x5
call send_back  ; 56060 (0xdafc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdafc
cw 0x5
call send_back  ; 56061 (0xdafd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdafd
cw 0x5
call send_back  ; 56062 (0xdafe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdafe
cw 0x5
call send_back  ; 56063 (0xdaff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdaff
cw 0x5
call send_back  ; 56064 (0xdb00)

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

