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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea80
cw 0x9
call send_back  ; 60033 (0xea81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea81
cw 0x9
call send_back  ; 60034 (0xea82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea82
cw 0x9
call send_back  ; 60035 (0xea83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea83
cw 0x9
call send_back  ; 60036 (0xea84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea84
cw 0x9
call send_back  ; 60037 (0xea85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea85
cw 0x9
call send_back  ; 60038 (0xea86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea86
cw 0x9
call send_back  ; 60039 (0xea87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea87
cw 0x9
call send_back  ; 60040 (0xea88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea88
cw 0x9
call send_back  ; 60041 (0xea89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea89
cw 0x9
call send_back  ; 60042 (0xea8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea8a
cw 0x9
call send_back  ; 60043 (0xea8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea8b
cw 0x9
call send_back  ; 60044 (0xea8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea8c
cw 0x9
call send_back  ; 60045 (0xea8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea8d
cw 0x9
call send_back  ; 60046 (0xea8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea8e
cw 0x9
call send_back  ; 60047 (0xea8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea8f
cw 0x9
call send_back  ; 60048 (0xea90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea90
cw 0x9
call send_back  ; 60049 (0xea91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea91
cw 0x9
call send_back  ; 60050 (0xea92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea92
cw 0x9
call send_back  ; 60051 (0xea93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea93
cw 0x9
call send_back  ; 60052 (0xea94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea94
cw 0x9
call send_back  ; 60053 (0xea95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea95
cw 0x9
call send_back  ; 60054 (0xea96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea96
cw 0x9
call send_back  ; 60055 (0xea97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea97
cw 0x9
call send_back  ; 60056 (0xea98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea98
cw 0x9
call send_back  ; 60057 (0xea99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea99
cw 0x9
call send_back  ; 60058 (0xea9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea9a
cw 0x9
call send_back  ; 60059 (0xea9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea9b
cw 0x9
call send_back  ; 60060 (0xea9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea9c
cw 0x9
call send_back  ; 60061 (0xea9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea9d
cw 0x9
call send_back  ; 60062 (0xea9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea9e
cw 0x9
call send_back  ; 60063 (0xea9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xea9f
cw 0x9
call send_back  ; 60064 (0xeaa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa0
cw 0x9
call send_back  ; 60065 (0xeaa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa1
cw 0x9
call send_back  ; 60066 (0xeaa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa2
cw 0x9
call send_back  ; 60067 (0xeaa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa3
cw 0x9
call send_back  ; 60068 (0xeaa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa4
cw 0x9
call send_back  ; 60069 (0xeaa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa5
cw 0x9
call send_back  ; 60070 (0xeaa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa6
cw 0x9
call send_back  ; 60071 (0xeaa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa7
cw 0x9
call send_back  ; 60072 (0xeaa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa8
cw 0x9
call send_back  ; 60073 (0xeaa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaa9
cw 0x9
call send_back  ; 60074 (0xeaaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaaa
cw 0x9
call send_back  ; 60075 (0xeaab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaab
cw 0x9
call send_back  ; 60076 (0xeaac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaac
cw 0x9
call send_back  ; 60077 (0xeaad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaad
cw 0x9
call send_back  ; 60078 (0xeaae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaae
cw 0x9
call send_back  ; 60079 (0xeaaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaaf
cw 0x9
call send_back  ; 60080 (0xeab0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab0
cw 0x9
call send_back  ; 60081 (0xeab1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab1
cw 0x9
call send_back  ; 60082 (0xeab2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab2
cw 0x9
call send_back  ; 60083 (0xeab3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab3
cw 0x9
call send_back  ; 60084 (0xeab4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab4
cw 0x9
call send_back  ; 60085 (0xeab5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab5
cw 0x9
call send_back  ; 60086 (0xeab6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab6
cw 0x9
call send_back  ; 60087 (0xeab7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab7
cw 0x9
call send_back  ; 60088 (0xeab8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab8
cw 0x9
call send_back  ; 60089 (0xeab9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeab9
cw 0x9
call send_back  ; 60090 (0xeaba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaba
cw 0x9
call send_back  ; 60091 (0xeabb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeabb
cw 0x9
call send_back  ; 60092 (0xeabc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeabc
cw 0x9
call send_back  ; 60093 (0xeabd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeabd
cw 0x9
call send_back  ; 60094 (0xeabe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeabe
cw 0x9
call send_back  ; 60095 (0xeabf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeabf
cw 0x9
call send_back  ; 60096 (0xeac0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac0
cw 0x9
call send_back  ; 60097 (0xeac1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac1
cw 0x9
call send_back  ; 60098 (0xeac2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac2
cw 0x9
call send_back  ; 60099 (0xeac3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac3
cw 0x9
call send_back  ; 60100 (0xeac4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac4
cw 0x9
call send_back  ; 60101 (0xeac5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac5
cw 0x9
call send_back  ; 60102 (0xeac6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac6
cw 0x9
call send_back  ; 60103 (0xeac7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac7
cw 0x9
call send_back  ; 60104 (0xeac8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac8
cw 0x9
call send_back  ; 60105 (0xeac9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeac9
cw 0x9
call send_back  ; 60106 (0xeaca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaca
cw 0x9
call send_back  ; 60107 (0xeacb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeacb
cw 0x9
call send_back  ; 60108 (0xeacc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeacc
cw 0x9
call send_back  ; 60109 (0xeacd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeacd
cw 0x9
call send_back  ; 60110 (0xeace)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeace
cw 0x9
call send_back  ; 60111 (0xeacf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeacf
cw 0x9
call send_back  ; 60112 (0xead0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead0
cw 0x9
call send_back  ; 60113 (0xead1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead1
cw 0x9
call send_back  ; 60114 (0xead2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead2
cw 0x9
call send_back  ; 60115 (0xead3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead3
cw 0x9
call send_back  ; 60116 (0xead4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead4
cw 0x9
call send_back  ; 60117 (0xead5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead5
cw 0x9
call send_back  ; 60118 (0xead6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead6
cw 0x9
call send_back  ; 60119 (0xead7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead7
cw 0x9
call send_back  ; 60120 (0xead8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead8
cw 0x9
call send_back  ; 60121 (0xead9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xead9
cw 0x9
call send_back  ; 60122 (0xeada)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeada
cw 0x9
call send_back  ; 60123 (0xeadb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeadb
cw 0x9
call send_back  ; 60124 (0xeadc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeadc
cw 0x9
call send_back  ; 60125 (0xeadd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeadd
cw 0x9
call send_back  ; 60126 (0xeade)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeade
cw 0x9
call send_back  ; 60127 (0xeadf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeadf
cw 0x9
call send_back  ; 60128 (0xeae0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae0
cw 0x9
call send_back  ; 60129 (0xeae1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae1
cw 0x9
call send_back  ; 60130 (0xeae2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae2
cw 0x9
call send_back  ; 60131 (0xeae3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae3
cw 0x9
call send_back  ; 60132 (0xeae4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae4
cw 0x9
call send_back  ; 60133 (0xeae5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae5
cw 0x9
call send_back  ; 60134 (0xeae6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae6
cw 0x9
call send_back  ; 60135 (0xeae7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae7
cw 0x9
call send_back  ; 60136 (0xeae8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae8
cw 0x9
call send_back  ; 60137 (0xeae9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeae9
cw 0x9
call send_back  ; 60138 (0xeaea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaea
cw 0x9
call send_back  ; 60139 (0xeaeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaeb
cw 0x9
call send_back  ; 60140 (0xeaec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaec
cw 0x9
call send_back  ; 60141 (0xeaed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaed
cw 0x9
call send_back  ; 60142 (0xeaee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaee
cw 0x9
call send_back  ; 60143 (0xeaef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaef
cw 0x9
call send_back  ; 60144 (0xeaf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf0
cw 0x9
call send_back  ; 60145 (0xeaf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf1
cw 0x9
call send_back  ; 60146 (0xeaf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf2
cw 0x9
call send_back  ; 60147 (0xeaf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf3
cw 0x9
call send_back  ; 60148 (0xeaf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf4
cw 0x9
call send_back  ; 60149 (0xeaf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf5
cw 0x9
call send_back  ; 60150 (0xeaf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf6
cw 0x9
call send_back  ; 60151 (0xeaf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf7
cw 0x9
call send_back  ; 60152 (0xeaf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf8
cw 0x9
call send_back  ; 60153 (0xeaf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaf9
cw 0x9
call send_back  ; 60154 (0xeafa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeafa
cw 0x9
call send_back  ; 60155 (0xeafb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeafb
cw 0x9
call send_back  ; 60156 (0xeafc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeafc
cw 0x9
call send_back  ; 60157 (0xeafd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeafd
cw 0x9
call send_back  ; 60158 (0xeafe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeafe
cw 0x9
call send_back  ; 60159 (0xeaff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeaff
cw 0x9
call send_back  ; 60160 (0xeb00)

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

