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

lri $AR1,    #0xd326
lri $IX1,    #0x6862
lri $WR1,    #0x0770
cw 0x5
call send_back  ; 1921 (0x0781)

lri $AR1,    #0x4260
lri $IX1,    #0x2c1c
lri $WR1,    #0x769e
cw 0x5
call send_back  ; 1922 (0x0782)

lri $AR1,    #0x79da
lri $IX1,    #0x5a44
lri $WR1,    #0xc390
cw 0x5
call send_back  ; 1923 (0x0783)

lri $AR1,    #0x8d6c
lri $IX1,    #0x2e72
lri $WR1,    #0x9ff8
cw 0x5
call send_back  ; 1924 (0x0784)

lri $AR1,    #0xdc80
lri $IX1,    #0x46f2
lri $WR1,    #0xad66
cw 0x5
call send_back  ; 1925 (0x0785)

lri $AR1,    #0xf70e
lri $IX1,    #0xd7e0
lri $WR1,    #0xdd6e
cw 0x5
call send_back  ; 1926 (0x0786)

lri $AR1,    #0xb094
lri $IX1,    #0x7812
lri $WR1,    #0x19a4
cw 0x5
call send_back  ; 1927 (0x0787)

lri $AR1,    #0x9c2a
lri $IX1,    #0x70ca
lri $WR1,    #0xa8be
cw 0x5
call send_back  ; 1928 (0x0788)

lri $AR1,    #0x0046
lri $IX1,    #0x18d6
lri $WR1,    #0x998c
cw 0x5
call send_back  ; 1929 (0x0789)

lri $AR1,    #0xc098
lri $IX1,    #0xb6ce
lri $WR1,    #0xdd7c
cw 0x5
call send_back  ; 1930 (0x078a)

lri $AR1,    #0xeb68
lri $IX1,    #0xe222
lri $WR1,    #0x295a
cw 0x5
call send_back  ; 1931 (0x078b)

lri $AR1,    #0xaade
lri $IX1,    #0x14b2
lri $WR1,    #0xb07c
cw 0x5
call send_back  ; 1932 (0x078c)

lri $AR1,    #0xe428
lri $IX1,    #0xfb62
lri $WR1,    #0xc8d2
cw 0x5
call send_back  ; 1933 (0x078d)

lri $AR1,    #0x298e
lri $IX1,    #0x251c
lri $WR1,    #0xee80
cw 0x5
call send_back  ; 1934 (0x078e)

lri $AR1,    #0x9e08
lri $IX1,    #0x2cb4
lri $WR1,    #0xe7c8
cw 0x5
call send_back  ; 1935 (0x078f)

lri $AR1,    #0x44a2
lri $IX1,    #0xb9bc
lri $WR1,    #0x95e0
cw 0x5
call send_back  ; 1936 (0x0790)

lri $AR1,    #0x33f6
lri $IX1,    #0x9388
lri $WR1,    #0xd33a
cw 0x5
call send_back  ; 1937 (0x0791)

lri $AR1,    #0x5546
lri $IX1,    #0x76aa
lri $WR1,    #0x5b42
cw 0x5
call send_back  ; 1938 (0x0792)

lri $AR1,    #0x9504
lri $IX1,    #0x6b7e
lri $WR1,    #0x2db4
cw 0x5
call send_back  ; 1939 (0x0793)

lri $AR1,    #0x2384
lri $IX1,    #0xe498
lri $WR1,    #0x3236
cw 0x5
call send_back  ; 1940 (0x0794)

lri $AR1,    #0xadb2
lri $IX1,    #0x499a
lri $WR1,    #0x18b2
cw 0x5
call send_back  ; 1941 (0x0795)

lri $AR1,    #0xd954
lri $IX1,    #0x4a94
lri $WR1,    #0xa6cc
cw 0x5
call send_back  ; 1942 (0x0796)

lri $AR1,    #0xa61e
lri $IX1,    #0x809a
lri $WR1,    #0xaaac
cw 0x5
call send_back  ; 1943 (0x0797)

lri $AR1,    #0xb744
lri $IX1,    #0x4af4
lri $WR1,    #0xd5d6
cw 0x5
call send_back  ; 1944 (0x0798)

lri $AR1,    #0x8c32
lri $IX1,    #0x697c
lri $WR1,    #0x406c
cw 0x5
call send_back  ; 1945 (0x0799)

lri $AR1,    #0x9f88
lri $IX1,    #0xc54c
lri $WR1,    #0x3e22
cw 0x5
call send_back  ; 1946 (0x079a)

lri $AR1,    #0x7b20
lri $IX1,    #0x1c04
lri $WR1,    #0xc696
cw 0x5
call send_back  ; 1947 (0x079b)

lri $AR1,    #0xe07e
lri $IX1,    #0x81d0
lri $WR1,    #0x9d22
cw 0x5
call send_back  ; 1948 (0x079c)

lri $AR1,    #0x682e
lri $IX1,    #0xdf60
lri $WR1,    #0xe2b4
cw 0x5
call send_back  ; 1949 (0x079d)

lri $AR1,    #0x4862
lri $IX1,    #0x4934
lri $WR1,    #0xae80
cw 0x5
call send_back  ; 1950 (0x079e)

lri $AR1,    #0xcf3a
lri $IX1,    #0x6394
lri $WR1,    #0x89d8
cw 0x5
call send_back  ; 1951 (0x079f)

lri $AR1,    #0x9870
lri $IX1,    #0xe654
lri $WR1,    #0x15fe
cw 0x5
call send_back  ; 1952 (0x07a0)

lri $AR1,    #0x27e2
lri $IX1,    #0xc8fc
lri $WR1,    #0xb542
cw 0x5
call send_back  ; 1953 (0x07a1)

lri $AR1,    #0x060a
lri $IX1,    #0xc5b4
lri $WR1,    #0x1810
cw 0x5
call send_back  ; 1954 (0x07a2)

lri $AR1,    #0xf6d2
lri $IX1,    #0xbb6c
lri $WR1,    #0x23de
cw 0x5
call send_back  ; 1955 (0x07a3)

lri $AR1,    #0xbd2c
lri $IX1,    #0x192e
lri $WR1,    #0x2dc2
cw 0x5
call send_back  ; 1956 (0x07a4)

lri $AR1,    #0x1518
lri $IX1,    #0x9342
lri $WR1,    #0x1224
cw 0x5
call send_back  ; 1957 (0x07a5)

lri $AR1,    #0x67ca
lri $IX1,    #0x34d4
lri $WR1,    #0x151c
cw 0x5
call send_back  ; 1958 (0x07a6)

lri $AR1,    #0x09e8
lri $IX1,    #0xa6fc
lri $WR1,    #0x2840
cw 0x5
call send_back  ; 1959 (0x07a7)

lri $AR1,    #0xba50
lri $IX1,    #0xe466
lri $WR1,    #0xdfbc
cw 0x5
call send_back  ; 1960 (0x07a8)

lri $AR1,    #0xb1d4
lri $IX1,    #0xdc9a
lri $WR1,    #0x3100
cw 0x5
call send_back  ; 1961 (0x07a9)

lri $AR1,    #0x0e00
lri $IX1,    #0x5f50
lri $WR1,    #0xcdce
cw 0x5
call send_back  ; 1962 (0x07aa)

lri $AR1,    #0x88de
lri $IX1,    #0x3a72
lri $WR1,    #0x1a54
cw 0x5
call send_back  ; 1963 (0x07ab)

lri $AR1,    #0x463e
lri $IX1,    #0xe3b2
lri $WR1,    #0x9c20
cw 0x5
call send_back  ; 1964 (0x07ac)

lri $AR1,    #0x6354
lri $IX1,    #0xd39a
lri $WR1,    #0xeafe
cw 0x5
call send_back  ; 1965 (0x07ad)

lri $AR1,    #0xbe9e
lri $IX1,    #0x7f34
lri $WR1,    #0x7064
cw 0x5
call send_back  ; 1966 (0x07ae)

lri $AR1,    #0xd3de
lri $IX1,    #0x14b4
lri $WR1,    #0x5f42
cw 0x5
call send_back  ; 1967 (0x07af)

lri $AR1,    #0xebd2
lri $IX1,    #0xc758
lri $WR1,    #0xdf80
cw 0x5
call send_back  ; 1968 (0x07b0)

lri $AR1,    #0x8bc0
lri $IX1,    #0x4a36
lri $WR1,    #0x6112
cw 0x5
call send_back  ; 1969 (0x07b1)

lri $AR1,    #0xd220
lri $IX1,    #0xd8f2
lri $WR1,    #0xc5e6
cw 0x5
call send_back  ; 1970 (0x07b2)

lri $AR1,    #0x4cac
lri $IX1,    #0x59dc
lri $WR1,    #0x2ea4
cw 0x5
call send_back  ; 1971 (0x07b3)

lri $AR1,    #0x98a2
lri $IX1,    #0x897c
lri $WR1,    #0xf2ca
cw 0x5
call send_back  ; 1972 (0x07b4)

lri $AR1,    #0x2a2c
lri $IX1,    #0x3586
lri $WR1,    #0x5ce0
cw 0x5
call send_back  ; 1973 (0x07b5)

lri $AR1,    #0x70fe
lri $IX1,    #0xe2fa
lri $WR1,    #0x1b62
cw 0x5
call send_back  ; 1974 (0x07b6)

lri $AR1,    #0x7afa
lri $IX1,    #0xa626
lri $WR1,    #0x999c
cw 0x5
call send_back  ; 1975 (0x07b7)

lri $AR1,    #0xe7ae
lri $IX1,    #0x6e02
lri $WR1,    #0x4bbe
cw 0x5
call send_back  ; 1976 (0x07b8)

lri $AR1,    #0x9944
lri $IX1,    #0xd1f0
lri $WR1,    #0xc40c
cw 0x5
call send_back  ; 1977 (0x07b9)

lri $AR1,    #0x99ac
lri $IX1,    #0x13d4
lri $WR1,    #0x37a2
cw 0x5
call send_back  ; 1978 (0x07ba)

lri $AR1,    #0x0b4a
lri $IX1,    #0x7176
lri $WR1,    #0x4066
cw 0x5
call send_back  ; 1979 (0x07bb)

lri $AR1,    #0x609a
lri $IX1,    #0x24dc
lri $WR1,    #0x85de
cw 0x5
call send_back  ; 1980 (0x07bc)

lri $AR1,    #0x8452
lri $IX1,    #0x23ee
lri $WR1,    #0xf616
cw 0x5
call send_back  ; 1981 (0x07bd)

lri $AR1,    #0x6710
lri $IX1,    #0xeeb4
lri $WR1,    #0x9568
cw 0x5
call send_back  ; 1982 (0x07be)

lri $AR1,    #0x003e
lri $IX1,    #0xdb44
lri $WR1,    #0xce7a
cw 0x5
call send_back  ; 1983 (0x07bf)

lri $AR1,    #0x6364
lri $IX1,    #0xe6e8
lri $WR1,    #0x6bf4
cw 0x5
call send_back  ; 1984 (0x07c0)

lri $AR1,    #0xaae6
lri $IX1,    #0x0d38
lri $WR1,    #0x6cac
cw 0x5
call send_back  ; 1985 (0x07c1)

lri $AR1,    #0x8f72
lri $IX1,    #0x6698
lri $WR1,    #0x9a20
cw 0x5
call send_back  ; 1986 (0x07c2)

lri $AR1,    #0xee74
lri $IX1,    #0x571a
lri $WR1,    #0xd51a
cw 0x5
call send_back  ; 1987 (0x07c3)

lri $AR1,    #0xf8a4
lri $IX1,    #0xe548
lri $WR1,    #0x09fc
cw 0x5
call send_back  ; 1988 (0x07c4)

lri $AR1,    #0x8ae2
lri $IX1,    #0xae84
lri $WR1,    #0x768e
cw 0x5
call send_back  ; 1989 (0x07c5)

lri $AR1,    #0x9400
lri $IX1,    #0x2fda
lri $WR1,    #0x0116
cw 0x5
call send_back  ; 1990 (0x07c6)

lri $AR1,    #0x9ada
lri $IX1,    #0x3188
lri $WR1,    #0x1c70
cw 0x5
call send_back  ; 1991 (0x07c7)

lri $AR1,    #0x3e3c
lri $IX1,    #0xe332
lri $WR1,    #0x3fa8
cw 0x5
call send_back  ; 1992 (0x07c8)

lri $AR1,    #0x8916
lri $IX1,    #0x4dbe
lri $WR1,    #0x64d6
cw 0x5
call send_back  ; 1993 (0x07c9)

lri $AR1,    #0x98be
lri $IX1,    #0x184c
lri $WR1,    #0x333a
cw 0x5
call send_back  ; 1994 (0x07ca)

lri $AR1,    #0xd38a
lri $IX1,    #0x65a2
lri $WR1,    #0x0326
cw 0x5
call send_back  ; 1995 (0x07cb)

lri $AR1,    #0xa890
lri $IX1,    #0x5258
lri $WR1,    #0xcb4e
cw 0x5
call send_back  ; 1996 (0x07cc)

lri $AR1,    #0xb05c
lri $IX1,    #0x78bc
lri $WR1,    #0x02e2
cw 0x5
call send_back  ; 1997 (0x07cd)

lri $AR1,    #0x5d04
lri $IX1,    #0xfdca
lri $WR1,    #0xc34e
cw 0x5
call send_back  ; 1998 (0x07ce)

lri $AR1,    #0xdb20
lri $IX1,    #0xbaf4
lri $WR1,    #0x047a
cw 0x5
call send_back  ; 1999 (0x07cf)

lri $AR1,    #0xd044
lri $IX1,    #0xc9b0
lri $WR1,    #0x4568
cw 0x5
call send_back  ; 2000 (0x07d0)

lri $AR1,    #0x9f2a
lri $IX1,    #0x9c7e
lri $WR1,    #0xb098
cw 0x5
call send_back  ; 2001 (0x07d1)

lri $AR1,    #0x4c6e
lri $IX1,    #0x7b5e
lri $WR1,    #0xc69c
cw 0x5
call send_back  ; 2002 (0x07d2)

lri $AR1,    #0x3e94
lri $IX1,    #0xa3f6
lri $WR1,    #0xfcd8
cw 0x5
call send_back  ; 2003 (0x07d3)

lri $AR1,    #0x0470
lri $IX1,    #0x2ed4
lri $WR1,    #0x0486
cw 0x5
call send_back  ; 2004 (0x07d4)

lri $AR1,    #0xbbae
lri $IX1,    #0xc8da
lri $WR1,    #0xf752
cw 0x5
call send_back  ; 2005 (0x07d5)

lri $AR1,    #0x205a
lri $IX1,    #0xe4ca
lri $WR1,    #0x423a
cw 0x5
call send_back  ; 2006 (0x07d6)

lri $AR1,    #0x6d8e
lri $IX1,    #0xd510
lri $WR1,    #0x44f8
cw 0x5
call send_back  ; 2007 (0x07d7)

lri $AR1,    #0x5956
lri $IX1,    #0x69da
lri $WR1,    #0x61ca
cw 0x5
call send_back  ; 2008 (0x07d8)

lri $AR1,    #0x4662
lri $IX1,    #0xd8be
lri $WR1,    #0xf126
cw 0x5
call send_back  ; 2009 (0x07d9)

lri $AR1,    #0x09e2
lri $IX1,    #0xa8ac
lri $WR1,    #0x64b6
cw 0x5
call send_back  ; 2010 (0x07da)

lri $AR1,    #0xed42
lri $IX1,    #0x0c04
lri $WR1,    #0x3b68
cw 0x5
call send_back  ; 2011 (0x07db)

lri $AR1,    #0x6ba0
lri $IX1,    #0xfba8
lri $WR1,    #0x55de
cw 0x5
call send_back  ; 2012 (0x07dc)

lri $AR1,    #0x632a
lri $IX1,    #0xb6e2
lri $WR1,    #0x5ac8
cw 0x5
call send_back  ; 2013 (0x07dd)

lri $AR1,    #0xdc4a
lri $IX1,    #0xb10c
lri $WR1,    #0xc450
cw 0x5
call send_back  ; 2014 (0x07de)

lri $AR1,    #0x7dc8
lri $IX1,    #0xffee
lri $WR1,    #0x54b4
cw 0x5
call send_back  ; 2015 (0x07df)

lri $AR1,    #0x9010
lri $IX1,    #0x4ed2
lri $WR1,    #0xe66c
cw 0x5
call send_back  ; 2016 (0x07e0)

lri $AR1,    #0xb0e4
lri $IX1,    #0xf708
lri $WR1,    #0xa7dc
cw 0x5
call send_back  ; 2017 (0x07e1)

lri $AR1,    #0x3004
lri $IX1,    #0xda78
lri $WR1,    #0x59bc
cw 0x5
call send_back  ; 2018 (0x07e2)

lri $AR1,    #0x09ee
lri $IX1,    #0xf1be
lri $WR1,    #0x49f4
cw 0x5
call send_back  ; 2019 (0x07e3)

lri $AR1,    #0xa7c4
lri $IX1,    #0x1aea
lri $WR1,    #0x5c18
cw 0x5
call send_back  ; 2020 (0x07e4)

lri $AR1,    #0x878a
lri $IX1,    #0x7ba6
lri $WR1,    #0xf1d4
cw 0x5
call send_back  ; 2021 (0x07e5)

lri $AR1,    #0xf620
lri $IX1,    #0x19a2
lri $WR1,    #0x6f4c
cw 0x5
call send_back  ; 2022 (0x07e6)

lri $AR1,    #0xb99a
lri $IX1,    #0xd52a
lri $WR1,    #0x7de4
cw 0x5
call send_back  ; 2023 (0x07e7)

lri $AR1,    #0x50dc
lri $IX1,    #0xb260
lri $WR1,    #0xb8f2
cw 0x5
call send_back  ; 2024 (0x07e8)

lri $AR1,    #0x74be
lri $IX1,    #0x6030
lri $WR1,    #0x1940
cw 0x5
call send_back  ; 2025 (0x07e9)

lri $AR1,    #0x7446
lri $IX1,    #0x676e
lri $WR1,    #0x3cb0
cw 0x5
call send_back  ; 2026 (0x07ea)

lri $AR1,    #0xfe9a
lri $IX1,    #0x8a26
lri $WR1,    #0x3082
cw 0x5
call send_back  ; 2027 (0x07eb)

lri $AR1,    #0xabc6
lri $IX1,    #0x92d6
lri $WR1,    #0x677a
cw 0x5
call send_back  ; 2028 (0x07ec)

lri $AR1,    #0x0ef0
lri $IX1,    #0xdfbe
lri $WR1,    #0xf1ae
cw 0x5
call send_back  ; 2029 (0x07ed)

lri $AR1,    #0x2130
lri $IX1,    #0x0b8e
lri $WR1,    #0x672e
cw 0x5
call send_back  ; 2030 (0x07ee)

lri $AR1,    #0xf3fc
lri $IX1,    #0x1ee4
lri $WR1,    #0x9922
cw 0x5
call send_back  ; 2031 (0x07ef)

lri $AR1,    #0x6ce8
lri $IX1,    #0x0ff6
lri $WR1,    #0x9a0c
cw 0x5
call send_back  ; 2032 (0x07f0)

lri $AR1,    #0xb6e8
lri $IX1,    #0x7052
lri $WR1,    #0xcffe
cw 0x5
call send_back  ; 2033 (0x07f1)

lri $AR1,    #0x59a0
lri $IX1,    #0x5d9e
lri $WR1,    #0x1e5a
cw 0x5
call send_back  ; 2034 (0x07f2)

lri $AR1,    #0xe7ec
lri $IX1,    #0x9240
lri $WR1,    #0x7f02
cw 0x5
call send_back  ; 2035 (0x07f3)

lri $AR1,    #0x72dc
lri $IX1,    #0x70ce
lri $WR1,    #0x52dc
cw 0x5
call send_back  ; 2036 (0x07f4)

lri $AR1,    #0x5fe8
lri $IX1,    #0xca88
lri $WR1,    #0x5338
cw 0x5
call send_back  ; 2037 (0x07f5)

lri $AR1,    #0x65da
lri $IX1,    #0x94b6
lri $WR1,    #0x0d46
cw 0x5
call send_back  ; 2038 (0x07f6)

lri $AR1,    #0x6808
lri $IX1,    #0x0ec4
lri $WR1,    #0x686e
cw 0x5
call send_back  ; 2039 (0x07f7)

lri $AR1,    #0x992c
lri $IX1,    #0x57aa
lri $WR1,    #0x8c6e
cw 0x5
call send_back  ; 2040 (0x07f8)

lri $AR1,    #0xf640
lri $IX1,    #0x15d0
lri $WR1,    #0xbfea
cw 0x5
call send_back  ; 2041 (0x07f9)

lri $AR1,    #0xc796
lri $IX1,    #0xbd84
lri $WR1,    #0xd848
cw 0x5
call send_back  ; 2042 (0x07fa)

lri $AR1,    #0xa836
lri $IX1,    #0x161a
lri $WR1,    #0xf84c
cw 0x5
call send_back  ; 2043 (0x07fb)

lri $AR1,    #0xff82
lri $IX1,    #0xcc64
lri $WR1,    #0x7a92
cw 0x5
call send_back  ; 2044 (0x07fc)

lri $AR1,    #0x7c66
lri $IX1,    #0xf12c
lri $WR1,    #0xc5fc
cw 0x5
call send_back  ; 2045 (0x07fd)

lri $AR1,    #0x4884
lri $IX1,    #0x6ee8
lri $WR1,    #0x5f28
cw 0x5
call send_back  ; 2046 (0x07fe)

lri $AR1,    #0x9c02
lri $IX1,    #0x9500
lri $WR1,    #0x9236
cw 0x5
call send_back  ; 2047 (0x07ff)

lri $AR1,    #0x7d66
lri $IX1,    #0xc140
lri $WR1,    #0x5bd6
cw 0x5
call send_back  ; 2048 (0x0800)

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

