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

lri $AR1,    #0x4000
lri $IX1,    #0x2400
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9217 (0x2401)

lri $AR1,    #0x4000
lri $IX1,    #0x2401
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9218 (0x2402)

lri $AR1,    #0x4000
lri $IX1,    #0x2402
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9219 (0x2403)

lri $AR1,    #0x4000
lri $IX1,    #0x2403
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9220 (0x2404)

lri $AR1,    #0x4000
lri $IX1,    #0x2404
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9221 (0x2405)

lri $AR1,    #0x4000
lri $IX1,    #0x2405
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9222 (0x2406)

lri $AR1,    #0x4000
lri $IX1,    #0x2406
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9223 (0x2407)

lri $AR1,    #0x4000
lri $IX1,    #0x2407
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9224 (0x2408)

lri $AR1,    #0x4000
lri $IX1,    #0x2408
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9225 (0x2409)

lri $AR1,    #0x4000
lri $IX1,    #0x2409
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9226 (0x240a)

lri $AR1,    #0x4000
lri $IX1,    #0x240a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9227 (0x240b)

lri $AR1,    #0x4000
lri $IX1,    #0x240b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9228 (0x240c)

lri $AR1,    #0x4000
lri $IX1,    #0x240c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9229 (0x240d)

lri $AR1,    #0x4000
lri $IX1,    #0x240d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9230 (0x240e)

lri $AR1,    #0x4000
lri $IX1,    #0x240e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9231 (0x240f)

lri $AR1,    #0x4000
lri $IX1,    #0x240f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9232 (0x2410)

lri $AR1,    #0x4000
lri $IX1,    #0x2410
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9233 (0x2411)

lri $AR1,    #0x4000
lri $IX1,    #0x2411
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9234 (0x2412)

lri $AR1,    #0x4000
lri $IX1,    #0x2412
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9235 (0x2413)

lri $AR1,    #0x4000
lri $IX1,    #0x2413
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9236 (0x2414)

lri $AR1,    #0x4000
lri $IX1,    #0x2414
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9237 (0x2415)

lri $AR1,    #0x4000
lri $IX1,    #0x2415
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9238 (0x2416)

lri $AR1,    #0x4000
lri $IX1,    #0x2416
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9239 (0x2417)

lri $AR1,    #0x4000
lri $IX1,    #0x2417
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9240 (0x2418)

lri $AR1,    #0x4000
lri $IX1,    #0x2418
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9241 (0x2419)

lri $AR1,    #0x4000
lri $IX1,    #0x2419
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9242 (0x241a)

lri $AR1,    #0x4000
lri $IX1,    #0x241a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9243 (0x241b)

lri $AR1,    #0x4000
lri $IX1,    #0x241b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9244 (0x241c)

lri $AR1,    #0x4000
lri $IX1,    #0x241c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9245 (0x241d)

lri $AR1,    #0x4000
lri $IX1,    #0x241d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9246 (0x241e)

lri $AR1,    #0x4000
lri $IX1,    #0x241e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9247 (0x241f)

lri $AR1,    #0x4000
lri $IX1,    #0x241f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9248 (0x2420)

lri $AR1,    #0x4000
lri $IX1,    #0x2420
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9249 (0x2421)

lri $AR1,    #0x4000
lri $IX1,    #0x2421
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9250 (0x2422)

lri $AR1,    #0x4000
lri $IX1,    #0x2422
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9251 (0x2423)

lri $AR1,    #0x4000
lri $IX1,    #0x2423
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9252 (0x2424)

lri $AR1,    #0x4000
lri $IX1,    #0x2424
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9253 (0x2425)

lri $AR1,    #0x4000
lri $IX1,    #0x2425
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9254 (0x2426)

lri $AR1,    #0x4000
lri $IX1,    #0x2426
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9255 (0x2427)

lri $AR1,    #0x4000
lri $IX1,    #0x2427
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9256 (0x2428)

lri $AR1,    #0x4000
lri $IX1,    #0x2428
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9257 (0x2429)

lri $AR1,    #0x4000
lri $IX1,    #0x2429
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9258 (0x242a)

lri $AR1,    #0x4000
lri $IX1,    #0x242a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9259 (0x242b)

lri $AR1,    #0x4000
lri $IX1,    #0x242b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9260 (0x242c)

lri $AR1,    #0x4000
lri $IX1,    #0x242c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9261 (0x242d)

lri $AR1,    #0x4000
lri $IX1,    #0x242d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9262 (0x242e)

lri $AR1,    #0x4000
lri $IX1,    #0x242e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9263 (0x242f)

lri $AR1,    #0x4000
lri $IX1,    #0x242f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9264 (0x2430)

lri $AR1,    #0x4000
lri $IX1,    #0x2430
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9265 (0x2431)

lri $AR1,    #0x4000
lri $IX1,    #0x2431
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9266 (0x2432)

lri $AR1,    #0x4000
lri $IX1,    #0x2432
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9267 (0x2433)

lri $AR1,    #0x4000
lri $IX1,    #0x2433
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9268 (0x2434)

lri $AR1,    #0x4000
lri $IX1,    #0x2434
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9269 (0x2435)

lri $AR1,    #0x4000
lri $IX1,    #0x2435
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9270 (0x2436)

lri $AR1,    #0x4000
lri $IX1,    #0x2436
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9271 (0x2437)

lri $AR1,    #0x4000
lri $IX1,    #0x2437
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9272 (0x2438)

lri $AR1,    #0x4000
lri $IX1,    #0x2438
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9273 (0x2439)

lri $AR1,    #0x4000
lri $IX1,    #0x2439
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9274 (0x243a)

lri $AR1,    #0x4000
lri $IX1,    #0x243a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9275 (0x243b)

lri $AR1,    #0x4000
lri $IX1,    #0x243b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9276 (0x243c)

lri $AR1,    #0x4000
lri $IX1,    #0x243c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9277 (0x243d)

lri $AR1,    #0x4000
lri $IX1,    #0x243d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9278 (0x243e)

lri $AR1,    #0x4000
lri $IX1,    #0x243e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9279 (0x243f)

lri $AR1,    #0x4000
lri $IX1,    #0x243f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9280 (0x2440)

lri $AR1,    #0x4000
lri $IX1,    #0x2440
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9281 (0x2441)

lri $AR1,    #0x4000
lri $IX1,    #0x2441
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9282 (0x2442)

lri $AR1,    #0x4000
lri $IX1,    #0x2442
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9283 (0x2443)

lri $AR1,    #0x4000
lri $IX1,    #0x2443
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9284 (0x2444)

lri $AR1,    #0x4000
lri $IX1,    #0x2444
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9285 (0x2445)

lri $AR1,    #0x4000
lri $IX1,    #0x2445
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9286 (0x2446)

lri $AR1,    #0x4000
lri $IX1,    #0x2446
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9287 (0x2447)

lri $AR1,    #0x4000
lri $IX1,    #0x2447
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9288 (0x2448)

lri $AR1,    #0x4000
lri $IX1,    #0x2448
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9289 (0x2449)

lri $AR1,    #0x4000
lri $IX1,    #0x2449
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9290 (0x244a)

lri $AR1,    #0x4000
lri $IX1,    #0x244a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9291 (0x244b)

lri $AR1,    #0x4000
lri $IX1,    #0x244b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9292 (0x244c)

lri $AR1,    #0x4000
lri $IX1,    #0x244c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9293 (0x244d)

lri $AR1,    #0x4000
lri $IX1,    #0x244d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9294 (0x244e)

lri $AR1,    #0x4000
lri $IX1,    #0x244e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9295 (0x244f)

lri $AR1,    #0x4000
lri $IX1,    #0x244f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9296 (0x2450)

lri $AR1,    #0x4000
lri $IX1,    #0x2450
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9297 (0x2451)

lri $AR1,    #0x4000
lri $IX1,    #0x2451
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9298 (0x2452)

lri $AR1,    #0x4000
lri $IX1,    #0x2452
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9299 (0x2453)

lri $AR1,    #0x4000
lri $IX1,    #0x2453
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9300 (0x2454)

lri $AR1,    #0x4000
lri $IX1,    #0x2454
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9301 (0x2455)

lri $AR1,    #0x4000
lri $IX1,    #0x2455
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9302 (0x2456)

lri $AR1,    #0x4000
lri $IX1,    #0x2456
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9303 (0x2457)

lri $AR1,    #0x4000
lri $IX1,    #0x2457
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9304 (0x2458)

lri $AR1,    #0x4000
lri $IX1,    #0x2458
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9305 (0x2459)

lri $AR1,    #0x4000
lri $IX1,    #0x2459
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9306 (0x245a)

lri $AR1,    #0x4000
lri $IX1,    #0x245a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9307 (0x245b)

lri $AR1,    #0x4000
lri $IX1,    #0x245b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9308 (0x245c)

lri $AR1,    #0x4000
lri $IX1,    #0x245c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9309 (0x245d)

lri $AR1,    #0x4000
lri $IX1,    #0x245d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9310 (0x245e)

lri $AR1,    #0x4000
lri $IX1,    #0x245e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9311 (0x245f)

lri $AR1,    #0x4000
lri $IX1,    #0x245f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9312 (0x2460)

lri $AR1,    #0x4000
lri $IX1,    #0x2460
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9313 (0x2461)

lri $AR1,    #0x4000
lri $IX1,    #0x2461
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9314 (0x2462)

lri $AR1,    #0x4000
lri $IX1,    #0x2462
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9315 (0x2463)

lri $AR1,    #0x4000
lri $IX1,    #0x2463
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9316 (0x2464)

lri $AR1,    #0x4000
lri $IX1,    #0x2464
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9317 (0x2465)

lri $AR1,    #0x4000
lri $IX1,    #0x2465
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9318 (0x2466)

lri $AR1,    #0x4000
lri $IX1,    #0x2466
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9319 (0x2467)

lri $AR1,    #0x4000
lri $IX1,    #0x2467
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9320 (0x2468)

lri $AR1,    #0x4000
lri $IX1,    #0x2468
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9321 (0x2469)

lri $AR1,    #0x4000
lri $IX1,    #0x2469
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9322 (0x246a)

lri $AR1,    #0x4000
lri $IX1,    #0x246a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9323 (0x246b)

lri $AR1,    #0x4000
lri $IX1,    #0x246b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9324 (0x246c)

lri $AR1,    #0x4000
lri $IX1,    #0x246c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9325 (0x246d)

lri $AR1,    #0x4000
lri $IX1,    #0x246d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9326 (0x246e)

lri $AR1,    #0x4000
lri $IX1,    #0x246e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9327 (0x246f)

lri $AR1,    #0x4000
lri $IX1,    #0x246f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9328 (0x2470)

lri $AR1,    #0x4000
lri $IX1,    #0x2470
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9329 (0x2471)

lri $AR1,    #0x4000
lri $IX1,    #0x2471
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9330 (0x2472)

lri $AR1,    #0x4000
lri $IX1,    #0x2472
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9331 (0x2473)

lri $AR1,    #0x4000
lri $IX1,    #0x2473
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9332 (0x2474)

lri $AR1,    #0x4000
lri $IX1,    #0x2474
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9333 (0x2475)

lri $AR1,    #0x4000
lri $IX1,    #0x2475
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9334 (0x2476)

lri $AR1,    #0x4000
lri $IX1,    #0x2476
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9335 (0x2477)

lri $AR1,    #0x4000
lri $IX1,    #0x2477
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9336 (0x2478)

lri $AR1,    #0x4000
lri $IX1,    #0x2478
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9337 (0x2479)

lri $AR1,    #0x4000
lri $IX1,    #0x2479
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9338 (0x247a)

lri $AR1,    #0x4000
lri $IX1,    #0x247a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9339 (0x247b)

lri $AR1,    #0x4000
lri $IX1,    #0x247b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9340 (0x247c)

lri $AR1,    #0x4000
lri $IX1,    #0x247c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9341 (0x247d)

lri $AR1,    #0x4000
lri $IX1,    #0x247d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9342 (0x247e)

lri $AR1,    #0x4000
lri $IX1,    #0x247e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9343 (0x247f)

lri $AR1,    #0x4000
lri $IX1,    #0x247f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9344 (0x2480)

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

