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

lri $AR1,    #0x4000
lri $IX1,    #0xce80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52865 (0xce81)

lri $AR1,    #0x4000
lri $IX1,    #0xce81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52866 (0xce82)

lri $AR1,    #0x4000
lri $IX1,    #0xce82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52867 (0xce83)

lri $AR1,    #0x4000
lri $IX1,    #0xce83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52868 (0xce84)

lri $AR1,    #0x4000
lri $IX1,    #0xce84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52869 (0xce85)

lri $AR1,    #0x4000
lri $IX1,    #0xce85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52870 (0xce86)

lri $AR1,    #0x4000
lri $IX1,    #0xce86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52871 (0xce87)

lri $AR1,    #0x4000
lri $IX1,    #0xce87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52872 (0xce88)

lri $AR1,    #0x4000
lri $IX1,    #0xce88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52873 (0xce89)

lri $AR1,    #0x4000
lri $IX1,    #0xce89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52874 (0xce8a)

lri $AR1,    #0x4000
lri $IX1,    #0xce8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52875 (0xce8b)

lri $AR1,    #0x4000
lri $IX1,    #0xce8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52876 (0xce8c)

lri $AR1,    #0x4000
lri $IX1,    #0xce8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52877 (0xce8d)

lri $AR1,    #0x4000
lri $IX1,    #0xce8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52878 (0xce8e)

lri $AR1,    #0x4000
lri $IX1,    #0xce8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52879 (0xce8f)

lri $AR1,    #0x4000
lri $IX1,    #0xce8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52880 (0xce90)

lri $AR1,    #0x4000
lri $IX1,    #0xce90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52881 (0xce91)

lri $AR1,    #0x4000
lri $IX1,    #0xce91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52882 (0xce92)

lri $AR1,    #0x4000
lri $IX1,    #0xce92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52883 (0xce93)

lri $AR1,    #0x4000
lri $IX1,    #0xce93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52884 (0xce94)

lri $AR1,    #0x4000
lri $IX1,    #0xce94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52885 (0xce95)

lri $AR1,    #0x4000
lri $IX1,    #0xce95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52886 (0xce96)

lri $AR1,    #0x4000
lri $IX1,    #0xce96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52887 (0xce97)

lri $AR1,    #0x4000
lri $IX1,    #0xce97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52888 (0xce98)

lri $AR1,    #0x4000
lri $IX1,    #0xce98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52889 (0xce99)

lri $AR1,    #0x4000
lri $IX1,    #0xce99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52890 (0xce9a)

lri $AR1,    #0x4000
lri $IX1,    #0xce9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52891 (0xce9b)

lri $AR1,    #0x4000
lri $IX1,    #0xce9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52892 (0xce9c)

lri $AR1,    #0x4000
lri $IX1,    #0xce9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52893 (0xce9d)

lri $AR1,    #0x4000
lri $IX1,    #0xce9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52894 (0xce9e)

lri $AR1,    #0x4000
lri $IX1,    #0xce9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52895 (0xce9f)

lri $AR1,    #0x4000
lri $IX1,    #0xce9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52896 (0xcea0)

lri $AR1,    #0x4000
lri $IX1,    #0xcea0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52897 (0xcea1)

lri $AR1,    #0x4000
lri $IX1,    #0xcea1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52898 (0xcea2)

lri $AR1,    #0x4000
lri $IX1,    #0xcea2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52899 (0xcea3)

lri $AR1,    #0x4000
lri $IX1,    #0xcea3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52900 (0xcea4)

lri $AR1,    #0x4000
lri $IX1,    #0xcea4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52901 (0xcea5)

lri $AR1,    #0x4000
lri $IX1,    #0xcea5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52902 (0xcea6)

lri $AR1,    #0x4000
lri $IX1,    #0xcea6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52903 (0xcea7)

lri $AR1,    #0x4000
lri $IX1,    #0xcea7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52904 (0xcea8)

lri $AR1,    #0x4000
lri $IX1,    #0xcea8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52905 (0xcea9)

lri $AR1,    #0x4000
lri $IX1,    #0xcea9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52906 (0xceaa)

lri $AR1,    #0x4000
lri $IX1,    #0xceaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52907 (0xceab)

lri $AR1,    #0x4000
lri $IX1,    #0xceab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52908 (0xceac)

lri $AR1,    #0x4000
lri $IX1,    #0xceac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52909 (0xcead)

lri $AR1,    #0x4000
lri $IX1,    #0xcead
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52910 (0xceae)

lri $AR1,    #0x4000
lri $IX1,    #0xceae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52911 (0xceaf)

lri $AR1,    #0x4000
lri $IX1,    #0xceaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52912 (0xceb0)

lri $AR1,    #0x4000
lri $IX1,    #0xceb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52913 (0xceb1)

lri $AR1,    #0x4000
lri $IX1,    #0xceb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52914 (0xceb2)

lri $AR1,    #0x4000
lri $IX1,    #0xceb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52915 (0xceb3)

lri $AR1,    #0x4000
lri $IX1,    #0xceb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52916 (0xceb4)

lri $AR1,    #0x4000
lri $IX1,    #0xceb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52917 (0xceb5)

lri $AR1,    #0x4000
lri $IX1,    #0xceb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52918 (0xceb6)

lri $AR1,    #0x4000
lri $IX1,    #0xceb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52919 (0xceb7)

lri $AR1,    #0x4000
lri $IX1,    #0xceb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52920 (0xceb8)

lri $AR1,    #0x4000
lri $IX1,    #0xceb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52921 (0xceb9)

lri $AR1,    #0x4000
lri $IX1,    #0xceb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52922 (0xceba)

lri $AR1,    #0x4000
lri $IX1,    #0xceba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52923 (0xcebb)

lri $AR1,    #0x4000
lri $IX1,    #0xcebb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52924 (0xcebc)

lri $AR1,    #0x4000
lri $IX1,    #0xcebc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52925 (0xcebd)

lri $AR1,    #0x4000
lri $IX1,    #0xcebd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52926 (0xcebe)

lri $AR1,    #0x4000
lri $IX1,    #0xcebe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52927 (0xcebf)

lri $AR1,    #0x4000
lri $IX1,    #0xcebf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52928 (0xcec0)

lri $AR1,    #0x4000
lri $IX1,    #0xcec0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52929 (0xcec1)

lri $AR1,    #0x4000
lri $IX1,    #0xcec1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52930 (0xcec2)

lri $AR1,    #0x4000
lri $IX1,    #0xcec2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52931 (0xcec3)

lri $AR1,    #0x4000
lri $IX1,    #0xcec3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52932 (0xcec4)

lri $AR1,    #0x4000
lri $IX1,    #0xcec4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52933 (0xcec5)

lri $AR1,    #0x4000
lri $IX1,    #0xcec5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52934 (0xcec6)

lri $AR1,    #0x4000
lri $IX1,    #0xcec6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52935 (0xcec7)

lri $AR1,    #0x4000
lri $IX1,    #0xcec7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52936 (0xcec8)

lri $AR1,    #0x4000
lri $IX1,    #0xcec8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52937 (0xcec9)

lri $AR1,    #0x4000
lri $IX1,    #0xcec9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52938 (0xceca)

lri $AR1,    #0x4000
lri $IX1,    #0xceca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52939 (0xcecb)

lri $AR1,    #0x4000
lri $IX1,    #0xcecb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52940 (0xcecc)

lri $AR1,    #0x4000
lri $IX1,    #0xcecc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52941 (0xcecd)

lri $AR1,    #0x4000
lri $IX1,    #0xcecd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52942 (0xcece)

lri $AR1,    #0x4000
lri $IX1,    #0xcece
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52943 (0xcecf)

lri $AR1,    #0x4000
lri $IX1,    #0xcecf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52944 (0xced0)

lri $AR1,    #0x4000
lri $IX1,    #0xced0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52945 (0xced1)

lri $AR1,    #0x4000
lri $IX1,    #0xced1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52946 (0xced2)

lri $AR1,    #0x4000
lri $IX1,    #0xced2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52947 (0xced3)

lri $AR1,    #0x4000
lri $IX1,    #0xced3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52948 (0xced4)

lri $AR1,    #0x4000
lri $IX1,    #0xced4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52949 (0xced5)

lri $AR1,    #0x4000
lri $IX1,    #0xced5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52950 (0xced6)

lri $AR1,    #0x4000
lri $IX1,    #0xced6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52951 (0xced7)

lri $AR1,    #0x4000
lri $IX1,    #0xced7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52952 (0xced8)

lri $AR1,    #0x4000
lri $IX1,    #0xced8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52953 (0xced9)

lri $AR1,    #0x4000
lri $IX1,    #0xced9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52954 (0xceda)

lri $AR1,    #0x4000
lri $IX1,    #0xceda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52955 (0xcedb)

lri $AR1,    #0x4000
lri $IX1,    #0xcedb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52956 (0xcedc)

lri $AR1,    #0x4000
lri $IX1,    #0xcedc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52957 (0xcedd)

lri $AR1,    #0x4000
lri $IX1,    #0xcedd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52958 (0xcede)

lri $AR1,    #0x4000
lri $IX1,    #0xcede
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52959 (0xcedf)

lri $AR1,    #0x4000
lri $IX1,    #0xcedf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52960 (0xcee0)

lri $AR1,    #0x4000
lri $IX1,    #0xcee0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52961 (0xcee1)

lri $AR1,    #0x4000
lri $IX1,    #0xcee1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52962 (0xcee2)

lri $AR1,    #0x4000
lri $IX1,    #0xcee2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52963 (0xcee3)

lri $AR1,    #0x4000
lri $IX1,    #0xcee3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52964 (0xcee4)

lri $AR1,    #0x4000
lri $IX1,    #0xcee4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52965 (0xcee5)

lri $AR1,    #0x4000
lri $IX1,    #0xcee5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52966 (0xcee6)

lri $AR1,    #0x4000
lri $IX1,    #0xcee6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52967 (0xcee7)

lri $AR1,    #0x4000
lri $IX1,    #0xcee7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52968 (0xcee8)

lri $AR1,    #0x4000
lri $IX1,    #0xcee8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52969 (0xcee9)

lri $AR1,    #0x4000
lri $IX1,    #0xcee9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52970 (0xceea)

lri $AR1,    #0x4000
lri $IX1,    #0xceea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52971 (0xceeb)

lri $AR1,    #0x4000
lri $IX1,    #0xceeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52972 (0xceec)

lri $AR1,    #0x4000
lri $IX1,    #0xceec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52973 (0xceed)

lri $AR1,    #0x4000
lri $IX1,    #0xceed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52974 (0xceee)

lri $AR1,    #0x4000
lri $IX1,    #0xceee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52975 (0xceef)

lri $AR1,    #0x4000
lri $IX1,    #0xceef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52976 (0xcef0)

lri $AR1,    #0x4000
lri $IX1,    #0xcef0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52977 (0xcef1)

lri $AR1,    #0x4000
lri $IX1,    #0xcef1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52978 (0xcef2)

lri $AR1,    #0x4000
lri $IX1,    #0xcef2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52979 (0xcef3)

lri $AR1,    #0x4000
lri $IX1,    #0xcef3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52980 (0xcef4)

lri $AR1,    #0x4000
lri $IX1,    #0xcef4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52981 (0xcef5)

lri $AR1,    #0x4000
lri $IX1,    #0xcef5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52982 (0xcef6)

lri $AR1,    #0x4000
lri $IX1,    #0xcef6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52983 (0xcef7)

lri $AR1,    #0x4000
lri $IX1,    #0xcef7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52984 (0xcef8)

lri $AR1,    #0x4000
lri $IX1,    #0xcef8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52985 (0xcef9)

lri $AR1,    #0x4000
lri $IX1,    #0xcef9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52986 (0xcefa)

lri $AR1,    #0x4000
lri $IX1,    #0xcefa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52987 (0xcefb)

lri $AR1,    #0x4000
lri $IX1,    #0xcefb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52988 (0xcefc)

lri $AR1,    #0x4000
lri $IX1,    #0xcefc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52989 (0xcefd)

lri $AR1,    #0x4000
lri $IX1,    #0xcefd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52990 (0xcefe)

lri $AR1,    #0x4000
lri $IX1,    #0xcefe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52991 (0xceff)

lri $AR1,    #0x4000
lri $IX1,    #0xceff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 52992 (0xcf00)

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

