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

lri $AR1,    #0x4000
lri $IX1,    #0x1680
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5761 (0x1681)

lri $AR1,    #0x4000
lri $IX1,    #0x1681
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5762 (0x1682)

lri $AR1,    #0x4000
lri $IX1,    #0x1682
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5763 (0x1683)

lri $AR1,    #0x4000
lri $IX1,    #0x1683
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5764 (0x1684)

lri $AR1,    #0x4000
lri $IX1,    #0x1684
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5765 (0x1685)

lri $AR1,    #0x4000
lri $IX1,    #0x1685
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5766 (0x1686)

lri $AR1,    #0x4000
lri $IX1,    #0x1686
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5767 (0x1687)

lri $AR1,    #0x4000
lri $IX1,    #0x1687
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5768 (0x1688)

lri $AR1,    #0x4000
lri $IX1,    #0x1688
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5769 (0x1689)

lri $AR1,    #0x4000
lri $IX1,    #0x1689
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5770 (0x168a)

lri $AR1,    #0x4000
lri $IX1,    #0x168a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5771 (0x168b)

lri $AR1,    #0x4000
lri $IX1,    #0x168b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5772 (0x168c)

lri $AR1,    #0x4000
lri $IX1,    #0x168c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5773 (0x168d)

lri $AR1,    #0x4000
lri $IX1,    #0x168d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5774 (0x168e)

lri $AR1,    #0x4000
lri $IX1,    #0x168e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5775 (0x168f)

lri $AR1,    #0x4000
lri $IX1,    #0x168f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5776 (0x1690)

lri $AR1,    #0x4000
lri $IX1,    #0x1690
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5777 (0x1691)

lri $AR1,    #0x4000
lri $IX1,    #0x1691
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5778 (0x1692)

lri $AR1,    #0x4000
lri $IX1,    #0x1692
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5779 (0x1693)

lri $AR1,    #0x4000
lri $IX1,    #0x1693
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5780 (0x1694)

lri $AR1,    #0x4000
lri $IX1,    #0x1694
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5781 (0x1695)

lri $AR1,    #0x4000
lri $IX1,    #0x1695
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5782 (0x1696)

lri $AR1,    #0x4000
lri $IX1,    #0x1696
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5783 (0x1697)

lri $AR1,    #0x4000
lri $IX1,    #0x1697
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5784 (0x1698)

lri $AR1,    #0x4000
lri $IX1,    #0x1698
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5785 (0x1699)

lri $AR1,    #0x4000
lri $IX1,    #0x1699
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5786 (0x169a)

lri $AR1,    #0x4000
lri $IX1,    #0x169a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5787 (0x169b)

lri $AR1,    #0x4000
lri $IX1,    #0x169b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5788 (0x169c)

lri $AR1,    #0x4000
lri $IX1,    #0x169c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5789 (0x169d)

lri $AR1,    #0x4000
lri $IX1,    #0x169d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5790 (0x169e)

lri $AR1,    #0x4000
lri $IX1,    #0x169e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5791 (0x169f)

lri $AR1,    #0x4000
lri $IX1,    #0x169f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5792 (0x16a0)

lri $AR1,    #0x4000
lri $IX1,    #0x16a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5793 (0x16a1)

lri $AR1,    #0x4000
lri $IX1,    #0x16a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5794 (0x16a2)

lri $AR1,    #0x4000
lri $IX1,    #0x16a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5795 (0x16a3)

lri $AR1,    #0x4000
lri $IX1,    #0x16a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5796 (0x16a4)

lri $AR1,    #0x4000
lri $IX1,    #0x16a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5797 (0x16a5)

lri $AR1,    #0x4000
lri $IX1,    #0x16a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5798 (0x16a6)

lri $AR1,    #0x4000
lri $IX1,    #0x16a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5799 (0x16a7)

lri $AR1,    #0x4000
lri $IX1,    #0x16a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5800 (0x16a8)

lri $AR1,    #0x4000
lri $IX1,    #0x16a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5801 (0x16a9)

lri $AR1,    #0x4000
lri $IX1,    #0x16a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5802 (0x16aa)

lri $AR1,    #0x4000
lri $IX1,    #0x16aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5803 (0x16ab)

lri $AR1,    #0x4000
lri $IX1,    #0x16ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5804 (0x16ac)

lri $AR1,    #0x4000
lri $IX1,    #0x16ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5805 (0x16ad)

lri $AR1,    #0x4000
lri $IX1,    #0x16ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5806 (0x16ae)

lri $AR1,    #0x4000
lri $IX1,    #0x16ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5807 (0x16af)

lri $AR1,    #0x4000
lri $IX1,    #0x16af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5808 (0x16b0)

lri $AR1,    #0x4000
lri $IX1,    #0x16b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5809 (0x16b1)

lri $AR1,    #0x4000
lri $IX1,    #0x16b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5810 (0x16b2)

lri $AR1,    #0x4000
lri $IX1,    #0x16b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5811 (0x16b3)

lri $AR1,    #0x4000
lri $IX1,    #0x16b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5812 (0x16b4)

lri $AR1,    #0x4000
lri $IX1,    #0x16b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5813 (0x16b5)

lri $AR1,    #0x4000
lri $IX1,    #0x16b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5814 (0x16b6)

lri $AR1,    #0x4000
lri $IX1,    #0x16b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5815 (0x16b7)

lri $AR1,    #0x4000
lri $IX1,    #0x16b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5816 (0x16b8)

lri $AR1,    #0x4000
lri $IX1,    #0x16b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5817 (0x16b9)

lri $AR1,    #0x4000
lri $IX1,    #0x16b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5818 (0x16ba)

lri $AR1,    #0x4000
lri $IX1,    #0x16ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5819 (0x16bb)

lri $AR1,    #0x4000
lri $IX1,    #0x16bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5820 (0x16bc)

lri $AR1,    #0x4000
lri $IX1,    #0x16bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5821 (0x16bd)

lri $AR1,    #0x4000
lri $IX1,    #0x16bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5822 (0x16be)

lri $AR1,    #0x4000
lri $IX1,    #0x16be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5823 (0x16bf)

lri $AR1,    #0x4000
lri $IX1,    #0x16bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5824 (0x16c0)

lri $AR1,    #0x4000
lri $IX1,    #0x16c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5825 (0x16c1)

lri $AR1,    #0x4000
lri $IX1,    #0x16c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5826 (0x16c2)

lri $AR1,    #0x4000
lri $IX1,    #0x16c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5827 (0x16c3)

lri $AR1,    #0x4000
lri $IX1,    #0x16c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5828 (0x16c4)

lri $AR1,    #0x4000
lri $IX1,    #0x16c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5829 (0x16c5)

lri $AR1,    #0x4000
lri $IX1,    #0x16c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5830 (0x16c6)

lri $AR1,    #0x4000
lri $IX1,    #0x16c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5831 (0x16c7)

lri $AR1,    #0x4000
lri $IX1,    #0x16c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5832 (0x16c8)

lri $AR1,    #0x4000
lri $IX1,    #0x16c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5833 (0x16c9)

lri $AR1,    #0x4000
lri $IX1,    #0x16c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5834 (0x16ca)

lri $AR1,    #0x4000
lri $IX1,    #0x16ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5835 (0x16cb)

lri $AR1,    #0x4000
lri $IX1,    #0x16cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5836 (0x16cc)

lri $AR1,    #0x4000
lri $IX1,    #0x16cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5837 (0x16cd)

lri $AR1,    #0x4000
lri $IX1,    #0x16cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5838 (0x16ce)

lri $AR1,    #0x4000
lri $IX1,    #0x16ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5839 (0x16cf)

lri $AR1,    #0x4000
lri $IX1,    #0x16cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5840 (0x16d0)

lri $AR1,    #0x4000
lri $IX1,    #0x16d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5841 (0x16d1)

lri $AR1,    #0x4000
lri $IX1,    #0x16d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5842 (0x16d2)

lri $AR1,    #0x4000
lri $IX1,    #0x16d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5843 (0x16d3)

lri $AR1,    #0x4000
lri $IX1,    #0x16d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5844 (0x16d4)

lri $AR1,    #0x4000
lri $IX1,    #0x16d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5845 (0x16d5)

lri $AR1,    #0x4000
lri $IX1,    #0x16d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5846 (0x16d6)

lri $AR1,    #0x4000
lri $IX1,    #0x16d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5847 (0x16d7)

lri $AR1,    #0x4000
lri $IX1,    #0x16d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5848 (0x16d8)

lri $AR1,    #0x4000
lri $IX1,    #0x16d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5849 (0x16d9)

lri $AR1,    #0x4000
lri $IX1,    #0x16d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5850 (0x16da)

lri $AR1,    #0x4000
lri $IX1,    #0x16da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5851 (0x16db)

lri $AR1,    #0x4000
lri $IX1,    #0x16db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5852 (0x16dc)

lri $AR1,    #0x4000
lri $IX1,    #0x16dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5853 (0x16dd)

lri $AR1,    #0x4000
lri $IX1,    #0x16dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5854 (0x16de)

lri $AR1,    #0x4000
lri $IX1,    #0x16de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5855 (0x16df)

lri $AR1,    #0x4000
lri $IX1,    #0x16df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5856 (0x16e0)

lri $AR1,    #0x4000
lri $IX1,    #0x16e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5857 (0x16e1)

lri $AR1,    #0x4000
lri $IX1,    #0x16e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5858 (0x16e2)

lri $AR1,    #0x4000
lri $IX1,    #0x16e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5859 (0x16e3)

lri $AR1,    #0x4000
lri $IX1,    #0x16e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5860 (0x16e4)

lri $AR1,    #0x4000
lri $IX1,    #0x16e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5861 (0x16e5)

lri $AR1,    #0x4000
lri $IX1,    #0x16e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5862 (0x16e6)

lri $AR1,    #0x4000
lri $IX1,    #0x16e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5863 (0x16e7)

lri $AR1,    #0x4000
lri $IX1,    #0x16e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5864 (0x16e8)

lri $AR1,    #0x4000
lri $IX1,    #0x16e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5865 (0x16e9)

lri $AR1,    #0x4000
lri $IX1,    #0x16e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5866 (0x16ea)

lri $AR1,    #0x4000
lri $IX1,    #0x16ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5867 (0x16eb)

lri $AR1,    #0x4000
lri $IX1,    #0x16eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5868 (0x16ec)

lri $AR1,    #0x4000
lri $IX1,    #0x16ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5869 (0x16ed)

lri $AR1,    #0x4000
lri $IX1,    #0x16ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5870 (0x16ee)

lri $AR1,    #0x4000
lri $IX1,    #0x16ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5871 (0x16ef)

lri $AR1,    #0x4000
lri $IX1,    #0x16ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5872 (0x16f0)

lri $AR1,    #0x4000
lri $IX1,    #0x16f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5873 (0x16f1)

lri $AR1,    #0x4000
lri $IX1,    #0x16f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5874 (0x16f2)

lri $AR1,    #0x4000
lri $IX1,    #0x16f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5875 (0x16f3)

lri $AR1,    #0x4000
lri $IX1,    #0x16f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5876 (0x16f4)

lri $AR1,    #0x4000
lri $IX1,    #0x16f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5877 (0x16f5)

lri $AR1,    #0x4000
lri $IX1,    #0x16f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5878 (0x16f6)

lri $AR1,    #0x4000
lri $IX1,    #0x16f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5879 (0x16f7)

lri $AR1,    #0x4000
lri $IX1,    #0x16f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5880 (0x16f8)

lri $AR1,    #0x4000
lri $IX1,    #0x16f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5881 (0x16f9)

lri $AR1,    #0x4000
lri $IX1,    #0x16f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5882 (0x16fa)

lri $AR1,    #0x4000
lri $IX1,    #0x16fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5883 (0x16fb)

lri $AR1,    #0x4000
lri $IX1,    #0x16fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5884 (0x16fc)

lri $AR1,    #0x4000
lri $IX1,    #0x16fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5885 (0x16fd)

lri $AR1,    #0x4000
lri $IX1,    #0x16fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5886 (0x16fe)

lri $AR1,    #0x4000
lri $IX1,    #0x16fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5887 (0x16ff)

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

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

