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

lri $AR1,    #0x4000
lri $IX1,    #0x3d80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15745 (0x3d81)

lri $AR1,    #0x4000
lri $IX1,    #0x3d81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15746 (0x3d82)

lri $AR1,    #0x4000
lri $IX1,    #0x3d82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15747 (0x3d83)

lri $AR1,    #0x4000
lri $IX1,    #0x3d83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15748 (0x3d84)

lri $AR1,    #0x4000
lri $IX1,    #0x3d84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15749 (0x3d85)

lri $AR1,    #0x4000
lri $IX1,    #0x3d85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15750 (0x3d86)

lri $AR1,    #0x4000
lri $IX1,    #0x3d86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15751 (0x3d87)

lri $AR1,    #0x4000
lri $IX1,    #0x3d87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15752 (0x3d88)

lri $AR1,    #0x4000
lri $IX1,    #0x3d88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15753 (0x3d89)

lri $AR1,    #0x4000
lri $IX1,    #0x3d89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15754 (0x3d8a)

lri $AR1,    #0x4000
lri $IX1,    #0x3d8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15755 (0x3d8b)

lri $AR1,    #0x4000
lri $IX1,    #0x3d8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15756 (0x3d8c)

lri $AR1,    #0x4000
lri $IX1,    #0x3d8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15757 (0x3d8d)

lri $AR1,    #0x4000
lri $IX1,    #0x3d8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15758 (0x3d8e)

lri $AR1,    #0x4000
lri $IX1,    #0x3d8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15759 (0x3d8f)

lri $AR1,    #0x4000
lri $IX1,    #0x3d8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15760 (0x3d90)

lri $AR1,    #0x4000
lri $IX1,    #0x3d90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15761 (0x3d91)

lri $AR1,    #0x4000
lri $IX1,    #0x3d91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15762 (0x3d92)

lri $AR1,    #0x4000
lri $IX1,    #0x3d92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15763 (0x3d93)

lri $AR1,    #0x4000
lri $IX1,    #0x3d93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15764 (0x3d94)

lri $AR1,    #0x4000
lri $IX1,    #0x3d94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15765 (0x3d95)

lri $AR1,    #0x4000
lri $IX1,    #0x3d95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15766 (0x3d96)

lri $AR1,    #0x4000
lri $IX1,    #0x3d96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15767 (0x3d97)

lri $AR1,    #0x4000
lri $IX1,    #0x3d97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15768 (0x3d98)

lri $AR1,    #0x4000
lri $IX1,    #0x3d98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15769 (0x3d99)

lri $AR1,    #0x4000
lri $IX1,    #0x3d99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15770 (0x3d9a)

lri $AR1,    #0x4000
lri $IX1,    #0x3d9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15771 (0x3d9b)

lri $AR1,    #0x4000
lri $IX1,    #0x3d9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15772 (0x3d9c)

lri $AR1,    #0x4000
lri $IX1,    #0x3d9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15773 (0x3d9d)

lri $AR1,    #0x4000
lri $IX1,    #0x3d9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15774 (0x3d9e)

lri $AR1,    #0x4000
lri $IX1,    #0x3d9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15775 (0x3d9f)

lri $AR1,    #0x4000
lri $IX1,    #0x3d9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15776 (0x3da0)

lri $AR1,    #0x4000
lri $IX1,    #0x3da0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15777 (0x3da1)

lri $AR1,    #0x4000
lri $IX1,    #0x3da1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15778 (0x3da2)

lri $AR1,    #0x4000
lri $IX1,    #0x3da2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15779 (0x3da3)

lri $AR1,    #0x4000
lri $IX1,    #0x3da3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15780 (0x3da4)

lri $AR1,    #0x4000
lri $IX1,    #0x3da4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15781 (0x3da5)

lri $AR1,    #0x4000
lri $IX1,    #0x3da5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15782 (0x3da6)

lri $AR1,    #0x4000
lri $IX1,    #0x3da6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15783 (0x3da7)

lri $AR1,    #0x4000
lri $IX1,    #0x3da7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15784 (0x3da8)

lri $AR1,    #0x4000
lri $IX1,    #0x3da8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15785 (0x3da9)

lri $AR1,    #0x4000
lri $IX1,    #0x3da9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15786 (0x3daa)

lri $AR1,    #0x4000
lri $IX1,    #0x3daa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15787 (0x3dab)

lri $AR1,    #0x4000
lri $IX1,    #0x3dab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15788 (0x3dac)

lri $AR1,    #0x4000
lri $IX1,    #0x3dac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15789 (0x3dad)

lri $AR1,    #0x4000
lri $IX1,    #0x3dad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15790 (0x3dae)

lri $AR1,    #0x4000
lri $IX1,    #0x3dae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15791 (0x3daf)

lri $AR1,    #0x4000
lri $IX1,    #0x3daf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15792 (0x3db0)

lri $AR1,    #0x4000
lri $IX1,    #0x3db0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15793 (0x3db1)

lri $AR1,    #0x4000
lri $IX1,    #0x3db1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15794 (0x3db2)

lri $AR1,    #0x4000
lri $IX1,    #0x3db2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15795 (0x3db3)

lri $AR1,    #0x4000
lri $IX1,    #0x3db3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15796 (0x3db4)

lri $AR1,    #0x4000
lri $IX1,    #0x3db4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15797 (0x3db5)

lri $AR1,    #0x4000
lri $IX1,    #0x3db5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15798 (0x3db6)

lri $AR1,    #0x4000
lri $IX1,    #0x3db6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15799 (0x3db7)

lri $AR1,    #0x4000
lri $IX1,    #0x3db7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15800 (0x3db8)

lri $AR1,    #0x4000
lri $IX1,    #0x3db8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15801 (0x3db9)

lri $AR1,    #0x4000
lri $IX1,    #0x3db9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15802 (0x3dba)

lri $AR1,    #0x4000
lri $IX1,    #0x3dba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15803 (0x3dbb)

lri $AR1,    #0x4000
lri $IX1,    #0x3dbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15804 (0x3dbc)

lri $AR1,    #0x4000
lri $IX1,    #0x3dbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15805 (0x3dbd)

lri $AR1,    #0x4000
lri $IX1,    #0x3dbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15806 (0x3dbe)

lri $AR1,    #0x4000
lri $IX1,    #0x3dbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15807 (0x3dbf)

lri $AR1,    #0x4000
lri $IX1,    #0x3dbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15808 (0x3dc0)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15809 (0x3dc1)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15810 (0x3dc2)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15811 (0x3dc3)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15812 (0x3dc4)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15813 (0x3dc5)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15814 (0x3dc6)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15815 (0x3dc7)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15816 (0x3dc8)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15817 (0x3dc9)

lri $AR1,    #0x4000
lri $IX1,    #0x3dc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15818 (0x3dca)

lri $AR1,    #0x4000
lri $IX1,    #0x3dca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15819 (0x3dcb)

lri $AR1,    #0x4000
lri $IX1,    #0x3dcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15820 (0x3dcc)

lri $AR1,    #0x4000
lri $IX1,    #0x3dcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15821 (0x3dcd)

lri $AR1,    #0x4000
lri $IX1,    #0x3dcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15822 (0x3dce)

lri $AR1,    #0x4000
lri $IX1,    #0x3dce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15823 (0x3dcf)

lri $AR1,    #0x4000
lri $IX1,    #0x3dcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15824 (0x3dd0)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15825 (0x3dd1)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15826 (0x3dd2)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15827 (0x3dd3)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15828 (0x3dd4)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15829 (0x3dd5)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15830 (0x3dd6)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15831 (0x3dd7)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15832 (0x3dd8)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15833 (0x3dd9)

lri $AR1,    #0x4000
lri $IX1,    #0x3dd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15834 (0x3dda)

lri $AR1,    #0x4000
lri $IX1,    #0x3dda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15835 (0x3ddb)

lri $AR1,    #0x4000
lri $IX1,    #0x3ddb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15836 (0x3ddc)

lri $AR1,    #0x4000
lri $IX1,    #0x3ddc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15837 (0x3ddd)

lri $AR1,    #0x4000
lri $IX1,    #0x3ddd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15838 (0x3dde)

lri $AR1,    #0x4000
lri $IX1,    #0x3dde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15839 (0x3ddf)

lri $AR1,    #0x4000
lri $IX1,    #0x3ddf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15840 (0x3de0)

lri $AR1,    #0x4000
lri $IX1,    #0x3de0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15841 (0x3de1)

lri $AR1,    #0x4000
lri $IX1,    #0x3de1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15842 (0x3de2)

lri $AR1,    #0x4000
lri $IX1,    #0x3de2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15843 (0x3de3)

lri $AR1,    #0x4000
lri $IX1,    #0x3de3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15844 (0x3de4)

lri $AR1,    #0x4000
lri $IX1,    #0x3de4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15845 (0x3de5)

lri $AR1,    #0x4000
lri $IX1,    #0x3de5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15846 (0x3de6)

lri $AR1,    #0x4000
lri $IX1,    #0x3de6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15847 (0x3de7)

lri $AR1,    #0x4000
lri $IX1,    #0x3de7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15848 (0x3de8)

lri $AR1,    #0x4000
lri $IX1,    #0x3de8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15849 (0x3de9)

lri $AR1,    #0x4000
lri $IX1,    #0x3de9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15850 (0x3dea)

lri $AR1,    #0x4000
lri $IX1,    #0x3dea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15851 (0x3deb)

lri $AR1,    #0x4000
lri $IX1,    #0x3deb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15852 (0x3dec)

lri $AR1,    #0x4000
lri $IX1,    #0x3dec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15853 (0x3ded)

lri $AR1,    #0x4000
lri $IX1,    #0x3ded
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15854 (0x3dee)

lri $AR1,    #0x4000
lri $IX1,    #0x3dee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15855 (0x3def)

lri $AR1,    #0x4000
lri $IX1,    #0x3def
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15856 (0x3df0)

lri $AR1,    #0x4000
lri $IX1,    #0x3df0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15857 (0x3df1)

lri $AR1,    #0x4000
lri $IX1,    #0x3df1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15858 (0x3df2)

lri $AR1,    #0x4000
lri $IX1,    #0x3df2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15859 (0x3df3)

lri $AR1,    #0x4000
lri $IX1,    #0x3df3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15860 (0x3df4)

lri $AR1,    #0x4000
lri $IX1,    #0x3df4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15861 (0x3df5)

lri $AR1,    #0x4000
lri $IX1,    #0x3df5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15862 (0x3df6)

lri $AR1,    #0x4000
lri $IX1,    #0x3df6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15863 (0x3df7)

lri $AR1,    #0x4000
lri $IX1,    #0x3df7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15864 (0x3df8)

lri $AR1,    #0x4000
lri $IX1,    #0x3df8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15865 (0x3df9)

lri $AR1,    #0x4000
lri $IX1,    #0x3df9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15866 (0x3dfa)

lri $AR1,    #0x4000
lri $IX1,    #0x3dfa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15867 (0x3dfb)

lri $AR1,    #0x4000
lri $IX1,    #0x3dfb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15868 (0x3dfc)

lri $AR1,    #0x4000
lri $IX1,    #0x3dfc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15869 (0x3dfd)

lri $AR1,    #0x4000
lri $IX1,    #0x3dfd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15870 (0x3dfe)

lri $AR1,    #0x4000
lri $IX1,    #0x3dfe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15871 (0x3dff)

lri $AR1,    #0x4000
lri $IX1,    #0x3dff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15872 (0x3e00)

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

