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

lri $AR1,    #0x4000
lri $IX1,    #0x1700
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5889 (0x1701)

lri $AR1,    #0x4000
lri $IX1,    #0x1701
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5890 (0x1702)

lri $AR1,    #0x4000
lri $IX1,    #0x1702
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5891 (0x1703)

lri $AR1,    #0x4000
lri $IX1,    #0x1703
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5892 (0x1704)

lri $AR1,    #0x4000
lri $IX1,    #0x1704
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5893 (0x1705)

lri $AR1,    #0x4000
lri $IX1,    #0x1705
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5894 (0x1706)

lri $AR1,    #0x4000
lri $IX1,    #0x1706
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5895 (0x1707)

lri $AR1,    #0x4000
lri $IX1,    #0x1707
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5896 (0x1708)

lri $AR1,    #0x4000
lri $IX1,    #0x1708
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5897 (0x1709)

lri $AR1,    #0x4000
lri $IX1,    #0x1709
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5898 (0x170a)

lri $AR1,    #0x4000
lri $IX1,    #0x170a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5899 (0x170b)

lri $AR1,    #0x4000
lri $IX1,    #0x170b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5900 (0x170c)

lri $AR1,    #0x4000
lri $IX1,    #0x170c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5901 (0x170d)

lri $AR1,    #0x4000
lri $IX1,    #0x170d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5902 (0x170e)

lri $AR1,    #0x4000
lri $IX1,    #0x170e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5903 (0x170f)

lri $AR1,    #0x4000
lri $IX1,    #0x170f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5904 (0x1710)

lri $AR1,    #0x4000
lri $IX1,    #0x1710
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5905 (0x1711)

lri $AR1,    #0x4000
lri $IX1,    #0x1711
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5906 (0x1712)

lri $AR1,    #0x4000
lri $IX1,    #0x1712
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5907 (0x1713)

lri $AR1,    #0x4000
lri $IX1,    #0x1713
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5908 (0x1714)

lri $AR1,    #0x4000
lri $IX1,    #0x1714
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5909 (0x1715)

lri $AR1,    #0x4000
lri $IX1,    #0x1715
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5910 (0x1716)

lri $AR1,    #0x4000
lri $IX1,    #0x1716
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5911 (0x1717)

lri $AR1,    #0x4000
lri $IX1,    #0x1717
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5912 (0x1718)

lri $AR1,    #0x4000
lri $IX1,    #0x1718
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5913 (0x1719)

lri $AR1,    #0x4000
lri $IX1,    #0x1719
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5914 (0x171a)

lri $AR1,    #0x4000
lri $IX1,    #0x171a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5915 (0x171b)

lri $AR1,    #0x4000
lri $IX1,    #0x171b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5916 (0x171c)

lri $AR1,    #0x4000
lri $IX1,    #0x171c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5917 (0x171d)

lri $AR1,    #0x4000
lri $IX1,    #0x171d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5918 (0x171e)

lri $AR1,    #0x4000
lri $IX1,    #0x171e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5919 (0x171f)

lri $AR1,    #0x4000
lri $IX1,    #0x171f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5920 (0x1720)

lri $AR1,    #0x4000
lri $IX1,    #0x1720
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5921 (0x1721)

lri $AR1,    #0x4000
lri $IX1,    #0x1721
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5922 (0x1722)

lri $AR1,    #0x4000
lri $IX1,    #0x1722
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5923 (0x1723)

lri $AR1,    #0x4000
lri $IX1,    #0x1723
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5924 (0x1724)

lri $AR1,    #0x4000
lri $IX1,    #0x1724
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5925 (0x1725)

lri $AR1,    #0x4000
lri $IX1,    #0x1725
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5926 (0x1726)

lri $AR1,    #0x4000
lri $IX1,    #0x1726
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5927 (0x1727)

lri $AR1,    #0x4000
lri $IX1,    #0x1727
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5928 (0x1728)

lri $AR1,    #0x4000
lri $IX1,    #0x1728
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5929 (0x1729)

lri $AR1,    #0x4000
lri $IX1,    #0x1729
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5930 (0x172a)

lri $AR1,    #0x4000
lri $IX1,    #0x172a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5931 (0x172b)

lri $AR1,    #0x4000
lri $IX1,    #0x172b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5932 (0x172c)

lri $AR1,    #0x4000
lri $IX1,    #0x172c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5933 (0x172d)

lri $AR1,    #0x4000
lri $IX1,    #0x172d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5934 (0x172e)

lri $AR1,    #0x4000
lri $IX1,    #0x172e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5935 (0x172f)

lri $AR1,    #0x4000
lri $IX1,    #0x172f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5936 (0x1730)

lri $AR1,    #0x4000
lri $IX1,    #0x1730
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5937 (0x1731)

lri $AR1,    #0x4000
lri $IX1,    #0x1731
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5938 (0x1732)

lri $AR1,    #0x4000
lri $IX1,    #0x1732
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5939 (0x1733)

lri $AR1,    #0x4000
lri $IX1,    #0x1733
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5940 (0x1734)

lri $AR1,    #0x4000
lri $IX1,    #0x1734
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5941 (0x1735)

lri $AR1,    #0x4000
lri $IX1,    #0x1735
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5942 (0x1736)

lri $AR1,    #0x4000
lri $IX1,    #0x1736
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5943 (0x1737)

lri $AR1,    #0x4000
lri $IX1,    #0x1737
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5944 (0x1738)

lri $AR1,    #0x4000
lri $IX1,    #0x1738
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5945 (0x1739)

lri $AR1,    #0x4000
lri $IX1,    #0x1739
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5946 (0x173a)

lri $AR1,    #0x4000
lri $IX1,    #0x173a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5947 (0x173b)

lri $AR1,    #0x4000
lri $IX1,    #0x173b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5948 (0x173c)

lri $AR1,    #0x4000
lri $IX1,    #0x173c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5949 (0x173d)

lri $AR1,    #0x4000
lri $IX1,    #0x173d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5950 (0x173e)

lri $AR1,    #0x4000
lri $IX1,    #0x173e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5951 (0x173f)

lri $AR1,    #0x4000
lri $IX1,    #0x173f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5952 (0x1740)

lri $AR1,    #0x4000
lri $IX1,    #0x1740
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5953 (0x1741)

lri $AR1,    #0x4000
lri $IX1,    #0x1741
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5954 (0x1742)

lri $AR1,    #0x4000
lri $IX1,    #0x1742
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5955 (0x1743)

lri $AR1,    #0x4000
lri $IX1,    #0x1743
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5956 (0x1744)

lri $AR1,    #0x4000
lri $IX1,    #0x1744
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5957 (0x1745)

lri $AR1,    #0x4000
lri $IX1,    #0x1745
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5958 (0x1746)

lri $AR1,    #0x4000
lri $IX1,    #0x1746
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5959 (0x1747)

lri $AR1,    #0x4000
lri $IX1,    #0x1747
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5960 (0x1748)

lri $AR1,    #0x4000
lri $IX1,    #0x1748
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5961 (0x1749)

lri $AR1,    #0x4000
lri $IX1,    #0x1749
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5962 (0x174a)

lri $AR1,    #0x4000
lri $IX1,    #0x174a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5963 (0x174b)

lri $AR1,    #0x4000
lri $IX1,    #0x174b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5964 (0x174c)

lri $AR1,    #0x4000
lri $IX1,    #0x174c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5965 (0x174d)

lri $AR1,    #0x4000
lri $IX1,    #0x174d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5966 (0x174e)

lri $AR1,    #0x4000
lri $IX1,    #0x174e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5967 (0x174f)

lri $AR1,    #0x4000
lri $IX1,    #0x174f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5968 (0x1750)

lri $AR1,    #0x4000
lri $IX1,    #0x1750
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5969 (0x1751)

lri $AR1,    #0x4000
lri $IX1,    #0x1751
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5970 (0x1752)

lri $AR1,    #0x4000
lri $IX1,    #0x1752
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5971 (0x1753)

lri $AR1,    #0x4000
lri $IX1,    #0x1753
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5972 (0x1754)

lri $AR1,    #0x4000
lri $IX1,    #0x1754
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5973 (0x1755)

lri $AR1,    #0x4000
lri $IX1,    #0x1755
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5974 (0x1756)

lri $AR1,    #0x4000
lri $IX1,    #0x1756
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5975 (0x1757)

lri $AR1,    #0x4000
lri $IX1,    #0x1757
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5976 (0x1758)

lri $AR1,    #0x4000
lri $IX1,    #0x1758
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5977 (0x1759)

lri $AR1,    #0x4000
lri $IX1,    #0x1759
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5978 (0x175a)

lri $AR1,    #0x4000
lri $IX1,    #0x175a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5979 (0x175b)

lri $AR1,    #0x4000
lri $IX1,    #0x175b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5980 (0x175c)

lri $AR1,    #0x4000
lri $IX1,    #0x175c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5981 (0x175d)

lri $AR1,    #0x4000
lri $IX1,    #0x175d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5982 (0x175e)

lri $AR1,    #0x4000
lri $IX1,    #0x175e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5983 (0x175f)

lri $AR1,    #0x4000
lri $IX1,    #0x175f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5984 (0x1760)

lri $AR1,    #0x4000
lri $IX1,    #0x1760
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5985 (0x1761)

lri $AR1,    #0x4000
lri $IX1,    #0x1761
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5986 (0x1762)

lri $AR1,    #0x4000
lri $IX1,    #0x1762
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5987 (0x1763)

lri $AR1,    #0x4000
lri $IX1,    #0x1763
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5988 (0x1764)

lri $AR1,    #0x4000
lri $IX1,    #0x1764
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5989 (0x1765)

lri $AR1,    #0x4000
lri $IX1,    #0x1765
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5990 (0x1766)

lri $AR1,    #0x4000
lri $IX1,    #0x1766
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5991 (0x1767)

lri $AR1,    #0x4000
lri $IX1,    #0x1767
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5992 (0x1768)

lri $AR1,    #0x4000
lri $IX1,    #0x1768
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5993 (0x1769)

lri $AR1,    #0x4000
lri $IX1,    #0x1769
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5994 (0x176a)

lri $AR1,    #0x4000
lri $IX1,    #0x176a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5995 (0x176b)

lri $AR1,    #0x4000
lri $IX1,    #0x176b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5996 (0x176c)

lri $AR1,    #0x4000
lri $IX1,    #0x176c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5997 (0x176d)

lri $AR1,    #0x4000
lri $IX1,    #0x176d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5998 (0x176e)

lri $AR1,    #0x4000
lri $IX1,    #0x176e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5999 (0x176f)

lri $AR1,    #0x4000
lri $IX1,    #0x176f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6000 (0x1770)

lri $AR1,    #0x4000
lri $IX1,    #0x1770
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6001 (0x1771)

lri $AR1,    #0x4000
lri $IX1,    #0x1771
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6002 (0x1772)

lri $AR1,    #0x4000
lri $IX1,    #0x1772
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6003 (0x1773)

lri $AR1,    #0x4000
lri $IX1,    #0x1773
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6004 (0x1774)

lri $AR1,    #0x4000
lri $IX1,    #0x1774
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6005 (0x1775)

lri $AR1,    #0x4000
lri $IX1,    #0x1775
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6006 (0x1776)

lri $AR1,    #0x4000
lri $IX1,    #0x1776
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6007 (0x1777)

lri $AR1,    #0x4000
lri $IX1,    #0x1777
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6008 (0x1778)

lri $AR1,    #0x4000
lri $IX1,    #0x1778
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6009 (0x1779)

lri $AR1,    #0x4000
lri $IX1,    #0x1779
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6010 (0x177a)

lri $AR1,    #0x4000
lri $IX1,    #0x177a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6011 (0x177b)

lri $AR1,    #0x4000
lri $IX1,    #0x177b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6012 (0x177c)

lri $AR1,    #0x4000
lri $IX1,    #0x177c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6013 (0x177d)

lri $AR1,    #0x4000
lri $IX1,    #0x177d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6014 (0x177e)

lri $AR1,    #0x4000
lri $IX1,    #0x177e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6015 (0x177f)

lri $AR1,    #0x4000
lri $IX1,    #0x177f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6016 (0x1780)

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

