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

lri $AR1,    #0x4000
lri $IX1,    #0x6080
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24705 (0x6081)

lri $AR1,    #0x4000
lri $IX1,    #0x6081
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24706 (0x6082)

lri $AR1,    #0x4000
lri $IX1,    #0x6082
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24707 (0x6083)

lri $AR1,    #0x4000
lri $IX1,    #0x6083
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24708 (0x6084)

lri $AR1,    #0x4000
lri $IX1,    #0x6084
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24709 (0x6085)

lri $AR1,    #0x4000
lri $IX1,    #0x6085
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24710 (0x6086)

lri $AR1,    #0x4000
lri $IX1,    #0x6086
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24711 (0x6087)

lri $AR1,    #0x4000
lri $IX1,    #0x6087
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24712 (0x6088)

lri $AR1,    #0x4000
lri $IX1,    #0x6088
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24713 (0x6089)

lri $AR1,    #0x4000
lri $IX1,    #0x6089
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24714 (0x608a)

lri $AR1,    #0x4000
lri $IX1,    #0x608a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24715 (0x608b)

lri $AR1,    #0x4000
lri $IX1,    #0x608b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24716 (0x608c)

lri $AR1,    #0x4000
lri $IX1,    #0x608c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24717 (0x608d)

lri $AR1,    #0x4000
lri $IX1,    #0x608d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24718 (0x608e)

lri $AR1,    #0x4000
lri $IX1,    #0x608e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24719 (0x608f)

lri $AR1,    #0x4000
lri $IX1,    #0x608f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24720 (0x6090)

lri $AR1,    #0x4000
lri $IX1,    #0x6090
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24721 (0x6091)

lri $AR1,    #0x4000
lri $IX1,    #0x6091
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24722 (0x6092)

lri $AR1,    #0x4000
lri $IX1,    #0x6092
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24723 (0x6093)

lri $AR1,    #0x4000
lri $IX1,    #0x6093
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24724 (0x6094)

lri $AR1,    #0x4000
lri $IX1,    #0x6094
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24725 (0x6095)

lri $AR1,    #0x4000
lri $IX1,    #0x6095
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24726 (0x6096)

lri $AR1,    #0x4000
lri $IX1,    #0x6096
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24727 (0x6097)

lri $AR1,    #0x4000
lri $IX1,    #0x6097
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24728 (0x6098)

lri $AR1,    #0x4000
lri $IX1,    #0x6098
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24729 (0x6099)

lri $AR1,    #0x4000
lri $IX1,    #0x6099
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24730 (0x609a)

lri $AR1,    #0x4000
lri $IX1,    #0x609a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24731 (0x609b)

lri $AR1,    #0x4000
lri $IX1,    #0x609b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24732 (0x609c)

lri $AR1,    #0x4000
lri $IX1,    #0x609c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24733 (0x609d)

lri $AR1,    #0x4000
lri $IX1,    #0x609d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24734 (0x609e)

lri $AR1,    #0x4000
lri $IX1,    #0x609e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24735 (0x609f)

lri $AR1,    #0x4000
lri $IX1,    #0x609f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24736 (0x60a0)

lri $AR1,    #0x4000
lri $IX1,    #0x60a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24737 (0x60a1)

lri $AR1,    #0x4000
lri $IX1,    #0x60a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24738 (0x60a2)

lri $AR1,    #0x4000
lri $IX1,    #0x60a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24739 (0x60a3)

lri $AR1,    #0x4000
lri $IX1,    #0x60a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24740 (0x60a4)

lri $AR1,    #0x4000
lri $IX1,    #0x60a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24741 (0x60a5)

lri $AR1,    #0x4000
lri $IX1,    #0x60a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24742 (0x60a6)

lri $AR1,    #0x4000
lri $IX1,    #0x60a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24743 (0x60a7)

lri $AR1,    #0x4000
lri $IX1,    #0x60a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24744 (0x60a8)

lri $AR1,    #0x4000
lri $IX1,    #0x60a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24745 (0x60a9)

lri $AR1,    #0x4000
lri $IX1,    #0x60a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24746 (0x60aa)

lri $AR1,    #0x4000
lri $IX1,    #0x60aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24747 (0x60ab)

lri $AR1,    #0x4000
lri $IX1,    #0x60ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24748 (0x60ac)

lri $AR1,    #0x4000
lri $IX1,    #0x60ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24749 (0x60ad)

lri $AR1,    #0x4000
lri $IX1,    #0x60ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24750 (0x60ae)

lri $AR1,    #0x4000
lri $IX1,    #0x60ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24751 (0x60af)

lri $AR1,    #0x4000
lri $IX1,    #0x60af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24752 (0x60b0)

lri $AR1,    #0x4000
lri $IX1,    #0x60b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24753 (0x60b1)

lri $AR1,    #0x4000
lri $IX1,    #0x60b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24754 (0x60b2)

lri $AR1,    #0x4000
lri $IX1,    #0x60b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24755 (0x60b3)

lri $AR1,    #0x4000
lri $IX1,    #0x60b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24756 (0x60b4)

lri $AR1,    #0x4000
lri $IX1,    #0x60b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24757 (0x60b5)

lri $AR1,    #0x4000
lri $IX1,    #0x60b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24758 (0x60b6)

lri $AR1,    #0x4000
lri $IX1,    #0x60b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24759 (0x60b7)

lri $AR1,    #0x4000
lri $IX1,    #0x60b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24760 (0x60b8)

lri $AR1,    #0x4000
lri $IX1,    #0x60b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24761 (0x60b9)

lri $AR1,    #0x4000
lri $IX1,    #0x60b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24762 (0x60ba)

lri $AR1,    #0x4000
lri $IX1,    #0x60ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24763 (0x60bb)

lri $AR1,    #0x4000
lri $IX1,    #0x60bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24764 (0x60bc)

lri $AR1,    #0x4000
lri $IX1,    #0x60bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24765 (0x60bd)

lri $AR1,    #0x4000
lri $IX1,    #0x60bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24766 (0x60be)

lri $AR1,    #0x4000
lri $IX1,    #0x60be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24767 (0x60bf)

lri $AR1,    #0x4000
lri $IX1,    #0x60bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24768 (0x60c0)

lri $AR1,    #0x4000
lri $IX1,    #0x60c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24769 (0x60c1)

lri $AR1,    #0x4000
lri $IX1,    #0x60c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24770 (0x60c2)

lri $AR1,    #0x4000
lri $IX1,    #0x60c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24771 (0x60c3)

lri $AR1,    #0x4000
lri $IX1,    #0x60c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24772 (0x60c4)

lri $AR1,    #0x4000
lri $IX1,    #0x60c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24773 (0x60c5)

lri $AR1,    #0x4000
lri $IX1,    #0x60c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24774 (0x60c6)

lri $AR1,    #0x4000
lri $IX1,    #0x60c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24775 (0x60c7)

lri $AR1,    #0x4000
lri $IX1,    #0x60c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24776 (0x60c8)

lri $AR1,    #0x4000
lri $IX1,    #0x60c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24777 (0x60c9)

lri $AR1,    #0x4000
lri $IX1,    #0x60c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24778 (0x60ca)

lri $AR1,    #0x4000
lri $IX1,    #0x60ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24779 (0x60cb)

lri $AR1,    #0x4000
lri $IX1,    #0x60cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24780 (0x60cc)

lri $AR1,    #0x4000
lri $IX1,    #0x60cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24781 (0x60cd)

lri $AR1,    #0x4000
lri $IX1,    #0x60cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24782 (0x60ce)

lri $AR1,    #0x4000
lri $IX1,    #0x60ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24783 (0x60cf)

lri $AR1,    #0x4000
lri $IX1,    #0x60cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24784 (0x60d0)

lri $AR1,    #0x4000
lri $IX1,    #0x60d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24785 (0x60d1)

lri $AR1,    #0x4000
lri $IX1,    #0x60d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24786 (0x60d2)

lri $AR1,    #0x4000
lri $IX1,    #0x60d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24787 (0x60d3)

lri $AR1,    #0x4000
lri $IX1,    #0x60d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24788 (0x60d4)

lri $AR1,    #0x4000
lri $IX1,    #0x60d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24789 (0x60d5)

lri $AR1,    #0x4000
lri $IX1,    #0x60d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24790 (0x60d6)

lri $AR1,    #0x4000
lri $IX1,    #0x60d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24791 (0x60d7)

lri $AR1,    #0x4000
lri $IX1,    #0x60d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24792 (0x60d8)

lri $AR1,    #0x4000
lri $IX1,    #0x60d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24793 (0x60d9)

lri $AR1,    #0x4000
lri $IX1,    #0x60d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24794 (0x60da)

lri $AR1,    #0x4000
lri $IX1,    #0x60da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24795 (0x60db)

lri $AR1,    #0x4000
lri $IX1,    #0x60db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24796 (0x60dc)

lri $AR1,    #0x4000
lri $IX1,    #0x60dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24797 (0x60dd)

lri $AR1,    #0x4000
lri $IX1,    #0x60dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24798 (0x60de)

lri $AR1,    #0x4000
lri $IX1,    #0x60de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24799 (0x60df)

lri $AR1,    #0x4000
lri $IX1,    #0x60df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24800 (0x60e0)

lri $AR1,    #0x4000
lri $IX1,    #0x60e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24801 (0x60e1)

lri $AR1,    #0x4000
lri $IX1,    #0x60e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24802 (0x60e2)

lri $AR1,    #0x4000
lri $IX1,    #0x60e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24803 (0x60e3)

lri $AR1,    #0x4000
lri $IX1,    #0x60e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24804 (0x60e4)

lri $AR1,    #0x4000
lri $IX1,    #0x60e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24805 (0x60e5)

lri $AR1,    #0x4000
lri $IX1,    #0x60e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24806 (0x60e6)

lri $AR1,    #0x4000
lri $IX1,    #0x60e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24807 (0x60e7)

lri $AR1,    #0x4000
lri $IX1,    #0x60e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24808 (0x60e8)

lri $AR1,    #0x4000
lri $IX1,    #0x60e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24809 (0x60e9)

lri $AR1,    #0x4000
lri $IX1,    #0x60e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24810 (0x60ea)

lri $AR1,    #0x4000
lri $IX1,    #0x60ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24811 (0x60eb)

lri $AR1,    #0x4000
lri $IX1,    #0x60eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24812 (0x60ec)

lri $AR1,    #0x4000
lri $IX1,    #0x60ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24813 (0x60ed)

lri $AR1,    #0x4000
lri $IX1,    #0x60ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24814 (0x60ee)

lri $AR1,    #0x4000
lri $IX1,    #0x60ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24815 (0x60ef)

lri $AR1,    #0x4000
lri $IX1,    #0x60ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24816 (0x60f0)

lri $AR1,    #0x4000
lri $IX1,    #0x60f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24817 (0x60f1)

lri $AR1,    #0x4000
lri $IX1,    #0x60f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24818 (0x60f2)

lri $AR1,    #0x4000
lri $IX1,    #0x60f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24819 (0x60f3)

lri $AR1,    #0x4000
lri $IX1,    #0x60f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24820 (0x60f4)

lri $AR1,    #0x4000
lri $IX1,    #0x60f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24821 (0x60f5)

lri $AR1,    #0x4000
lri $IX1,    #0x60f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24822 (0x60f6)

lri $AR1,    #0x4000
lri $IX1,    #0x60f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24823 (0x60f7)

lri $AR1,    #0x4000
lri $IX1,    #0x60f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24824 (0x60f8)

lri $AR1,    #0x4000
lri $IX1,    #0x60f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24825 (0x60f9)

lri $AR1,    #0x4000
lri $IX1,    #0x60f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24826 (0x60fa)

lri $AR1,    #0x4000
lri $IX1,    #0x60fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24827 (0x60fb)

lri $AR1,    #0x4000
lri $IX1,    #0x60fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24828 (0x60fc)

lri $AR1,    #0x4000
lri $IX1,    #0x60fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24829 (0x60fd)

lri $AR1,    #0x4000
lri $IX1,    #0x60fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24830 (0x60fe)

lri $AR1,    #0x4000
lri $IX1,    #0x60fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24831 (0x60ff)

lri $AR1,    #0x4000
lri $IX1,    #0x60ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24832 (0x6100)

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

