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

lri $AR1,    #0x0040
lri $IX1,    #0xfddd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64990 (0xfdde)

lri $AR1,    #0x0040
lri $IX1,    #0xfdde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64991 (0xfddf)

lri $AR1,    #0x0040
lri $IX1,    #0xfddf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64992 (0xfde0)

lri $AR1,    #0x0040
lri $IX1,    #0xfde0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64993 (0xfde1)

lri $AR1,    #0x0040
lri $IX1,    #0xfde1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64994 (0xfde2)

lri $AR1,    #0x0040
lri $IX1,    #0xfde2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64995 (0xfde3)

lri $AR1,    #0x0040
lri $IX1,    #0xfde3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64996 (0xfde4)

lri $AR1,    #0x0040
lri $IX1,    #0xfde4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64997 (0xfde5)

lri $AR1,    #0x0040
lri $IX1,    #0xfde5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64998 (0xfde6)

lri $AR1,    #0x0040
lri $IX1,    #0xfde6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64999 (0xfde7)

lri $AR1,    #0x0040
lri $IX1,    #0xfde7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65000 (0xfde8)

lri $AR1,    #0x0040
lri $IX1,    #0xfde8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65001 (0xfde9)

lri $AR1,    #0x0040
lri $IX1,    #0xfde9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65002 (0xfdea)

lri $AR1,    #0x0040
lri $IX1,    #0xfdea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65003 (0xfdeb)

lri $AR1,    #0x0040
lri $IX1,    #0xfdeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65004 (0xfdec)

lri $AR1,    #0x0040
lri $IX1,    #0xfdec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65005 (0xfded)

lri $AR1,    #0x0040
lri $IX1,    #0xfded
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65006 (0xfdee)

lri $AR1,    #0x0040
lri $IX1,    #0xfdee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65007 (0xfdef)

lri $AR1,    #0x0040
lri $IX1,    #0xfdef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65008 (0xfdf0)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65009 (0xfdf1)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65010 (0xfdf2)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65011 (0xfdf3)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65012 (0xfdf4)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65013 (0xfdf5)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65014 (0xfdf6)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65015 (0xfdf7)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65016 (0xfdf8)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65017 (0xfdf9)

lri $AR1,    #0x0040
lri $IX1,    #0xfdf9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65018 (0xfdfa)

lri $AR1,    #0x0040
lri $IX1,    #0xfdfa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65019 (0xfdfb)

lri $AR1,    #0x0040
lri $IX1,    #0xfdfb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65020 (0xfdfc)

lri $AR1,    #0x0040
lri $IX1,    #0xfdfc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65021 (0xfdfd)

lri $AR1,    #0x0040
lri $IX1,    #0xfdfd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65022 (0xfdfe)

lri $AR1,    #0x0040
lri $IX1,    #0xfdfe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65023 (0xfdff)

lri $AR1,    #0x0040
lri $IX1,    #0xfdff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65024 (0xfe00)

lri $AR1,    #0x0040
lri $IX1,    #0xfe00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65025 (0xfe01)

lri $AR1,    #0x0040
lri $IX1,    #0xfe01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65026 (0xfe02)

lri $AR1,    #0x0040
lri $IX1,    #0xfe02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65027 (0xfe03)

lri $AR1,    #0x0040
lri $IX1,    #0xfe03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65028 (0xfe04)

lri $AR1,    #0x0040
lri $IX1,    #0xfe04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65029 (0xfe05)

lri $AR1,    #0x0040
lri $IX1,    #0xfe05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65030 (0xfe06)

lri $AR1,    #0x0040
lri $IX1,    #0xfe06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65031 (0xfe07)

lri $AR1,    #0x0040
lri $IX1,    #0xfe07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65032 (0xfe08)

lri $AR1,    #0x0040
lri $IX1,    #0xfe08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65033 (0xfe09)

lri $AR1,    #0x0040
lri $IX1,    #0xfe09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65034 (0xfe0a)

lri $AR1,    #0x0040
lri $IX1,    #0xfe0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65035 (0xfe0b)

lri $AR1,    #0x0040
lri $IX1,    #0xfe0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65036 (0xfe0c)

lri $AR1,    #0x0040
lri $IX1,    #0xfe0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65037 (0xfe0d)

lri $AR1,    #0x0040
lri $IX1,    #0xfe0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65038 (0xfe0e)

lri $AR1,    #0x0040
lri $IX1,    #0xfe0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65039 (0xfe0f)

lri $AR1,    #0x0040
lri $IX1,    #0xfe0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65040 (0xfe10)

lri $AR1,    #0x0040
lri $IX1,    #0xfe10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65041 (0xfe11)

lri $AR1,    #0x0040
lri $IX1,    #0xfe11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65042 (0xfe12)

lri $AR1,    #0x0040
lri $IX1,    #0xfe12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65043 (0xfe13)

lri $AR1,    #0x0040
lri $IX1,    #0xfe13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65044 (0xfe14)

lri $AR1,    #0x0040
lri $IX1,    #0xfe14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65045 (0xfe15)

lri $AR1,    #0x0040
lri $IX1,    #0xfe15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65046 (0xfe16)

lri $AR1,    #0x0040
lri $IX1,    #0xfe16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65047 (0xfe17)

lri $AR1,    #0x0040
lri $IX1,    #0xfe17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65048 (0xfe18)

lri $AR1,    #0x0040
lri $IX1,    #0xfe18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65049 (0xfe19)

lri $AR1,    #0x0040
lri $IX1,    #0xfe19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65050 (0xfe1a)

lri $AR1,    #0x0040
lri $IX1,    #0xfe1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65051 (0xfe1b)

lri $AR1,    #0x0040
lri $IX1,    #0xfe1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65052 (0xfe1c)

lri $AR1,    #0x0040
lri $IX1,    #0xfe1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65053 (0xfe1d)

lri $AR1,    #0x0040
lri $IX1,    #0xfe1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65054 (0xfe1e)

lri $AR1,    #0x0040
lri $IX1,    #0xfe1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65055 (0xfe1f)

lri $AR1,    #0x0040
lri $IX1,    #0xfe1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65056 (0xfe20)

lri $AR1,    #0x0040
lri $IX1,    #0xfe20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65057 (0xfe21)

lri $AR1,    #0x0040
lri $IX1,    #0xfe21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65058 (0xfe22)

lri $AR1,    #0x0040
lri $IX1,    #0xfe22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65059 (0xfe23)

lri $AR1,    #0x0040
lri $IX1,    #0xfe23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65060 (0xfe24)

lri $AR1,    #0x0040
lri $IX1,    #0xfe24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65061 (0xfe25)

lri $AR1,    #0x0040
lri $IX1,    #0xfe25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65062 (0xfe26)

lri $AR1,    #0x0040
lri $IX1,    #0xfe26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65063 (0xfe27)

lri $AR1,    #0x0040
lri $IX1,    #0xfe27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65064 (0xfe28)

lri $AR1,    #0x0040
lri $IX1,    #0xfe28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65065 (0xfe29)

lri $AR1,    #0x0040
lri $IX1,    #0xfe29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65066 (0xfe2a)

lri $AR1,    #0x0040
lri $IX1,    #0xfe2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65067 (0xfe2b)

lri $AR1,    #0x0040
lri $IX1,    #0xfe2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65068 (0xfe2c)

lri $AR1,    #0x0040
lri $IX1,    #0xfe2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65069 (0xfe2d)

lri $AR1,    #0x0040
lri $IX1,    #0xfe2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65070 (0xfe2e)

lri $AR1,    #0x0040
lri $IX1,    #0xfe2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65071 (0xfe2f)

lri $AR1,    #0x0040
lri $IX1,    #0xfe2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65072 (0xfe30)

lri $AR1,    #0x0040
lri $IX1,    #0xfe30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65073 (0xfe31)

lri $AR1,    #0x0040
lri $IX1,    #0xfe31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65074 (0xfe32)

lri $AR1,    #0x0040
lri $IX1,    #0xfe32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65075 (0xfe33)

lri $AR1,    #0x0040
lri $IX1,    #0xfe33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65076 (0xfe34)

lri $AR1,    #0x0040
lri $IX1,    #0xfe34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65077 (0xfe35)

lri $AR1,    #0x0040
lri $IX1,    #0xfe35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65078 (0xfe36)

lri $AR1,    #0x0040
lri $IX1,    #0xfe36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65079 (0xfe37)

lri $AR1,    #0x0040
lri $IX1,    #0xfe37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65080 (0xfe38)

lri $AR1,    #0x0040
lri $IX1,    #0xfe38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65081 (0xfe39)

lri $AR1,    #0x0040
lri $IX1,    #0xfe39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65082 (0xfe3a)

lri $AR1,    #0x0040
lri $IX1,    #0xfe3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65083 (0xfe3b)

lri $AR1,    #0x0040
lri $IX1,    #0xfe3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65084 (0xfe3c)

lri $AR1,    #0x0040
lri $IX1,    #0xfe3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65085 (0xfe3d)

lri $AR1,    #0x0040
lri $IX1,    #0xfe3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65086 (0xfe3e)

lri $AR1,    #0x0040
lri $IX1,    #0xfe3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65087 (0xfe3f)

lri $AR1,    #0x0040
lri $IX1,    #0xfe3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65088 (0xfe40)

lri $AR1,    #0x0040
lri $IX1,    #0xfe40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65089 (0xfe41)

lri $AR1,    #0x0040
lri $IX1,    #0xfe41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65090 (0xfe42)

lri $AR1,    #0x0040
lri $IX1,    #0xfe42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65091 (0xfe43)

lri $AR1,    #0x0040
lri $IX1,    #0xfe43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65092 (0xfe44)

lri $AR1,    #0x0040
lri $IX1,    #0xfe44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65093 (0xfe45)

lri $AR1,    #0x0040
lri $IX1,    #0xfe45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65094 (0xfe46)

lri $AR1,    #0x0040
lri $IX1,    #0xfe46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65095 (0xfe47)

lri $AR1,    #0x0040
lri $IX1,    #0xfe47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65096 (0xfe48)

lri $AR1,    #0x0040
lri $IX1,    #0xfe48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65097 (0xfe49)

lri $AR1,    #0x0040
lri $IX1,    #0xfe49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65098 (0xfe4a)

lri $AR1,    #0x0040
lri $IX1,    #0xfe4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65099 (0xfe4b)

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