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

lri $AR1,    #0x0040
lri $IX1,    #0xbeb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48825 (0xbeb9)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48826 (0xbeba)

lri $AR1,    #0x0040
lri $IX1,    #0xbeba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48827 (0xbebb)

lri $AR1,    #0x0040
lri $IX1,    #0xbebb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48828 (0xbebc)

lri $AR1,    #0x0040
lri $IX1,    #0xbebc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48829 (0xbebd)

lri $AR1,    #0x0040
lri $IX1,    #0xbebd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48830 (0xbebe)

lri $AR1,    #0x0040
lri $IX1,    #0xbebe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48831 (0xbebf)

lri $AR1,    #0x0040
lri $IX1,    #0xbebf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48832 (0xbec0)

lri $AR1,    #0x0040
lri $IX1,    #0xbec0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48833 (0xbec1)

lri $AR1,    #0x0040
lri $IX1,    #0xbec1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48834 (0xbec2)

lri $AR1,    #0x0040
lri $IX1,    #0xbec2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48835 (0xbec3)

lri $AR1,    #0x0040
lri $IX1,    #0xbec3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48836 (0xbec4)

lri $AR1,    #0x0040
lri $IX1,    #0xbec4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48837 (0xbec5)

lri $AR1,    #0x0040
lri $IX1,    #0xbec5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48838 (0xbec6)

lri $AR1,    #0x0040
lri $IX1,    #0xbec6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48839 (0xbec7)

lri $AR1,    #0x0040
lri $IX1,    #0xbec7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48840 (0xbec8)

lri $AR1,    #0x0040
lri $IX1,    #0xbec8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48841 (0xbec9)

lri $AR1,    #0x0040
lri $IX1,    #0xbec9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48842 (0xbeca)

lri $AR1,    #0x0040
lri $IX1,    #0xbeca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48843 (0xbecb)

lri $AR1,    #0x0040
lri $IX1,    #0xbecb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48844 (0xbecc)

lri $AR1,    #0x0040
lri $IX1,    #0xbecc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48845 (0xbecd)

lri $AR1,    #0x0040
lri $IX1,    #0xbecd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48846 (0xbece)

lri $AR1,    #0x0040
lri $IX1,    #0xbece
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48847 (0xbecf)

lri $AR1,    #0x0040
lri $IX1,    #0xbecf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48848 (0xbed0)

lri $AR1,    #0x0040
lri $IX1,    #0xbed0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48849 (0xbed1)

lri $AR1,    #0x0040
lri $IX1,    #0xbed1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48850 (0xbed2)

lri $AR1,    #0x0040
lri $IX1,    #0xbed2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48851 (0xbed3)

lri $AR1,    #0x0040
lri $IX1,    #0xbed3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48852 (0xbed4)

lri $AR1,    #0x0040
lri $IX1,    #0xbed4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48853 (0xbed5)

lri $AR1,    #0x0040
lri $IX1,    #0xbed5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48854 (0xbed6)

lri $AR1,    #0x0040
lri $IX1,    #0xbed6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48855 (0xbed7)

lri $AR1,    #0x0040
lri $IX1,    #0xbed7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48856 (0xbed8)

lri $AR1,    #0x0040
lri $IX1,    #0xbed8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48857 (0xbed9)

lri $AR1,    #0x0040
lri $IX1,    #0xbed9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48858 (0xbeda)

lri $AR1,    #0x0040
lri $IX1,    #0xbeda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48859 (0xbedb)

lri $AR1,    #0x0040
lri $IX1,    #0xbedb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48860 (0xbedc)

lri $AR1,    #0x0040
lri $IX1,    #0xbedc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48861 (0xbedd)

lri $AR1,    #0x0040
lri $IX1,    #0xbedd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48862 (0xbede)

lri $AR1,    #0x0040
lri $IX1,    #0xbede
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48863 (0xbedf)

lri $AR1,    #0x0040
lri $IX1,    #0xbedf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48864 (0xbee0)

lri $AR1,    #0x0040
lri $IX1,    #0xbee0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48865 (0xbee1)

lri $AR1,    #0x0040
lri $IX1,    #0xbee1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48866 (0xbee2)

lri $AR1,    #0x0040
lri $IX1,    #0xbee2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48867 (0xbee3)

lri $AR1,    #0x0040
lri $IX1,    #0xbee3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48868 (0xbee4)

lri $AR1,    #0x0040
lri $IX1,    #0xbee4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48869 (0xbee5)

lri $AR1,    #0x0040
lri $IX1,    #0xbee5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48870 (0xbee6)

lri $AR1,    #0x0040
lri $IX1,    #0xbee6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48871 (0xbee7)

lri $AR1,    #0x0040
lri $IX1,    #0xbee7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48872 (0xbee8)

lri $AR1,    #0x0040
lri $IX1,    #0xbee8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48873 (0xbee9)

lri $AR1,    #0x0040
lri $IX1,    #0xbee9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48874 (0xbeea)

lri $AR1,    #0x0040
lri $IX1,    #0xbeea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48875 (0xbeeb)

lri $AR1,    #0x0040
lri $IX1,    #0xbeeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48876 (0xbeec)

lri $AR1,    #0x0040
lri $IX1,    #0xbeec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48877 (0xbeed)

lri $AR1,    #0x0040
lri $IX1,    #0xbeed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48878 (0xbeee)

lri $AR1,    #0x0040
lri $IX1,    #0xbeee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48879 (0xbeef)

lri $AR1,    #0x0040
lri $IX1,    #0xbeef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48880 (0xbef0)

lri $AR1,    #0x0040
lri $IX1,    #0xbef0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48881 (0xbef1)

lri $AR1,    #0x0040
lri $IX1,    #0xbef1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48882 (0xbef2)

lri $AR1,    #0x0040
lri $IX1,    #0xbef2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48883 (0xbef3)

lri $AR1,    #0x0040
lri $IX1,    #0xbef3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48884 (0xbef4)

lri $AR1,    #0x0040
lri $IX1,    #0xbef4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48885 (0xbef5)

lri $AR1,    #0x0040
lri $IX1,    #0xbef5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48886 (0xbef6)

lri $AR1,    #0x0040
lri $IX1,    #0xbef6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48887 (0xbef7)

lri $AR1,    #0x0040
lri $IX1,    #0xbef7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48888 (0xbef8)

lri $AR1,    #0x0040
lri $IX1,    #0xbef8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48889 (0xbef9)

lri $AR1,    #0x0040
lri $IX1,    #0xbef9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48890 (0xbefa)

lri $AR1,    #0x0040
lri $IX1,    #0xbefa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48891 (0xbefb)

lri $AR1,    #0x0040
lri $IX1,    #0xbefb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48892 (0xbefc)

lri $AR1,    #0x0040
lri $IX1,    #0xbefc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48893 (0xbefd)

lri $AR1,    #0x0040
lri $IX1,    #0xbefd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48894 (0xbefe)

lri $AR1,    #0x0040
lri $IX1,    #0xbefe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48895 (0xbeff)

lri $AR1,    #0x0040
lri $IX1,    #0xbeff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48896 (0xbf00)

lri $AR1,    #0x0040
lri $IX1,    #0xbf00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48897 (0xbf01)

lri $AR1,    #0x0040
lri $IX1,    #0xbf01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48898 (0xbf02)

lri $AR1,    #0x0040
lri $IX1,    #0xbf02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48899 (0xbf03)

lri $AR1,    #0x0040
lri $IX1,    #0xbf03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48900 (0xbf04)

lri $AR1,    #0x0040
lri $IX1,    #0xbf04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48901 (0xbf05)

lri $AR1,    #0x0040
lri $IX1,    #0xbf05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48902 (0xbf06)

lri $AR1,    #0x0040
lri $IX1,    #0xbf06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48903 (0xbf07)

lri $AR1,    #0x0040
lri $IX1,    #0xbf07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48904 (0xbf08)

lri $AR1,    #0x0040
lri $IX1,    #0xbf08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48905 (0xbf09)

lri $AR1,    #0x0040
lri $IX1,    #0xbf09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48906 (0xbf0a)

lri $AR1,    #0x0040
lri $IX1,    #0xbf0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48907 (0xbf0b)

lri $AR1,    #0x0040
lri $IX1,    #0xbf0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48908 (0xbf0c)

lri $AR1,    #0x0040
lri $IX1,    #0xbf0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48909 (0xbf0d)

lri $AR1,    #0x0040
lri $IX1,    #0xbf0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48910 (0xbf0e)

lri $AR1,    #0x0040
lri $IX1,    #0xbf0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48911 (0xbf0f)

lri $AR1,    #0x0040
lri $IX1,    #0xbf0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48912 (0xbf10)

lri $AR1,    #0x0040
lri $IX1,    #0xbf10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48913 (0xbf11)

lri $AR1,    #0x0040
lri $IX1,    #0xbf11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48914 (0xbf12)

lri $AR1,    #0x0040
lri $IX1,    #0xbf12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48915 (0xbf13)

lri $AR1,    #0x0040
lri $IX1,    #0xbf13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48916 (0xbf14)

lri $AR1,    #0x0040
lri $IX1,    #0xbf14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48917 (0xbf15)

lri $AR1,    #0x0040
lri $IX1,    #0xbf15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48918 (0xbf16)

lri $AR1,    #0x0040
lri $IX1,    #0xbf16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48919 (0xbf17)

lri $AR1,    #0x0040
lri $IX1,    #0xbf17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48920 (0xbf18)

lri $AR1,    #0x0040
lri $IX1,    #0xbf18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48921 (0xbf19)

lri $AR1,    #0x0040
lri $IX1,    #0xbf19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48922 (0xbf1a)

lri $AR1,    #0x0040
lri $IX1,    #0xbf1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48923 (0xbf1b)

lri $AR1,    #0x0040
lri $IX1,    #0xbf1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48924 (0xbf1c)

lri $AR1,    #0x0040
lri $IX1,    #0xbf1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48925 (0xbf1d)

lri $AR1,    #0x0040
lri $IX1,    #0xbf1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48926 (0xbf1e)

lri $AR1,    #0x0040
lri $IX1,    #0xbf1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48927 (0xbf1f)

lri $AR1,    #0x0040
lri $IX1,    #0xbf1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48928 (0xbf20)

lri $AR1,    #0x0040
lri $IX1,    #0xbf20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48929 (0xbf21)

lri $AR1,    #0x0040
lri $IX1,    #0xbf21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48930 (0xbf22)

lri $AR1,    #0x0040
lri $IX1,    #0xbf22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48931 (0xbf23)

lri $AR1,    #0x0040
lri $IX1,    #0xbf23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48932 (0xbf24)

lri $AR1,    #0x0040
lri $IX1,    #0xbf24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48933 (0xbf25)

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