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

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

lri $AR1,    #0x4000
lri $IX1,    #0x0581
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1410 (0x0582)

lri $AR1,    #0x4000
lri $IX1,    #0x0582
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1411 (0x0583)

lri $AR1,    #0x4000
lri $IX1,    #0x0583
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1412 (0x0584)

lri $AR1,    #0x4000
lri $IX1,    #0x0584
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1413 (0x0585)

lri $AR1,    #0x4000
lri $IX1,    #0x0585
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1414 (0x0586)

lri $AR1,    #0x4000
lri $IX1,    #0x0586
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1415 (0x0587)

lri $AR1,    #0x4000
lri $IX1,    #0x0587
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1416 (0x0588)

lri $AR1,    #0x4000
lri $IX1,    #0x0588
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1417 (0x0589)

lri $AR1,    #0x4000
lri $IX1,    #0x0589
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1418 (0x058a)

lri $AR1,    #0x4000
lri $IX1,    #0x058a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1419 (0x058b)

lri $AR1,    #0x4000
lri $IX1,    #0x058b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1420 (0x058c)

lri $AR1,    #0x4000
lri $IX1,    #0x058c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1421 (0x058d)

lri $AR1,    #0x4000
lri $IX1,    #0x058d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1422 (0x058e)

lri $AR1,    #0x4000
lri $IX1,    #0x058e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1423 (0x058f)

lri $AR1,    #0x4000
lri $IX1,    #0x058f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1424 (0x0590)

lri $AR1,    #0x4000
lri $IX1,    #0x0590
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1425 (0x0591)

lri $AR1,    #0x4000
lri $IX1,    #0x0591
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1426 (0x0592)

lri $AR1,    #0x4000
lri $IX1,    #0x0592
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1427 (0x0593)

lri $AR1,    #0x4000
lri $IX1,    #0x0593
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1428 (0x0594)

lri $AR1,    #0x4000
lri $IX1,    #0x0594
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1429 (0x0595)

lri $AR1,    #0x4000
lri $IX1,    #0x0595
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1430 (0x0596)

lri $AR1,    #0x4000
lri $IX1,    #0x0596
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1431 (0x0597)

lri $AR1,    #0x4000
lri $IX1,    #0x0597
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1432 (0x0598)

lri $AR1,    #0x4000
lri $IX1,    #0x0598
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1433 (0x0599)

lri $AR1,    #0x4000
lri $IX1,    #0x0599
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1434 (0x059a)

lri $AR1,    #0x4000
lri $IX1,    #0x059a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1435 (0x059b)

lri $AR1,    #0x4000
lri $IX1,    #0x059b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1436 (0x059c)

lri $AR1,    #0x4000
lri $IX1,    #0x059c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1437 (0x059d)

lri $AR1,    #0x4000
lri $IX1,    #0x059d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1438 (0x059e)

lri $AR1,    #0x4000
lri $IX1,    #0x059e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1439 (0x059f)

lri $AR1,    #0x4000
lri $IX1,    #0x059f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1440 (0x05a0)

lri $AR1,    #0x4000
lri $IX1,    #0x05a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1441 (0x05a1)

lri $AR1,    #0x4000
lri $IX1,    #0x05a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1442 (0x05a2)

lri $AR1,    #0x4000
lri $IX1,    #0x05a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1443 (0x05a3)

lri $AR1,    #0x4000
lri $IX1,    #0x05a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1444 (0x05a4)

lri $AR1,    #0x4000
lri $IX1,    #0x05a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1445 (0x05a5)

lri $AR1,    #0x4000
lri $IX1,    #0x05a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1446 (0x05a6)

lri $AR1,    #0x4000
lri $IX1,    #0x05a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1447 (0x05a7)

lri $AR1,    #0x4000
lri $IX1,    #0x05a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1448 (0x05a8)

lri $AR1,    #0x4000
lri $IX1,    #0x05a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1449 (0x05a9)

lri $AR1,    #0x4000
lri $IX1,    #0x05a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1450 (0x05aa)

lri $AR1,    #0x4000
lri $IX1,    #0x05aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1451 (0x05ab)

lri $AR1,    #0x4000
lri $IX1,    #0x05ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1452 (0x05ac)

lri $AR1,    #0x4000
lri $IX1,    #0x05ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1453 (0x05ad)

lri $AR1,    #0x4000
lri $IX1,    #0x05ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1454 (0x05ae)

lri $AR1,    #0x4000
lri $IX1,    #0x05ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1455 (0x05af)

lri $AR1,    #0x4000
lri $IX1,    #0x05af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1456 (0x05b0)

lri $AR1,    #0x4000
lri $IX1,    #0x05b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1457 (0x05b1)

lri $AR1,    #0x4000
lri $IX1,    #0x05b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1458 (0x05b2)

lri $AR1,    #0x4000
lri $IX1,    #0x05b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1459 (0x05b3)

lri $AR1,    #0x4000
lri $IX1,    #0x05b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1460 (0x05b4)

lri $AR1,    #0x4000
lri $IX1,    #0x05b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1461 (0x05b5)

lri $AR1,    #0x4000
lri $IX1,    #0x05b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1462 (0x05b6)

lri $AR1,    #0x4000
lri $IX1,    #0x05b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1463 (0x05b7)

lri $AR1,    #0x4000
lri $IX1,    #0x05b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1464 (0x05b8)

lri $AR1,    #0x4000
lri $IX1,    #0x05b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1465 (0x05b9)

lri $AR1,    #0x4000
lri $IX1,    #0x05b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1466 (0x05ba)

lri $AR1,    #0x4000
lri $IX1,    #0x05ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1467 (0x05bb)

lri $AR1,    #0x4000
lri $IX1,    #0x05bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1468 (0x05bc)

lri $AR1,    #0x4000
lri $IX1,    #0x05bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1469 (0x05bd)

lri $AR1,    #0x4000
lri $IX1,    #0x05bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1470 (0x05be)

lri $AR1,    #0x4000
lri $IX1,    #0x05be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1471 (0x05bf)

lri $AR1,    #0x4000
lri $IX1,    #0x05bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1472 (0x05c0)

lri $AR1,    #0x4000
lri $IX1,    #0x05c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1473 (0x05c1)

lri $AR1,    #0x4000
lri $IX1,    #0x05c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1474 (0x05c2)

lri $AR1,    #0x4000
lri $IX1,    #0x05c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1475 (0x05c3)

lri $AR1,    #0x4000
lri $IX1,    #0x05c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1476 (0x05c4)

lri $AR1,    #0x4000
lri $IX1,    #0x05c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1477 (0x05c5)

lri $AR1,    #0x4000
lri $IX1,    #0x05c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1478 (0x05c6)

lri $AR1,    #0x4000
lri $IX1,    #0x05c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1479 (0x05c7)

lri $AR1,    #0x4000
lri $IX1,    #0x05c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1480 (0x05c8)

lri $AR1,    #0x4000
lri $IX1,    #0x05c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1481 (0x05c9)

lri $AR1,    #0x4000
lri $IX1,    #0x05c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1482 (0x05ca)

lri $AR1,    #0x4000
lri $IX1,    #0x05ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1483 (0x05cb)

lri $AR1,    #0x4000
lri $IX1,    #0x05cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1484 (0x05cc)

lri $AR1,    #0x4000
lri $IX1,    #0x05cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1485 (0x05cd)

lri $AR1,    #0x4000
lri $IX1,    #0x05cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1486 (0x05ce)

lri $AR1,    #0x4000
lri $IX1,    #0x05ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1487 (0x05cf)

lri $AR1,    #0x4000
lri $IX1,    #0x05cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1488 (0x05d0)

lri $AR1,    #0x4000
lri $IX1,    #0x05d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1489 (0x05d1)

lri $AR1,    #0x4000
lri $IX1,    #0x05d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1490 (0x05d2)

lri $AR1,    #0x4000
lri $IX1,    #0x05d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1491 (0x05d3)

lri $AR1,    #0x4000
lri $IX1,    #0x05d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1492 (0x05d4)

lri $AR1,    #0x4000
lri $IX1,    #0x05d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1493 (0x05d5)

lri $AR1,    #0x4000
lri $IX1,    #0x05d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1494 (0x05d6)

lri $AR1,    #0x4000
lri $IX1,    #0x05d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1495 (0x05d7)

lri $AR1,    #0x4000
lri $IX1,    #0x05d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1496 (0x05d8)

lri $AR1,    #0x4000
lri $IX1,    #0x05d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1497 (0x05d9)

lri $AR1,    #0x4000
lri $IX1,    #0x05d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1498 (0x05da)

lri $AR1,    #0x4000
lri $IX1,    #0x05da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1499 (0x05db)

lri $AR1,    #0x4000
lri $IX1,    #0x05db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1500 (0x05dc)

lri $AR1,    #0x4000
lri $IX1,    #0x05dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1501 (0x05dd)

lri $AR1,    #0x4000
lri $IX1,    #0x05dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1502 (0x05de)

lri $AR1,    #0x4000
lri $IX1,    #0x05de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1503 (0x05df)

lri $AR1,    #0x4000
lri $IX1,    #0x05df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1504 (0x05e0)

lri $AR1,    #0x4000
lri $IX1,    #0x05e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1505 (0x05e1)

lri $AR1,    #0x4000
lri $IX1,    #0x05e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1506 (0x05e2)

lri $AR1,    #0x4000
lri $IX1,    #0x05e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1507 (0x05e3)

lri $AR1,    #0x4000
lri $IX1,    #0x05e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1508 (0x05e4)

lri $AR1,    #0x4000
lri $IX1,    #0x05e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1509 (0x05e5)

lri $AR1,    #0x4000
lri $IX1,    #0x05e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1510 (0x05e6)

lri $AR1,    #0x4000
lri $IX1,    #0x05e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1511 (0x05e7)

lri $AR1,    #0x4000
lri $IX1,    #0x05e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1512 (0x05e8)

lri $AR1,    #0x4000
lri $IX1,    #0x05e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1513 (0x05e9)

lri $AR1,    #0x4000
lri $IX1,    #0x05e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1514 (0x05ea)

lri $AR1,    #0x4000
lri $IX1,    #0x05ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1515 (0x05eb)

lri $AR1,    #0x4000
lri $IX1,    #0x05eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1516 (0x05ec)

lri $AR1,    #0x4000
lri $IX1,    #0x05ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1517 (0x05ed)

lri $AR1,    #0x4000
lri $IX1,    #0x05ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1518 (0x05ee)

lri $AR1,    #0x4000
lri $IX1,    #0x05ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1519 (0x05ef)

lri $AR1,    #0x4000
lri $IX1,    #0x05ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1520 (0x05f0)

lri $AR1,    #0x4000
lri $IX1,    #0x05f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1521 (0x05f1)

lri $AR1,    #0x4000
lri $IX1,    #0x05f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1522 (0x05f2)

lri $AR1,    #0x4000
lri $IX1,    #0x05f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1523 (0x05f3)

lri $AR1,    #0x4000
lri $IX1,    #0x05f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1524 (0x05f4)

lri $AR1,    #0x4000
lri $IX1,    #0x05f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1525 (0x05f5)

lri $AR1,    #0x4000
lri $IX1,    #0x05f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1526 (0x05f6)

lri $AR1,    #0x4000
lri $IX1,    #0x05f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1527 (0x05f7)

lri $AR1,    #0x4000
lri $IX1,    #0x05f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1528 (0x05f8)

lri $AR1,    #0x4000
lri $IX1,    #0x05f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1529 (0x05f9)

lri $AR1,    #0x4000
lri $IX1,    #0x05f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1530 (0x05fa)

lri $AR1,    #0x4000
lri $IX1,    #0x05fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1531 (0x05fb)

lri $AR1,    #0x4000
lri $IX1,    #0x05fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1532 (0x05fc)

lri $AR1,    #0x4000
lri $IX1,    #0x05fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1533 (0x05fd)

lri $AR1,    #0x4000
lri $IX1,    #0x05fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1534 (0x05fe)

lri $AR1,    #0x4000
lri $IX1,    #0x05fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1535 (0x05ff)

lri $AR1,    #0x4000
lri $IX1,    #0x05ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1536 (0x0600)

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

