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

lri $AR1,    #0x4000
lri $IX1,    #0x0c80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3201 (0x0c81)

lri $AR1,    #0x4000
lri $IX1,    #0x0c81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3202 (0x0c82)

lri $AR1,    #0x4000
lri $IX1,    #0x0c82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3203 (0x0c83)

lri $AR1,    #0x4000
lri $IX1,    #0x0c83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3204 (0x0c84)

lri $AR1,    #0x4000
lri $IX1,    #0x0c84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3205 (0x0c85)

lri $AR1,    #0x4000
lri $IX1,    #0x0c85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3206 (0x0c86)

lri $AR1,    #0x4000
lri $IX1,    #0x0c86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3207 (0x0c87)

lri $AR1,    #0x4000
lri $IX1,    #0x0c87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3208 (0x0c88)

lri $AR1,    #0x4000
lri $IX1,    #0x0c88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3209 (0x0c89)

lri $AR1,    #0x4000
lri $IX1,    #0x0c89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3210 (0x0c8a)

lri $AR1,    #0x4000
lri $IX1,    #0x0c8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3211 (0x0c8b)

lri $AR1,    #0x4000
lri $IX1,    #0x0c8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3212 (0x0c8c)

lri $AR1,    #0x4000
lri $IX1,    #0x0c8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3213 (0x0c8d)

lri $AR1,    #0x4000
lri $IX1,    #0x0c8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3214 (0x0c8e)

lri $AR1,    #0x4000
lri $IX1,    #0x0c8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3215 (0x0c8f)

lri $AR1,    #0x4000
lri $IX1,    #0x0c8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3216 (0x0c90)

lri $AR1,    #0x4000
lri $IX1,    #0x0c90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3217 (0x0c91)

lri $AR1,    #0x4000
lri $IX1,    #0x0c91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3218 (0x0c92)

lri $AR1,    #0x4000
lri $IX1,    #0x0c92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3219 (0x0c93)

lri $AR1,    #0x4000
lri $IX1,    #0x0c93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3220 (0x0c94)

lri $AR1,    #0x4000
lri $IX1,    #0x0c94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3221 (0x0c95)

lri $AR1,    #0x4000
lri $IX1,    #0x0c95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3222 (0x0c96)

lri $AR1,    #0x4000
lri $IX1,    #0x0c96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3223 (0x0c97)

lri $AR1,    #0x4000
lri $IX1,    #0x0c97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3224 (0x0c98)

lri $AR1,    #0x4000
lri $IX1,    #0x0c98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3225 (0x0c99)

lri $AR1,    #0x4000
lri $IX1,    #0x0c99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3226 (0x0c9a)

lri $AR1,    #0x4000
lri $IX1,    #0x0c9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3227 (0x0c9b)

lri $AR1,    #0x4000
lri $IX1,    #0x0c9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3228 (0x0c9c)

lri $AR1,    #0x4000
lri $IX1,    #0x0c9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3229 (0x0c9d)

lri $AR1,    #0x4000
lri $IX1,    #0x0c9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3230 (0x0c9e)

lri $AR1,    #0x4000
lri $IX1,    #0x0c9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3231 (0x0c9f)

lri $AR1,    #0x4000
lri $IX1,    #0x0c9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3232 (0x0ca0)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3233 (0x0ca1)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3234 (0x0ca2)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3235 (0x0ca3)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3236 (0x0ca4)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3237 (0x0ca5)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3238 (0x0ca6)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3239 (0x0ca7)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3240 (0x0ca8)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3241 (0x0ca9)

lri $AR1,    #0x4000
lri $IX1,    #0x0ca9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3242 (0x0caa)

lri $AR1,    #0x4000
lri $IX1,    #0x0caa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3243 (0x0cab)

lri $AR1,    #0x4000
lri $IX1,    #0x0cab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3244 (0x0cac)

lri $AR1,    #0x4000
lri $IX1,    #0x0cac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3245 (0x0cad)

lri $AR1,    #0x4000
lri $IX1,    #0x0cad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3246 (0x0cae)

lri $AR1,    #0x4000
lri $IX1,    #0x0cae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3247 (0x0caf)

lri $AR1,    #0x4000
lri $IX1,    #0x0caf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3248 (0x0cb0)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3249 (0x0cb1)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3250 (0x0cb2)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3251 (0x0cb3)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3252 (0x0cb4)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3253 (0x0cb5)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3254 (0x0cb6)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3255 (0x0cb7)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3256 (0x0cb8)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3257 (0x0cb9)

lri $AR1,    #0x4000
lri $IX1,    #0x0cb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3258 (0x0cba)

lri $AR1,    #0x4000
lri $IX1,    #0x0cba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3259 (0x0cbb)

lri $AR1,    #0x4000
lri $IX1,    #0x0cbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3260 (0x0cbc)

lri $AR1,    #0x4000
lri $IX1,    #0x0cbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3261 (0x0cbd)

lri $AR1,    #0x4000
lri $IX1,    #0x0cbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3262 (0x0cbe)

lri $AR1,    #0x4000
lri $IX1,    #0x0cbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3263 (0x0cbf)

lri $AR1,    #0x4000
lri $IX1,    #0x0cbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3264 (0x0cc0)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3265 (0x0cc1)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3266 (0x0cc2)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3267 (0x0cc3)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3268 (0x0cc4)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3269 (0x0cc5)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3270 (0x0cc6)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3271 (0x0cc7)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3272 (0x0cc8)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3273 (0x0cc9)

lri $AR1,    #0x4000
lri $IX1,    #0x0cc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3274 (0x0cca)

lri $AR1,    #0x4000
lri $IX1,    #0x0cca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3275 (0x0ccb)

lri $AR1,    #0x4000
lri $IX1,    #0x0ccb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3276 (0x0ccc)

lri $AR1,    #0x4000
lri $IX1,    #0x0ccc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3277 (0x0ccd)

lri $AR1,    #0x4000
lri $IX1,    #0x0ccd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3278 (0x0cce)

lri $AR1,    #0x4000
lri $IX1,    #0x0cce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3279 (0x0ccf)

lri $AR1,    #0x4000
lri $IX1,    #0x0ccf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3280 (0x0cd0)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3281 (0x0cd1)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3282 (0x0cd2)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3283 (0x0cd3)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3284 (0x0cd4)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3285 (0x0cd5)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3286 (0x0cd6)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3287 (0x0cd7)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3288 (0x0cd8)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3289 (0x0cd9)

lri $AR1,    #0x4000
lri $IX1,    #0x0cd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3290 (0x0cda)

lri $AR1,    #0x4000
lri $IX1,    #0x0cda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3291 (0x0cdb)

lri $AR1,    #0x4000
lri $IX1,    #0x0cdb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3292 (0x0cdc)

lri $AR1,    #0x4000
lri $IX1,    #0x0cdc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3293 (0x0cdd)

lri $AR1,    #0x4000
lri $IX1,    #0x0cdd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3294 (0x0cde)

lri $AR1,    #0x4000
lri $IX1,    #0x0cde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3295 (0x0cdf)

lri $AR1,    #0x4000
lri $IX1,    #0x0cdf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3296 (0x0ce0)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3297 (0x0ce1)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3298 (0x0ce2)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3299 (0x0ce3)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3300 (0x0ce4)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3301 (0x0ce5)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3302 (0x0ce6)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3303 (0x0ce7)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3304 (0x0ce8)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3305 (0x0ce9)

lri $AR1,    #0x4000
lri $IX1,    #0x0ce9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3306 (0x0cea)

lri $AR1,    #0x4000
lri $IX1,    #0x0cea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3307 (0x0ceb)

lri $AR1,    #0x4000
lri $IX1,    #0x0ceb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3308 (0x0cec)

lri $AR1,    #0x4000
lri $IX1,    #0x0cec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3309 (0x0ced)

lri $AR1,    #0x4000
lri $IX1,    #0x0ced
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3310 (0x0cee)

lri $AR1,    #0x4000
lri $IX1,    #0x0cee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3311 (0x0cef)

lri $AR1,    #0x4000
lri $IX1,    #0x0cef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3312 (0x0cf0)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3313 (0x0cf1)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3314 (0x0cf2)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3315 (0x0cf3)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3316 (0x0cf4)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3317 (0x0cf5)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3318 (0x0cf6)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3319 (0x0cf7)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3320 (0x0cf8)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3321 (0x0cf9)

lri $AR1,    #0x4000
lri $IX1,    #0x0cf9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3322 (0x0cfa)

lri $AR1,    #0x4000
lri $IX1,    #0x0cfa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3323 (0x0cfb)

lri $AR1,    #0x4000
lri $IX1,    #0x0cfb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3324 (0x0cfc)

lri $AR1,    #0x4000
lri $IX1,    #0x0cfc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3325 (0x0cfd)

lri $AR1,    #0x4000
lri $IX1,    #0x0cfd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3326 (0x0cfe)

lri $AR1,    #0x4000
lri $IX1,    #0x0cfe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3327 (0x0cff)

lri $AR1,    #0x4000
lri $IX1,    #0x0cff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 3328 (0x0d00)

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

