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

lri $AR1,    #0xe380
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58241 (0xe381)

lri $AR1,    #0xe381
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58242 (0xe382)

lri $AR1,    #0xe382
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58243 (0xe383)

lri $AR1,    #0xe383
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58244 (0xe384)

lri $AR1,    #0xe384
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58245 (0xe385)

lri $AR1,    #0xe385
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58246 (0xe386)

lri $AR1,    #0xe386
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58247 (0xe387)

lri $AR1,    #0xe387
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58248 (0xe388)

lri $AR1,    #0xe388
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58249 (0xe389)

lri $AR1,    #0xe389
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58250 (0xe38a)

lri $AR1,    #0xe38a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58251 (0xe38b)

lri $AR1,    #0xe38b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58252 (0xe38c)

lri $AR1,    #0xe38c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58253 (0xe38d)

lri $AR1,    #0xe38d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58254 (0xe38e)

lri $AR1,    #0xe38e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58255 (0xe38f)

lri $AR1,    #0xe38f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58256 (0xe390)

lri $AR1,    #0xe390
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58257 (0xe391)

lri $AR1,    #0xe391
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58258 (0xe392)

lri $AR1,    #0xe392
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58259 (0xe393)

lri $AR1,    #0xe393
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58260 (0xe394)

lri $AR1,    #0xe394
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58261 (0xe395)

lri $AR1,    #0xe395
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58262 (0xe396)

lri $AR1,    #0xe396
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58263 (0xe397)

lri $AR1,    #0xe397
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58264 (0xe398)

lri $AR1,    #0xe398
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58265 (0xe399)

lri $AR1,    #0xe399
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58266 (0xe39a)

lri $AR1,    #0xe39a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58267 (0xe39b)

lri $AR1,    #0xe39b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58268 (0xe39c)

lri $AR1,    #0xe39c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58269 (0xe39d)

lri $AR1,    #0xe39d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58270 (0xe39e)

lri $AR1,    #0xe39e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58271 (0xe39f)

lri $AR1,    #0xe39f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58272 (0xe3a0)

lri $AR1,    #0xe3a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58273 (0xe3a1)

lri $AR1,    #0xe3a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58274 (0xe3a2)

lri $AR1,    #0xe3a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58275 (0xe3a3)

lri $AR1,    #0xe3a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58276 (0xe3a4)

lri $AR1,    #0xe3a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58277 (0xe3a5)

lri $AR1,    #0xe3a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58278 (0xe3a6)

lri $AR1,    #0xe3a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58279 (0xe3a7)

lri $AR1,    #0xe3a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58280 (0xe3a8)

lri $AR1,    #0xe3a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58281 (0xe3a9)

lri $AR1,    #0xe3a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58282 (0xe3aa)

lri $AR1,    #0xe3aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58283 (0xe3ab)

lri $AR1,    #0xe3ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58284 (0xe3ac)

lri $AR1,    #0xe3ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58285 (0xe3ad)

lri $AR1,    #0xe3ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58286 (0xe3ae)

lri $AR1,    #0xe3ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58287 (0xe3af)

lri $AR1,    #0xe3af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58288 (0xe3b0)

lri $AR1,    #0xe3b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58289 (0xe3b1)

lri $AR1,    #0xe3b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58290 (0xe3b2)

lri $AR1,    #0xe3b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58291 (0xe3b3)

lri $AR1,    #0xe3b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58292 (0xe3b4)

lri $AR1,    #0xe3b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58293 (0xe3b5)

lri $AR1,    #0xe3b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58294 (0xe3b6)

lri $AR1,    #0xe3b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58295 (0xe3b7)

lri $AR1,    #0xe3b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58296 (0xe3b8)

lri $AR1,    #0xe3b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58297 (0xe3b9)

lri $AR1,    #0xe3b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58298 (0xe3ba)

lri $AR1,    #0xe3ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58299 (0xe3bb)

lri $AR1,    #0xe3bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58300 (0xe3bc)

lri $AR1,    #0xe3bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58301 (0xe3bd)

lri $AR1,    #0xe3bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58302 (0xe3be)

lri $AR1,    #0xe3be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58303 (0xe3bf)

lri $AR1,    #0xe3bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58304 (0xe3c0)

lri $AR1,    #0xe3c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58305 (0xe3c1)

lri $AR1,    #0xe3c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58306 (0xe3c2)

lri $AR1,    #0xe3c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58307 (0xe3c3)

lri $AR1,    #0xe3c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58308 (0xe3c4)

lri $AR1,    #0xe3c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58309 (0xe3c5)

lri $AR1,    #0xe3c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58310 (0xe3c6)

lri $AR1,    #0xe3c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58311 (0xe3c7)

lri $AR1,    #0xe3c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58312 (0xe3c8)

lri $AR1,    #0xe3c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58313 (0xe3c9)

lri $AR1,    #0xe3c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58314 (0xe3ca)

lri $AR1,    #0xe3ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58315 (0xe3cb)

lri $AR1,    #0xe3cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58316 (0xe3cc)

lri $AR1,    #0xe3cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58317 (0xe3cd)

lri $AR1,    #0xe3cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58318 (0xe3ce)

lri $AR1,    #0xe3ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58319 (0xe3cf)

lri $AR1,    #0xe3cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58320 (0xe3d0)

lri $AR1,    #0xe3d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58321 (0xe3d1)

lri $AR1,    #0xe3d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58322 (0xe3d2)

lri $AR1,    #0xe3d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58323 (0xe3d3)

lri $AR1,    #0xe3d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58324 (0xe3d4)

lri $AR1,    #0xe3d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58325 (0xe3d5)

lri $AR1,    #0xe3d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58326 (0xe3d6)

lri $AR1,    #0xe3d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58327 (0xe3d7)

lri $AR1,    #0xe3d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58328 (0xe3d8)

lri $AR1,    #0xe3d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58329 (0xe3d9)

lri $AR1,    #0xe3d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58330 (0xe3da)

lri $AR1,    #0xe3da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58331 (0xe3db)

lri $AR1,    #0xe3db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58332 (0xe3dc)

lri $AR1,    #0xe3dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58333 (0xe3dd)

lri $AR1,    #0xe3dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58334 (0xe3de)

lri $AR1,    #0xe3de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58335 (0xe3df)

lri $AR1,    #0xe3df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58336 (0xe3e0)

lri $AR1,    #0xe3e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58337 (0xe3e1)

lri $AR1,    #0xe3e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58338 (0xe3e2)

lri $AR1,    #0xe3e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58339 (0xe3e3)

lri $AR1,    #0xe3e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58340 (0xe3e4)

lri $AR1,    #0xe3e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58341 (0xe3e5)

lri $AR1,    #0xe3e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58342 (0xe3e6)

lri $AR1,    #0xe3e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58343 (0xe3e7)

lri $AR1,    #0xe3e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58344 (0xe3e8)

lri $AR1,    #0xe3e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58345 (0xe3e9)

lri $AR1,    #0xe3e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58346 (0xe3ea)

lri $AR1,    #0xe3ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58347 (0xe3eb)

lri $AR1,    #0xe3eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58348 (0xe3ec)

lri $AR1,    #0xe3ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58349 (0xe3ed)

lri $AR1,    #0xe3ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58350 (0xe3ee)

lri $AR1,    #0xe3ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58351 (0xe3ef)

lri $AR1,    #0xe3ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58352 (0xe3f0)

lri $AR1,    #0xe3f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58353 (0xe3f1)

lri $AR1,    #0xe3f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58354 (0xe3f2)

lri $AR1,    #0xe3f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58355 (0xe3f3)

lri $AR1,    #0xe3f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58356 (0xe3f4)

lri $AR1,    #0xe3f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58357 (0xe3f5)

lri $AR1,    #0xe3f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58358 (0xe3f6)

lri $AR1,    #0xe3f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58359 (0xe3f7)

lri $AR1,    #0xe3f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58360 (0xe3f8)

lri $AR1,    #0xe3f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58361 (0xe3f9)

lri $AR1,    #0xe3f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58362 (0xe3fa)

lri $AR1,    #0xe3fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58363 (0xe3fb)

lri $AR1,    #0xe3fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58364 (0xe3fc)

lri $AR1,    #0xe3fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58365 (0xe3fd)

lri $AR1,    #0xe3fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58366 (0xe3fe)

lri $AR1,    #0xe3fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58367 (0xe3ff)

lri $AR1,    #0xe3ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 58368 (0xe400)

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

