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

lri $AR1,    #0x4000
lri $IX1,    #0xf000
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61441 (0xf001)

lri $AR1,    #0x4000
lri $IX1,    #0xf001
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61442 (0xf002)

lri $AR1,    #0x4000
lri $IX1,    #0xf002
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61443 (0xf003)

lri $AR1,    #0x4000
lri $IX1,    #0xf003
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61444 (0xf004)

lri $AR1,    #0x4000
lri $IX1,    #0xf004
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61445 (0xf005)

lri $AR1,    #0x4000
lri $IX1,    #0xf005
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61446 (0xf006)

lri $AR1,    #0x4000
lri $IX1,    #0xf006
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61447 (0xf007)

lri $AR1,    #0x4000
lri $IX1,    #0xf007
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61448 (0xf008)

lri $AR1,    #0x4000
lri $IX1,    #0xf008
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61449 (0xf009)

lri $AR1,    #0x4000
lri $IX1,    #0xf009
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61450 (0xf00a)

lri $AR1,    #0x4000
lri $IX1,    #0xf00a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61451 (0xf00b)

lri $AR1,    #0x4000
lri $IX1,    #0xf00b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61452 (0xf00c)

lri $AR1,    #0x4000
lri $IX1,    #0xf00c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61453 (0xf00d)

lri $AR1,    #0x4000
lri $IX1,    #0xf00d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61454 (0xf00e)

lri $AR1,    #0x4000
lri $IX1,    #0xf00e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61455 (0xf00f)

lri $AR1,    #0x4000
lri $IX1,    #0xf00f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61456 (0xf010)

lri $AR1,    #0x4000
lri $IX1,    #0xf010
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61457 (0xf011)

lri $AR1,    #0x4000
lri $IX1,    #0xf011
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61458 (0xf012)

lri $AR1,    #0x4000
lri $IX1,    #0xf012
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61459 (0xf013)

lri $AR1,    #0x4000
lri $IX1,    #0xf013
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61460 (0xf014)

lri $AR1,    #0x4000
lri $IX1,    #0xf014
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61461 (0xf015)

lri $AR1,    #0x4000
lri $IX1,    #0xf015
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61462 (0xf016)

lri $AR1,    #0x4000
lri $IX1,    #0xf016
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61463 (0xf017)

lri $AR1,    #0x4000
lri $IX1,    #0xf017
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61464 (0xf018)

lri $AR1,    #0x4000
lri $IX1,    #0xf018
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61465 (0xf019)

lri $AR1,    #0x4000
lri $IX1,    #0xf019
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61466 (0xf01a)

lri $AR1,    #0x4000
lri $IX1,    #0xf01a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61467 (0xf01b)

lri $AR1,    #0x4000
lri $IX1,    #0xf01b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61468 (0xf01c)

lri $AR1,    #0x4000
lri $IX1,    #0xf01c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61469 (0xf01d)

lri $AR1,    #0x4000
lri $IX1,    #0xf01d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61470 (0xf01e)

lri $AR1,    #0x4000
lri $IX1,    #0xf01e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61471 (0xf01f)

lri $AR1,    #0x4000
lri $IX1,    #0xf01f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61472 (0xf020)

lri $AR1,    #0x4000
lri $IX1,    #0xf020
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61473 (0xf021)

lri $AR1,    #0x4000
lri $IX1,    #0xf021
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61474 (0xf022)

lri $AR1,    #0x4000
lri $IX1,    #0xf022
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61475 (0xf023)

lri $AR1,    #0x4000
lri $IX1,    #0xf023
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61476 (0xf024)

lri $AR1,    #0x4000
lri $IX1,    #0xf024
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61477 (0xf025)

lri $AR1,    #0x4000
lri $IX1,    #0xf025
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61478 (0xf026)

lri $AR1,    #0x4000
lri $IX1,    #0xf026
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61479 (0xf027)

lri $AR1,    #0x4000
lri $IX1,    #0xf027
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61480 (0xf028)

lri $AR1,    #0x4000
lri $IX1,    #0xf028
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61481 (0xf029)

lri $AR1,    #0x4000
lri $IX1,    #0xf029
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61482 (0xf02a)

lri $AR1,    #0x4000
lri $IX1,    #0xf02a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61483 (0xf02b)

lri $AR1,    #0x4000
lri $IX1,    #0xf02b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61484 (0xf02c)

lri $AR1,    #0x4000
lri $IX1,    #0xf02c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61485 (0xf02d)

lri $AR1,    #0x4000
lri $IX1,    #0xf02d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61486 (0xf02e)

lri $AR1,    #0x4000
lri $IX1,    #0xf02e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61487 (0xf02f)

lri $AR1,    #0x4000
lri $IX1,    #0xf02f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61488 (0xf030)

lri $AR1,    #0x4000
lri $IX1,    #0xf030
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61489 (0xf031)

lri $AR1,    #0x4000
lri $IX1,    #0xf031
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61490 (0xf032)

lri $AR1,    #0x4000
lri $IX1,    #0xf032
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61491 (0xf033)

lri $AR1,    #0x4000
lri $IX1,    #0xf033
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61492 (0xf034)

lri $AR1,    #0x4000
lri $IX1,    #0xf034
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61493 (0xf035)

lri $AR1,    #0x4000
lri $IX1,    #0xf035
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61494 (0xf036)

lri $AR1,    #0x4000
lri $IX1,    #0xf036
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61495 (0xf037)

lri $AR1,    #0x4000
lri $IX1,    #0xf037
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61496 (0xf038)

lri $AR1,    #0x4000
lri $IX1,    #0xf038
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61497 (0xf039)

lri $AR1,    #0x4000
lri $IX1,    #0xf039
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61498 (0xf03a)

lri $AR1,    #0x4000
lri $IX1,    #0xf03a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61499 (0xf03b)

lri $AR1,    #0x4000
lri $IX1,    #0xf03b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61500 (0xf03c)

lri $AR1,    #0x4000
lri $IX1,    #0xf03c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61501 (0xf03d)

lri $AR1,    #0x4000
lri $IX1,    #0xf03d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61502 (0xf03e)

lri $AR1,    #0x4000
lri $IX1,    #0xf03e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61503 (0xf03f)

lri $AR1,    #0x4000
lri $IX1,    #0xf03f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61504 (0xf040)

lri $AR1,    #0x4000
lri $IX1,    #0xf040
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61505 (0xf041)

lri $AR1,    #0x4000
lri $IX1,    #0xf041
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61506 (0xf042)

lri $AR1,    #0x4000
lri $IX1,    #0xf042
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61507 (0xf043)

lri $AR1,    #0x4000
lri $IX1,    #0xf043
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61508 (0xf044)

lri $AR1,    #0x4000
lri $IX1,    #0xf044
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61509 (0xf045)

lri $AR1,    #0x4000
lri $IX1,    #0xf045
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61510 (0xf046)

lri $AR1,    #0x4000
lri $IX1,    #0xf046
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61511 (0xf047)

lri $AR1,    #0x4000
lri $IX1,    #0xf047
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61512 (0xf048)

lri $AR1,    #0x4000
lri $IX1,    #0xf048
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61513 (0xf049)

lri $AR1,    #0x4000
lri $IX1,    #0xf049
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61514 (0xf04a)

lri $AR1,    #0x4000
lri $IX1,    #0xf04a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61515 (0xf04b)

lri $AR1,    #0x4000
lri $IX1,    #0xf04b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61516 (0xf04c)

lri $AR1,    #0x4000
lri $IX1,    #0xf04c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61517 (0xf04d)

lri $AR1,    #0x4000
lri $IX1,    #0xf04d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61518 (0xf04e)

lri $AR1,    #0x4000
lri $IX1,    #0xf04e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61519 (0xf04f)

lri $AR1,    #0x4000
lri $IX1,    #0xf04f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61520 (0xf050)

lri $AR1,    #0x4000
lri $IX1,    #0xf050
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61521 (0xf051)

lri $AR1,    #0x4000
lri $IX1,    #0xf051
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61522 (0xf052)

lri $AR1,    #0x4000
lri $IX1,    #0xf052
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61523 (0xf053)

lri $AR1,    #0x4000
lri $IX1,    #0xf053
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61524 (0xf054)

lri $AR1,    #0x4000
lri $IX1,    #0xf054
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61525 (0xf055)

lri $AR1,    #0x4000
lri $IX1,    #0xf055
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61526 (0xf056)

lri $AR1,    #0x4000
lri $IX1,    #0xf056
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61527 (0xf057)

lri $AR1,    #0x4000
lri $IX1,    #0xf057
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61528 (0xf058)

lri $AR1,    #0x4000
lri $IX1,    #0xf058
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61529 (0xf059)

lri $AR1,    #0x4000
lri $IX1,    #0xf059
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61530 (0xf05a)

lri $AR1,    #0x4000
lri $IX1,    #0xf05a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61531 (0xf05b)

lri $AR1,    #0x4000
lri $IX1,    #0xf05b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61532 (0xf05c)

lri $AR1,    #0x4000
lri $IX1,    #0xf05c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61533 (0xf05d)

lri $AR1,    #0x4000
lri $IX1,    #0xf05d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61534 (0xf05e)

lri $AR1,    #0x4000
lri $IX1,    #0xf05e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61535 (0xf05f)

lri $AR1,    #0x4000
lri $IX1,    #0xf05f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61536 (0xf060)

lri $AR1,    #0x4000
lri $IX1,    #0xf060
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61537 (0xf061)

lri $AR1,    #0x4000
lri $IX1,    #0xf061
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61538 (0xf062)

lri $AR1,    #0x4000
lri $IX1,    #0xf062
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61539 (0xf063)

lri $AR1,    #0x4000
lri $IX1,    #0xf063
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61540 (0xf064)

lri $AR1,    #0x4000
lri $IX1,    #0xf064
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61541 (0xf065)

lri $AR1,    #0x4000
lri $IX1,    #0xf065
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61542 (0xf066)

lri $AR1,    #0x4000
lri $IX1,    #0xf066
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61543 (0xf067)

lri $AR1,    #0x4000
lri $IX1,    #0xf067
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61544 (0xf068)

lri $AR1,    #0x4000
lri $IX1,    #0xf068
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61545 (0xf069)

lri $AR1,    #0x4000
lri $IX1,    #0xf069
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61546 (0xf06a)

lri $AR1,    #0x4000
lri $IX1,    #0xf06a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61547 (0xf06b)

lri $AR1,    #0x4000
lri $IX1,    #0xf06b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61548 (0xf06c)

lri $AR1,    #0x4000
lri $IX1,    #0xf06c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61549 (0xf06d)

lri $AR1,    #0x4000
lri $IX1,    #0xf06d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61550 (0xf06e)

lri $AR1,    #0x4000
lri $IX1,    #0xf06e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61551 (0xf06f)

lri $AR1,    #0x4000
lri $IX1,    #0xf06f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61552 (0xf070)

lri $AR1,    #0x4000
lri $IX1,    #0xf070
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61553 (0xf071)

lri $AR1,    #0x4000
lri $IX1,    #0xf071
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61554 (0xf072)

lri $AR1,    #0x4000
lri $IX1,    #0xf072
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61555 (0xf073)

lri $AR1,    #0x4000
lri $IX1,    #0xf073
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61556 (0xf074)

lri $AR1,    #0x4000
lri $IX1,    #0xf074
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61557 (0xf075)

lri $AR1,    #0x4000
lri $IX1,    #0xf075
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61558 (0xf076)

lri $AR1,    #0x4000
lri $IX1,    #0xf076
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61559 (0xf077)

lri $AR1,    #0x4000
lri $IX1,    #0xf077
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61560 (0xf078)

lri $AR1,    #0x4000
lri $IX1,    #0xf078
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61561 (0xf079)

lri $AR1,    #0x4000
lri $IX1,    #0xf079
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61562 (0xf07a)

lri $AR1,    #0x4000
lri $IX1,    #0xf07a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61563 (0xf07b)

lri $AR1,    #0x4000
lri $IX1,    #0xf07b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61564 (0xf07c)

lri $AR1,    #0x4000
lri $IX1,    #0xf07c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61565 (0xf07d)

lri $AR1,    #0x4000
lri $IX1,    #0xf07d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61566 (0xf07e)

lri $AR1,    #0x4000
lri $IX1,    #0xf07e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61567 (0xf07f)

lri $AR1,    #0x4000
lri $IX1,    #0xf07f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 61568 (0xf080)

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

