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

lri $AR1,    #0x4000
lri $IX1,    #0xcf80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53121 (0xcf81)

lri $AR1,    #0x4000
lri $IX1,    #0xcf81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53122 (0xcf82)

lri $AR1,    #0x4000
lri $IX1,    #0xcf82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53123 (0xcf83)

lri $AR1,    #0x4000
lri $IX1,    #0xcf83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53124 (0xcf84)

lri $AR1,    #0x4000
lri $IX1,    #0xcf84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53125 (0xcf85)

lri $AR1,    #0x4000
lri $IX1,    #0xcf85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53126 (0xcf86)

lri $AR1,    #0x4000
lri $IX1,    #0xcf86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53127 (0xcf87)

lri $AR1,    #0x4000
lri $IX1,    #0xcf87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53128 (0xcf88)

lri $AR1,    #0x4000
lri $IX1,    #0xcf88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53129 (0xcf89)

lri $AR1,    #0x4000
lri $IX1,    #0xcf89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53130 (0xcf8a)

lri $AR1,    #0x4000
lri $IX1,    #0xcf8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53131 (0xcf8b)

lri $AR1,    #0x4000
lri $IX1,    #0xcf8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53132 (0xcf8c)

lri $AR1,    #0x4000
lri $IX1,    #0xcf8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53133 (0xcf8d)

lri $AR1,    #0x4000
lri $IX1,    #0xcf8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53134 (0xcf8e)

lri $AR1,    #0x4000
lri $IX1,    #0xcf8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53135 (0xcf8f)

lri $AR1,    #0x4000
lri $IX1,    #0xcf8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53136 (0xcf90)

lri $AR1,    #0x4000
lri $IX1,    #0xcf90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53137 (0xcf91)

lri $AR1,    #0x4000
lri $IX1,    #0xcf91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53138 (0xcf92)

lri $AR1,    #0x4000
lri $IX1,    #0xcf92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53139 (0xcf93)

lri $AR1,    #0x4000
lri $IX1,    #0xcf93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53140 (0xcf94)

lri $AR1,    #0x4000
lri $IX1,    #0xcf94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53141 (0xcf95)

lri $AR1,    #0x4000
lri $IX1,    #0xcf95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53142 (0xcf96)

lri $AR1,    #0x4000
lri $IX1,    #0xcf96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53143 (0xcf97)

lri $AR1,    #0x4000
lri $IX1,    #0xcf97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53144 (0xcf98)

lri $AR1,    #0x4000
lri $IX1,    #0xcf98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53145 (0xcf99)

lri $AR1,    #0x4000
lri $IX1,    #0xcf99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53146 (0xcf9a)

lri $AR1,    #0x4000
lri $IX1,    #0xcf9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53147 (0xcf9b)

lri $AR1,    #0x4000
lri $IX1,    #0xcf9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53148 (0xcf9c)

lri $AR1,    #0x4000
lri $IX1,    #0xcf9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53149 (0xcf9d)

lri $AR1,    #0x4000
lri $IX1,    #0xcf9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53150 (0xcf9e)

lri $AR1,    #0x4000
lri $IX1,    #0xcf9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53151 (0xcf9f)

lri $AR1,    #0x4000
lri $IX1,    #0xcf9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53152 (0xcfa0)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53153 (0xcfa1)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53154 (0xcfa2)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53155 (0xcfa3)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53156 (0xcfa4)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53157 (0xcfa5)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53158 (0xcfa6)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53159 (0xcfa7)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53160 (0xcfa8)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53161 (0xcfa9)

lri $AR1,    #0x4000
lri $IX1,    #0xcfa9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53162 (0xcfaa)

lri $AR1,    #0x4000
lri $IX1,    #0xcfaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53163 (0xcfab)

lri $AR1,    #0x4000
lri $IX1,    #0xcfab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53164 (0xcfac)

lri $AR1,    #0x4000
lri $IX1,    #0xcfac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53165 (0xcfad)

lri $AR1,    #0x4000
lri $IX1,    #0xcfad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53166 (0xcfae)

lri $AR1,    #0x4000
lri $IX1,    #0xcfae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53167 (0xcfaf)

lri $AR1,    #0x4000
lri $IX1,    #0xcfaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53168 (0xcfb0)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53169 (0xcfb1)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53170 (0xcfb2)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53171 (0xcfb3)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53172 (0xcfb4)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53173 (0xcfb5)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53174 (0xcfb6)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53175 (0xcfb7)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53176 (0xcfb8)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53177 (0xcfb9)

lri $AR1,    #0x4000
lri $IX1,    #0xcfb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53178 (0xcfba)

lri $AR1,    #0x4000
lri $IX1,    #0xcfba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53179 (0xcfbb)

lri $AR1,    #0x4000
lri $IX1,    #0xcfbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53180 (0xcfbc)

lri $AR1,    #0x4000
lri $IX1,    #0xcfbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53181 (0xcfbd)

lri $AR1,    #0x4000
lri $IX1,    #0xcfbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53182 (0xcfbe)

lri $AR1,    #0x4000
lri $IX1,    #0xcfbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53183 (0xcfbf)

lri $AR1,    #0x4000
lri $IX1,    #0xcfbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53184 (0xcfc0)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53185 (0xcfc1)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53186 (0xcfc2)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53187 (0xcfc3)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53188 (0xcfc4)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53189 (0xcfc5)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53190 (0xcfc6)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53191 (0xcfc7)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53192 (0xcfc8)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53193 (0xcfc9)

lri $AR1,    #0x4000
lri $IX1,    #0xcfc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53194 (0xcfca)

lri $AR1,    #0x4000
lri $IX1,    #0xcfca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53195 (0xcfcb)

lri $AR1,    #0x4000
lri $IX1,    #0xcfcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53196 (0xcfcc)

lri $AR1,    #0x4000
lri $IX1,    #0xcfcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53197 (0xcfcd)

lri $AR1,    #0x4000
lri $IX1,    #0xcfcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53198 (0xcfce)

lri $AR1,    #0x4000
lri $IX1,    #0xcfce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53199 (0xcfcf)

lri $AR1,    #0x4000
lri $IX1,    #0xcfcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53200 (0xcfd0)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53201 (0xcfd1)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53202 (0xcfd2)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53203 (0xcfd3)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53204 (0xcfd4)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53205 (0xcfd5)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53206 (0xcfd6)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53207 (0xcfd7)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53208 (0xcfd8)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53209 (0xcfd9)

lri $AR1,    #0x4000
lri $IX1,    #0xcfd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53210 (0xcfda)

lri $AR1,    #0x4000
lri $IX1,    #0xcfda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53211 (0xcfdb)

lri $AR1,    #0x4000
lri $IX1,    #0xcfdb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53212 (0xcfdc)

lri $AR1,    #0x4000
lri $IX1,    #0xcfdc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53213 (0xcfdd)

lri $AR1,    #0x4000
lri $IX1,    #0xcfdd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53214 (0xcfde)

lri $AR1,    #0x4000
lri $IX1,    #0xcfde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53215 (0xcfdf)

lri $AR1,    #0x4000
lri $IX1,    #0xcfdf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53216 (0xcfe0)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53217 (0xcfe1)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53218 (0xcfe2)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53219 (0xcfe3)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53220 (0xcfe4)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53221 (0xcfe5)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53222 (0xcfe6)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53223 (0xcfe7)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53224 (0xcfe8)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53225 (0xcfe9)

lri $AR1,    #0x4000
lri $IX1,    #0xcfe9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53226 (0xcfea)

lri $AR1,    #0x4000
lri $IX1,    #0xcfea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53227 (0xcfeb)

lri $AR1,    #0x4000
lri $IX1,    #0xcfeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53228 (0xcfec)

lri $AR1,    #0x4000
lri $IX1,    #0xcfec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53229 (0xcfed)

lri $AR1,    #0x4000
lri $IX1,    #0xcfed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53230 (0xcfee)

lri $AR1,    #0x4000
lri $IX1,    #0xcfee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53231 (0xcfef)

lri $AR1,    #0x4000
lri $IX1,    #0xcfef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53232 (0xcff0)

lri $AR1,    #0x4000
lri $IX1,    #0xcff0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53233 (0xcff1)

lri $AR1,    #0x4000
lri $IX1,    #0xcff1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53234 (0xcff2)

lri $AR1,    #0x4000
lri $IX1,    #0xcff2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53235 (0xcff3)

lri $AR1,    #0x4000
lri $IX1,    #0xcff3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53236 (0xcff4)

lri $AR1,    #0x4000
lri $IX1,    #0xcff4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53237 (0xcff5)

lri $AR1,    #0x4000
lri $IX1,    #0xcff5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53238 (0xcff6)

lri $AR1,    #0x4000
lri $IX1,    #0xcff6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53239 (0xcff7)

lri $AR1,    #0x4000
lri $IX1,    #0xcff7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53240 (0xcff8)

lri $AR1,    #0x4000
lri $IX1,    #0xcff8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53241 (0xcff9)

lri $AR1,    #0x4000
lri $IX1,    #0xcff9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53242 (0xcffa)

lri $AR1,    #0x4000
lri $IX1,    #0xcffa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53243 (0xcffb)

lri $AR1,    #0x4000
lri $IX1,    #0xcffb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53244 (0xcffc)

lri $AR1,    #0x4000
lri $IX1,    #0xcffc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53245 (0xcffd)

lri $AR1,    #0x4000
lri $IX1,    #0xcffd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53246 (0xcffe)

lri $AR1,    #0x4000
lri $IX1,    #0xcffe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53247 (0xcfff)

lri $AR1,    #0x4000
lri $IX1,    #0xcfff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53248 (0xd000)

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

