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

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

lri $AR1,    #0x4000
lri $IX1,    #0x0601
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1538 (0x0602)

lri $AR1,    #0x4000
lri $IX1,    #0x0602
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1539 (0x0603)

lri $AR1,    #0x4000
lri $IX1,    #0x0603
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1540 (0x0604)

lri $AR1,    #0x4000
lri $IX1,    #0x0604
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1541 (0x0605)

lri $AR1,    #0x4000
lri $IX1,    #0x0605
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1542 (0x0606)

lri $AR1,    #0x4000
lri $IX1,    #0x0606
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1543 (0x0607)

lri $AR1,    #0x4000
lri $IX1,    #0x0607
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1544 (0x0608)

lri $AR1,    #0x4000
lri $IX1,    #0x0608
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1545 (0x0609)

lri $AR1,    #0x4000
lri $IX1,    #0x0609
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1546 (0x060a)

lri $AR1,    #0x4000
lri $IX1,    #0x060a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1547 (0x060b)

lri $AR1,    #0x4000
lri $IX1,    #0x060b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1548 (0x060c)

lri $AR1,    #0x4000
lri $IX1,    #0x060c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1549 (0x060d)

lri $AR1,    #0x4000
lri $IX1,    #0x060d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1550 (0x060e)

lri $AR1,    #0x4000
lri $IX1,    #0x060e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1551 (0x060f)

lri $AR1,    #0x4000
lri $IX1,    #0x060f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1552 (0x0610)

lri $AR1,    #0x4000
lri $IX1,    #0x0610
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1553 (0x0611)

lri $AR1,    #0x4000
lri $IX1,    #0x0611
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1554 (0x0612)

lri $AR1,    #0x4000
lri $IX1,    #0x0612
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1555 (0x0613)

lri $AR1,    #0x4000
lri $IX1,    #0x0613
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1556 (0x0614)

lri $AR1,    #0x4000
lri $IX1,    #0x0614
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1557 (0x0615)

lri $AR1,    #0x4000
lri $IX1,    #0x0615
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1558 (0x0616)

lri $AR1,    #0x4000
lri $IX1,    #0x0616
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1559 (0x0617)

lri $AR1,    #0x4000
lri $IX1,    #0x0617
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1560 (0x0618)

lri $AR1,    #0x4000
lri $IX1,    #0x0618
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1561 (0x0619)

lri $AR1,    #0x4000
lri $IX1,    #0x0619
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1562 (0x061a)

lri $AR1,    #0x4000
lri $IX1,    #0x061a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1563 (0x061b)

lri $AR1,    #0x4000
lri $IX1,    #0x061b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1564 (0x061c)

lri $AR1,    #0x4000
lri $IX1,    #0x061c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1565 (0x061d)

lri $AR1,    #0x4000
lri $IX1,    #0x061d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1566 (0x061e)

lri $AR1,    #0x4000
lri $IX1,    #0x061e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1567 (0x061f)

lri $AR1,    #0x4000
lri $IX1,    #0x061f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1568 (0x0620)

lri $AR1,    #0x4000
lri $IX1,    #0x0620
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1569 (0x0621)

lri $AR1,    #0x4000
lri $IX1,    #0x0621
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1570 (0x0622)

lri $AR1,    #0x4000
lri $IX1,    #0x0622
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1571 (0x0623)

lri $AR1,    #0x4000
lri $IX1,    #0x0623
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1572 (0x0624)

lri $AR1,    #0x4000
lri $IX1,    #0x0624
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1573 (0x0625)

lri $AR1,    #0x4000
lri $IX1,    #0x0625
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1574 (0x0626)

lri $AR1,    #0x4000
lri $IX1,    #0x0626
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1575 (0x0627)

lri $AR1,    #0x4000
lri $IX1,    #0x0627
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1576 (0x0628)

lri $AR1,    #0x4000
lri $IX1,    #0x0628
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1577 (0x0629)

lri $AR1,    #0x4000
lri $IX1,    #0x0629
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1578 (0x062a)

lri $AR1,    #0x4000
lri $IX1,    #0x062a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1579 (0x062b)

lri $AR1,    #0x4000
lri $IX1,    #0x062b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1580 (0x062c)

lri $AR1,    #0x4000
lri $IX1,    #0x062c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1581 (0x062d)

lri $AR1,    #0x4000
lri $IX1,    #0x062d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1582 (0x062e)

lri $AR1,    #0x4000
lri $IX1,    #0x062e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1583 (0x062f)

lri $AR1,    #0x4000
lri $IX1,    #0x062f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1584 (0x0630)

lri $AR1,    #0x4000
lri $IX1,    #0x0630
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1585 (0x0631)

lri $AR1,    #0x4000
lri $IX1,    #0x0631
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1586 (0x0632)

lri $AR1,    #0x4000
lri $IX1,    #0x0632
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1587 (0x0633)

lri $AR1,    #0x4000
lri $IX1,    #0x0633
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1588 (0x0634)

lri $AR1,    #0x4000
lri $IX1,    #0x0634
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1589 (0x0635)

lri $AR1,    #0x4000
lri $IX1,    #0x0635
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1590 (0x0636)

lri $AR1,    #0x4000
lri $IX1,    #0x0636
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1591 (0x0637)

lri $AR1,    #0x4000
lri $IX1,    #0x0637
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1592 (0x0638)

lri $AR1,    #0x4000
lri $IX1,    #0x0638
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1593 (0x0639)

lri $AR1,    #0x4000
lri $IX1,    #0x0639
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1594 (0x063a)

lri $AR1,    #0x4000
lri $IX1,    #0x063a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1595 (0x063b)

lri $AR1,    #0x4000
lri $IX1,    #0x063b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1596 (0x063c)

lri $AR1,    #0x4000
lri $IX1,    #0x063c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1597 (0x063d)

lri $AR1,    #0x4000
lri $IX1,    #0x063d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1598 (0x063e)

lri $AR1,    #0x4000
lri $IX1,    #0x063e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1599 (0x063f)

lri $AR1,    #0x4000
lri $IX1,    #0x063f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1600 (0x0640)

lri $AR1,    #0x4000
lri $IX1,    #0x0640
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1601 (0x0641)

lri $AR1,    #0x4000
lri $IX1,    #0x0641
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1602 (0x0642)

lri $AR1,    #0x4000
lri $IX1,    #0x0642
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1603 (0x0643)

lri $AR1,    #0x4000
lri $IX1,    #0x0643
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1604 (0x0644)

lri $AR1,    #0x4000
lri $IX1,    #0x0644
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1605 (0x0645)

lri $AR1,    #0x4000
lri $IX1,    #0x0645
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1606 (0x0646)

lri $AR1,    #0x4000
lri $IX1,    #0x0646
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1607 (0x0647)

lri $AR1,    #0x4000
lri $IX1,    #0x0647
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1608 (0x0648)

lri $AR1,    #0x4000
lri $IX1,    #0x0648
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1609 (0x0649)

lri $AR1,    #0x4000
lri $IX1,    #0x0649
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1610 (0x064a)

lri $AR1,    #0x4000
lri $IX1,    #0x064a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1611 (0x064b)

lri $AR1,    #0x4000
lri $IX1,    #0x064b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1612 (0x064c)

lri $AR1,    #0x4000
lri $IX1,    #0x064c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1613 (0x064d)

lri $AR1,    #0x4000
lri $IX1,    #0x064d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1614 (0x064e)

lri $AR1,    #0x4000
lri $IX1,    #0x064e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1615 (0x064f)

lri $AR1,    #0x4000
lri $IX1,    #0x064f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1616 (0x0650)

lri $AR1,    #0x4000
lri $IX1,    #0x0650
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1617 (0x0651)

lri $AR1,    #0x4000
lri $IX1,    #0x0651
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1618 (0x0652)

lri $AR1,    #0x4000
lri $IX1,    #0x0652
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1619 (0x0653)

lri $AR1,    #0x4000
lri $IX1,    #0x0653
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1620 (0x0654)

lri $AR1,    #0x4000
lri $IX1,    #0x0654
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1621 (0x0655)

lri $AR1,    #0x4000
lri $IX1,    #0x0655
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1622 (0x0656)

lri $AR1,    #0x4000
lri $IX1,    #0x0656
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1623 (0x0657)

lri $AR1,    #0x4000
lri $IX1,    #0x0657
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1624 (0x0658)

lri $AR1,    #0x4000
lri $IX1,    #0x0658
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1625 (0x0659)

lri $AR1,    #0x4000
lri $IX1,    #0x0659
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1626 (0x065a)

lri $AR1,    #0x4000
lri $IX1,    #0x065a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1627 (0x065b)

lri $AR1,    #0x4000
lri $IX1,    #0x065b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1628 (0x065c)

lri $AR1,    #0x4000
lri $IX1,    #0x065c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1629 (0x065d)

lri $AR1,    #0x4000
lri $IX1,    #0x065d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1630 (0x065e)

lri $AR1,    #0x4000
lri $IX1,    #0x065e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1631 (0x065f)

lri $AR1,    #0x4000
lri $IX1,    #0x065f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1632 (0x0660)

lri $AR1,    #0x4000
lri $IX1,    #0x0660
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1633 (0x0661)

lri $AR1,    #0x4000
lri $IX1,    #0x0661
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1634 (0x0662)

lri $AR1,    #0x4000
lri $IX1,    #0x0662
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1635 (0x0663)

lri $AR1,    #0x4000
lri $IX1,    #0x0663
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1636 (0x0664)

lri $AR1,    #0x4000
lri $IX1,    #0x0664
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1637 (0x0665)

lri $AR1,    #0x4000
lri $IX1,    #0x0665
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1638 (0x0666)

lri $AR1,    #0x4000
lri $IX1,    #0x0666
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1639 (0x0667)

lri $AR1,    #0x4000
lri $IX1,    #0x0667
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1640 (0x0668)

lri $AR1,    #0x4000
lri $IX1,    #0x0668
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1641 (0x0669)

lri $AR1,    #0x4000
lri $IX1,    #0x0669
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1642 (0x066a)

lri $AR1,    #0x4000
lri $IX1,    #0x066a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1643 (0x066b)

lri $AR1,    #0x4000
lri $IX1,    #0x066b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1644 (0x066c)

lri $AR1,    #0x4000
lri $IX1,    #0x066c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1645 (0x066d)

lri $AR1,    #0x4000
lri $IX1,    #0x066d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1646 (0x066e)

lri $AR1,    #0x4000
lri $IX1,    #0x066e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1647 (0x066f)

lri $AR1,    #0x4000
lri $IX1,    #0x066f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1648 (0x0670)

lri $AR1,    #0x4000
lri $IX1,    #0x0670
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1649 (0x0671)

lri $AR1,    #0x4000
lri $IX1,    #0x0671
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1650 (0x0672)

lri $AR1,    #0x4000
lri $IX1,    #0x0672
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1651 (0x0673)

lri $AR1,    #0x4000
lri $IX1,    #0x0673
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1652 (0x0674)

lri $AR1,    #0x4000
lri $IX1,    #0x0674
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1653 (0x0675)

lri $AR1,    #0x4000
lri $IX1,    #0x0675
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1654 (0x0676)

lri $AR1,    #0x4000
lri $IX1,    #0x0676
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1655 (0x0677)

lri $AR1,    #0x4000
lri $IX1,    #0x0677
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1656 (0x0678)

lri $AR1,    #0x4000
lri $IX1,    #0x0678
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1657 (0x0679)

lri $AR1,    #0x4000
lri $IX1,    #0x0679
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1658 (0x067a)

lri $AR1,    #0x4000
lri $IX1,    #0x067a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1659 (0x067b)

lri $AR1,    #0x4000
lri $IX1,    #0x067b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1660 (0x067c)

lri $AR1,    #0x4000
lri $IX1,    #0x067c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1661 (0x067d)

lri $AR1,    #0x4000
lri $IX1,    #0x067d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1662 (0x067e)

lri $AR1,    #0x4000
lri $IX1,    #0x067e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1663 (0x067f)

lri $AR1,    #0x4000
lri $IX1,    #0x067f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1664 (0x0680)

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

