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

lri $AR1,    #0x4000
lri $IX1,    #0xbe80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48769 (0xbe81)

lri $AR1,    #0x4000
lri $IX1,    #0xbe81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48770 (0xbe82)

lri $AR1,    #0x4000
lri $IX1,    #0xbe82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48771 (0xbe83)

lri $AR1,    #0x4000
lri $IX1,    #0xbe83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48772 (0xbe84)

lri $AR1,    #0x4000
lri $IX1,    #0xbe84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48773 (0xbe85)

lri $AR1,    #0x4000
lri $IX1,    #0xbe85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48774 (0xbe86)

lri $AR1,    #0x4000
lri $IX1,    #0xbe86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48775 (0xbe87)

lri $AR1,    #0x4000
lri $IX1,    #0xbe87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48776 (0xbe88)

lri $AR1,    #0x4000
lri $IX1,    #0xbe88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48777 (0xbe89)

lri $AR1,    #0x4000
lri $IX1,    #0xbe89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48778 (0xbe8a)

lri $AR1,    #0x4000
lri $IX1,    #0xbe8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48779 (0xbe8b)

lri $AR1,    #0x4000
lri $IX1,    #0xbe8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48780 (0xbe8c)

lri $AR1,    #0x4000
lri $IX1,    #0xbe8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48781 (0xbe8d)

lri $AR1,    #0x4000
lri $IX1,    #0xbe8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48782 (0xbe8e)

lri $AR1,    #0x4000
lri $IX1,    #0xbe8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48783 (0xbe8f)

lri $AR1,    #0x4000
lri $IX1,    #0xbe8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48784 (0xbe90)

lri $AR1,    #0x4000
lri $IX1,    #0xbe90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48785 (0xbe91)

lri $AR1,    #0x4000
lri $IX1,    #0xbe91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48786 (0xbe92)

lri $AR1,    #0x4000
lri $IX1,    #0xbe92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48787 (0xbe93)

lri $AR1,    #0x4000
lri $IX1,    #0xbe93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48788 (0xbe94)

lri $AR1,    #0x4000
lri $IX1,    #0xbe94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48789 (0xbe95)

lri $AR1,    #0x4000
lri $IX1,    #0xbe95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48790 (0xbe96)

lri $AR1,    #0x4000
lri $IX1,    #0xbe96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48791 (0xbe97)

lri $AR1,    #0x4000
lri $IX1,    #0xbe97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48792 (0xbe98)

lri $AR1,    #0x4000
lri $IX1,    #0xbe98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48793 (0xbe99)

lri $AR1,    #0x4000
lri $IX1,    #0xbe99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48794 (0xbe9a)

lri $AR1,    #0x4000
lri $IX1,    #0xbe9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48795 (0xbe9b)

lri $AR1,    #0x4000
lri $IX1,    #0xbe9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48796 (0xbe9c)

lri $AR1,    #0x4000
lri $IX1,    #0xbe9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48797 (0xbe9d)

lri $AR1,    #0x4000
lri $IX1,    #0xbe9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48798 (0xbe9e)

lri $AR1,    #0x4000
lri $IX1,    #0xbe9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48799 (0xbe9f)

lri $AR1,    #0x4000
lri $IX1,    #0xbe9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48800 (0xbea0)

lri $AR1,    #0x4000
lri $IX1,    #0xbea0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48801 (0xbea1)

lri $AR1,    #0x4000
lri $IX1,    #0xbea1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48802 (0xbea2)

lri $AR1,    #0x4000
lri $IX1,    #0xbea2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48803 (0xbea3)

lri $AR1,    #0x4000
lri $IX1,    #0xbea3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48804 (0xbea4)

lri $AR1,    #0x4000
lri $IX1,    #0xbea4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48805 (0xbea5)

lri $AR1,    #0x4000
lri $IX1,    #0xbea5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48806 (0xbea6)

lri $AR1,    #0x4000
lri $IX1,    #0xbea6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48807 (0xbea7)

lri $AR1,    #0x4000
lri $IX1,    #0xbea7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48808 (0xbea8)

lri $AR1,    #0x4000
lri $IX1,    #0xbea8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48809 (0xbea9)

lri $AR1,    #0x4000
lri $IX1,    #0xbea9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48810 (0xbeaa)

lri $AR1,    #0x4000
lri $IX1,    #0xbeaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48811 (0xbeab)

lri $AR1,    #0x4000
lri $IX1,    #0xbeab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48812 (0xbeac)

lri $AR1,    #0x4000
lri $IX1,    #0xbeac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48813 (0xbead)

lri $AR1,    #0x4000
lri $IX1,    #0xbead
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48814 (0xbeae)

lri $AR1,    #0x4000
lri $IX1,    #0xbeae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48815 (0xbeaf)

lri $AR1,    #0x4000
lri $IX1,    #0xbeaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48816 (0xbeb0)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48817 (0xbeb1)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48818 (0xbeb2)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48819 (0xbeb3)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48820 (0xbeb4)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48821 (0xbeb5)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48822 (0xbeb6)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48823 (0xbeb7)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48824 (0xbeb8)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48825 (0xbeb9)

lri $AR1,    #0x4000
lri $IX1,    #0xbeb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48826 (0xbeba)

lri $AR1,    #0x4000
lri $IX1,    #0xbeba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48827 (0xbebb)

lri $AR1,    #0x4000
lri $IX1,    #0xbebb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48828 (0xbebc)

lri $AR1,    #0x4000
lri $IX1,    #0xbebc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48829 (0xbebd)

lri $AR1,    #0x4000
lri $IX1,    #0xbebd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48830 (0xbebe)

lri $AR1,    #0x4000
lri $IX1,    #0xbebe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48831 (0xbebf)

lri $AR1,    #0x4000
lri $IX1,    #0xbebf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48832 (0xbec0)

lri $AR1,    #0x4000
lri $IX1,    #0xbec0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48833 (0xbec1)

lri $AR1,    #0x4000
lri $IX1,    #0xbec1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48834 (0xbec2)

lri $AR1,    #0x4000
lri $IX1,    #0xbec2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48835 (0xbec3)

lri $AR1,    #0x4000
lri $IX1,    #0xbec3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48836 (0xbec4)

lri $AR1,    #0x4000
lri $IX1,    #0xbec4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48837 (0xbec5)

lri $AR1,    #0x4000
lri $IX1,    #0xbec5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48838 (0xbec6)

lri $AR1,    #0x4000
lri $IX1,    #0xbec6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48839 (0xbec7)

lri $AR1,    #0x4000
lri $IX1,    #0xbec7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48840 (0xbec8)

lri $AR1,    #0x4000
lri $IX1,    #0xbec8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48841 (0xbec9)

lri $AR1,    #0x4000
lri $IX1,    #0xbec9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48842 (0xbeca)

lri $AR1,    #0x4000
lri $IX1,    #0xbeca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48843 (0xbecb)

lri $AR1,    #0x4000
lri $IX1,    #0xbecb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48844 (0xbecc)

lri $AR1,    #0x4000
lri $IX1,    #0xbecc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48845 (0xbecd)

lri $AR1,    #0x4000
lri $IX1,    #0xbecd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48846 (0xbece)

lri $AR1,    #0x4000
lri $IX1,    #0xbece
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48847 (0xbecf)

lri $AR1,    #0x4000
lri $IX1,    #0xbecf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48848 (0xbed0)

lri $AR1,    #0x4000
lri $IX1,    #0xbed0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48849 (0xbed1)

lri $AR1,    #0x4000
lri $IX1,    #0xbed1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48850 (0xbed2)

lri $AR1,    #0x4000
lri $IX1,    #0xbed2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48851 (0xbed3)

lri $AR1,    #0x4000
lri $IX1,    #0xbed3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48852 (0xbed4)

lri $AR1,    #0x4000
lri $IX1,    #0xbed4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48853 (0xbed5)

lri $AR1,    #0x4000
lri $IX1,    #0xbed5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48854 (0xbed6)

lri $AR1,    #0x4000
lri $IX1,    #0xbed6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48855 (0xbed7)

lri $AR1,    #0x4000
lri $IX1,    #0xbed7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48856 (0xbed8)

lri $AR1,    #0x4000
lri $IX1,    #0xbed8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48857 (0xbed9)

lri $AR1,    #0x4000
lri $IX1,    #0xbed9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48858 (0xbeda)

lri $AR1,    #0x4000
lri $IX1,    #0xbeda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48859 (0xbedb)

lri $AR1,    #0x4000
lri $IX1,    #0xbedb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48860 (0xbedc)

lri $AR1,    #0x4000
lri $IX1,    #0xbedc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48861 (0xbedd)

lri $AR1,    #0x4000
lri $IX1,    #0xbedd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48862 (0xbede)

lri $AR1,    #0x4000
lri $IX1,    #0xbede
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48863 (0xbedf)

lri $AR1,    #0x4000
lri $IX1,    #0xbedf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48864 (0xbee0)

lri $AR1,    #0x4000
lri $IX1,    #0xbee0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48865 (0xbee1)

lri $AR1,    #0x4000
lri $IX1,    #0xbee1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48866 (0xbee2)

lri $AR1,    #0x4000
lri $IX1,    #0xbee2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48867 (0xbee3)

lri $AR1,    #0x4000
lri $IX1,    #0xbee3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48868 (0xbee4)

lri $AR1,    #0x4000
lri $IX1,    #0xbee4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48869 (0xbee5)

lri $AR1,    #0x4000
lri $IX1,    #0xbee5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48870 (0xbee6)

lri $AR1,    #0x4000
lri $IX1,    #0xbee6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48871 (0xbee7)

lri $AR1,    #0x4000
lri $IX1,    #0xbee7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48872 (0xbee8)

lri $AR1,    #0x4000
lri $IX1,    #0xbee8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48873 (0xbee9)

lri $AR1,    #0x4000
lri $IX1,    #0xbee9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48874 (0xbeea)

lri $AR1,    #0x4000
lri $IX1,    #0xbeea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48875 (0xbeeb)

lri $AR1,    #0x4000
lri $IX1,    #0xbeeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48876 (0xbeec)

lri $AR1,    #0x4000
lri $IX1,    #0xbeec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48877 (0xbeed)

lri $AR1,    #0x4000
lri $IX1,    #0xbeed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48878 (0xbeee)

lri $AR1,    #0x4000
lri $IX1,    #0xbeee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48879 (0xbeef)

lri $AR1,    #0x4000
lri $IX1,    #0xbeef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48880 (0xbef0)

lri $AR1,    #0x4000
lri $IX1,    #0xbef0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48881 (0xbef1)

lri $AR1,    #0x4000
lri $IX1,    #0xbef1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48882 (0xbef2)

lri $AR1,    #0x4000
lri $IX1,    #0xbef2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48883 (0xbef3)

lri $AR1,    #0x4000
lri $IX1,    #0xbef3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48884 (0xbef4)

lri $AR1,    #0x4000
lri $IX1,    #0xbef4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48885 (0xbef5)

lri $AR1,    #0x4000
lri $IX1,    #0xbef5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48886 (0xbef6)

lri $AR1,    #0x4000
lri $IX1,    #0xbef6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48887 (0xbef7)

lri $AR1,    #0x4000
lri $IX1,    #0xbef7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48888 (0xbef8)

lri $AR1,    #0x4000
lri $IX1,    #0xbef8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48889 (0xbef9)

lri $AR1,    #0x4000
lri $IX1,    #0xbef9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48890 (0xbefa)

lri $AR1,    #0x4000
lri $IX1,    #0xbefa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48891 (0xbefb)

lri $AR1,    #0x4000
lri $IX1,    #0xbefb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48892 (0xbefc)

lri $AR1,    #0x4000
lri $IX1,    #0xbefc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48893 (0xbefd)

lri $AR1,    #0x4000
lri $IX1,    #0xbefd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48894 (0xbefe)

lri $AR1,    #0x4000
lri $IX1,    #0xbefe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48895 (0xbeff)

lri $AR1,    #0x4000
lri $IX1,    #0xbeff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48896 (0xbf00)

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

