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

lri $AR1,    #0x1080
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4225 (0x1081)

lri $AR1,    #0x1081
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4226 (0x1082)

lri $AR1,    #0x1082
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4227 (0x1083)

lri $AR1,    #0x1083
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4228 (0x1084)

lri $AR1,    #0x1084
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4229 (0x1085)

lri $AR1,    #0x1085
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4230 (0x1086)

lri $AR1,    #0x1086
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4231 (0x1087)

lri $AR1,    #0x1087
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4232 (0x1088)

lri $AR1,    #0x1088
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4233 (0x1089)

lri $AR1,    #0x1089
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4234 (0x108a)

lri $AR1,    #0x108a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4235 (0x108b)

lri $AR1,    #0x108b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4236 (0x108c)

lri $AR1,    #0x108c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4237 (0x108d)

lri $AR1,    #0x108d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4238 (0x108e)

lri $AR1,    #0x108e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4239 (0x108f)

lri $AR1,    #0x108f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4240 (0x1090)

lri $AR1,    #0x1090
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4241 (0x1091)

lri $AR1,    #0x1091
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4242 (0x1092)

lri $AR1,    #0x1092
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4243 (0x1093)

lri $AR1,    #0x1093
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4244 (0x1094)

lri $AR1,    #0x1094
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4245 (0x1095)

lri $AR1,    #0x1095
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4246 (0x1096)

lri $AR1,    #0x1096
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4247 (0x1097)

lri $AR1,    #0x1097
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4248 (0x1098)

lri $AR1,    #0x1098
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4249 (0x1099)

lri $AR1,    #0x1099
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4250 (0x109a)

lri $AR1,    #0x109a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4251 (0x109b)

lri $AR1,    #0x109b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4252 (0x109c)

lri $AR1,    #0x109c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4253 (0x109d)

lri $AR1,    #0x109d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4254 (0x109e)

lri $AR1,    #0x109e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4255 (0x109f)

lri $AR1,    #0x109f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4256 (0x10a0)

lri $AR1,    #0x10a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4257 (0x10a1)

lri $AR1,    #0x10a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4258 (0x10a2)

lri $AR1,    #0x10a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4259 (0x10a3)

lri $AR1,    #0x10a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4260 (0x10a4)

lri $AR1,    #0x10a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4261 (0x10a5)

lri $AR1,    #0x10a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4262 (0x10a6)

lri $AR1,    #0x10a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4263 (0x10a7)

lri $AR1,    #0x10a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4264 (0x10a8)

lri $AR1,    #0x10a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4265 (0x10a9)

lri $AR1,    #0x10a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4266 (0x10aa)

lri $AR1,    #0x10aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4267 (0x10ab)

lri $AR1,    #0x10ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4268 (0x10ac)

lri $AR1,    #0x10ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4269 (0x10ad)

lri $AR1,    #0x10ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4270 (0x10ae)

lri $AR1,    #0x10ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4271 (0x10af)

lri $AR1,    #0x10af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4272 (0x10b0)

lri $AR1,    #0x10b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4273 (0x10b1)

lri $AR1,    #0x10b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4274 (0x10b2)

lri $AR1,    #0x10b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4275 (0x10b3)

lri $AR1,    #0x10b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4276 (0x10b4)

lri $AR1,    #0x10b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4277 (0x10b5)

lri $AR1,    #0x10b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4278 (0x10b6)

lri $AR1,    #0x10b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4279 (0x10b7)

lri $AR1,    #0x10b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4280 (0x10b8)

lri $AR1,    #0x10b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4281 (0x10b9)

lri $AR1,    #0x10b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4282 (0x10ba)

lri $AR1,    #0x10ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4283 (0x10bb)

lri $AR1,    #0x10bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4284 (0x10bc)

lri $AR1,    #0x10bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4285 (0x10bd)

lri $AR1,    #0x10bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4286 (0x10be)

lri $AR1,    #0x10be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4287 (0x10bf)

lri $AR1,    #0x10bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4288 (0x10c0)

lri $AR1,    #0x10c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4289 (0x10c1)

lri $AR1,    #0x10c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4290 (0x10c2)

lri $AR1,    #0x10c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4291 (0x10c3)

lri $AR1,    #0x10c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4292 (0x10c4)

lri $AR1,    #0x10c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4293 (0x10c5)

lri $AR1,    #0x10c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4294 (0x10c6)

lri $AR1,    #0x10c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4295 (0x10c7)

lri $AR1,    #0x10c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4296 (0x10c8)

lri $AR1,    #0x10c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4297 (0x10c9)

lri $AR1,    #0x10c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4298 (0x10ca)

lri $AR1,    #0x10ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4299 (0x10cb)

lri $AR1,    #0x10cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4300 (0x10cc)

lri $AR1,    #0x10cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4301 (0x10cd)

lri $AR1,    #0x10cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4302 (0x10ce)

lri $AR1,    #0x10ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4303 (0x10cf)

lri $AR1,    #0x10cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4304 (0x10d0)

lri $AR1,    #0x10d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4305 (0x10d1)

lri $AR1,    #0x10d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4306 (0x10d2)

lri $AR1,    #0x10d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4307 (0x10d3)

lri $AR1,    #0x10d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4308 (0x10d4)

lri $AR1,    #0x10d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4309 (0x10d5)

lri $AR1,    #0x10d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4310 (0x10d6)

lri $AR1,    #0x10d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4311 (0x10d7)

lri $AR1,    #0x10d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4312 (0x10d8)

lri $AR1,    #0x10d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4313 (0x10d9)

lri $AR1,    #0x10d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4314 (0x10da)

lri $AR1,    #0x10da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4315 (0x10db)

lri $AR1,    #0x10db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4316 (0x10dc)

lri $AR1,    #0x10dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4317 (0x10dd)

lri $AR1,    #0x10dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4318 (0x10de)

lri $AR1,    #0x10de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4319 (0x10df)

lri $AR1,    #0x10df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4320 (0x10e0)

lri $AR1,    #0x10e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4321 (0x10e1)

lri $AR1,    #0x10e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4322 (0x10e2)

lri $AR1,    #0x10e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4323 (0x10e3)

lri $AR1,    #0x10e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4324 (0x10e4)

lri $AR1,    #0x10e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4325 (0x10e5)

lri $AR1,    #0x10e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4326 (0x10e6)

lri $AR1,    #0x10e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4327 (0x10e7)

lri $AR1,    #0x10e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4328 (0x10e8)

lri $AR1,    #0x10e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4329 (0x10e9)

lri $AR1,    #0x10e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4330 (0x10ea)

lri $AR1,    #0x10ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4331 (0x10eb)

lri $AR1,    #0x10eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4332 (0x10ec)

lri $AR1,    #0x10ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4333 (0x10ed)

lri $AR1,    #0x10ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4334 (0x10ee)

lri $AR1,    #0x10ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4335 (0x10ef)

lri $AR1,    #0x10ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4336 (0x10f0)

lri $AR1,    #0x10f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4337 (0x10f1)

lri $AR1,    #0x10f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4338 (0x10f2)

lri $AR1,    #0x10f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4339 (0x10f3)

lri $AR1,    #0x10f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4340 (0x10f4)

lri $AR1,    #0x10f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4341 (0x10f5)

lri $AR1,    #0x10f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4342 (0x10f6)

lri $AR1,    #0x10f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4343 (0x10f7)

lri $AR1,    #0x10f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4344 (0x10f8)

lri $AR1,    #0x10f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4345 (0x10f9)

lri $AR1,    #0x10f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4346 (0x10fa)

lri $AR1,    #0x10fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4347 (0x10fb)

lri $AR1,    #0x10fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4348 (0x10fc)

lri $AR1,    #0x10fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4349 (0x10fd)

lri $AR1,    #0x10fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4350 (0x10fe)

lri $AR1,    #0x10fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4351 (0x10ff)

lri $AR1,    #0x10ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4352 (0x1100)

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

