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

lri $AR1,    #0x4000
lri $IX1,    #0xc900
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51457 (0xc901)

lri $AR1,    #0x4000
lri $IX1,    #0xc901
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51458 (0xc902)

lri $AR1,    #0x4000
lri $IX1,    #0xc902
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51459 (0xc903)

lri $AR1,    #0x4000
lri $IX1,    #0xc903
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51460 (0xc904)

lri $AR1,    #0x4000
lri $IX1,    #0xc904
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51461 (0xc905)

lri $AR1,    #0x4000
lri $IX1,    #0xc905
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51462 (0xc906)

lri $AR1,    #0x4000
lri $IX1,    #0xc906
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51463 (0xc907)

lri $AR1,    #0x4000
lri $IX1,    #0xc907
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51464 (0xc908)

lri $AR1,    #0x4000
lri $IX1,    #0xc908
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51465 (0xc909)

lri $AR1,    #0x4000
lri $IX1,    #0xc909
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51466 (0xc90a)

lri $AR1,    #0x4000
lri $IX1,    #0xc90a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51467 (0xc90b)

lri $AR1,    #0x4000
lri $IX1,    #0xc90b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51468 (0xc90c)

lri $AR1,    #0x4000
lri $IX1,    #0xc90c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51469 (0xc90d)

lri $AR1,    #0x4000
lri $IX1,    #0xc90d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51470 (0xc90e)

lri $AR1,    #0x4000
lri $IX1,    #0xc90e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51471 (0xc90f)

lri $AR1,    #0x4000
lri $IX1,    #0xc90f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51472 (0xc910)

lri $AR1,    #0x4000
lri $IX1,    #0xc910
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51473 (0xc911)

lri $AR1,    #0x4000
lri $IX1,    #0xc911
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51474 (0xc912)

lri $AR1,    #0x4000
lri $IX1,    #0xc912
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51475 (0xc913)

lri $AR1,    #0x4000
lri $IX1,    #0xc913
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51476 (0xc914)

lri $AR1,    #0x4000
lri $IX1,    #0xc914
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51477 (0xc915)

lri $AR1,    #0x4000
lri $IX1,    #0xc915
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51478 (0xc916)

lri $AR1,    #0x4000
lri $IX1,    #0xc916
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51479 (0xc917)

lri $AR1,    #0x4000
lri $IX1,    #0xc917
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51480 (0xc918)

lri $AR1,    #0x4000
lri $IX1,    #0xc918
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51481 (0xc919)

lri $AR1,    #0x4000
lri $IX1,    #0xc919
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51482 (0xc91a)

lri $AR1,    #0x4000
lri $IX1,    #0xc91a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51483 (0xc91b)

lri $AR1,    #0x4000
lri $IX1,    #0xc91b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51484 (0xc91c)

lri $AR1,    #0x4000
lri $IX1,    #0xc91c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51485 (0xc91d)

lri $AR1,    #0x4000
lri $IX1,    #0xc91d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51486 (0xc91e)

lri $AR1,    #0x4000
lri $IX1,    #0xc91e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51487 (0xc91f)

lri $AR1,    #0x4000
lri $IX1,    #0xc91f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51488 (0xc920)

lri $AR1,    #0x4000
lri $IX1,    #0xc920
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51489 (0xc921)

lri $AR1,    #0x4000
lri $IX1,    #0xc921
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51490 (0xc922)

lri $AR1,    #0x4000
lri $IX1,    #0xc922
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51491 (0xc923)

lri $AR1,    #0x4000
lri $IX1,    #0xc923
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51492 (0xc924)

lri $AR1,    #0x4000
lri $IX1,    #0xc924
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51493 (0xc925)

lri $AR1,    #0x4000
lri $IX1,    #0xc925
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51494 (0xc926)

lri $AR1,    #0x4000
lri $IX1,    #0xc926
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51495 (0xc927)

lri $AR1,    #0x4000
lri $IX1,    #0xc927
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51496 (0xc928)

lri $AR1,    #0x4000
lri $IX1,    #0xc928
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51497 (0xc929)

lri $AR1,    #0x4000
lri $IX1,    #0xc929
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51498 (0xc92a)

lri $AR1,    #0x4000
lri $IX1,    #0xc92a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51499 (0xc92b)

lri $AR1,    #0x4000
lri $IX1,    #0xc92b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51500 (0xc92c)

lri $AR1,    #0x4000
lri $IX1,    #0xc92c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51501 (0xc92d)

lri $AR1,    #0x4000
lri $IX1,    #0xc92d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51502 (0xc92e)

lri $AR1,    #0x4000
lri $IX1,    #0xc92e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51503 (0xc92f)

lri $AR1,    #0x4000
lri $IX1,    #0xc92f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51504 (0xc930)

lri $AR1,    #0x4000
lri $IX1,    #0xc930
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51505 (0xc931)

lri $AR1,    #0x4000
lri $IX1,    #0xc931
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51506 (0xc932)

lri $AR1,    #0x4000
lri $IX1,    #0xc932
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51507 (0xc933)

lri $AR1,    #0x4000
lri $IX1,    #0xc933
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51508 (0xc934)

lri $AR1,    #0x4000
lri $IX1,    #0xc934
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51509 (0xc935)

lri $AR1,    #0x4000
lri $IX1,    #0xc935
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51510 (0xc936)

lri $AR1,    #0x4000
lri $IX1,    #0xc936
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51511 (0xc937)

lri $AR1,    #0x4000
lri $IX1,    #0xc937
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51512 (0xc938)

lri $AR1,    #0x4000
lri $IX1,    #0xc938
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51513 (0xc939)

lri $AR1,    #0x4000
lri $IX1,    #0xc939
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51514 (0xc93a)

lri $AR1,    #0x4000
lri $IX1,    #0xc93a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51515 (0xc93b)

lri $AR1,    #0x4000
lri $IX1,    #0xc93b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51516 (0xc93c)

lri $AR1,    #0x4000
lri $IX1,    #0xc93c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51517 (0xc93d)

lri $AR1,    #0x4000
lri $IX1,    #0xc93d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51518 (0xc93e)

lri $AR1,    #0x4000
lri $IX1,    #0xc93e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51519 (0xc93f)

lri $AR1,    #0x4000
lri $IX1,    #0xc93f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51520 (0xc940)

lri $AR1,    #0x4000
lri $IX1,    #0xc940
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51521 (0xc941)

lri $AR1,    #0x4000
lri $IX1,    #0xc941
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51522 (0xc942)

lri $AR1,    #0x4000
lri $IX1,    #0xc942
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51523 (0xc943)

lri $AR1,    #0x4000
lri $IX1,    #0xc943
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51524 (0xc944)

lri $AR1,    #0x4000
lri $IX1,    #0xc944
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51525 (0xc945)

lri $AR1,    #0x4000
lri $IX1,    #0xc945
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51526 (0xc946)

lri $AR1,    #0x4000
lri $IX1,    #0xc946
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51527 (0xc947)

lri $AR1,    #0x4000
lri $IX1,    #0xc947
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51528 (0xc948)

lri $AR1,    #0x4000
lri $IX1,    #0xc948
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51529 (0xc949)

lri $AR1,    #0x4000
lri $IX1,    #0xc949
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51530 (0xc94a)

lri $AR1,    #0x4000
lri $IX1,    #0xc94a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51531 (0xc94b)

lri $AR1,    #0x4000
lri $IX1,    #0xc94b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51532 (0xc94c)

lri $AR1,    #0x4000
lri $IX1,    #0xc94c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51533 (0xc94d)

lri $AR1,    #0x4000
lri $IX1,    #0xc94d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51534 (0xc94e)

lri $AR1,    #0x4000
lri $IX1,    #0xc94e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51535 (0xc94f)

lri $AR1,    #0x4000
lri $IX1,    #0xc94f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51536 (0xc950)

lri $AR1,    #0x4000
lri $IX1,    #0xc950
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51537 (0xc951)

lri $AR1,    #0x4000
lri $IX1,    #0xc951
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51538 (0xc952)

lri $AR1,    #0x4000
lri $IX1,    #0xc952
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51539 (0xc953)

lri $AR1,    #0x4000
lri $IX1,    #0xc953
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51540 (0xc954)

lri $AR1,    #0x4000
lri $IX1,    #0xc954
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51541 (0xc955)

lri $AR1,    #0x4000
lri $IX1,    #0xc955
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51542 (0xc956)

lri $AR1,    #0x4000
lri $IX1,    #0xc956
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51543 (0xc957)

lri $AR1,    #0x4000
lri $IX1,    #0xc957
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51544 (0xc958)

lri $AR1,    #0x4000
lri $IX1,    #0xc958
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51545 (0xc959)

lri $AR1,    #0x4000
lri $IX1,    #0xc959
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51546 (0xc95a)

lri $AR1,    #0x4000
lri $IX1,    #0xc95a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51547 (0xc95b)

lri $AR1,    #0x4000
lri $IX1,    #0xc95b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51548 (0xc95c)

lri $AR1,    #0x4000
lri $IX1,    #0xc95c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51549 (0xc95d)

lri $AR1,    #0x4000
lri $IX1,    #0xc95d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51550 (0xc95e)

lri $AR1,    #0x4000
lri $IX1,    #0xc95e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51551 (0xc95f)

lri $AR1,    #0x4000
lri $IX1,    #0xc95f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51552 (0xc960)

lri $AR1,    #0x4000
lri $IX1,    #0xc960
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51553 (0xc961)

lri $AR1,    #0x4000
lri $IX1,    #0xc961
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51554 (0xc962)

lri $AR1,    #0x4000
lri $IX1,    #0xc962
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51555 (0xc963)

lri $AR1,    #0x4000
lri $IX1,    #0xc963
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51556 (0xc964)

lri $AR1,    #0x4000
lri $IX1,    #0xc964
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51557 (0xc965)

lri $AR1,    #0x4000
lri $IX1,    #0xc965
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51558 (0xc966)

lri $AR1,    #0x4000
lri $IX1,    #0xc966
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51559 (0xc967)

lri $AR1,    #0x4000
lri $IX1,    #0xc967
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51560 (0xc968)

lri $AR1,    #0x4000
lri $IX1,    #0xc968
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51561 (0xc969)

lri $AR1,    #0x4000
lri $IX1,    #0xc969
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51562 (0xc96a)

lri $AR1,    #0x4000
lri $IX1,    #0xc96a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51563 (0xc96b)

lri $AR1,    #0x4000
lri $IX1,    #0xc96b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51564 (0xc96c)

lri $AR1,    #0x4000
lri $IX1,    #0xc96c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51565 (0xc96d)

lri $AR1,    #0x4000
lri $IX1,    #0xc96d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51566 (0xc96e)

lri $AR1,    #0x4000
lri $IX1,    #0xc96e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51567 (0xc96f)

lri $AR1,    #0x4000
lri $IX1,    #0xc96f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51568 (0xc970)

lri $AR1,    #0x4000
lri $IX1,    #0xc970
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51569 (0xc971)

lri $AR1,    #0x4000
lri $IX1,    #0xc971
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51570 (0xc972)

lri $AR1,    #0x4000
lri $IX1,    #0xc972
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51571 (0xc973)

lri $AR1,    #0x4000
lri $IX1,    #0xc973
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51572 (0xc974)

lri $AR1,    #0x4000
lri $IX1,    #0xc974
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51573 (0xc975)

lri $AR1,    #0x4000
lri $IX1,    #0xc975
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51574 (0xc976)

lri $AR1,    #0x4000
lri $IX1,    #0xc976
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51575 (0xc977)

lri $AR1,    #0x4000
lri $IX1,    #0xc977
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51576 (0xc978)

lri $AR1,    #0x4000
lri $IX1,    #0xc978
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51577 (0xc979)

lri $AR1,    #0x4000
lri $IX1,    #0xc979
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51578 (0xc97a)

lri $AR1,    #0x4000
lri $IX1,    #0xc97a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51579 (0xc97b)

lri $AR1,    #0x4000
lri $IX1,    #0xc97b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51580 (0xc97c)

lri $AR1,    #0x4000
lri $IX1,    #0xc97c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51581 (0xc97d)

lri $AR1,    #0x4000
lri $IX1,    #0xc97d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51582 (0xc97e)

lri $AR1,    #0x4000
lri $IX1,    #0xc97e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51583 (0xc97f)

lri $AR1,    #0x4000
lri $IX1,    #0xc97f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 51584 (0xc980)

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

