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

lri $AR1,    #0x7e80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32385 (0x7e81)

lri $AR1,    #0x7e81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32386 (0x7e82)

lri $AR1,    #0x7e82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32387 (0x7e83)

lri $AR1,    #0x7e83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32388 (0x7e84)

lri $AR1,    #0x7e84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32389 (0x7e85)

lri $AR1,    #0x7e85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32390 (0x7e86)

lri $AR1,    #0x7e86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32391 (0x7e87)

lri $AR1,    #0x7e87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32392 (0x7e88)

lri $AR1,    #0x7e88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32393 (0x7e89)

lri $AR1,    #0x7e89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32394 (0x7e8a)

lri $AR1,    #0x7e8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32395 (0x7e8b)

lri $AR1,    #0x7e8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32396 (0x7e8c)

lri $AR1,    #0x7e8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32397 (0x7e8d)

lri $AR1,    #0x7e8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32398 (0x7e8e)

lri $AR1,    #0x7e8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32399 (0x7e8f)

lri $AR1,    #0x7e8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32400 (0x7e90)

lri $AR1,    #0x7e90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32401 (0x7e91)

lri $AR1,    #0x7e91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32402 (0x7e92)

lri $AR1,    #0x7e92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32403 (0x7e93)

lri $AR1,    #0x7e93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32404 (0x7e94)

lri $AR1,    #0x7e94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32405 (0x7e95)

lri $AR1,    #0x7e95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32406 (0x7e96)

lri $AR1,    #0x7e96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32407 (0x7e97)

lri $AR1,    #0x7e97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32408 (0x7e98)

lri $AR1,    #0x7e98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32409 (0x7e99)

lri $AR1,    #0x7e99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32410 (0x7e9a)

lri $AR1,    #0x7e9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32411 (0x7e9b)

lri $AR1,    #0x7e9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32412 (0x7e9c)

lri $AR1,    #0x7e9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32413 (0x7e9d)

lri $AR1,    #0x7e9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32414 (0x7e9e)

lri $AR1,    #0x7e9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32415 (0x7e9f)

lri $AR1,    #0x7e9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32416 (0x7ea0)

lri $AR1,    #0x7ea0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32417 (0x7ea1)

lri $AR1,    #0x7ea1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32418 (0x7ea2)

lri $AR1,    #0x7ea2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32419 (0x7ea3)

lri $AR1,    #0x7ea3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32420 (0x7ea4)

lri $AR1,    #0x7ea4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32421 (0x7ea5)

lri $AR1,    #0x7ea5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32422 (0x7ea6)

lri $AR1,    #0x7ea6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32423 (0x7ea7)

lri $AR1,    #0x7ea7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32424 (0x7ea8)

lri $AR1,    #0x7ea8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32425 (0x7ea9)

lri $AR1,    #0x7ea9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32426 (0x7eaa)

lri $AR1,    #0x7eaa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32427 (0x7eab)

lri $AR1,    #0x7eab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32428 (0x7eac)

lri $AR1,    #0x7eac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32429 (0x7ead)

lri $AR1,    #0x7ead
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32430 (0x7eae)

lri $AR1,    #0x7eae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32431 (0x7eaf)

lri $AR1,    #0x7eaf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32432 (0x7eb0)

lri $AR1,    #0x7eb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32433 (0x7eb1)

lri $AR1,    #0x7eb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32434 (0x7eb2)

lri $AR1,    #0x7eb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32435 (0x7eb3)

lri $AR1,    #0x7eb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32436 (0x7eb4)

lri $AR1,    #0x7eb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32437 (0x7eb5)

lri $AR1,    #0x7eb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32438 (0x7eb6)

lri $AR1,    #0x7eb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32439 (0x7eb7)

lri $AR1,    #0x7eb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32440 (0x7eb8)

lri $AR1,    #0x7eb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32441 (0x7eb9)

lri $AR1,    #0x7eb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32442 (0x7eba)

lri $AR1,    #0x7eba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32443 (0x7ebb)

lri $AR1,    #0x7ebb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32444 (0x7ebc)

lri $AR1,    #0x7ebc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32445 (0x7ebd)

lri $AR1,    #0x7ebd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32446 (0x7ebe)

lri $AR1,    #0x7ebe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32447 (0x7ebf)

lri $AR1,    #0x7ebf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32448 (0x7ec0)

lri $AR1,    #0x7ec0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32449 (0x7ec1)

lri $AR1,    #0x7ec1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32450 (0x7ec2)

lri $AR1,    #0x7ec2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32451 (0x7ec3)

lri $AR1,    #0x7ec3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32452 (0x7ec4)

lri $AR1,    #0x7ec4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32453 (0x7ec5)

lri $AR1,    #0x7ec5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32454 (0x7ec6)

lri $AR1,    #0x7ec6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32455 (0x7ec7)

lri $AR1,    #0x7ec7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32456 (0x7ec8)

lri $AR1,    #0x7ec8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32457 (0x7ec9)

lri $AR1,    #0x7ec9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32458 (0x7eca)

lri $AR1,    #0x7eca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32459 (0x7ecb)

lri $AR1,    #0x7ecb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32460 (0x7ecc)

lri $AR1,    #0x7ecc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32461 (0x7ecd)

lri $AR1,    #0x7ecd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32462 (0x7ece)

lri $AR1,    #0x7ece
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32463 (0x7ecf)

lri $AR1,    #0x7ecf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32464 (0x7ed0)

lri $AR1,    #0x7ed0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32465 (0x7ed1)

lri $AR1,    #0x7ed1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32466 (0x7ed2)

lri $AR1,    #0x7ed2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32467 (0x7ed3)

lri $AR1,    #0x7ed3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32468 (0x7ed4)

lri $AR1,    #0x7ed4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32469 (0x7ed5)

lri $AR1,    #0x7ed5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32470 (0x7ed6)

lri $AR1,    #0x7ed6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32471 (0x7ed7)

lri $AR1,    #0x7ed7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32472 (0x7ed8)

lri $AR1,    #0x7ed8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32473 (0x7ed9)

lri $AR1,    #0x7ed9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32474 (0x7eda)

lri $AR1,    #0x7eda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32475 (0x7edb)

lri $AR1,    #0x7edb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32476 (0x7edc)

lri $AR1,    #0x7edc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32477 (0x7edd)

lri $AR1,    #0x7edd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32478 (0x7ede)

lri $AR1,    #0x7ede
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32479 (0x7edf)

lri $AR1,    #0x7edf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32480 (0x7ee0)

lri $AR1,    #0x7ee0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32481 (0x7ee1)

lri $AR1,    #0x7ee1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32482 (0x7ee2)

lri $AR1,    #0x7ee2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32483 (0x7ee3)

lri $AR1,    #0x7ee3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32484 (0x7ee4)

lri $AR1,    #0x7ee4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32485 (0x7ee5)

lri $AR1,    #0x7ee5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32486 (0x7ee6)

lri $AR1,    #0x7ee6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32487 (0x7ee7)

lri $AR1,    #0x7ee7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32488 (0x7ee8)

lri $AR1,    #0x7ee8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32489 (0x7ee9)

lri $AR1,    #0x7ee9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32490 (0x7eea)

lri $AR1,    #0x7eea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32491 (0x7eeb)

lri $AR1,    #0x7eeb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32492 (0x7eec)

lri $AR1,    #0x7eec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32493 (0x7eed)

lri $AR1,    #0x7eed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32494 (0x7eee)

lri $AR1,    #0x7eee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32495 (0x7eef)

lri $AR1,    #0x7eef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32496 (0x7ef0)

lri $AR1,    #0x7ef0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32497 (0x7ef1)

lri $AR1,    #0x7ef1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32498 (0x7ef2)

lri $AR1,    #0x7ef2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32499 (0x7ef3)

lri $AR1,    #0x7ef3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32500 (0x7ef4)

lri $AR1,    #0x7ef4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32501 (0x7ef5)

lri $AR1,    #0x7ef5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32502 (0x7ef6)

lri $AR1,    #0x7ef6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32503 (0x7ef7)

lri $AR1,    #0x7ef7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32504 (0x7ef8)

lri $AR1,    #0x7ef8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32505 (0x7ef9)

lri $AR1,    #0x7ef9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32506 (0x7efa)

lri $AR1,    #0x7efa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32507 (0x7efb)

lri $AR1,    #0x7efb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32508 (0x7efc)

lri $AR1,    #0x7efc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32509 (0x7efd)

lri $AR1,    #0x7efd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32510 (0x7efe)

lri $AR1,    #0x7efe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32511 (0x7eff)

lri $AR1,    #0x7eff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 32512 (0x7f00)

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

