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

lri $AR1,    #0xfb80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64385 (0xfb81)

lri $AR1,    #0xfb81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64386 (0xfb82)

lri $AR1,    #0xfb82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64387 (0xfb83)

lri $AR1,    #0xfb83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64388 (0xfb84)

lri $AR1,    #0xfb84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64389 (0xfb85)

lri $AR1,    #0xfb85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64390 (0xfb86)

lri $AR1,    #0xfb86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64391 (0xfb87)

lri $AR1,    #0xfb87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64392 (0xfb88)

lri $AR1,    #0xfb88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64393 (0xfb89)

lri $AR1,    #0xfb89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64394 (0xfb8a)

lri $AR1,    #0xfb8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64395 (0xfb8b)

lri $AR1,    #0xfb8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64396 (0xfb8c)

lri $AR1,    #0xfb8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64397 (0xfb8d)

lri $AR1,    #0xfb8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64398 (0xfb8e)

lri $AR1,    #0xfb8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64399 (0xfb8f)

lri $AR1,    #0xfb8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64400 (0xfb90)

lri $AR1,    #0xfb90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64401 (0xfb91)

lri $AR1,    #0xfb91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64402 (0xfb92)

lri $AR1,    #0xfb92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64403 (0xfb93)

lri $AR1,    #0xfb93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64404 (0xfb94)

lri $AR1,    #0xfb94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64405 (0xfb95)

lri $AR1,    #0xfb95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64406 (0xfb96)

lri $AR1,    #0xfb96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64407 (0xfb97)

lri $AR1,    #0xfb97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64408 (0xfb98)

lri $AR1,    #0xfb98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64409 (0xfb99)

lri $AR1,    #0xfb99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64410 (0xfb9a)

lri $AR1,    #0xfb9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64411 (0xfb9b)

lri $AR1,    #0xfb9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64412 (0xfb9c)

lri $AR1,    #0xfb9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64413 (0xfb9d)

lri $AR1,    #0xfb9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64414 (0xfb9e)

lri $AR1,    #0xfb9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64415 (0xfb9f)

lri $AR1,    #0xfb9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64416 (0xfba0)

lri $AR1,    #0xfba0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64417 (0xfba1)

lri $AR1,    #0xfba1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64418 (0xfba2)

lri $AR1,    #0xfba2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64419 (0xfba3)

lri $AR1,    #0xfba3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64420 (0xfba4)

lri $AR1,    #0xfba4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64421 (0xfba5)

lri $AR1,    #0xfba5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64422 (0xfba6)

lri $AR1,    #0xfba6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64423 (0xfba7)

lri $AR1,    #0xfba7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64424 (0xfba8)

lri $AR1,    #0xfba8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64425 (0xfba9)

lri $AR1,    #0xfba9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64426 (0xfbaa)

lri $AR1,    #0xfbaa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64427 (0xfbab)

lri $AR1,    #0xfbab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64428 (0xfbac)

lri $AR1,    #0xfbac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64429 (0xfbad)

lri $AR1,    #0xfbad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64430 (0xfbae)

lri $AR1,    #0xfbae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64431 (0xfbaf)

lri $AR1,    #0xfbaf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64432 (0xfbb0)

lri $AR1,    #0xfbb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64433 (0xfbb1)

lri $AR1,    #0xfbb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64434 (0xfbb2)

lri $AR1,    #0xfbb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64435 (0xfbb3)

lri $AR1,    #0xfbb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64436 (0xfbb4)

lri $AR1,    #0xfbb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64437 (0xfbb5)

lri $AR1,    #0xfbb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64438 (0xfbb6)

lri $AR1,    #0xfbb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64439 (0xfbb7)

lri $AR1,    #0xfbb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64440 (0xfbb8)

lri $AR1,    #0xfbb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64441 (0xfbb9)

lri $AR1,    #0xfbb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64442 (0xfbba)

lri $AR1,    #0xfbba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64443 (0xfbbb)

lri $AR1,    #0xfbbb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64444 (0xfbbc)

lri $AR1,    #0xfbbc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64445 (0xfbbd)

lri $AR1,    #0xfbbd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64446 (0xfbbe)

lri $AR1,    #0xfbbe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64447 (0xfbbf)

lri $AR1,    #0xfbbf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64448 (0xfbc0)

lri $AR1,    #0xfbc0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64449 (0xfbc1)

lri $AR1,    #0xfbc1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64450 (0xfbc2)

lri $AR1,    #0xfbc2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64451 (0xfbc3)

lri $AR1,    #0xfbc3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64452 (0xfbc4)

lri $AR1,    #0xfbc4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64453 (0xfbc5)

lri $AR1,    #0xfbc5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64454 (0xfbc6)

lri $AR1,    #0xfbc6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64455 (0xfbc7)

lri $AR1,    #0xfbc7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64456 (0xfbc8)

lri $AR1,    #0xfbc8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64457 (0xfbc9)

lri $AR1,    #0xfbc9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64458 (0xfbca)

lri $AR1,    #0xfbca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64459 (0xfbcb)

lri $AR1,    #0xfbcb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64460 (0xfbcc)

lri $AR1,    #0xfbcc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64461 (0xfbcd)

lri $AR1,    #0xfbcd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64462 (0xfbce)

lri $AR1,    #0xfbce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64463 (0xfbcf)

lri $AR1,    #0xfbcf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64464 (0xfbd0)

lri $AR1,    #0xfbd0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64465 (0xfbd1)

lri $AR1,    #0xfbd1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64466 (0xfbd2)

lri $AR1,    #0xfbd2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64467 (0xfbd3)

lri $AR1,    #0xfbd3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64468 (0xfbd4)

lri $AR1,    #0xfbd4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64469 (0xfbd5)

lri $AR1,    #0xfbd5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64470 (0xfbd6)

lri $AR1,    #0xfbd6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64471 (0xfbd7)

lri $AR1,    #0xfbd7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64472 (0xfbd8)

lri $AR1,    #0xfbd8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64473 (0xfbd9)

lri $AR1,    #0xfbd9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64474 (0xfbda)

lri $AR1,    #0xfbda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64475 (0xfbdb)

lri $AR1,    #0xfbdb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64476 (0xfbdc)

lri $AR1,    #0xfbdc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64477 (0xfbdd)

lri $AR1,    #0xfbdd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64478 (0xfbde)

lri $AR1,    #0xfbde
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64479 (0xfbdf)

lri $AR1,    #0xfbdf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64480 (0xfbe0)

lri $AR1,    #0xfbe0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64481 (0xfbe1)

lri $AR1,    #0xfbe1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64482 (0xfbe2)

lri $AR1,    #0xfbe2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64483 (0xfbe3)

lri $AR1,    #0xfbe3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64484 (0xfbe4)

lri $AR1,    #0xfbe4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64485 (0xfbe5)

lri $AR1,    #0xfbe5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64486 (0xfbe6)

lri $AR1,    #0xfbe6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64487 (0xfbe7)

lri $AR1,    #0xfbe7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64488 (0xfbe8)

lri $AR1,    #0xfbe8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64489 (0xfbe9)

lri $AR1,    #0xfbe9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64490 (0xfbea)

lri $AR1,    #0xfbea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64491 (0xfbeb)

lri $AR1,    #0xfbeb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64492 (0xfbec)

lri $AR1,    #0xfbec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64493 (0xfbed)

lri $AR1,    #0xfbed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64494 (0xfbee)

lri $AR1,    #0xfbee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64495 (0xfbef)

lri $AR1,    #0xfbef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64496 (0xfbf0)

lri $AR1,    #0xfbf0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64497 (0xfbf1)

lri $AR1,    #0xfbf1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64498 (0xfbf2)

lri $AR1,    #0xfbf2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64499 (0xfbf3)

lri $AR1,    #0xfbf3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64500 (0xfbf4)

lri $AR1,    #0xfbf4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64501 (0xfbf5)

lri $AR1,    #0xfbf5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64502 (0xfbf6)

lri $AR1,    #0xfbf6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64503 (0xfbf7)

lri $AR1,    #0xfbf7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64504 (0xfbf8)

lri $AR1,    #0xfbf8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64505 (0xfbf9)

lri $AR1,    #0xfbf9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64506 (0xfbfa)

lri $AR1,    #0xfbfa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64507 (0xfbfb)

lri $AR1,    #0xfbfb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64508 (0xfbfc)

lri $AR1,    #0xfbfc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64509 (0xfbfd)

lri $AR1,    #0xfbfd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64510 (0xfbfe)

lri $AR1,    #0xfbfe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64511 (0xfbff)

lri $AR1,    #0xfbff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64512 (0xfc00)

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

