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

lri $AR1,    #0xe180
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57729 (0xe181)

lri $AR1,    #0xe181
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57730 (0xe182)

lri $AR1,    #0xe182
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57731 (0xe183)

lri $AR1,    #0xe183
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57732 (0xe184)

lri $AR1,    #0xe184
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57733 (0xe185)

lri $AR1,    #0xe185
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57734 (0xe186)

lri $AR1,    #0xe186
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57735 (0xe187)

lri $AR1,    #0xe187
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57736 (0xe188)

lri $AR1,    #0xe188
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57737 (0xe189)

lri $AR1,    #0xe189
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57738 (0xe18a)

lri $AR1,    #0xe18a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57739 (0xe18b)

lri $AR1,    #0xe18b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57740 (0xe18c)

lri $AR1,    #0xe18c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57741 (0xe18d)

lri $AR1,    #0xe18d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57742 (0xe18e)

lri $AR1,    #0xe18e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57743 (0xe18f)

lri $AR1,    #0xe18f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57744 (0xe190)

lri $AR1,    #0xe190
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57745 (0xe191)

lri $AR1,    #0xe191
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57746 (0xe192)

lri $AR1,    #0xe192
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57747 (0xe193)

lri $AR1,    #0xe193
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57748 (0xe194)

lri $AR1,    #0xe194
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57749 (0xe195)

lri $AR1,    #0xe195
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57750 (0xe196)

lri $AR1,    #0xe196
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57751 (0xe197)

lri $AR1,    #0xe197
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57752 (0xe198)

lri $AR1,    #0xe198
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57753 (0xe199)

lri $AR1,    #0xe199
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57754 (0xe19a)

lri $AR1,    #0xe19a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57755 (0xe19b)

lri $AR1,    #0xe19b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57756 (0xe19c)

lri $AR1,    #0xe19c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57757 (0xe19d)

lri $AR1,    #0xe19d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57758 (0xe19e)

lri $AR1,    #0xe19e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57759 (0xe19f)

lri $AR1,    #0xe19f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57760 (0xe1a0)

lri $AR1,    #0xe1a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57761 (0xe1a1)

lri $AR1,    #0xe1a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57762 (0xe1a2)

lri $AR1,    #0xe1a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57763 (0xe1a3)

lri $AR1,    #0xe1a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57764 (0xe1a4)

lri $AR1,    #0xe1a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57765 (0xe1a5)

lri $AR1,    #0xe1a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57766 (0xe1a6)

lri $AR1,    #0xe1a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57767 (0xe1a7)

lri $AR1,    #0xe1a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57768 (0xe1a8)

lri $AR1,    #0xe1a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57769 (0xe1a9)

lri $AR1,    #0xe1a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57770 (0xe1aa)

lri $AR1,    #0xe1aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57771 (0xe1ab)

lri $AR1,    #0xe1ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57772 (0xe1ac)

lri $AR1,    #0xe1ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57773 (0xe1ad)

lri $AR1,    #0xe1ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57774 (0xe1ae)

lri $AR1,    #0xe1ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57775 (0xe1af)

lri $AR1,    #0xe1af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57776 (0xe1b0)

lri $AR1,    #0xe1b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57777 (0xe1b1)

lri $AR1,    #0xe1b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57778 (0xe1b2)

lri $AR1,    #0xe1b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57779 (0xe1b3)

lri $AR1,    #0xe1b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57780 (0xe1b4)

lri $AR1,    #0xe1b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57781 (0xe1b5)

lri $AR1,    #0xe1b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57782 (0xe1b6)

lri $AR1,    #0xe1b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57783 (0xe1b7)

lri $AR1,    #0xe1b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57784 (0xe1b8)

lri $AR1,    #0xe1b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57785 (0xe1b9)

lri $AR1,    #0xe1b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57786 (0xe1ba)

lri $AR1,    #0xe1ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57787 (0xe1bb)

lri $AR1,    #0xe1bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57788 (0xe1bc)

lri $AR1,    #0xe1bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57789 (0xe1bd)

lri $AR1,    #0xe1bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57790 (0xe1be)

lri $AR1,    #0xe1be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57791 (0xe1bf)

lri $AR1,    #0xe1bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57792 (0xe1c0)

lri $AR1,    #0xe1c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57793 (0xe1c1)

lri $AR1,    #0xe1c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57794 (0xe1c2)

lri $AR1,    #0xe1c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57795 (0xe1c3)

lri $AR1,    #0xe1c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57796 (0xe1c4)

lri $AR1,    #0xe1c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57797 (0xe1c5)

lri $AR1,    #0xe1c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57798 (0xe1c6)

lri $AR1,    #0xe1c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57799 (0xe1c7)

lri $AR1,    #0xe1c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57800 (0xe1c8)

lri $AR1,    #0xe1c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57801 (0xe1c9)

lri $AR1,    #0xe1c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57802 (0xe1ca)

lri $AR1,    #0xe1ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57803 (0xe1cb)

lri $AR1,    #0xe1cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57804 (0xe1cc)

lri $AR1,    #0xe1cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57805 (0xe1cd)

lri $AR1,    #0xe1cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57806 (0xe1ce)

lri $AR1,    #0xe1ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57807 (0xe1cf)

lri $AR1,    #0xe1cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57808 (0xe1d0)

lri $AR1,    #0xe1d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57809 (0xe1d1)

lri $AR1,    #0xe1d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57810 (0xe1d2)

lri $AR1,    #0xe1d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57811 (0xe1d3)

lri $AR1,    #0xe1d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57812 (0xe1d4)

lri $AR1,    #0xe1d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57813 (0xe1d5)

lri $AR1,    #0xe1d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57814 (0xe1d6)

lri $AR1,    #0xe1d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57815 (0xe1d7)

lri $AR1,    #0xe1d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57816 (0xe1d8)

lri $AR1,    #0xe1d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57817 (0xe1d9)

lri $AR1,    #0xe1d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57818 (0xe1da)

lri $AR1,    #0xe1da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57819 (0xe1db)

lri $AR1,    #0xe1db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57820 (0xe1dc)

lri $AR1,    #0xe1dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57821 (0xe1dd)

lri $AR1,    #0xe1dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57822 (0xe1de)

lri $AR1,    #0xe1de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57823 (0xe1df)

lri $AR1,    #0xe1df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57824 (0xe1e0)

lri $AR1,    #0xe1e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57825 (0xe1e1)

lri $AR1,    #0xe1e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57826 (0xe1e2)

lri $AR1,    #0xe1e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57827 (0xe1e3)

lri $AR1,    #0xe1e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57828 (0xe1e4)

lri $AR1,    #0xe1e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57829 (0xe1e5)

lri $AR1,    #0xe1e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57830 (0xe1e6)

lri $AR1,    #0xe1e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57831 (0xe1e7)

lri $AR1,    #0xe1e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57832 (0xe1e8)

lri $AR1,    #0xe1e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57833 (0xe1e9)

lri $AR1,    #0xe1e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57834 (0xe1ea)

lri $AR1,    #0xe1ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57835 (0xe1eb)

lri $AR1,    #0xe1eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57836 (0xe1ec)

lri $AR1,    #0xe1ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57837 (0xe1ed)

lri $AR1,    #0xe1ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57838 (0xe1ee)

lri $AR1,    #0xe1ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57839 (0xe1ef)

lri $AR1,    #0xe1ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57840 (0xe1f0)

lri $AR1,    #0xe1f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57841 (0xe1f1)

lri $AR1,    #0xe1f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57842 (0xe1f2)

lri $AR1,    #0xe1f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57843 (0xe1f3)

lri $AR1,    #0xe1f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57844 (0xe1f4)

lri $AR1,    #0xe1f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57845 (0xe1f5)

lri $AR1,    #0xe1f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57846 (0xe1f6)

lri $AR1,    #0xe1f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57847 (0xe1f7)

lri $AR1,    #0xe1f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57848 (0xe1f8)

lri $AR1,    #0xe1f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57849 (0xe1f9)

lri $AR1,    #0xe1f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57850 (0xe1fa)

lri $AR1,    #0xe1fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57851 (0xe1fb)

lri $AR1,    #0xe1fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57852 (0xe1fc)

lri $AR1,    #0xe1fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57853 (0xe1fd)

lri $AR1,    #0xe1fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57854 (0xe1fe)

lri $AR1,    #0xe1fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57855 (0xe1ff)

lri $AR1,    #0xe1ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57856 (0xe200)

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

