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

lri $AR1,    #0x5f80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24449 (0x5f81)

lri $AR1,    #0x5f81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24450 (0x5f82)

lri $AR1,    #0x5f82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24451 (0x5f83)

lri $AR1,    #0x5f83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24452 (0x5f84)

lri $AR1,    #0x5f84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24453 (0x5f85)

lri $AR1,    #0x5f85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24454 (0x5f86)

lri $AR1,    #0x5f86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24455 (0x5f87)

lri $AR1,    #0x5f87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24456 (0x5f88)

lri $AR1,    #0x5f88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24457 (0x5f89)

lri $AR1,    #0x5f89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24458 (0x5f8a)

lri $AR1,    #0x5f8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24459 (0x5f8b)

lri $AR1,    #0x5f8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24460 (0x5f8c)

lri $AR1,    #0x5f8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24461 (0x5f8d)

lri $AR1,    #0x5f8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24462 (0x5f8e)

lri $AR1,    #0x5f8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24463 (0x5f8f)

lri $AR1,    #0x5f8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24464 (0x5f90)

lri $AR1,    #0x5f90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24465 (0x5f91)

lri $AR1,    #0x5f91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24466 (0x5f92)

lri $AR1,    #0x5f92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24467 (0x5f93)

lri $AR1,    #0x5f93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24468 (0x5f94)

lri $AR1,    #0x5f94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24469 (0x5f95)

lri $AR1,    #0x5f95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24470 (0x5f96)

lri $AR1,    #0x5f96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24471 (0x5f97)

lri $AR1,    #0x5f97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24472 (0x5f98)

lri $AR1,    #0x5f98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24473 (0x5f99)

lri $AR1,    #0x5f99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24474 (0x5f9a)

lri $AR1,    #0x5f9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24475 (0x5f9b)

lri $AR1,    #0x5f9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24476 (0x5f9c)

lri $AR1,    #0x5f9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24477 (0x5f9d)

lri $AR1,    #0x5f9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24478 (0x5f9e)

lri $AR1,    #0x5f9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24479 (0x5f9f)

lri $AR1,    #0x5f9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24480 (0x5fa0)

lri $AR1,    #0x5fa0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24481 (0x5fa1)

lri $AR1,    #0x5fa1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24482 (0x5fa2)

lri $AR1,    #0x5fa2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24483 (0x5fa3)

lri $AR1,    #0x5fa3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24484 (0x5fa4)

lri $AR1,    #0x5fa4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24485 (0x5fa5)

lri $AR1,    #0x5fa5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24486 (0x5fa6)

lri $AR1,    #0x5fa6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24487 (0x5fa7)

lri $AR1,    #0x5fa7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24488 (0x5fa8)

lri $AR1,    #0x5fa8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24489 (0x5fa9)

lri $AR1,    #0x5fa9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24490 (0x5faa)

lri $AR1,    #0x5faa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24491 (0x5fab)

lri $AR1,    #0x5fab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24492 (0x5fac)

lri $AR1,    #0x5fac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24493 (0x5fad)

lri $AR1,    #0x5fad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24494 (0x5fae)

lri $AR1,    #0x5fae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24495 (0x5faf)

lri $AR1,    #0x5faf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24496 (0x5fb0)

lri $AR1,    #0x5fb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24497 (0x5fb1)

lri $AR1,    #0x5fb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24498 (0x5fb2)

lri $AR1,    #0x5fb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24499 (0x5fb3)

lri $AR1,    #0x5fb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24500 (0x5fb4)

lri $AR1,    #0x5fb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24501 (0x5fb5)

lri $AR1,    #0x5fb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24502 (0x5fb6)

lri $AR1,    #0x5fb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24503 (0x5fb7)

lri $AR1,    #0x5fb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24504 (0x5fb8)

lri $AR1,    #0x5fb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24505 (0x5fb9)

lri $AR1,    #0x5fb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24506 (0x5fba)

lri $AR1,    #0x5fba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24507 (0x5fbb)

lri $AR1,    #0x5fbb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24508 (0x5fbc)

lri $AR1,    #0x5fbc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24509 (0x5fbd)

lri $AR1,    #0x5fbd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24510 (0x5fbe)

lri $AR1,    #0x5fbe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24511 (0x5fbf)

lri $AR1,    #0x5fbf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24512 (0x5fc0)

lri $AR1,    #0x5fc0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24513 (0x5fc1)

lri $AR1,    #0x5fc1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24514 (0x5fc2)

lri $AR1,    #0x5fc2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24515 (0x5fc3)

lri $AR1,    #0x5fc3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24516 (0x5fc4)

lri $AR1,    #0x5fc4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24517 (0x5fc5)

lri $AR1,    #0x5fc5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24518 (0x5fc6)

lri $AR1,    #0x5fc6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24519 (0x5fc7)

lri $AR1,    #0x5fc7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24520 (0x5fc8)

lri $AR1,    #0x5fc8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24521 (0x5fc9)

lri $AR1,    #0x5fc9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24522 (0x5fca)

lri $AR1,    #0x5fca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24523 (0x5fcb)

lri $AR1,    #0x5fcb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24524 (0x5fcc)

lri $AR1,    #0x5fcc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24525 (0x5fcd)

lri $AR1,    #0x5fcd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24526 (0x5fce)

lri $AR1,    #0x5fce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24527 (0x5fcf)

lri $AR1,    #0x5fcf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24528 (0x5fd0)

lri $AR1,    #0x5fd0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24529 (0x5fd1)

lri $AR1,    #0x5fd1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24530 (0x5fd2)

lri $AR1,    #0x5fd2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24531 (0x5fd3)

lri $AR1,    #0x5fd3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24532 (0x5fd4)

lri $AR1,    #0x5fd4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24533 (0x5fd5)

lri $AR1,    #0x5fd5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24534 (0x5fd6)

lri $AR1,    #0x5fd6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24535 (0x5fd7)

lri $AR1,    #0x5fd7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24536 (0x5fd8)

lri $AR1,    #0x5fd8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24537 (0x5fd9)

lri $AR1,    #0x5fd9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24538 (0x5fda)

lri $AR1,    #0x5fda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24539 (0x5fdb)

lri $AR1,    #0x5fdb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24540 (0x5fdc)

lri $AR1,    #0x5fdc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24541 (0x5fdd)

lri $AR1,    #0x5fdd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24542 (0x5fde)

lri $AR1,    #0x5fde
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24543 (0x5fdf)

lri $AR1,    #0x5fdf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24544 (0x5fe0)

lri $AR1,    #0x5fe0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24545 (0x5fe1)

lri $AR1,    #0x5fe1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24546 (0x5fe2)

lri $AR1,    #0x5fe2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24547 (0x5fe3)

lri $AR1,    #0x5fe3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24548 (0x5fe4)

lri $AR1,    #0x5fe4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24549 (0x5fe5)

lri $AR1,    #0x5fe5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24550 (0x5fe6)

lri $AR1,    #0x5fe6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24551 (0x5fe7)

lri $AR1,    #0x5fe7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24552 (0x5fe8)

lri $AR1,    #0x5fe8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24553 (0x5fe9)

lri $AR1,    #0x5fe9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24554 (0x5fea)

lri $AR1,    #0x5fea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24555 (0x5feb)

lri $AR1,    #0x5feb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24556 (0x5fec)

lri $AR1,    #0x5fec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24557 (0x5fed)

lri $AR1,    #0x5fed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24558 (0x5fee)

lri $AR1,    #0x5fee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24559 (0x5fef)

lri $AR1,    #0x5fef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24560 (0x5ff0)

lri $AR1,    #0x5ff0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24561 (0x5ff1)

lri $AR1,    #0x5ff1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24562 (0x5ff2)

lri $AR1,    #0x5ff2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24563 (0x5ff3)

lri $AR1,    #0x5ff3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24564 (0x5ff4)

lri $AR1,    #0x5ff4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24565 (0x5ff5)

lri $AR1,    #0x5ff5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24566 (0x5ff6)

lri $AR1,    #0x5ff6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24567 (0x5ff7)

lri $AR1,    #0x5ff7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24568 (0x5ff8)

lri $AR1,    #0x5ff8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24569 (0x5ff9)

lri $AR1,    #0x5ff9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24570 (0x5ffa)

lri $AR1,    #0x5ffa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24571 (0x5ffb)

lri $AR1,    #0x5ffb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24572 (0x5ffc)

lri $AR1,    #0x5ffc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24573 (0x5ffd)

lri $AR1,    #0x5ffd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24574 (0x5ffe)

lri $AR1,    #0x5ffe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24575 (0x5fff)

lri $AR1,    #0x5fff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 24576 (0x6000)

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

