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

lri $AR1,    #0x4000
lri $IX1,    #0x1900
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6401 (0x1901)

lri $AR1,    #0x4000
lri $IX1,    #0x1901
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6402 (0x1902)

lri $AR1,    #0x4000
lri $IX1,    #0x1902
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6403 (0x1903)

lri $AR1,    #0x4000
lri $IX1,    #0x1903
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6404 (0x1904)

lri $AR1,    #0x4000
lri $IX1,    #0x1904
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6405 (0x1905)

lri $AR1,    #0x4000
lri $IX1,    #0x1905
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6406 (0x1906)

lri $AR1,    #0x4000
lri $IX1,    #0x1906
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6407 (0x1907)

lri $AR1,    #0x4000
lri $IX1,    #0x1907
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6408 (0x1908)

lri $AR1,    #0x4000
lri $IX1,    #0x1908
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6409 (0x1909)

lri $AR1,    #0x4000
lri $IX1,    #0x1909
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6410 (0x190a)

lri $AR1,    #0x4000
lri $IX1,    #0x190a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6411 (0x190b)

lri $AR1,    #0x4000
lri $IX1,    #0x190b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6412 (0x190c)

lri $AR1,    #0x4000
lri $IX1,    #0x190c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6413 (0x190d)

lri $AR1,    #0x4000
lri $IX1,    #0x190d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6414 (0x190e)

lri $AR1,    #0x4000
lri $IX1,    #0x190e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6415 (0x190f)

lri $AR1,    #0x4000
lri $IX1,    #0x190f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6416 (0x1910)

lri $AR1,    #0x4000
lri $IX1,    #0x1910
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6417 (0x1911)

lri $AR1,    #0x4000
lri $IX1,    #0x1911
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6418 (0x1912)

lri $AR1,    #0x4000
lri $IX1,    #0x1912
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6419 (0x1913)

lri $AR1,    #0x4000
lri $IX1,    #0x1913
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6420 (0x1914)

lri $AR1,    #0x4000
lri $IX1,    #0x1914
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6421 (0x1915)

lri $AR1,    #0x4000
lri $IX1,    #0x1915
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6422 (0x1916)

lri $AR1,    #0x4000
lri $IX1,    #0x1916
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6423 (0x1917)

lri $AR1,    #0x4000
lri $IX1,    #0x1917
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6424 (0x1918)

lri $AR1,    #0x4000
lri $IX1,    #0x1918
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6425 (0x1919)

lri $AR1,    #0x4000
lri $IX1,    #0x1919
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6426 (0x191a)

lri $AR1,    #0x4000
lri $IX1,    #0x191a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6427 (0x191b)

lri $AR1,    #0x4000
lri $IX1,    #0x191b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6428 (0x191c)

lri $AR1,    #0x4000
lri $IX1,    #0x191c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6429 (0x191d)

lri $AR1,    #0x4000
lri $IX1,    #0x191d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6430 (0x191e)

lri $AR1,    #0x4000
lri $IX1,    #0x191e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6431 (0x191f)

lri $AR1,    #0x4000
lri $IX1,    #0x191f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6432 (0x1920)

lri $AR1,    #0x4000
lri $IX1,    #0x1920
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6433 (0x1921)

lri $AR1,    #0x4000
lri $IX1,    #0x1921
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6434 (0x1922)

lri $AR1,    #0x4000
lri $IX1,    #0x1922
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6435 (0x1923)

lri $AR1,    #0x4000
lri $IX1,    #0x1923
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6436 (0x1924)

lri $AR1,    #0x4000
lri $IX1,    #0x1924
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6437 (0x1925)

lri $AR1,    #0x4000
lri $IX1,    #0x1925
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6438 (0x1926)

lri $AR1,    #0x4000
lri $IX1,    #0x1926
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6439 (0x1927)

lri $AR1,    #0x4000
lri $IX1,    #0x1927
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6440 (0x1928)

lri $AR1,    #0x4000
lri $IX1,    #0x1928
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6441 (0x1929)

lri $AR1,    #0x4000
lri $IX1,    #0x1929
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6442 (0x192a)

lri $AR1,    #0x4000
lri $IX1,    #0x192a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6443 (0x192b)

lri $AR1,    #0x4000
lri $IX1,    #0x192b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6444 (0x192c)

lri $AR1,    #0x4000
lri $IX1,    #0x192c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6445 (0x192d)

lri $AR1,    #0x4000
lri $IX1,    #0x192d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6446 (0x192e)

lri $AR1,    #0x4000
lri $IX1,    #0x192e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6447 (0x192f)

lri $AR1,    #0x4000
lri $IX1,    #0x192f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6448 (0x1930)

lri $AR1,    #0x4000
lri $IX1,    #0x1930
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6449 (0x1931)

lri $AR1,    #0x4000
lri $IX1,    #0x1931
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6450 (0x1932)

lri $AR1,    #0x4000
lri $IX1,    #0x1932
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6451 (0x1933)

lri $AR1,    #0x4000
lri $IX1,    #0x1933
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6452 (0x1934)

lri $AR1,    #0x4000
lri $IX1,    #0x1934
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6453 (0x1935)

lri $AR1,    #0x4000
lri $IX1,    #0x1935
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6454 (0x1936)

lri $AR1,    #0x4000
lri $IX1,    #0x1936
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6455 (0x1937)

lri $AR1,    #0x4000
lri $IX1,    #0x1937
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6456 (0x1938)

lri $AR1,    #0x4000
lri $IX1,    #0x1938
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6457 (0x1939)

lri $AR1,    #0x4000
lri $IX1,    #0x1939
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6458 (0x193a)

lri $AR1,    #0x4000
lri $IX1,    #0x193a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6459 (0x193b)

lri $AR1,    #0x4000
lri $IX1,    #0x193b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6460 (0x193c)

lri $AR1,    #0x4000
lri $IX1,    #0x193c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6461 (0x193d)

lri $AR1,    #0x4000
lri $IX1,    #0x193d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6462 (0x193e)

lri $AR1,    #0x4000
lri $IX1,    #0x193e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6463 (0x193f)

lri $AR1,    #0x4000
lri $IX1,    #0x193f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6464 (0x1940)

lri $AR1,    #0x4000
lri $IX1,    #0x1940
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6465 (0x1941)

lri $AR1,    #0x4000
lri $IX1,    #0x1941
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6466 (0x1942)

lri $AR1,    #0x4000
lri $IX1,    #0x1942
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6467 (0x1943)

lri $AR1,    #0x4000
lri $IX1,    #0x1943
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6468 (0x1944)

lri $AR1,    #0x4000
lri $IX1,    #0x1944
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6469 (0x1945)

lri $AR1,    #0x4000
lri $IX1,    #0x1945
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6470 (0x1946)

lri $AR1,    #0x4000
lri $IX1,    #0x1946
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6471 (0x1947)

lri $AR1,    #0x4000
lri $IX1,    #0x1947
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6472 (0x1948)

lri $AR1,    #0x4000
lri $IX1,    #0x1948
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6473 (0x1949)

lri $AR1,    #0x4000
lri $IX1,    #0x1949
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6474 (0x194a)

lri $AR1,    #0x4000
lri $IX1,    #0x194a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6475 (0x194b)

lri $AR1,    #0x4000
lri $IX1,    #0x194b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6476 (0x194c)

lri $AR1,    #0x4000
lri $IX1,    #0x194c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6477 (0x194d)

lri $AR1,    #0x4000
lri $IX1,    #0x194d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6478 (0x194e)

lri $AR1,    #0x4000
lri $IX1,    #0x194e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6479 (0x194f)

lri $AR1,    #0x4000
lri $IX1,    #0x194f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6480 (0x1950)

lri $AR1,    #0x4000
lri $IX1,    #0x1950
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6481 (0x1951)

lri $AR1,    #0x4000
lri $IX1,    #0x1951
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6482 (0x1952)

lri $AR1,    #0x4000
lri $IX1,    #0x1952
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6483 (0x1953)

lri $AR1,    #0x4000
lri $IX1,    #0x1953
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6484 (0x1954)

lri $AR1,    #0x4000
lri $IX1,    #0x1954
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6485 (0x1955)

lri $AR1,    #0x4000
lri $IX1,    #0x1955
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6486 (0x1956)

lri $AR1,    #0x4000
lri $IX1,    #0x1956
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6487 (0x1957)

lri $AR1,    #0x4000
lri $IX1,    #0x1957
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6488 (0x1958)

lri $AR1,    #0x4000
lri $IX1,    #0x1958
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6489 (0x1959)

lri $AR1,    #0x4000
lri $IX1,    #0x1959
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6490 (0x195a)

lri $AR1,    #0x4000
lri $IX1,    #0x195a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6491 (0x195b)

lri $AR1,    #0x4000
lri $IX1,    #0x195b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6492 (0x195c)

lri $AR1,    #0x4000
lri $IX1,    #0x195c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6493 (0x195d)

lri $AR1,    #0x4000
lri $IX1,    #0x195d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6494 (0x195e)

lri $AR1,    #0x4000
lri $IX1,    #0x195e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6495 (0x195f)

lri $AR1,    #0x4000
lri $IX1,    #0x195f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6496 (0x1960)

lri $AR1,    #0x4000
lri $IX1,    #0x1960
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6497 (0x1961)

lri $AR1,    #0x4000
lri $IX1,    #0x1961
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6498 (0x1962)

lri $AR1,    #0x4000
lri $IX1,    #0x1962
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6499 (0x1963)

lri $AR1,    #0x4000
lri $IX1,    #0x1963
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6500 (0x1964)

lri $AR1,    #0x4000
lri $IX1,    #0x1964
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6501 (0x1965)

lri $AR1,    #0x4000
lri $IX1,    #0x1965
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6502 (0x1966)

lri $AR1,    #0x4000
lri $IX1,    #0x1966
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6503 (0x1967)

lri $AR1,    #0x4000
lri $IX1,    #0x1967
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6504 (0x1968)

lri $AR1,    #0x4000
lri $IX1,    #0x1968
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6505 (0x1969)

lri $AR1,    #0x4000
lri $IX1,    #0x1969
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6506 (0x196a)

lri $AR1,    #0x4000
lri $IX1,    #0x196a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6507 (0x196b)

lri $AR1,    #0x4000
lri $IX1,    #0x196b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6508 (0x196c)

lri $AR1,    #0x4000
lri $IX1,    #0x196c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6509 (0x196d)

lri $AR1,    #0x4000
lri $IX1,    #0x196d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6510 (0x196e)

lri $AR1,    #0x4000
lri $IX1,    #0x196e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6511 (0x196f)

lri $AR1,    #0x4000
lri $IX1,    #0x196f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6512 (0x1970)

lri $AR1,    #0x4000
lri $IX1,    #0x1970
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6513 (0x1971)

lri $AR1,    #0x4000
lri $IX1,    #0x1971
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6514 (0x1972)

lri $AR1,    #0x4000
lri $IX1,    #0x1972
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6515 (0x1973)

lri $AR1,    #0x4000
lri $IX1,    #0x1973
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6516 (0x1974)

lri $AR1,    #0x4000
lri $IX1,    #0x1974
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6517 (0x1975)

lri $AR1,    #0x4000
lri $IX1,    #0x1975
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6518 (0x1976)

lri $AR1,    #0x4000
lri $IX1,    #0x1976
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6519 (0x1977)

lri $AR1,    #0x4000
lri $IX1,    #0x1977
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6520 (0x1978)

lri $AR1,    #0x4000
lri $IX1,    #0x1978
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6521 (0x1979)

lri $AR1,    #0x4000
lri $IX1,    #0x1979
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6522 (0x197a)

lri $AR1,    #0x4000
lri $IX1,    #0x197a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6523 (0x197b)

lri $AR1,    #0x4000
lri $IX1,    #0x197b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6524 (0x197c)

lri $AR1,    #0x4000
lri $IX1,    #0x197c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6525 (0x197d)

lri $AR1,    #0x4000
lri $IX1,    #0x197d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6526 (0x197e)

lri $AR1,    #0x4000
lri $IX1,    #0x197e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6527 (0x197f)

lri $AR1,    #0x4000
lri $IX1,    #0x197f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6528 (0x1980)

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

