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

lri $AR1,    #0x4000
lri $IX1,    #0x0680
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1665 (0x0681)

lri $AR1,    #0x4000
lri $IX1,    #0x0681
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1666 (0x0682)

lri $AR1,    #0x4000
lri $IX1,    #0x0682
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1667 (0x0683)

lri $AR1,    #0x4000
lri $IX1,    #0x0683
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1668 (0x0684)

lri $AR1,    #0x4000
lri $IX1,    #0x0684
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1669 (0x0685)

lri $AR1,    #0x4000
lri $IX1,    #0x0685
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1670 (0x0686)

lri $AR1,    #0x4000
lri $IX1,    #0x0686
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1671 (0x0687)

lri $AR1,    #0x4000
lri $IX1,    #0x0687
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1672 (0x0688)

lri $AR1,    #0x4000
lri $IX1,    #0x0688
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1673 (0x0689)

lri $AR1,    #0x4000
lri $IX1,    #0x0689
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1674 (0x068a)

lri $AR1,    #0x4000
lri $IX1,    #0x068a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1675 (0x068b)

lri $AR1,    #0x4000
lri $IX1,    #0x068b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1676 (0x068c)

lri $AR1,    #0x4000
lri $IX1,    #0x068c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1677 (0x068d)

lri $AR1,    #0x4000
lri $IX1,    #0x068d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1678 (0x068e)

lri $AR1,    #0x4000
lri $IX1,    #0x068e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1679 (0x068f)

lri $AR1,    #0x4000
lri $IX1,    #0x068f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1680 (0x0690)

lri $AR1,    #0x4000
lri $IX1,    #0x0690
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1681 (0x0691)

lri $AR1,    #0x4000
lri $IX1,    #0x0691
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1682 (0x0692)

lri $AR1,    #0x4000
lri $IX1,    #0x0692
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1683 (0x0693)

lri $AR1,    #0x4000
lri $IX1,    #0x0693
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1684 (0x0694)

lri $AR1,    #0x4000
lri $IX1,    #0x0694
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1685 (0x0695)

lri $AR1,    #0x4000
lri $IX1,    #0x0695
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1686 (0x0696)

lri $AR1,    #0x4000
lri $IX1,    #0x0696
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1687 (0x0697)

lri $AR1,    #0x4000
lri $IX1,    #0x0697
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1688 (0x0698)

lri $AR1,    #0x4000
lri $IX1,    #0x0698
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1689 (0x0699)

lri $AR1,    #0x4000
lri $IX1,    #0x0699
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1690 (0x069a)

lri $AR1,    #0x4000
lri $IX1,    #0x069a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1691 (0x069b)

lri $AR1,    #0x4000
lri $IX1,    #0x069b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1692 (0x069c)

lri $AR1,    #0x4000
lri $IX1,    #0x069c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1693 (0x069d)

lri $AR1,    #0x4000
lri $IX1,    #0x069d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1694 (0x069e)

lri $AR1,    #0x4000
lri $IX1,    #0x069e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1695 (0x069f)

lri $AR1,    #0x4000
lri $IX1,    #0x069f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1696 (0x06a0)

lri $AR1,    #0x4000
lri $IX1,    #0x06a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1697 (0x06a1)

lri $AR1,    #0x4000
lri $IX1,    #0x06a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1698 (0x06a2)

lri $AR1,    #0x4000
lri $IX1,    #0x06a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1699 (0x06a3)

lri $AR1,    #0x4000
lri $IX1,    #0x06a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1700 (0x06a4)

lri $AR1,    #0x4000
lri $IX1,    #0x06a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1701 (0x06a5)

lri $AR1,    #0x4000
lri $IX1,    #0x06a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1702 (0x06a6)

lri $AR1,    #0x4000
lri $IX1,    #0x06a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1703 (0x06a7)

lri $AR1,    #0x4000
lri $IX1,    #0x06a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1704 (0x06a8)

lri $AR1,    #0x4000
lri $IX1,    #0x06a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1705 (0x06a9)

lri $AR1,    #0x4000
lri $IX1,    #0x06a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1706 (0x06aa)

lri $AR1,    #0x4000
lri $IX1,    #0x06aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1707 (0x06ab)

lri $AR1,    #0x4000
lri $IX1,    #0x06ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1708 (0x06ac)

lri $AR1,    #0x4000
lri $IX1,    #0x06ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1709 (0x06ad)

lri $AR1,    #0x4000
lri $IX1,    #0x06ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1710 (0x06ae)

lri $AR1,    #0x4000
lri $IX1,    #0x06ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1711 (0x06af)

lri $AR1,    #0x4000
lri $IX1,    #0x06af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1712 (0x06b0)

lri $AR1,    #0x4000
lri $IX1,    #0x06b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1713 (0x06b1)

lri $AR1,    #0x4000
lri $IX1,    #0x06b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1714 (0x06b2)

lri $AR1,    #0x4000
lri $IX1,    #0x06b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1715 (0x06b3)

lri $AR1,    #0x4000
lri $IX1,    #0x06b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1716 (0x06b4)

lri $AR1,    #0x4000
lri $IX1,    #0x06b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1717 (0x06b5)

lri $AR1,    #0x4000
lri $IX1,    #0x06b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1718 (0x06b6)

lri $AR1,    #0x4000
lri $IX1,    #0x06b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1719 (0x06b7)

lri $AR1,    #0x4000
lri $IX1,    #0x06b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1720 (0x06b8)

lri $AR1,    #0x4000
lri $IX1,    #0x06b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1721 (0x06b9)

lri $AR1,    #0x4000
lri $IX1,    #0x06b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1722 (0x06ba)

lri $AR1,    #0x4000
lri $IX1,    #0x06ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1723 (0x06bb)

lri $AR1,    #0x4000
lri $IX1,    #0x06bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1724 (0x06bc)

lri $AR1,    #0x4000
lri $IX1,    #0x06bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1725 (0x06bd)

lri $AR1,    #0x4000
lri $IX1,    #0x06bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1726 (0x06be)

lri $AR1,    #0x4000
lri $IX1,    #0x06be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1727 (0x06bf)

lri $AR1,    #0x4000
lri $IX1,    #0x06bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1728 (0x06c0)

lri $AR1,    #0x4000
lri $IX1,    #0x06c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1729 (0x06c1)

lri $AR1,    #0x4000
lri $IX1,    #0x06c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1730 (0x06c2)

lri $AR1,    #0x4000
lri $IX1,    #0x06c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1731 (0x06c3)

lri $AR1,    #0x4000
lri $IX1,    #0x06c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1732 (0x06c4)

lri $AR1,    #0x4000
lri $IX1,    #0x06c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1733 (0x06c5)

lri $AR1,    #0x4000
lri $IX1,    #0x06c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1734 (0x06c6)

lri $AR1,    #0x4000
lri $IX1,    #0x06c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1735 (0x06c7)

lri $AR1,    #0x4000
lri $IX1,    #0x06c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1736 (0x06c8)

lri $AR1,    #0x4000
lri $IX1,    #0x06c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1737 (0x06c9)

lri $AR1,    #0x4000
lri $IX1,    #0x06c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1738 (0x06ca)

lri $AR1,    #0x4000
lri $IX1,    #0x06ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1739 (0x06cb)

lri $AR1,    #0x4000
lri $IX1,    #0x06cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1740 (0x06cc)

lri $AR1,    #0x4000
lri $IX1,    #0x06cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1741 (0x06cd)

lri $AR1,    #0x4000
lri $IX1,    #0x06cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1742 (0x06ce)

lri $AR1,    #0x4000
lri $IX1,    #0x06ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1743 (0x06cf)

lri $AR1,    #0x4000
lri $IX1,    #0x06cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1744 (0x06d0)

lri $AR1,    #0x4000
lri $IX1,    #0x06d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1745 (0x06d1)

lri $AR1,    #0x4000
lri $IX1,    #0x06d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1746 (0x06d2)

lri $AR1,    #0x4000
lri $IX1,    #0x06d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1747 (0x06d3)

lri $AR1,    #0x4000
lri $IX1,    #0x06d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1748 (0x06d4)

lri $AR1,    #0x4000
lri $IX1,    #0x06d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1749 (0x06d5)

lri $AR1,    #0x4000
lri $IX1,    #0x06d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1750 (0x06d6)

lri $AR1,    #0x4000
lri $IX1,    #0x06d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1751 (0x06d7)

lri $AR1,    #0x4000
lri $IX1,    #0x06d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1752 (0x06d8)

lri $AR1,    #0x4000
lri $IX1,    #0x06d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1753 (0x06d9)

lri $AR1,    #0x4000
lri $IX1,    #0x06d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1754 (0x06da)

lri $AR1,    #0x4000
lri $IX1,    #0x06da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1755 (0x06db)

lri $AR1,    #0x4000
lri $IX1,    #0x06db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1756 (0x06dc)

lri $AR1,    #0x4000
lri $IX1,    #0x06dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1757 (0x06dd)

lri $AR1,    #0x4000
lri $IX1,    #0x06dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1758 (0x06de)

lri $AR1,    #0x4000
lri $IX1,    #0x06de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1759 (0x06df)

lri $AR1,    #0x4000
lri $IX1,    #0x06df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1760 (0x06e0)

lri $AR1,    #0x4000
lri $IX1,    #0x06e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1761 (0x06e1)

lri $AR1,    #0x4000
lri $IX1,    #0x06e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1762 (0x06e2)

lri $AR1,    #0x4000
lri $IX1,    #0x06e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1763 (0x06e3)

lri $AR1,    #0x4000
lri $IX1,    #0x06e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1764 (0x06e4)

lri $AR1,    #0x4000
lri $IX1,    #0x06e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1765 (0x06e5)

lri $AR1,    #0x4000
lri $IX1,    #0x06e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1766 (0x06e6)

lri $AR1,    #0x4000
lri $IX1,    #0x06e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1767 (0x06e7)

lri $AR1,    #0x4000
lri $IX1,    #0x06e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1768 (0x06e8)

lri $AR1,    #0x4000
lri $IX1,    #0x06e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1769 (0x06e9)

lri $AR1,    #0x4000
lri $IX1,    #0x06e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1770 (0x06ea)

lri $AR1,    #0x4000
lri $IX1,    #0x06ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1771 (0x06eb)

lri $AR1,    #0x4000
lri $IX1,    #0x06eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1772 (0x06ec)

lri $AR1,    #0x4000
lri $IX1,    #0x06ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1773 (0x06ed)

lri $AR1,    #0x4000
lri $IX1,    #0x06ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1774 (0x06ee)

lri $AR1,    #0x4000
lri $IX1,    #0x06ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1775 (0x06ef)

lri $AR1,    #0x4000
lri $IX1,    #0x06ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1776 (0x06f0)

lri $AR1,    #0x4000
lri $IX1,    #0x06f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1777 (0x06f1)

lri $AR1,    #0x4000
lri $IX1,    #0x06f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1778 (0x06f2)

lri $AR1,    #0x4000
lri $IX1,    #0x06f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1779 (0x06f3)

lri $AR1,    #0x4000
lri $IX1,    #0x06f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1780 (0x06f4)

lri $AR1,    #0x4000
lri $IX1,    #0x06f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1781 (0x06f5)

lri $AR1,    #0x4000
lri $IX1,    #0x06f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1782 (0x06f6)

lri $AR1,    #0x4000
lri $IX1,    #0x06f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1783 (0x06f7)

lri $AR1,    #0x4000
lri $IX1,    #0x06f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1784 (0x06f8)

lri $AR1,    #0x4000
lri $IX1,    #0x06f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1785 (0x06f9)

lri $AR1,    #0x4000
lri $IX1,    #0x06f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1786 (0x06fa)

lri $AR1,    #0x4000
lri $IX1,    #0x06fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1787 (0x06fb)

lri $AR1,    #0x4000
lri $IX1,    #0x06fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1788 (0x06fc)

lri $AR1,    #0x4000
lri $IX1,    #0x06fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1789 (0x06fd)

lri $AR1,    #0x4000
lri $IX1,    #0x06fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1790 (0x06fe)

lri $AR1,    #0x4000
lri $IX1,    #0x06fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1791 (0x06ff)

lri $AR1,    #0x4000
lri $IX1,    #0x06ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1792 (0x0700)

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

