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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64897 (0xfd81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64898 (0xfd82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64899 (0xfd83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64900 (0xfd84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64901 (0xfd85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64902 (0xfd86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64903 (0xfd87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64904 (0xfd88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64905 (0xfd89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64906 (0xfd8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64907 (0xfd8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64908 (0xfd8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64909 (0xfd8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64910 (0xfd8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64911 (0xfd8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64912 (0xfd90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64913 (0xfd91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64914 (0xfd92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64915 (0xfd93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64916 (0xfd94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64917 (0xfd95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64918 (0xfd96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64919 (0xfd97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64920 (0xfd98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64921 (0xfd99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64922 (0xfd9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64923 (0xfd9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64924 (0xfd9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64925 (0xfd9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64926 (0xfd9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64927 (0xfd9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64928 (0xfda0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64929 (0xfda1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64930 (0xfda2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64931 (0xfda3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64932 (0xfda4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64933 (0xfda5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64934 (0xfda6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64935 (0xfda7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64936 (0xfda8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64937 (0xfda9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64938 (0xfdaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64939 (0xfdab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64940 (0xfdac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64941 (0xfdad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64942 (0xfdae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64943 (0xfdaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64944 (0xfdb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64945 (0xfdb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64946 (0xfdb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64947 (0xfdb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64948 (0xfdb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64949 (0xfdb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64950 (0xfdb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64951 (0xfdb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64952 (0xfdb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64953 (0xfdb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64954 (0xfdba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64955 (0xfdbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64956 (0xfdbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64957 (0xfdbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64958 (0xfdbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64959 (0xfdbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64960 (0xfdc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64961 (0xfdc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64962 (0xfdc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64963 (0xfdc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64964 (0xfdc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64965 (0xfdc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64966 (0xfdc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64967 (0xfdc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64968 (0xfdc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64969 (0xfdc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64970 (0xfdca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64971 (0xfdcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64972 (0xfdcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64973 (0xfdcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64974 (0xfdce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64975 (0xfdcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64976 (0xfdd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64977 (0xfdd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64978 (0xfdd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64979 (0xfdd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64980 (0xfdd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64981 (0xfdd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64982 (0xfdd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64983 (0xfdd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64984 (0xfdd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64985 (0xfdd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64986 (0xfdda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64987 (0xfddb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64988 (0xfddc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64989 (0xfddd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64990 (0xfdde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64991 (0xfddf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64992 (0xfde0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64993 (0xfde1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64994 (0xfde2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64995 (0xfde3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64996 (0xfde4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64997 (0xfde5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64998 (0xfde6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 64999 (0xfde7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65000 (0xfde8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65001 (0xfde9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65002 (0xfdea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65003 (0xfdeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65004 (0xfdec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65005 (0xfded)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65006 (0xfdee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65007 (0xfdef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65008 (0xfdf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65009 (0xfdf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65010 (0xfdf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65011 (0xfdf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65012 (0xfdf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65013 (0xfdf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65014 (0xfdf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65015 (0xfdf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65016 (0xfdf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65017 (0xfdf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65018 (0xfdfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65019 (0xfdfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65020 (0xfdfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65021 (0xfdfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65022 (0xfdfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65023 (0xfdff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00fd
cw 0x5
call send_back  ; 65024 (0xfe00)

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