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

lri $AR1,    #0x4000
lri $IX1,    #0x0500
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1281 (0x0501)

lri $AR1,    #0x4000
lri $IX1,    #0x0501
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1282 (0x0502)

lri $AR1,    #0x4000
lri $IX1,    #0x0502
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1283 (0x0503)

lri $AR1,    #0x4000
lri $IX1,    #0x0503
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1284 (0x0504)

lri $AR1,    #0x4000
lri $IX1,    #0x0504
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1285 (0x0505)

lri $AR1,    #0x4000
lri $IX1,    #0x0505
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1286 (0x0506)

lri $AR1,    #0x4000
lri $IX1,    #0x0506
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1287 (0x0507)

lri $AR1,    #0x4000
lri $IX1,    #0x0507
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1288 (0x0508)

lri $AR1,    #0x4000
lri $IX1,    #0x0508
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1289 (0x0509)

lri $AR1,    #0x4000
lri $IX1,    #0x0509
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1290 (0x050a)

lri $AR1,    #0x4000
lri $IX1,    #0x050a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1291 (0x050b)

lri $AR1,    #0x4000
lri $IX1,    #0x050b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1292 (0x050c)

lri $AR1,    #0x4000
lri $IX1,    #0x050c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1293 (0x050d)

lri $AR1,    #0x4000
lri $IX1,    #0x050d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1294 (0x050e)

lri $AR1,    #0x4000
lri $IX1,    #0x050e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1295 (0x050f)

lri $AR1,    #0x4000
lri $IX1,    #0x050f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1296 (0x0510)

lri $AR1,    #0x4000
lri $IX1,    #0x0510
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1297 (0x0511)

lri $AR1,    #0x4000
lri $IX1,    #0x0511
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1298 (0x0512)

lri $AR1,    #0x4000
lri $IX1,    #0x0512
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1299 (0x0513)

lri $AR1,    #0x4000
lri $IX1,    #0x0513
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1300 (0x0514)

lri $AR1,    #0x4000
lri $IX1,    #0x0514
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1301 (0x0515)

lri $AR1,    #0x4000
lri $IX1,    #0x0515
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1302 (0x0516)

lri $AR1,    #0x4000
lri $IX1,    #0x0516
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1303 (0x0517)

lri $AR1,    #0x4000
lri $IX1,    #0x0517
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1304 (0x0518)

lri $AR1,    #0x4000
lri $IX1,    #0x0518
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1305 (0x0519)

lri $AR1,    #0x4000
lri $IX1,    #0x0519
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1306 (0x051a)

lri $AR1,    #0x4000
lri $IX1,    #0x051a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1307 (0x051b)

lri $AR1,    #0x4000
lri $IX1,    #0x051b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1308 (0x051c)

lri $AR1,    #0x4000
lri $IX1,    #0x051c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1309 (0x051d)

lri $AR1,    #0x4000
lri $IX1,    #0x051d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1310 (0x051e)

lri $AR1,    #0x4000
lri $IX1,    #0x051e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1311 (0x051f)

lri $AR1,    #0x4000
lri $IX1,    #0x051f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1312 (0x0520)

lri $AR1,    #0x4000
lri $IX1,    #0x0520
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1313 (0x0521)

lri $AR1,    #0x4000
lri $IX1,    #0x0521
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1314 (0x0522)

lri $AR1,    #0x4000
lri $IX1,    #0x0522
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1315 (0x0523)

lri $AR1,    #0x4000
lri $IX1,    #0x0523
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1316 (0x0524)

lri $AR1,    #0x4000
lri $IX1,    #0x0524
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1317 (0x0525)

lri $AR1,    #0x4000
lri $IX1,    #0x0525
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1318 (0x0526)

lri $AR1,    #0x4000
lri $IX1,    #0x0526
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1319 (0x0527)

lri $AR1,    #0x4000
lri $IX1,    #0x0527
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1320 (0x0528)

lri $AR1,    #0x4000
lri $IX1,    #0x0528
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1321 (0x0529)

lri $AR1,    #0x4000
lri $IX1,    #0x0529
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1322 (0x052a)

lri $AR1,    #0x4000
lri $IX1,    #0x052a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1323 (0x052b)

lri $AR1,    #0x4000
lri $IX1,    #0x052b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1324 (0x052c)

lri $AR1,    #0x4000
lri $IX1,    #0x052c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1325 (0x052d)

lri $AR1,    #0x4000
lri $IX1,    #0x052d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1326 (0x052e)

lri $AR1,    #0x4000
lri $IX1,    #0x052e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1327 (0x052f)

lri $AR1,    #0x4000
lri $IX1,    #0x052f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1328 (0x0530)

lri $AR1,    #0x4000
lri $IX1,    #0x0530
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1329 (0x0531)

lri $AR1,    #0x4000
lri $IX1,    #0x0531
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1330 (0x0532)

lri $AR1,    #0x4000
lri $IX1,    #0x0532
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1331 (0x0533)

lri $AR1,    #0x4000
lri $IX1,    #0x0533
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1332 (0x0534)

lri $AR1,    #0x4000
lri $IX1,    #0x0534
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1333 (0x0535)

lri $AR1,    #0x4000
lri $IX1,    #0x0535
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1334 (0x0536)

lri $AR1,    #0x4000
lri $IX1,    #0x0536
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1335 (0x0537)

lri $AR1,    #0x4000
lri $IX1,    #0x0537
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1336 (0x0538)

lri $AR1,    #0x4000
lri $IX1,    #0x0538
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1337 (0x0539)

lri $AR1,    #0x4000
lri $IX1,    #0x0539
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1338 (0x053a)

lri $AR1,    #0x4000
lri $IX1,    #0x053a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1339 (0x053b)

lri $AR1,    #0x4000
lri $IX1,    #0x053b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1340 (0x053c)

lri $AR1,    #0x4000
lri $IX1,    #0x053c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1341 (0x053d)

lri $AR1,    #0x4000
lri $IX1,    #0x053d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1342 (0x053e)

lri $AR1,    #0x4000
lri $IX1,    #0x053e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1343 (0x053f)

lri $AR1,    #0x4000
lri $IX1,    #0x053f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1344 (0x0540)

lri $AR1,    #0x4000
lri $IX1,    #0x0540
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1345 (0x0541)

lri $AR1,    #0x4000
lri $IX1,    #0x0541
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1346 (0x0542)

lri $AR1,    #0x4000
lri $IX1,    #0x0542
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1347 (0x0543)

lri $AR1,    #0x4000
lri $IX1,    #0x0543
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1348 (0x0544)

lri $AR1,    #0x4000
lri $IX1,    #0x0544
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1349 (0x0545)

lri $AR1,    #0x4000
lri $IX1,    #0x0545
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1350 (0x0546)

lri $AR1,    #0x4000
lri $IX1,    #0x0546
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1351 (0x0547)

lri $AR1,    #0x4000
lri $IX1,    #0x0547
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1352 (0x0548)

lri $AR1,    #0x4000
lri $IX1,    #0x0548
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1353 (0x0549)

lri $AR1,    #0x4000
lri $IX1,    #0x0549
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1354 (0x054a)

lri $AR1,    #0x4000
lri $IX1,    #0x054a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1355 (0x054b)

lri $AR1,    #0x4000
lri $IX1,    #0x054b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1356 (0x054c)

lri $AR1,    #0x4000
lri $IX1,    #0x054c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1357 (0x054d)

lri $AR1,    #0x4000
lri $IX1,    #0x054d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1358 (0x054e)

lri $AR1,    #0x4000
lri $IX1,    #0x054e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1359 (0x054f)

lri $AR1,    #0x4000
lri $IX1,    #0x054f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1360 (0x0550)

lri $AR1,    #0x4000
lri $IX1,    #0x0550
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1361 (0x0551)

lri $AR1,    #0x4000
lri $IX1,    #0x0551
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1362 (0x0552)

lri $AR1,    #0x4000
lri $IX1,    #0x0552
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1363 (0x0553)

lri $AR1,    #0x4000
lri $IX1,    #0x0553
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1364 (0x0554)

lri $AR1,    #0x4000
lri $IX1,    #0x0554
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1365 (0x0555)

lri $AR1,    #0x4000
lri $IX1,    #0x0555
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1366 (0x0556)

lri $AR1,    #0x4000
lri $IX1,    #0x0556
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1367 (0x0557)

lri $AR1,    #0x4000
lri $IX1,    #0x0557
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1368 (0x0558)

lri $AR1,    #0x4000
lri $IX1,    #0x0558
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1369 (0x0559)

lri $AR1,    #0x4000
lri $IX1,    #0x0559
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1370 (0x055a)

lri $AR1,    #0x4000
lri $IX1,    #0x055a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1371 (0x055b)

lri $AR1,    #0x4000
lri $IX1,    #0x055b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1372 (0x055c)

lri $AR1,    #0x4000
lri $IX1,    #0x055c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1373 (0x055d)

lri $AR1,    #0x4000
lri $IX1,    #0x055d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1374 (0x055e)

lri $AR1,    #0x4000
lri $IX1,    #0x055e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1375 (0x055f)

lri $AR1,    #0x4000
lri $IX1,    #0x055f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1376 (0x0560)

lri $AR1,    #0x4000
lri $IX1,    #0x0560
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1377 (0x0561)

lri $AR1,    #0x4000
lri $IX1,    #0x0561
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1378 (0x0562)

lri $AR1,    #0x4000
lri $IX1,    #0x0562
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1379 (0x0563)

lri $AR1,    #0x4000
lri $IX1,    #0x0563
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1380 (0x0564)

lri $AR1,    #0x4000
lri $IX1,    #0x0564
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1381 (0x0565)

lri $AR1,    #0x4000
lri $IX1,    #0x0565
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1382 (0x0566)

lri $AR1,    #0x4000
lri $IX1,    #0x0566
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1383 (0x0567)

lri $AR1,    #0x4000
lri $IX1,    #0x0567
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1384 (0x0568)

lri $AR1,    #0x4000
lri $IX1,    #0x0568
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1385 (0x0569)

lri $AR1,    #0x4000
lri $IX1,    #0x0569
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1386 (0x056a)

lri $AR1,    #0x4000
lri $IX1,    #0x056a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1387 (0x056b)

lri $AR1,    #0x4000
lri $IX1,    #0x056b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1388 (0x056c)

lri $AR1,    #0x4000
lri $IX1,    #0x056c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1389 (0x056d)

lri $AR1,    #0x4000
lri $IX1,    #0x056d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1390 (0x056e)

lri $AR1,    #0x4000
lri $IX1,    #0x056e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1391 (0x056f)

lri $AR1,    #0x4000
lri $IX1,    #0x056f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1392 (0x0570)

lri $AR1,    #0x4000
lri $IX1,    #0x0570
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1393 (0x0571)

lri $AR1,    #0x4000
lri $IX1,    #0x0571
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1394 (0x0572)

lri $AR1,    #0x4000
lri $IX1,    #0x0572
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1395 (0x0573)

lri $AR1,    #0x4000
lri $IX1,    #0x0573
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1396 (0x0574)

lri $AR1,    #0x4000
lri $IX1,    #0x0574
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1397 (0x0575)

lri $AR1,    #0x4000
lri $IX1,    #0x0575
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1398 (0x0576)

lri $AR1,    #0x4000
lri $IX1,    #0x0576
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1399 (0x0577)

lri $AR1,    #0x4000
lri $IX1,    #0x0577
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1400 (0x0578)

lri $AR1,    #0x4000
lri $IX1,    #0x0578
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1401 (0x0579)

lri $AR1,    #0x4000
lri $IX1,    #0x0579
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1402 (0x057a)

lri $AR1,    #0x4000
lri $IX1,    #0x057a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1403 (0x057b)

lri $AR1,    #0x4000
lri $IX1,    #0x057b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1404 (0x057c)

lri $AR1,    #0x4000
lri $IX1,    #0x057c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1405 (0x057d)

lri $AR1,    #0x4000
lri $IX1,    #0x057d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1406 (0x057e)

lri $AR1,    #0x4000
lri $IX1,    #0x057e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1407 (0x057f)

lri $AR1,    #0x4000
lri $IX1,    #0x057f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1408 (0x0580)

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

