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

lri $AR1,    #0x4000
lri $IX1,    #0xfd80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64897 (0xfd81)

lri $AR1,    #0x4000
lri $IX1,    #0xfd81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64898 (0xfd82)

lri $AR1,    #0x4000
lri $IX1,    #0xfd82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64899 (0xfd83)

lri $AR1,    #0x4000
lri $IX1,    #0xfd83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64900 (0xfd84)

lri $AR1,    #0x4000
lri $IX1,    #0xfd84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64901 (0xfd85)

lri $AR1,    #0x4000
lri $IX1,    #0xfd85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64902 (0xfd86)

lri $AR1,    #0x4000
lri $IX1,    #0xfd86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64903 (0xfd87)

lri $AR1,    #0x4000
lri $IX1,    #0xfd87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64904 (0xfd88)

lri $AR1,    #0x4000
lri $IX1,    #0xfd88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64905 (0xfd89)

lri $AR1,    #0x4000
lri $IX1,    #0xfd89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64906 (0xfd8a)

lri $AR1,    #0x4000
lri $IX1,    #0xfd8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64907 (0xfd8b)

lri $AR1,    #0x4000
lri $IX1,    #0xfd8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64908 (0xfd8c)

lri $AR1,    #0x4000
lri $IX1,    #0xfd8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64909 (0xfd8d)

lri $AR1,    #0x4000
lri $IX1,    #0xfd8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64910 (0xfd8e)

lri $AR1,    #0x4000
lri $IX1,    #0xfd8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64911 (0xfd8f)

lri $AR1,    #0x4000
lri $IX1,    #0xfd8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64912 (0xfd90)

lri $AR1,    #0x4000
lri $IX1,    #0xfd90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64913 (0xfd91)

lri $AR1,    #0x4000
lri $IX1,    #0xfd91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64914 (0xfd92)

lri $AR1,    #0x4000
lri $IX1,    #0xfd92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64915 (0xfd93)

lri $AR1,    #0x4000
lri $IX1,    #0xfd93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64916 (0xfd94)

lri $AR1,    #0x4000
lri $IX1,    #0xfd94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64917 (0xfd95)

lri $AR1,    #0x4000
lri $IX1,    #0xfd95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64918 (0xfd96)

lri $AR1,    #0x4000
lri $IX1,    #0xfd96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64919 (0xfd97)

lri $AR1,    #0x4000
lri $IX1,    #0xfd97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64920 (0xfd98)

lri $AR1,    #0x4000
lri $IX1,    #0xfd98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64921 (0xfd99)

lri $AR1,    #0x4000
lri $IX1,    #0xfd99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64922 (0xfd9a)

lri $AR1,    #0x4000
lri $IX1,    #0xfd9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64923 (0xfd9b)

lri $AR1,    #0x4000
lri $IX1,    #0xfd9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64924 (0xfd9c)

lri $AR1,    #0x4000
lri $IX1,    #0xfd9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64925 (0xfd9d)

lri $AR1,    #0x4000
lri $IX1,    #0xfd9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64926 (0xfd9e)

lri $AR1,    #0x4000
lri $IX1,    #0xfd9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64927 (0xfd9f)

lri $AR1,    #0x4000
lri $IX1,    #0xfd9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64928 (0xfda0)

lri $AR1,    #0x4000
lri $IX1,    #0xfda0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64929 (0xfda1)

lri $AR1,    #0x4000
lri $IX1,    #0xfda1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64930 (0xfda2)

lri $AR1,    #0x4000
lri $IX1,    #0xfda2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64931 (0xfda3)

lri $AR1,    #0x4000
lri $IX1,    #0xfda3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64932 (0xfda4)

lri $AR1,    #0x4000
lri $IX1,    #0xfda4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64933 (0xfda5)

lri $AR1,    #0x4000
lri $IX1,    #0xfda5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64934 (0xfda6)

lri $AR1,    #0x4000
lri $IX1,    #0xfda6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64935 (0xfda7)

lri $AR1,    #0x4000
lri $IX1,    #0xfda7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64936 (0xfda8)

lri $AR1,    #0x4000
lri $IX1,    #0xfda8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64937 (0xfda9)

lri $AR1,    #0x4000
lri $IX1,    #0xfda9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64938 (0xfdaa)

lri $AR1,    #0x4000
lri $IX1,    #0xfdaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64939 (0xfdab)

lri $AR1,    #0x4000
lri $IX1,    #0xfdab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64940 (0xfdac)

lri $AR1,    #0x4000
lri $IX1,    #0xfdac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64941 (0xfdad)

lri $AR1,    #0x4000
lri $IX1,    #0xfdad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64942 (0xfdae)

lri $AR1,    #0x4000
lri $IX1,    #0xfdae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64943 (0xfdaf)

lri $AR1,    #0x4000
lri $IX1,    #0xfdaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64944 (0xfdb0)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64945 (0xfdb1)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64946 (0xfdb2)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64947 (0xfdb3)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64948 (0xfdb4)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64949 (0xfdb5)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64950 (0xfdb6)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64951 (0xfdb7)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64952 (0xfdb8)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64953 (0xfdb9)

lri $AR1,    #0x4000
lri $IX1,    #0xfdb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64954 (0xfdba)

lri $AR1,    #0x4000
lri $IX1,    #0xfdba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64955 (0xfdbb)

lri $AR1,    #0x4000
lri $IX1,    #0xfdbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64956 (0xfdbc)

lri $AR1,    #0x4000
lri $IX1,    #0xfdbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64957 (0xfdbd)

lri $AR1,    #0x4000
lri $IX1,    #0xfdbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64958 (0xfdbe)

lri $AR1,    #0x4000
lri $IX1,    #0xfdbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64959 (0xfdbf)

lri $AR1,    #0x4000
lri $IX1,    #0xfdbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64960 (0xfdc0)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64961 (0xfdc1)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64962 (0xfdc2)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64963 (0xfdc3)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64964 (0xfdc4)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64965 (0xfdc5)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64966 (0xfdc6)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64967 (0xfdc7)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64968 (0xfdc8)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64969 (0xfdc9)

lri $AR1,    #0x4000
lri $IX1,    #0xfdc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64970 (0xfdca)

lri $AR1,    #0x4000
lri $IX1,    #0xfdca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64971 (0xfdcb)

lri $AR1,    #0x4000
lri $IX1,    #0xfdcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64972 (0xfdcc)

lri $AR1,    #0x4000
lri $IX1,    #0xfdcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64973 (0xfdcd)

lri $AR1,    #0x4000
lri $IX1,    #0xfdcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64974 (0xfdce)

lri $AR1,    #0x4000
lri $IX1,    #0xfdce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64975 (0xfdcf)

lri $AR1,    #0x4000
lri $IX1,    #0xfdcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64976 (0xfdd0)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64977 (0xfdd1)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64978 (0xfdd2)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64979 (0xfdd3)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64980 (0xfdd4)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64981 (0xfdd5)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64982 (0xfdd6)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64983 (0xfdd7)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64984 (0xfdd8)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64985 (0xfdd9)

lri $AR1,    #0x4000
lri $IX1,    #0xfdd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64986 (0xfdda)

lri $AR1,    #0x4000
lri $IX1,    #0xfdda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64987 (0xfddb)

lri $AR1,    #0x4000
lri $IX1,    #0xfddb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64988 (0xfddc)

lri $AR1,    #0x4000
lri $IX1,    #0xfddc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64989 (0xfddd)

lri $AR1,    #0x4000
lri $IX1,    #0xfddd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64990 (0xfdde)

lri $AR1,    #0x4000
lri $IX1,    #0xfdde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64991 (0xfddf)

lri $AR1,    #0x4000
lri $IX1,    #0xfddf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64992 (0xfde0)

lri $AR1,    #0x4000
lri $IX1,    #0xfde0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64993 (0xfde1)

lri $AR1,    #0x4000
lri $IX1,    #0xfde1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64994 (0xfde2)

lri $AR1,    #0x4000
lri $IX1,    #0xfde2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64995 (0xfde3)

lri $AR1,    #0x4000
lri $IX1,    #0xfde3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64996 (0xfde4)

lri $AR1,    #0x4000
lri $IX1,    #0xfde4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64997 (0xfde5)

lri $AR1,    #0x4000
lri $IX1,    #0xfde5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64998 (0xfde6)

lri $AR1,    #0x4000
lri $IX1,    #0xfde6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 64999 (0xfde7)

lri $AR1,    #0x4000
lri $IX1,    #0xfde7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65000 (0xfde8)

lri $AR1,    #0x4000
lri $IX1,    #0xfde8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65001 (0xfde9)

lri $AR1,    #0x4000
lri $IX1,    #0xfde9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65002 (0xfdea)

lri $AR1,    #0x4000
lri $IX1,    #0xfdea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65003 (0xfdeb)

lri $AR1,    #0x4000
lri $IX1,    #0xfdeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65004 (0xfdec)

lri $AR1,    #0x4000
lri $IX1,    #0xfdec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65005 (0xfded)

lri $AR1,    #0x4000
lri $IX1,    #0xfded
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65006 (0xfdee)

lri $AR1,    #0x4000
lri $IX1,    #0xfdee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65007 (0xfdef)

lri $AR1,    #0x4000
lri $IX1,    #0xfdef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65008 (0xfdf0)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65009 (0xfdf1)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65010 (0xfdf2)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65011 (0xfdf3)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65012 (0xfdf4)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65013 (0xfdf5)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65014 (0xfdf6)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65015 (0xfdf7)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65016 (0xfdf8)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65017 (0xfdf9)

lri $AR1,    #0x4000
lri $IX1,    #0xfdf9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65018 (0xfdfa)

lri $AR1,    #0x4000
lri $IX1,    #0xfdfa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65019 (0xfdfb)

lri $AR1,    #0x4000
lri $IX1,    #0xfdfb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65020 (0xfdfc)

lri $AR1,    #0x4000
lri $IX1,    #0xfdfc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65021 (0xfdfd)

lri $AR1,    #0x4000
lri $IX1,    #0xfdfd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65022 (0xfdfe)

lri $AR1,    #0x4000
lri $IX1,    #0xfdfe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65023 (0xfdff)

lri $AR1,    #0x4000
lri $IX1,    #0xfdff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 65024 (0xfe00)

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

