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

lri $AR1,    #0x4000
lri $IX1,    #0x8080
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32897 (0x8081)

lri $AR1,    #0x4000
lri $IX1,    #0x8081
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32898 (0x8082)

lri $AR1,    #0x4000
lri $IX1,    #0x8082
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32899 (0x8083)

lri $AR1,    #0x4000
lri $IX1,    #0x8083
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32900 (0x8084)

lri $AR1,    #0x4000
lri $IX1,    #0x8084
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32901 (0x8085)

lri $AR1,    #0x4000
lri $IX1,    #0x8085
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32902 (0x8086)

lri $AR1,    #0x4000
lri $IX1,    #0x8086
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32903 (0x8087)

lri $AR1,    #0x4000
lri $IX1,    #0x8087
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32904 (0x8088)

lri $AR1,    #0x4000
lri $IX1,    #0x8088
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32905 (0x8089)

lri $AR1,    #0x4000
lri $IX1,    #0x8089
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32906 (0x808a)

lri $AR1,    #0x4000
lri $IX1,    #0x808a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32907 (0x808b)

lri $AR1,    #0x4000
lri $IX1,    #0x808b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32908 (0x808c)

lri $AR1,    #0x4000
lri $IX1,    #0x808c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32909 (0x808d)

lri $AR1,    #0x4000
lri $IX1,    #0x808d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32910 (0x808e)

lri $AR1,    #0x4000
lri $IX1,    #0x808e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32911 (0x808f)

lri $AR1,    #0x4000
lri $IX1,    #0x808f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32912 (0x8090)

lri $AR1,    #0x4000
lri $IX1,    #0x8090
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32913 (0x8091)

lri $AR1,    #0x4000
lri $IX1,    #0x8091
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32914 (0x8092)

lri $AR1,    #0x4000
lri $IX1,    #0x8092
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32915 (0x8093)

lri $AR1,    #0x4000
lri $IX1,    #0x8093
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32916 (0x8094)

lri $AR1,    #0x4000
lri $IX1,    #0x8094
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32917 (0x8095)

lri $AR1,    #0x4000
lri $IX1,    #0x8095
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32918 (0x8096)

lri $AR1,    #0x4000
lri $IX1,    #0x8096
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32919 (0x8097)

lri $AR1,    #0x4000
lri $IX1,    #0x8097
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32920 (0x8098)

lri $AR1,    #0x4000
lri $IX1,    #0x8098
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32921 (0x8099)

lri $AR1,    #0x4000
lri $IX1,    #0x8099
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32922 (0x809a)

lri $AR1,    #0x4000
lri $IX1,    #0x809a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32923 (0x809b)

lri $AR1,    #0x4000
lri $IX1,    #0x809b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32924 (0x809c)

lri $AR1,    #0x4000
lri $IX1,    #0x809c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32925 (0x809d)

lri $AR1,    #0x4000
lri $IX1,    #0x809d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32926 (0x809e)

lri $AR1,    #0x4000
lri $IX1,    #0x809e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32927 (0x809f)

lri $AR1,    #0x4000
lri $IX1,    #0x809f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32928 (0x80a0)

lri $AR1,    #0x4000
lri $IX1,    #0x80a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32929 (0x80a1)

lri $AR1,    #0x4000
lri $IX1,    #0x80a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32930 (0x80a2)

lri $AR1,    #0x4000
lri $IX1,    #0x80a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32931 (0x80a3)

lri $AR1,    #0x4000
lri $IX1,    #0x80a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32932 (0x80a4)

lri $AR1,    #0x4000
lri $IX1,    #0x80a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32933 (0x80a5)

lri $AR1,    #0x4000
lri $IX1,    #0x80a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32934 (0x80a6)

lri $AR1,    #0x4000
lri $IX1,    #0x80a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32935 (0x80a7)

lri $AR1,    #0x4000
lri $IX1,    #0x80a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32936 (0x80a8)

lri $AR1,    #0x4000
lri $IX1,    #0x80a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32937 (0x80a9)

lri $AR1,    #0x4000
lri $IX1,    #0x80a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32938 (0x80aa)

lri $AR1,    #0x4000
lri $IX1,    #0x80aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32939 (0x80ab)

lri $AR1,    #0x4000
lri $IX1,    #0x80ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32940 (0x80ac)

lri $AR1,    #0x4000
lri $IX1,    #0x80ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32941 (0x80ad)

lri $AR1,    #0x4000
lri $IX1,    #0x80ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32942 (0x80ae)

lri $AR1,    #0x4000
lri $IX1,    #0x80ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32943 (0x80af)

lri $AR1,    #0x4000
lri $IX1,    #0x80af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32944 (0x80b0)

lri $AR1,    #0x4000
lri $IX1,    #0x80b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32945 (0x80b1)

lri $AR1,    #0x4000
lri $IX1,    #0x80b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32946 (0x80b2)

lri $AR1,    #0x4000
lri $IX1,    #0x80b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32947 (0x80b3)

lri $AR1,    #0x4000
lri $IX1,    #0x80b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32948 (0x80b4)

lri $AR1,    #0x4000
lri $IX1,    #0x80b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32949 (0x80b5)

lri $AR1,    #0x4000
lri $IX1,    #0x80b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32950 (0x80b6)

lri $AR1,    #0x4000
lri $IX1,    #0x80b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32951 (0x80b7)

lri $AR1,    #0x4000
lri $IX1,    #0x80b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32952 (0x80b8)

lri $AR1,    #0x4000
lri $IX1,    #0x80b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32953 (0x80b9)

lri $AR1,    #0x4000
lri $IX1,    #0x80b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32954 (0x80ba)

lri $AR1,    #0x4000
lri $IX1,    #0x80ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32955 (0x80bb)

lri $AR1,    #0x4000
lri $IX1,    #0x80bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32956 (0x80bc)

lri $AR1,    #0x4000
lri $IX1,    #0x80bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32957 (0x80bd)

lri $AR1,    #0x4000
lri $IX1,    #0x80bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32958 (0x80be)

lri $AR1,    #0x4000
lri $IX1,    #0x80be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32959 (0x80bf)

lri $AR1,    #0x4000
lri $IX1,    #0x80bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32960 (0x80c0)

lri $AR1,    #0x4000
lri $IX1,    #0x80c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32961 (0x80c1)

lri $AR1,    #0x4000
lri $IX1,    #0x80c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32962 (0x80c2)

lri $AR1,    #0x4000
lri $IX1,    #0x80c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32963 (0x80c3)

lri $AR1,    #0x4000
lri $IX1,    #0x80c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32964 (0x80c4)

lri $AR1,    #0x4000
lri $IX1,    #0x80c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32965 (0x80c5)

lri $AR1,    #0x4000
lri $IX1,    #0x80c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32966 (0x80c6)

lri $AR1,    #0x4000
lri $IX1,    #0x80c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32967 (0x80c7)

lri $AR1,    #0x4000
lri $IX1,    #0x80c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32968 (0x80c8)

lri $AR1,    #0x4000
lri $IX1,    #0x80c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32969 (0x80c9)

lri $AR1,    #0x4000
lri $IX1,    #0x80c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32970 (0x80ca)

lri $AR1,    #0x4000
lri $IX1,    #0x80ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32971 (0x80cb)

lri $AR1,    #0x4000
lri $IX1,    #0x80cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32972 (0x80cc)

lri $AR1,    #0x4000
lri $IX1,    #0x80cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32973 (0x80cd)

lri $AR1,    #0x4000
lri $IX1,    #0x80cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32974 (0x80ce)

lri $AR1,    #0x4000
lri $IX1,    #0x80ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32975 (0x80cf)

lri $AR1,    #0x4000
lri $IX1,    #0x80cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32976 (0x80d0)

lri $AR1,    #0x4000
lri $IX1,    #0x80d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32977 (0x80d1)

lri $AR1,    #0x4000
lri $IX1,    #0x80d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32978 (0x80d2)

lri $AR1,    #0x4000
lri $IX1,    #0x80d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32979 (0x80d3)

lri $AR1,    #0x4000
lri $IX1,    #0x80d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32980 (0x80d4)

lri $AR1,    #0x4000
lri $IX1,    #0x80d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32981 (0x80d5)

lri $AR1,    #0x4000
lri $IX1,    #0x80d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32982 (0x80d6)

lri $AR1,    #0x4000
lri $IX1,    #0x80d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32983 (0x80d7)

lri $AR1,    #0x4000
lri $IX1,    #0x80d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32984 (0x80d8)

lri $AR1,    #0x4000
lri $IX1,    #0x80d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32985 (0x80d9)

lri $AR1,    #0x4000
lri $IX1,    #0x80d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32986 (0x80da)

lri $AR1,    #0x4000
lri $IX1,    #0x80da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32987 (0x80db)

lri $AR1,    #0x4000
lri $IX1,    #0x80db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32988 (0x80dc)

lri $AR1,    #0x4000
lri $IX1,    #0x80dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32989 (0x80dd)

lri $AR1,    #0x4000
lri $IX1,    #0x80dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32990 (0x80de)

lri $AR1,    #0x4000
lri $IX1,    #0x80de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32991 (0x80df)

lri $AR1,    #0x4000
lri $IX1,    #0x80df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32992 (0x80e0)

lri $AR1,    #0x4000
lri $IX1,    #0x80e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32993 (0x80e1)

lri $AR1,    #0x4000
lri $IX1,    #0x80e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32994 (0x80e2)

lri $AR1,    #0x4000
lri $IX1,    #0x80e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32995 (0x80e3)

lri $AR1,    #0x4000
lri $IX1,    #0x80e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32996 (0x80e4)

lri $AR1,    #0x4000
lri $IX1,    #0x80e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32997 (0x80e5)

lri $AR1,    #0x4000
lri $IX1,    #0x80e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32998 (0x80e6)

lri $AR1,    #0x4000
lri $IX1,    #0x80e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32999 (0x80e7)

lri $AR1,    #0x4000
lri $IX1,    #0x80e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33000 (0x80e8)

lri $AR1,    #0x4000
lri $IX1,    #0x80e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33001 (0x80e9)

lri $AR1,    #0x4000
lri $IX1,    #0x80e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33002 (0x80ea)

lri $AR1,    #0x4000
lri $IX1,    #0x80ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33003 (0x80eb)

lri $AR1,    #0x4000
lri $IX1,    #0x80eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33004 (0x80ec)

lri $AR1,    #0x4000
lri $IX1,    #0x80ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33005 (0x80ed)

lri $AR1,    #0x4000
lri $IX1,    #0x80ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33006 (0x80ee)

lri $AR1,    #0x4000
lri $IX1,    #0x80ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33007 (0x80ef)

lri $AR1,    #0x4000
lri $IX1,    #0x80ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33008 (0x80f0)

lri $AR1,    #0x4000
lri $IX1,    #0x80f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33009 (0x80f1)

lri $AR1,    #0x4000
lri $IX1,    #0x80f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33010 (0x80f2)

lri $AR1,    #0x4000
lri $IX1,    #0x80f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33011 (0x80f3)

lri $AR1,    #0x4000
lri $IX1,    #0x80f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33012 (0x80f4)

lri $AR1,    #0x4000
lri $IX1,    #0x80f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33013 (0x80f5)

lri $AR1,    #0x4000
lri $IX1,    #0x80f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33014 (0x80f6)

lri $AR1,    #0x4000
lri $IX1,    #0x80f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33015 (0x80f7)

lri $AR1,    #0x4000
lri $IX1,    #0x80f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33016 (0x80f8)

lri $AR1,    #0x4000
lri $IX1,    #0x80f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33017 (0x80f9)

lri $AR1,    #0x4000
lri $IX1,    #0x80f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33018 (0x80fa)

lri $AR1,    #0x4000
lri $IX1,    #0x80fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33019 (0x80fb)

lri $AR1,    #0x4000
lri $IX1,    #0x80fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33020 (0x80fc)

lri $AR1,    #0x4000
lri $IX1,    #0x80fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33021 (0x80fd)

lri $AR1,    #0x4000
lri $IX1,    #0x80fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33022 (0x80fe)

lri $AR1,    #0x4000
lri $IX1,    #0x80fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33023 (0x80ff)

lri $AR1,    #0x4000
lri $IX1,    #0x80ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33024 (0x8100)

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

