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

lri $AR1,    #0xda87
lri $IX1,    #0xbb5e
lri $WR1,    #0xb862
cw 0xd
call send_back  ; 1858 (0x0742)

lri $AR1,    #0x6aa8
lri $IX1,    #0x15c0
lri $WR1,    #0x55ed
cw 0xd
call send_back  ; 1859 (0x0743)

lri $AR1,    #0x559c
lri $IX1,    #0x8226
lri $WR1,    #0xb4a2
cw 0xd
call send_back  ; 1860 (0x0744)

lri $AR1,    #0x808e
lri $IX1,    #0xc34c
lri $WR1,    #0x5562
cw 0xd
call send_back  ; 1861 (0x0745)

lri $AR1,    #0x72e1
lri $IX1,    #0xae26
lri $WR1,    #0x3d9c
cw 0xd
call send_back  ; 1862 (0x0746)

lri $AR1,    #0x47e3
lri $IX1,    #0x016c
lri $WR1,    #0x4109
cw 0xd
call send_back  ; 1863 (0x0747)

lri $AR1,    #0x6b21
lri $IX1,    #0x8962
lri $WR1,    #0x530f
cw 0xd
call send_back  ; 1864 (0x0748)

lri $AR1,    #0x8e46
lri $IX1,    #0x94ea
lri $WR1,    #0x6fd4
cw 0xd
call send_back  ; 1865 (0x0749)

lri $AR1,    #0xe6bb
lri $IX1,    #0x5cee
lri $WR1,    #0xda9b
cw 0xd
call send_back  ; 1866 (0x074a)

lri $AR1,    #0x74f4
lri $IX1,    #0xce4e
lri $WR1,    #0x8077
cw 0xd
call send_back  ; 1867 (0x074b)

lri $AR1,    #0x3e9f
lri $IX1,    #0x0a2c
lri $WR1,    #0xa3e2
cw 0xd
call send_back  ; 1868 (0x074c)

lri $AR1,    #0x6099
lri $IX1,    #0xc7ea
lri $WR1,    #0xef4d
cw 0xd
call send_back  ; 1869 (0x074d)

lri $AR1,    #0x8ce5
lri $IX1,    #0x6f9e
lri $WR1,    #0x8a34
cw 0xd
call send_back  ; 1870 (0x074e)

lri $AR1,    #0x4c92
lri $IX1,    #0x235e
lri $WR1,    #0xadc7
cw 0xd
call send_back  ; 1871 (0x074f)

lri $AR1,    #0x14c5
lri $IX1,    #0xe124
lri $WR1,    #0xdbb9
cw 0xd
call send_back  ; 1872 (0x0750)

lri $AR1,    #0x49bb
lri $IX1,    #0x4ea0
lri $WR1,    #0xa34b
cw 0xd
call send_back  ; 1873 (0x0751)

lri $AR1,    #0x8a2a
lri $IX1,    #0x7bce
lri $WR1,    #0xae13
cw 0xd
call send_back  ; 1874 (0x0752)

lri $AR1,    #0x70b0
lri $IX1,    #0xd88c
lri $WR1,    #0x7fa2
cw 0xd
call send_back  ; 1875 (0x0753)

lri $AR1,    #0x40b7
lri $IX1,    #0x9d20
lri $WR1,    #0x488c
cw 0xd
call send_back  ; 1876 (0x0754)

lri $AR1,    #0x8f9a
lri $IX1,    #0xdcde
lri $WR1,    #0xc6e2
cw 0xd
call send_back  ; 1877 (0x0755)

lri $AR1,    #0xca4e
lri $IX1,    #0x45d6
lri $WR1,    #0x4bba
cw 0xd
call send_back  ; 1878 (0x0756)

lri $AR1,    #0xdb75
lri $IX1,    #0x0fc6
lri $WR1,    #0x7ecc
cw 0xd
call send_back  ; 1879 (0x0757)

lri $AR1,    #0x8d16
lri $IX1,    #0xb032
lri $WR1,    #0xbea9
cw 0xd
call send_back  ; 1880 (0x0758)

lri $AR1,    #0x6cd8
lri $IX1,    #0x70e8
lri $WR1,    #0x65bf
cw 0xd
call send_back  ; 1881 (0x0759)

lri $AR1,    #0xd90a
lri $IX1,    #0xe1c2
lri $WR1,    #0xa985
cw 0xd
call send_back  ; 1882 (0x075a)

lri $AR1,    #0x5041
lri $IX1,    #0x2dec
lri $WR1,    #0x9b1a
cw 0xd
call send_back  ; 1883 (0x075b)

lri $AR1,    #0x84f6
lri $IX1,    #0x80a2
lri $WR1,    #0x65ba
cw 0xd
call send_back  ; 1884 (0x075c)

lri $AR1,    #0x71d4
lri $IX1,    #0xbc7e
lri $WR1,    #0xa128
cw 0xd
call send_back  ; 1885 (0x075d)

lri $AR1,    #0x9b0e
lri $IX1,    #0xb452
lri $WR1,    #0xcba6
cw 0xd
call send_back  ; 1886 (0x075e)

lri $AR1,    #0xacac
lri $IX1,    #0xb3da
lri $WR1,    #0x2080
cw 0xd
call send_back  ; 1887 (0x075f)

lri $AR1,    #0x9ce7
lri $IX1,    #0x59f0
lri $WR1,    #0x65bb
cw 0xd
call send_back  ; 1888 (0x0760)

lri $AR1,    #0xc59f
lri $IX1,    #0x6dd4
lri $WR1,    #0x54fa
cw 0xd
call send_back  ; 1889 (0x0761)

lri $AR1,    #0x6709
lri $IX1,    #0x5408
lri $WR1,    #0x512a
cw 0xd
call send_back  ; 1890 (0x0762)

lri $AR1,    #0x9987
lri $IX1,    #0xf760
lri $WR1,    #0x8c08
cw 0xd
call send_back  ; 1891 (0x0763)

lri $AR1,    #0x3bef
lri $IX1,    #0x3dd6
lri $WR1,    #0x7405
cw 0xd
call send_back  ; 1892 (0x0764)

lri $AR1,    #0xc708
lri $IX1,    #0x5898
lri $WR1,    #0x9ca9
cw 0xd
call send_back  ; 1893 (0x0765)

lri $AR1,    #0x7e99
lri $IX1,    #0x4a14
lri $WR1,    #0x30f3
cw 0xd
call send_back  ; 1894 (0x0766)

lri $AR1,    #0x9bda
lri $IX1,    #0xbc4a
lri $WR1,    #0x40d0
cw 0xd
call send_back  ; 1895 (0x0767)

lri $AR1,    #0xa48c
lri $IX1,    #0x9542
lri $WR1,    #0xc047
cw 0xd
call send_back  ; 1896 (0x0768)

lri $AR1,    #0x8d91
lri $IX1,    #0x7ef4
lri $WR1,    #0xb845
cw 0xd
call send_back  ; 1897 (0x0769)

lri $AR1,    #0x675a
lri $IX1,    #0xb364
lri $WR1,    #0xd6bb
cw 0xd
call send_back  ; 1898 (0x076a)

lri $AR1,    #0x85e5
lri $IX1,    #0xad58
lri $WR1,    #0x1d15
cw 0xd
call send_back  ; 1899 (0x076b)

lri $AR1,    #0x3db2
lri $IX1,    #0xc15c
lri $WR1,    #0x4189
cw 0xd
call send_back  ; 1900 (0x076c)

lri $AR1,    #0xca78
lri $IX1,    #0xfa82
lri $WR1,    #0x5171
cw 0xd
call send_back  ; 1901 (0x076d)

lri $AR1,    #0x23df
lri $IX1,    #0xc19e
lri $WR1,    #0xa019
cw 0xd
call send_back  ; 1902 (0x076e)

lri $AR1,    #0x4821
lri $IX1,    #0xb548
lri $WR1,    #0x6f24
cw 0xd
call send_back  ; 1903 (0x076f)

lri $AR1,    #0x3bd3
lri $IX1,    #0x8c86
lri $WR1,    #0x6329
cw 0xd
call send_back  ; 1904 (0x0770)

lri $AR1,    #0x89b0
lri $IX1,    #0xc55a
lri $WR1,    #0x206c
cw 0xd
call send_back  ; 1905 (0x0771)

lri $AR1,    #0xccb1
lri $IX1,    #0x1c1a
lri $WR1,    #0x3975
cw 0xd
call send_back  ; 1906 (0x0772)

lri $AR1,    #0xa23c
lri $IX1,    #0x37c8
lri $WR1,    #0x4a6b
cw 0xd
call send_back  ; 1907 (0x0773)

lri $AR1,    #0xa9d2
lri $IX1,    #0x7b56
lri $WR1,    #0x91de
cw 0xd
call send_back  ; 1908 (0x0774)

lri $AR1,    #0x52e6
lri $IX1,    #0x630a
lri $WR1,    #0x710a
cw 0xd
call send_back  ; 1909 (0x0775)

lri $AR1,    #0x8951
lri $IX1,    #0x20f0
lri $WR1,    #0x5b14
cw 0xd
call send_back  ; 1910 (0x0776)

lri $AR1,    #0xb422
lri $IX1,    #0x2a86
lri $WR1,    #0xbc67
cw 0xd
call send_back  ; 1911 (0x0777)

lri $AR1,    #0x5210
lri $IX1,    #0xfda0
lri $WR1,    #0xa8b9
cw 0xd
call send_back  ; 1912 (0x0778)

lri $AR1,    #0x2a7e
lri $IX1,    #0x699a
lri $WR1,    #0x07b8
cw 0xd
call send_back  ; 1913 (0x0779)

lri $AR1,    #0xe93d
lri $IX1,    #0x05ea
lri $WR1,    #0x6610
cw 0xd
call send_back  ; 1914 (0x077a)

lri $AR1,    #0x6ef0
lri $IX1,    #0x0e22
lri $WR1,    #0x61b4
cw 0xd
call send_back  ; 1915 (0x077b)

lri $AR1,    #0x8762
lri $IX1,    #0x7f68
lri $WR1,    #0x3e1f
cw 0xd
call send_back  ; 1916 (0x077c)

lri $AR1,    #0x7295
lri $IX1,    #0xea86
lri $WR1,    #0x667d
cw 0xd
call send_back  ; 1917 (0x077d)

lri $AR1,    #0x9ce5
lri $IX1,    #0xd98c
lri $WR1,    #0xe15c
cw 0xd
call send_back  ; 1918 (0x077e)

lri $AR1,    #0xe600
lri $IX1,    #0xc738
lri $WR1,    #0xdb03
cw 0xd
call send_back  ; 1919 (0x077f)

lri $AR1,    #0xce15
lri $IX1,    #0x59f0
lri $WR1,    #0xd0d1
cw 0xd
call send_back  ; 1920 (0x0780)

lri $AR1,    #0x2bfe
lri $IX1,    #0xbbc4
lri $WR1,    #0x71f4
cw 0xd
call send_back  ; 1921 (0x0781)

lri $AR1,    #0x8eb3
lri $IX1,    #0x6416
lri $WR1,    #0xd6c6
cw 0xd
call send_back  ; 1922 (0x0782)

lri $AR1,    #0x7fe1
lri $IX1,    #0x5758
lri $WR1,    #0xa21c
cw 0xd
call send_back  ; 1923 (0x0783)

lri $AR1,    #0x64f1
lri $IX1,    #0xa4b2
lri $WR1,    #0xd4e7
cw 0xd
call send_back  ; 1924 (0x0784)

lri $AR1,    #0x9746
lri $IX1,    #0xa0c4
lri $WR1,    #0x7653
cw 0xd
call send_back  ; 1925 (0x0785)

lri $AR1,    #0x5c09
lri $IX1,    #0xe878
lri $WR1,    #0x0fee
cw 0xd
call send_back  ; 1926 (0x0786)

lri $AR1,    #0x875c
lri $IX1,    #0x760e
lri $WR1,    #0xbee1
cw 0xd
call send_back  ; 1927 (0x0787)

lri $AR1,    #0xae34
lri $IX1,    #0xe65c
lri $WR1,    #0xa0ce
cw 0xd
call send_back  ; 1928 (0x0788)

lri $AR1,    #0xb5b1
lri $IX1,    #0x536c
lri $WR1,    #0x8c68
cw 0xd
call send_back  ; 1929 (0x0789)

lri $AR1,    #0x2e42
lri $IX1,    #0xc560
lri $WR1,    #0xb352
cw 0xd
call send_back  ; 1930 (0x078a)

lri $AR1,    #0x9c72
lri $IX1,    #0x09da
lri $WR1,    #0x5c4b
cw 0xd
call send_back  ; 1931 (0x078b)

lri $AR1,    #0x7895
lri $IX1,    #0xa5d6
lri $WR1,    #0xba4e
cw 0xd
call send_back  ; 1932 (0x078c)

lri $AR1,    #0xaa3b
lri $IX1,    #0x6d1a
lri $WR1,    #0x5e98
cw 0xd
call send_back  ; 1933 (0x078d)

lri $AR1,    #0x73b0
lri $IX1,    #0xf632
lri $WR1,    #0xc142
cw 0xd
call send_back  ; 1934 (0x078e)

lri $AR1,    #0x855a
lri $IX1,    #0x813a
lri $WR1,    #0xbd6c
cw 0xd
call send_back  ; 1935 (0x078f)

lri $AR1,    #0xa840
lri $IX1,    #0xdb42
lri $WR1,    #0x8386
cw 0xd
call send_back  ; 1936 (0x0790)

lri $AR1,    #0x7a99
lri $IX1,    #0x2fa2
lri $WR1,    #0x4ddf
cw 0xd
call send_back  ; 1937 (0x0791)

lri $AR1,    #0x789e
lri $IX1,    #0x740a
lri $WR1,    #0xf0ed
cw 0xd
call send_back  ; 1938 (0x0792)

lri $AR1,    #0x5f85
lri $IX1,    #0x0b9c
lri $WR1,    #0x926c
cw 0xd
call send_back  ; 1939 (0x0793)

lri $AR1,    #0x3fdd
lri $IX1,    #0x40f8
lri $WR1,    #0x47ee
cw 0xd
call send_back  ; 1940 (0x0794)

lri $AR1,    #0xb036
lri $IX1,    #0x2e56
lri $WR1,    #0x76d4
cw 0xd
call send_back  ; 1941 (0x0795)

lri $AR1,    #0x604d
lri $IX1,    #0x76bc
lri $WR1,    #0x6d53
cw 0xd
call send_back  ; 1942 (0x0796)

lri $AR1,    #0xb09a
lri $IX1,    #0xb26e
lri $WR1,    #0x2d8d
cw 0xd
call send_back  ; 1943 (0x0797)

lri $AR1,    #0xc989
lri $IX1,    #0x8488
lri $WR1,    #0xa956
cw 0xd
call send_back  ; 1944 (0x0798)

lri $AR1,    #0x5938
lri $IX1,    #0xd6fa
lri $WR1,    #0x16a4
cw 0xd
call send_back  ; 1945 (0x0799)

lri $AR1,    #0x7df9
lri $IX1,    #0x95d6
lri $WR1,    #0xf251
cw 0xd
call send_back  ; 1946 (0x079a)

lri $AR1,    #0x577b
lri $IX1,    #0x5210
lri $WR1,    #0x9828
cw 0xd
call send_back  ; 1947 (0x079b)

lri $AR1,    #0x9fdc
lri $IX1,    #0x57b8
lri $WR1,    #0x6ce3
cw 0xd
call send_back  ; 1948 (0x079c)

lri $AR1,    #0x697a
lri $IX1,    #0xdace
lri $WR1,    #0xd013
cw 0xd
call send_back  ; 1949 (0x079d)

lri $AR1,    #0x8dd2
lri $IX1,    #0xc99a
lri $WR1,    #0x499a
cw 0xd
call send_back  ; 1950 (0x079e)

lri $AR1,    #0x5d3f
lri $IX1,    #0x72de
lri $WR1,    #0x87af
cw 0xd
call send_back  ; 1951 (0x079f)

lri $AR1,    #0x96e2
lri $IX1,    #0x618c
lri $WR1,    #0xa816
cw 0xd
call send_back  ; 1952 (0x07a0)

lri $AR1,    #0x7b91
lri $IX1,    #0x7784
lri $WR1,    #0x5080
cw 0xd
call send_back  ; 1953 (0x07a1)

lri $AR1,    #0x4e03
lri $IX1,    #0x4c06
lri $WR1,    #0xa7b9
cw 0xd
call send_back  ; 1954 (0x07a2)

lri $AR1,    #0x2637
lri $IX1,    #0x0228
lri $WR1,    #0x32aa
cw 0xd
call send_back  ; 1955 (0x07a3)

lri $AR1,    #0x8524
lri $IX1,    #0x0f3a
lri $WR1,    #0xcdc5
cw 0xd
call send_back  ; 1956 (0x07a4)

lri $AR1,    #0x71c7
lri $IX1,    #0xa050
lri $WR1,    #0xd4de
cw 0xd
call send_back  ; 1957 (0x07a5)

lri $AR1,    #0x77b0
lri $IX1,    #0x59ce
lri $WR1,    #0x6911
cw 0xd
call send_back  ; 1958 (0x07a6)

lri $AR1,    #0x82eb
lri $IX1,    #0xeb38
lri $WR1,    #0x85bb
cw 0xd
call send_back  ; 1959 (0x07a7)

lri $AR1,    #0xac9d
lri $IX1,    #0x4532
lri $WR1,    #0x9b21
cw 0xd
call send_back  ; 1960 (0x07a8)

lri $AR1,    #0x7724
lri $IX1,    #0x06d4
lri $WR1,    #0x8ebc
cw 0xd
call send_back  ; 1961 (0x07a9)

lri $AR1,    #0x97f2
lri $IX1,    #0xd35e
lri $WR1,    #0xaedd
cw 0xd
call send_back  ; 1962 (0x07aa)

lri $AR1,    #0xa11b
lri $IX1,    #0x9054
lri $WR1,    #0x389c
cw 0xd
call send_back  ; 1963 (0x07ab)

lri $AR1,    #0x83c6
lri $IX1,    #0xf01c
lri $WR1,    #0xe4af
cw 0xd
call send_back  ; 1964 (0x07ac)

lri $AR1,    #0x6062
lri $IX1,    #0x0430
lri $WR1,    #0x693f
cw 0xd
call send_back  ; 1965 (0x07ad)

lri $AR1,    #0x48da
lri $IX1,    #0xbdd8
lri $WR1,    #0x5c31
cw 0xd
call send_back  ; 1966 (0x07ae)

lri $AR1,    #0x5cbe
lri $IX1,    #0x23b4
lri $WR1,    #0xc31c
cw 0xd
call send_back  ; 1967 (0x07af)

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