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

lri $AR1,    #0x5680
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22145 (0x5681)

lri $AR1,    #0x5681
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22146 (0x5682)

lri $AR1,    #0x5682
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22147 (0x5683)

lri $AR1,    #0x5683
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22148 (0x5684)

lri $AR1,    #0x5684
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22149 (0x5685)

lri $AR1,    #0x5685
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22150 (0x5686)

lri $AR1,    #0x5686
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22151 (0x5687)

lri $AR1,    #0x5687
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22152 (0x5688)

lri $AR1,    #0x5688
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22153 (0x5689)

lri $AR1,    #0x5689
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22154 (0x568a)

lri $AR1,    #0x568a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22155 (0x568b)

lri $AR1,    #0x568b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22156 (0x568c)

lri $AR1,    #0x568c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22157 (0x568d)

lri $AR1,    #0x568d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22158 (0x568e)

lri $AR1,    #0x568e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22159 (0x568f)

lri $AR1,    #0x568f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22160 (0x5690)

lri $AR1,    #0x5690
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22161 (0x5691)

lri $AR1,    #0x5691
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22162 (0x5692)

lri $AR1,    #0x5692
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22163 (0x5693)

lri $AR1,    #0x5693
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22164 (0x5694)

lri $AR1,    #0x5694
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22165 (0x5695)

lri $AR1,    #0x5695
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22166 (0x5696)

lri $AR1,    #0x5696
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22167 (0x5697)

lri $AR1,    #0x5697
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22168 (0x5698)

lri $AR1,    #0x5698
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22169 (0x5699)

lri $AR1,    #0x5699
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22170 (0x569a)

lri $AR1,    #0x569a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22171 (0x569b)

lri $AR1,    #0x569b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22172 (0x569c)

lri $AR1,    #0x569c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22173 (0x569d)

lri $AR1,    #0x569d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22174 (0x569e)

lri $AR1,    #0x569e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22175 (0x569f)

lri $AR1,    #0x569f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22176 (0x56a0)

lri $AR1,    #0x56a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22177 (0x56a1)

lri $AR1,    #0x56a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22178 (0x56a2)

lri $AR1,    #0x56a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22179 (0x56a3)

lri $AR1,    #0x56a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22180 (0x56a4)

lri $AR1,    #0x56a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22181 (0x56a5)

lri $AR1,    #0x56a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22182 (0x56a6)

lri $AR1,    #0x56a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22183 (0x56a7)

lri $AR1,    #0x56a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22184 (0x56a8)

lri $AR1,    #0x56a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22185 (0x56a9)

lri $AR1,    #0x56a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22186 (0x56aa)

lri $AR1,    #0x56aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22187 (0x56ab)

lri $AR1,    #0x56ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22188 (0x56ac)

lri $AR1,    #0x56ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22189 (0x56ad)

lri $AR1,    #0x56ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22190 (0x56ae)

lri $AR1,    #0x56ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22191 (0x56af)

lri $AR1,    #0x56af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22192 (0x56b0)

lri $AR1,    #0x56b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22193 (0x56b1)

lri $AR1,    #0x56b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22194 (0x56b2)

lri $AR1,    #0x56b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22195 (0x56b3)

lri $AR1,    #0x56b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22196 (0x56b4)

lri $AR1,    #0x56b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22197 (0x56b5)

lri $AR1,    #0x56b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22198 (0x56b6)

lri $AR1,    #0x56b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22199 (0x56b7)

lri $AR1,    #0x56b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22200 (0x56b8)

lri $AR1,    #0x56b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22201 (0x56b9)

lri $AR1,    #0x56b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22202 (0x56ba)

lri $AR1,    #0x56ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22203 (0x56bb)

lri $AR1,    #0x56bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22204 (0x56bc)

lri $AR1,    #0x56bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22205 (0x56bd)

lri $AR1,    #0x56bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22206 (0x56be)

lri $AR1,    #0x56be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22207 (0x56bf)

lri $AR1,    #0x56bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22208 (0x56c0)

lri $AR1,    #0x56c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22209 (0x56c1)

lri $AR1,    #0x56c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22210 (0x56c2)

lri $AR1,    #0x56c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22211 (0x56c3)

lri $AR1,    #0x56c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22212 (0x56c4)

lri $AR1,    #0x56c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22213 (0x56c5)

lri $AR1,    #0x56c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22214 (0x56c6)

lri $AR1,    #0x56c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22215 (0x56c7)

lri $AR1,    #0x56c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22216 (0x56c8)

lri $AR1,    #0x56c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22217 (0x56c9)

lri $AR1,    #0x56c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22218 (0x56ca)

lri $AR1,    #0x56ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22219 (0x56cb)

lri $AR1,    #0x56cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22220 (0x56cc)

lri $AR1,    #0x56cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22221 (0x56cd)

lri $AR1,    #0x56cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22222 (0x56ce)

lri $AR1,    #0x56ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22223 (0x56cf)

lri $AR1,    #0x56cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22224 (0x56d0)

lri $AR1,    #0x56d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22225 (0x56d1)

lri $AR1,    #0x56d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22226 (0x56d2)

lri $AR1,    #0x56d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22227 (0x56d3)

lri $AR1,    #0x56d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22228 (0x56d4)

lri $AR1,    #0x56d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22229 (0x56d5)

lri $AR1,    #0x56d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22230 (0x56d6)

lri $AR1,    #0x56d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22231 (0x56d7)

lri $AR1,    #0x56d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22232 (0x56d8)

lri $AR1,    #0x56d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22233 (0x56d9)

lri $AR1,    #0x56d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22234 (0x56da)

lri $AR1,    #0x56da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22235 (0x56db)

lri $AR1,    #0x56db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22236 (0x56dc)

lri $AR1,    #0x56dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22237 (0x56dd)

lri $AR1,    #0x56dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22238 (0x56de)

lri $AR1,    #0x56de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22239 (0x56df)

lri $AR1,    #0x56df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22240 (0x56e0)

lri $AR1,    #0x56e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22241 (0x56e1)

lri $AR1,    #0x56e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22242 (0x56e2)

lri $AR1,    #0x56e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22243 (0x56e3)

lri $AR1,    #0x56e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22244 (0x56e4)

lri $AR1,    #0x56e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22245 (0x56e5)

lri $AR1,    #0x56e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22246 (0x56e6)

lri $AR1,    #0x56e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22247 (0x56e7)

lri $AR1,    #0x56e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22248 (0x56e8)

lri $AR1,    #0x56e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22249 (0x56e9)

lri $AR1,    #0x56e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22250 (0x56ea)

lri $AR1,    #0x56ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22251 (0x56eb)

lri $AR1,    #0x56eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22252 (0x56ec)

lri $AR1,    #0x56ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22253 (0x56ed)

lri $AR1,    #0x56ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22254 (0x56ee)

lri $AR1,    #0x56ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22255 (0x56ef)

lri $AR1,    #0x56ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22256 (0x56f0)

lri $AR1,    #0x56f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22257 (0x56f1)

lri $AR1,    #0x56f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22258 (0x56f2)

lri $AR1,    #0x56f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22259 (0x56f3)

lri $AR1,    #0x56f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22260 (0x56f4)

lri $AR1,    #0x56f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22261 (0x56f5)

lri $AR1,    #0x56f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22262 (0x56f6)

lri $AR1,    #0x56f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22263 (0x56f7)

lri $AR1,    #0x56f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22264 (0x56f8)

lri $AR1,    #0x56f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22265 (0x56f9)

lri $AR1,    #0x56f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22266 (0x56fa)

lri $AR1,    #0x56fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22267 (0x56fb)

lri $AR1,    #0x56fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22268 (0x56fc)

lri $AR1,    #0x56fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22269 (0x56fd)

lri $AR1,    #0x56fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22270 (0x56fe)

lri $AR1,    #0x56fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22271 (0x56ff)

lri $AR1,    #0x56ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 22272 (0x5700)

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

