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

lri $AR1,    #0x4000
lri $IX1,    #0x1600
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5633 (0x1601)

lri $AR1,    #0x4000
lri $IX1,    #0x1601
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5634 (0x1602)

lri $AR1,    #0x4000
lri $IX1,    #0x1602
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5635 (0x1603)

lri $AR1,    #0x4000
lri $IX1,    #0x1603
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5636 (0x1604)

lri $AR1,    #0x4000
lri $IX1,    #0x1604
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5637 (0x1605)

lri $AR1,    #0x4000
lri $IX1,    #0x1605
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5638 (0x1606)

lri $AR1,    #0x4000
lri $IX1,    #0x1606
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5639 (0x1607)

lri $AR1,    #0x4000
lri $IX1,    #0x1607
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5640 (0x1608)

lri $AR1,    #0x4000
lri $IX1,    #0x1608
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5641 (0x1609)

lri $AR1,    #0x4000
lri $IX1,    #0x1609
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5642 (0x160a)

lri $AR1,    #0x4000
lri $IX1,    #0x160a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5643 (0x160b)

lri $AR1,    #0x4000
lri $IX1,    #0x160b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5644 (0x160c)

lri $AR1,    #0x4000
lri $IX1,    #0x160c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5645 (0x160d)

lri $AR1,    #0x4000
lri $IX1,    #0x160d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5646 (0x160e)

lri $AR1,    #0x4000
lri $IX1,    #0x160e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5647 (0x160f)

lri $AR1,    #0x4000
lri $IX1,    #0x160f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5648 (0x1610)

lri $AR1,    #0x4000
lri $IX1,    #0x1610
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5649 (0x1611)

lri $AR1,    #0x4000
lri $IX1,    #0x1611
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5650 (0x1612)

lri $AR1,    #0x4000
lri $IX1,    #0x1612
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5651 (0x1613)

lri $AR1,    #0x4000
lri $IX1,    #0x1613
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5652 (0x1614)

lri $AR1,    #0x4000
lri $IX1,    #0x1614
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5653 (0x1615)

lri $AR1,    #0x4000
lri $IX1,    #0x1615
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5654 (0x1616)

lri $AR1,    #0x4000
lri $IX1,    #0x1616
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5655 (0x1617)

lri $AR1,    #0x4000
lri $IX1,    #0x1617
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5656 (0x1618)

lri $AR1,    #0x4000
lri $IX1,    #0x1618
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5657 (0x1619)

lri $AR1,    #0x4000
lri $IX1,    #0x1619
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5658 (0x161a)

lri $AR1,    #0x4000
lri $IX1,    #0x161a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5659 (0x161b)

lri $AR1,    #0x4000
lri $IX1,    #0x161b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5660 (0x161c)

lri $AR1,    #0x4000
lri $IX1,    #0x161c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5661 (0x161d)

lri $AR1,    #0x4000
lri $IX1,    #0x161d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5662 (0x161e)

lri $AR1,    #0x4000
lri $IX1,    #0x161e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5663 (0x161f)

lri $AR1,    #0x4000
lri $IX1,    #0x161f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5664 (0x1620)

lri $AR1,    #0x4000
lri $IX1,    #0x1620
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5665 (0x1621)

lri $AR1,    #0x4000
lri $IX1,    #0x1621
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5666 (0x1622)

lri $AR1,    #0x4000
lri $IX1,    #0x1622
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5667 (0x1623)

lri $AR1,    #0x4000
lri $IX1,    #0x1623
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5668 (0x1624)

lri $AR1,    #0x4000
lri $IX1,    #0x1624
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5669 (0x1625)

lri $AR1,    #0x4000
lri $IX1,    #0x1625
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5670 (0x1626)

lri $AR1,    #0x4000
lri $IX1,    #0x1626
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5671 (0x1627)

lri $AR1,    #0x4000
lri $IX1,    #0x1627
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5672 (0x1628)

lri $AR1,    #0x4000
lri $IX1,    #0x1628
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5673 (0x1629)

lri $AR1,    #0x4000
lri $IX1,    #0x1629
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5674 (0x162a)

lri $AR1,    #0x4000
lri $IX1,    #0x162a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5675 (0x162b)

lri $AR1,    #0x4000
lri $IX1,    #0x162b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5676 (0x162c)

lri $AR1,    #0x4000
lri $IX1,    #0x162c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5677 (0x162d)

lri $AR1,    #0x4000
lri $IX1,    #0x162d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5678 (0x162e)

lri $AR1,    #0x4000
lri $IX1,    #0x162e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5679 (0x162f)

lri $AR1,    #0x4000
lri $IX1,    #0x162f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5680 (0x1630)

lri $AR1,    #0x4000
lri $IX1,    #0x1630
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5681 (0x1631)

lri $AR1,    #0x4000
lri $IX1,    #0x1631
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5682 (0x1632)

lri $AR1,    #0x4000
lri $IX1,    #0x1632
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5683 (0x1633)

lri $AR1,    #0x4000
lri $IX1,    #0x1633
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5684 (0x1634)

lri $AR1,    #0x4000
lri $IX1,    #0x1634
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5685 (0x1635)

lri $AR1,    #0x4000
lri $IX1,    #0x1635
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5686 (0x1636)

lri $AR1,    #0x4000
lri $IX1,    #0x1636
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5687 (0x1637)

lri $AR1,    #0x4000
lri $IX1,    #0x1637
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5688 (0x1638)

lri $AR1,    #0x4000
lri $IX1,    #0x1638
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5689 (0x1639)

lri $AR1,    #0x4000
lri $IX1,    #0x1639
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5690 (0x163a)

lri $AR1,    #0x4000
lri $IX1,    #0x163a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5691 (0x163b)

lri $AR1,    #0x4000
lri $IX1,    #0x163b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5692 (0x163c)

lri $AR1,    #0x4000
lri $IX1,    #0x163c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5693 (0x163d)

lri $AR1,    #0x4000
lri $IX1,    #0x163d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5694 (0x163e)

lri $AR1,    #0x4000
lri $IX1,    #0x163e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5695 (0x163f)

lri $AR1,    #0x4000
lri $IX1,    #0x163f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5696 (0x1640)

lri $AR1,    #0x4000
lri $IX1,    #0x1640
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5697 (0x1641)

lri $AR1,    #0x4000
lri $IX1,    #0x1641
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5698 (0x1642)

lri $AR1,    #0x4000
lri $IX1,    #0x1642
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5699 (0x1643)

lri $AR1,    #0x4000
lri $IX1,    #0x1643
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5700 (0x1644)

lri $AR1,    #0x4000
lri $IX1,    #0x1644
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5701 (0x1645)

lri $AR1,    #0x4000
lri $IX1,    #0x1645
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5702 (0x1646)

lri $AR1,    #0x4000
lri $IX1,    #0x1646
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5703 (0x1647)

lri $AR1,    #0x4000
lri $IX1,    #0x1647
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5704 (0x1648)

lri $AR1,    #0x4000
lri $IX1,    #0x1648
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5705 (0x1649)

lri $AR1,    #0x4000
lri $IX1,    #0x1649
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5706 (0x164a)

lri $AR1,    #0x4000
lri $IX1,    #0x164a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5707 (0x164b)

lri $AR1,    #0x4000
lri $IX1,    #0x164b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5708 (0x164c)

lri $AR1,    #0x4000
lri $IX1,    #0x164c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5709 (0x164d)

lri $AR1,    #0x4000
lri $IX1,    #0x164d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5710 (0x164e)

lri $AR1,    #0x4000
lri $IX1,    #0x164e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5711 (0x164f)

lri $AR1,    #0x4000
lri $IX1,    #0x164f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5712 (0x1650)

lri $AR1,    #0x4000
lri $IX1,    #0x1650
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5713 (0x1651)

lri $AR1,    #0x4000
lri $IX1,    #0x1651
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5714 (0x1652)

lri $AR1,    #0x4000
lri $IX1,    #0x1652
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5715 (0x1653)

lri $AR1,    #0x4000
lri $IX1,    #0x1653
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5716 (0x1654)

lri $AR1,    #0x4000
lri $IX1,    #0x1654
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5717 (0x1655)

lri $AR1,    #0x4000
lri $IX1,    #0x1655
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5718 (0x1656)

lri $AR1,    #0x4000
lri $IX1,    #0x1656
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5719 (0x1657)

lri $AR1,    #0x4000
lri $IX1,    #0x1657
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5720 (0x1658)

lri $AR1,    #0x4000
lri $IX1,    #0x1658
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5721 (0x1659)

lri $AR1,    #0x4000
lri $IX1,    #0x1659
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5722 (0x165a)

lri $AR1,    #0x4000
lri $IX1,    #0x165a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5723 (0x165b)

lri $AR1,    #0x4000
lri $IX1,    #0x165b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5724 (0x165c)

lri $AR1,    #0x4000
lri $IX1,    #0x165c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5725 (0x165d)

lri $AR1,    #0x4000
lri $IX1,    #0x165d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5726 (0x165e)

lri $AR1,    #0x4000
lri $IX1,    #0x165e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5727 (0x165f)

lri $AR1,    #0x4000
lri $IX1,    #0x165f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5728 (0x1660)

lri $AR1,    #0x4000
lri $IX1,    #0x1660
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5729 (0x1661)

lri $AR1,    #0x4000
lri $IX1,    #0x1661
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5730 (0x1662)

lri $AR1,    #0x4000
lri $IX1,    #0x1662
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5731 (0x1663)

lri $AR1,    #0x4000
lri $IX1,    #0x1663
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5732 (0x1664)

lri $AR1,    #0x4000
lri $IX1,    #0x1664
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5733 (0x1665)

lri $AR1,    #0x4000
lri $IX1,    #0x1665
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5734 (0x1666)

lri $AR1,    #0x4000
lri $IX1,    #0x1666
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5735 (0x1667)

lri $AR1,    #0x4000
lri $IX1,    #0x1667
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5736 (0x1668)

lri $AR1,    #0x4000
lri $IX1,    #0x1668
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5737 (0x1669)

lri $AR1,    #0x4000
lri $IX1,    #0x1669
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5738 (0x166a)

lri $AR1,    #0x4000
lri $IX1,    #0x166a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5739 (0x166b)

lri $AR1,    #0x4000
lri $IX1,    #0x166b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5740 (0x166c)

lri $AR1,    #0x4000
lri $IX1,    #0x166c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5741 (0x166d)

lri $AR1,    #0x4000
lri $IX1,    #0x166d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5742 (0x166e)

lri $AR1,    #0x4000
lri $IX1,    #0x166e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5743 (0x166f)

lri $AR1,    #0x4000
lri $IX1,    #0x166f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5744 (0x1670)

lri $AR1,    #0x4000
lri $IX1,    #0x1670
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5745 (0x1671)

lri $AR1,    #0x4000
lri $IX1,    #0x1671
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5746 (0x1672)

lri $AR1,    #0x4000
lri $IX1,    #0x1672
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5747 (0x1673)

lri $AR1,    #0x4000
lri $IX1,    #0x1673
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5748 (0x1674)

lri $AR1,    #0x4000
lri $IX1,    #0x1674
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5749 (0x1675)

lri $AR1,    #0x4000
lri $IX1,    #0x1675
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5750 (0x1676)

lri $AR1,    #0x4000
lri $IX1,    #0x1676
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5751 (0x1677)

lri $AR1,    #0x4000
lri $IX1,    #0x1677
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5752 (0x1678)

lri $AR1,    #0x4000
lri $IX1,    #0x1678
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5753 (0x1679)

lri $AR1,    #0x4000
lri $IX1,    #0x1679
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5754 (0x167a)

lri $AR1,    #0x4000
lri $IX1,    #0x167a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5755 (0x167b)

lri $AR1,    #0x4000
lri $IX1,    #0x167b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5756 (0x167c)

lri $AR1,    #0x4000
lri $IX1,    #0x167c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5757 (0x167d)

lri $AR1,    #0x4000
lri $IX1,    #0x167d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5758 (0x167e)

lri $AR1,    #0x4000
lri $IX1,    #0x167e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5759 (0x167f)

lri $AR1,    #0x4000
lri $IX1,    #0x167f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5760 (0x1680)

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

