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

lri $AR1,    #0x4f80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20353 (0x4f81)

lri $AR1,    #0x4f81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20354 (0x4f82)

lri $AR1,    #0x4f82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20355 (0x4f83)

lri $AR1,    #0x4f83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20356 (0x4f84)

lri $AR1,    #0x4f84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20357 (0x4f85)

lri $AR1,    #0x4f85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20358 (0x4f86)

lri $AR1,    #0x4f86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20359 (0x4f87)

lri $AR1,    #0x4f87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20360 (0x4f88)

lri $AR1,    #0x4f88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20361 (0x4f89)

lri $AR1,    #0x4f89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20362 (0x4f8a)

lri $AR1,    #0x4f8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20363 (0x4f8b)

lri $AR1,    #0x4f8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20364 (0x4f8c)

lri $AR1,    #0x4f8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20365 (0x4f8d)

lri $AR1,    #0x4f8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20366 (0x4f8e)

lri $AR1,    #0x4f8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20367 (0x4f8f)

lri $AR1,    #0x4f8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20368 (0x4f90)

lri $AR1,    #0x4f90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20369 (0x4f91)

lri $AR1,    #0x4f91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20370 (0x4f92)

lri $AR1,    #0x4f92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20371 (0x4f93)

lri $AR1,    #0x4f93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20372 (0x4f94)

lri $AR1,    #0x4f94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20373 (0x4f95)

lri $AR1,    #0x4f95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20374 (0x4f96)

lri $AR1,    #0x4f96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20375 (0x4f97)

lri $AR1,    #0x4f97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20376 (0x4f98)

lri $AR1,    #0x4f98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20377 (0x4f99)

lri $AR1,    #0x4f99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20378 (0x4f9a)

lri $AR1,    #0x4f9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20379 (0x4f9b)

lri $AR1,    #0x4f9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20380 (0x4f9c)

lri $AR1,    #0x4f9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20381 (0x4f9d)

lri $AR1,    #0x4f9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20382 (0x4f9e)

lri $AR1,    #0x4f9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20383 (0x4f9f)

lri $AR1,    #0x4f9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20384 (0x4fa0)

lri $AR1,    #0x4fa0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20385 (0x4fa1)

lri $AR1,    #0x4fa1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20386 (0x4fa2)

lri $AR1,    #0x4fa2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20387 (0x4fa3)

lri $AR1,    #0x4fa3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20388 (0x4fa4)

lri $AR1,    #0x4fa4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20389 (0x4fa5)

lri $AR1,    #0x4fa5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20390 (0x4fa6)

lri $AR1,    #0x4fa6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20391 (0x4fa7)

lri $AR1,    #0x4fa7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20392 (0x4fa8)

lri $AR1,    #0x4fa8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20393 (0x4fa9)

lri $AR1,    #0x4fa9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20394 (0x4faa)

lri $AR1,    #0x4faa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20395 (0x4fab)

lri $AR1,    #0x4fab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20396 (0x4fac)

lri $AR1,    #0x4fac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20397 (0x4fad)

lri $AR1,    #0x4fad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20398 (0x4fae)

lri $AR1,    #0x4fae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20399 (0x4faf)

lri $AR1,    #0x4faf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20400 (0x4fb0)

lri $AR1,    #0x4fb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20401 (0x4fb1)

lri $AR1,    #0x4fb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20402 (0x4fb2)

lri $AR1,    #0x4fb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20403 (0x4fb3)

lri $AR1,    #0x4fb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20404 (0x4fb4)

lri $AR1,    #0x4fb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20405 (0x4fb5)

lri $AR1,    #0x4fb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20406 (0x4fb6)

lri $AR1,    #0x4fb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20407 (0x4fb7)

lri $AR1,    #0x4fb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20408 (0x4fb8)

lri $AR1,    #0x4fb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20409 (0x4fb9)

lri $AR1,    #0x4fb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20410 (0x4fba)

lri $AR1,    #0x4fba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20411 (0x4fbb)

lri $AR1,    #0x4fbb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20412 (0x4fbc)

lri $AR1,    #0x4fbc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20413 (0x4fbd)

lri $AR1,    #0x4fbd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20414 (0x4fbe)

lri $AR1,    #0x4fbe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20415 (0x4fbf)

lri $AR1,    #0x4fbf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20416 (0x4fc0)

lri $AR1,    #0x4fc0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20417 (0x4fc1)

lri $AR1,    #0x4fc1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20418 (0x4fc2)

lri $AR1,    #0x4fc2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20419 (0x4fc3)

lri $AR1,    #0x4fc3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20420 (0x4fc4)

lri $AR1,    #0x4fc4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20421 (0x4fc5)

lri $AR1,    #0x4fc5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20422 (0x4fc6)

lri $AR1,    #0x4fc6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20423 (0x4fc7)

lri $AR1,    #0x4fc7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20424 (0x4fc8)

lri $AR1,    #0x4fc8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20425 (0x4fc9)

lri $AR1,    #0x4fc9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20426 (0x4fca)

lri $AR1,    #0x4fca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20427 (0x4fcb)

lri $AR1,    #0x4fcb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20428 (0x4fcc)

lri $AR1,    #0x4fcc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20429 (0x4fcd)

lri $AR1,    #0x4fcd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20430 (0x4fce)

lri $AR1,    #0x4fce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20431 (0x4fcf)

lri $AR1,    #0x4fcf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20432 (0x4fd0)

lri $AR1,    #0x4fd0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20433 (0x4fd1)

lri $AR1,    #0x4fd1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20434 (0x4fd2)

lri $AR1,    #0x4fd2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20435 (0x4fd3)

lri $AR1,    #0x4fd3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20436 (0x4fd4)

lri $AR1,    #0x4fd4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20437 (0x4fd5)

lri $AR1,    #0x4fd5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20438 (0x4fd6)

lri $AR1,    #0x4fd6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20439 (0x4fd7)

lri $AR1,    #0x4fd7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20440 (0x4fd8)

lri $AR1,    #0x4fd8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20441 (0x4fd9)

lri $AR1,    #0x4fd9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20442 (0x4fda)

lri $AR1,    #0x4fda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20443 (0x4fdb)

lri $AR1,    #0x4fdb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20444 (0x4fdc)

lri $AR1,    #0x4fdc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20445 (0x4fdd)

lri $AR1,    #0x4fdd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20446 (0x4fde)

lri $AR1,    #0x4fde
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20447 (0x4fdf)

lri $AR1,    #0x4fdf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20448 (0x4fe0)

lri $AR1,    #0x4fe0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20449 (0x4fe1)

lri $AR1,    #0x4fe1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20450 (0x4fe2)

lri $AR1,    #0x4fe2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20451 (0x4fe3)

lri $AR1,    #0x4fe3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20452 (0x4fe4)

lri $AR1,    #0x4fe4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20453 (0x4fe5)

lri $AR1,    #0x4fe5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20454 (0x4fe6)

lri $AR1,    #0x4fe6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20455 (0x4fe7)

lri $AR1,    #0x4fe7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20456 (0x4fe8)

lri $AR1,    #0x4fe8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20457 (0x4fe9)

lri $AR1,    #0x4fe9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20458 (0x4fea)

lri $AR1,    #0x4fea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20459 (0x4feb)

lri $AR1,    #0x4feb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20460 (0x4fec)

lri $AR1,    #0x4fec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20461 (0x4fed)

lri $AR1,    #0x4fed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20462 (0x4fee)

lri $AR1,    #0x4fee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20463 (0x4fef)

lri $AR1,    #0x4fef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20464 (0x4ff0)

lri $AR1,    #0x4ff0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20465 (0x4ff1)

lri $AR1,    #0x4ff1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20466 (0x4ff2)

lri $AR1,    #0x4ff2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20467 (0x4ff3)

lri $AR1,    #0x4ff3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20468 (0x4ff4)

lri $AR1,    #0x4ff4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20469 (0x4ff5)

lri $AR1,    #0x4ff5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20470 (0x4ff6)

lri $AR1,    #0x4ff6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20471 (0x4ff7)

lri $AR1,    #0x4ff7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20472 (0x4ff8)

lri $AR1,    #0x4ff8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20473 (0x4ff9)

lri $AR1,    #0x4ff9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20474 (0x4ffa)

lri $AR1,    #0x4ffa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20475 (0x4ffb)

lri $AR1,    #0x4ffb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20476 (0x4ffc)

lri $AR1,    #0x4ffc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20477 (0x4ffd)

lri $AR1,    #0x4ffd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20478 (0x4ffe)

lri $AR1,    #0x4ffe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20479 (0x4fff)

lri $AR1,    #0x4fff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20480 (0x5000)

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

