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

lri $AR1,    #0x8002
lri $IX1,    #0x60cc
lri $WR1,    #0x1140
cw 0xd
call send_back  ; 5633 (0x1601)

lri $AR1,    #0x7bcc
lri $IX1,    #0xeb44
lri $WR1,    #0xa6e2
cw 0xd
call send_back  ; 5634 (0x1602)

lri $AR1,    #0x8fdc
lri $IX1,    #0x53d8
lri $WR1,    #0x93fc
cw 0xd
call send_back  ; 5635 (0x1603)

lri $AR1,    #0x94a4
lri $IX1,    #0x9f54
lri $WR1,    #0xe9aa
cw 0xd
call send_back  ; 5636 (0x1604)

lri $AR1,    #0x9a56
lri $IX1,    #0xecaa
lri $WR1,    #0x0e8a
cw 0xd
call send_back  ; 5637 (0x1605)

lri $AR1,    #0x0cc0
lri $IX1,    #0x5b78
lri $WR1,    #0xb4a2
cw 0xd
call send_back  ; 5638 (0x1606)

lri $AR1,    #0xf508
lri $IX1,    #0x7c96
lri $WR1,    #0x0686
cw 0xd
call send_back  ; 5639 (0x1607)

lri $AR1,    #0x9642
lri $IX1,    #0x304a
lri $WR1,    #0x90d8
cw 0xd
call send_back  ; 5640 (0x1608)

lri $AR1,    #0x4428
lri $IX1,    #0x08b0
lri $WR1,    #0x878a
cw 0xd
call send_back  ; 5641 (0x1609)

lri $AR1,    #0xedfa
lri $IX1,    #0xb896
lri $WR1,    #0xea62
cw 0xd
call send_back  ; 5642 (0x160a)

lri $AR1,    #0x7e02
lri $IX1,    #0x2e70
lri $WR1,    #0xa820
cw 0xd
call send_back  ; 5643 (0x160b)

lri $AR1,    #0xb38a
lri $IX1,    #0x5bb8
lri $WR1,    #0xe848
cw 0xd
call send_back  ; 5644 (0x160c)

lri $AR1,    #0x8632
lri $IX1,    #0xe902
lri $WR1,    #0x74c0
cw 0xd
call send_back  ; 5645 (0x160d)

lri $AR1,    #0xf75c
lri $IX1,    #0xb6e2
lri $WR1,    #0xf7ac
cw 0xd
call send_back  ; 5646 (0x160e)

lri $AR1,    #0x3712
lri $IX1,    #0x73f6
lri $WR1,    #0x4af0
cw 0xd
call send_back  ; 5647 (0x160f)

lri $AR1,    #0x2064
lri $IX1,    #0x06bc
lri $WR1,    #0x3dfa
cw 0xd
call send_back  ; 5648 (0x1610)

lri $AR1,    #0xfe58
lri $IX1,    #0x9c60
lri $WR1,    #0x70c2
cw 0xd
call send_back  ; 5649 (0x1611)

lri $AR1,    #0x8488
lri $IX1,    #0x414c
lri $WR1,    #0xa218
cw 0xd
call send_back  ; 5650 (0x1612)

lri $AR1,    #0xbc52
lri $IX1,    #0x322e
lri $WR1,    #0x93ce
cw 0xd
call send_back  ; 5651 (0x1613)

lri $AR1,    #0x72b2
lri $IX1,    #0x629c
lri $WR1,    #0xa588
cw 0xd
call send_back  ; 5652 (0x1614)

lri $AR1,    #0xfbaa
lri $IX1,    #0x17ec
lri $WR1,    #0x750a
cw 0xd
call send_back  ; 5653 (0x1615)

lri $AR1,    #0x9e68
lri $IX1,    #0xdd02
lri $WR1,    #0xfa7c
cw 0xd
call send_back  ; 5654 (0x1616)

lri $AR1,    #0x7a18
lri $IX1,    #0xc784
lri $WR1,    #0xfd56
cw 0xd
call send_back  ; 5655 (0x1617)

lri $AR1,    #0xf8fe
lri $IX1,    #0xc892
lri $WR1,    #0xc49a
cw 0xd
call send_back  ; 5656 (0x1618)

lri $AR1,    #0xf910
lri $IX1,    #0x275a
lri $WR1,    #0xe95c
cw 0xd
call send_back  ; 5657 (0x1619)

lri $AR1,    #0x2d18
lri $IX1,    #0xf386
lri $WR1,    #0xdeb0
cw 0xd
call send_back  ; 5658 (0x161a)

lri $AR1,    #0x07be
lri $IX1,    #0x5b44
lri $WR1,    #0xc982
cw 0xd
call send_back  ; 5659 (0x161b)

lri $AR1,    #0x45b8
lri $IX1,    #0xf82e
lri $WR1,    #0x77e6
cw 0xd
call send_back  ; 5660 (0x161c)

lri $AR1,    #0x8e52
lri $IX1,    #0xf9b0
lri $WR1,    #0xdd90
cw 0xd
call send_back  ; 5661 (0x161d)

lri $AR1,    #0xaa6a
lri $IX1,    #0x9b48
lri $WR1,    #0xffc2
cw 0xd
call send_back  ; 5662 (0x161e)

lri $AR1,    #0xf502
lri $IX1,    #0xd594
lri $WR1,    #0xf9c2
cw 0xd
call send_back  ; 5663 (0x161f)

lri $AR1,    #0xa6ee
lri $IX1,    #0x902a
lri $WR1,    #0xc89a
cw 0xd
call send_back  ; 5664 (0x1620)

lri $AR1,    #0x6fba
lri $IX1,    #0x826e
lri $WR1,    #0xc5f4
cw 0xd
call send_back  ; 5665 (0x1621)

lri $AR1,    #0x4cd6
lri $IX1,    #0xf6c2
lri $WR1,    #0x24a6
cw 0xd
call send_back  ; 5666 (0x1622)

lri $AR1,    #0xe1de
lri $IX1,    #0xf7e8
lri $WR1,    #0xe598
cw 0xd
call send_back  ; 5667 (0x1623)

lri $AR1,    #0xc280
lri $IX1,    #0x19c2
lri $WR1,    #0x2a62
cw 0xd
call send_back  ; 5668 (0x1624)

lri $AR1,    #0x9424
lri $IX1,    #0x675c
lri $WR1,    #0x9220
cw 0xd
call send_back  ; 5669 (0x1625)

lri $AR1,    #0x22f2
lri $IX1,    #0xc20a
lri $WR1,    #0xe17a
cw 0xd
call send_back  ; 5670 (0x1626)

lri $AR1,    #0x38dc
lri $IX1,    #0x8dfe
lri $WR1,    #0x87a6
cw 0xd
call send_back  ; 5671 (0x1627)

lri $AR1,    #0x0edc
lri $IX1,    #0x7e8e
lri $WR1,    #0x79dc
cw 0xd
call send_back  ; 5672 (0x1628)

lri $AR1,    #0x19a0
lri $IX1,    #0xb2ae
lri $WR1,    #0x764e
cw 0xd
call send_back  ; 5673 (0x1629)

lri $AR1,    #0x1770
lri $IX1,    #0x26ec
lri $WR1,    #0x7b38
cw 0xd
call send_back  ; 5674 (0x162a)

lri $AR1,    #0x63f2
lri $IX1,    #0x2f54
lri $WR1,    #0x1954
cw 0xd
call send_back  ; 5675 (0x162b)

lri $AR1,    #0x6034
lri $IX1,    #0x40d8
lri $WR1,    #0xb38a
cw 0xd
call send_back  ; 5676 (0x162c)

lri $AR1,    #0x0082
lri $IX1,    #0x01ca
lri $WR1,    #0x3f36
cw 0xd
call send_back  ; 5677 (0x162d)

lri $AR1,    #0x5592
lri $IX1,    #0x6f86
lri $WR1,    #0x2fea
cw 0xd
call send_back  ; 5678 (0x162e)

lri $AR1,    #0xd3d8
lri $IX1,    #0x8924
lri $WR1,    #0x14de
cw 0xd
call send_back  ; 5679 (0x162f)

lri $AR1,    #0x4238
lri $IX1,    #0x4e70
lri $WR1,    #0xdb4e
cw 0xd
call send_back  ; 5680 (0x1630)

lri $AR1,    #0x54fe
lri $IX1,    #0x6876
lri $WR1,    #0x885a
cw 0xd
call send_back  ; 5681 (0x1631)

lri $AR1,    #0x0622
lri $IX1,    #0xaf5a
lri $WR1,    #0x9b6c
cw 0xd
call send_back  ; 5682 (0x1632)

lri $AR1,    #0xb1e2
lri $IX1,    #0xa8d2
lri $WR1,    #0x35ea
cw 0xd
call send_back  ; 5683 (0x1633)

lri $AR1,    #0x564a
lri $IX1,    #0xc610
lri $WR1,    #0x0c6a
cw 0xd
call send_back  ; 5684 (0x1634)

lri $AR1,    #0xdf3a
lri $IX1,    #0xc09a
lri $WR1,    #0xacf0
cw 0xd
call send_back  ; 5685 (0x1635)

lri $AR1,    #0xdcea
lri $IX1,    #0xfae6
lri $WR1,    #0x709c
cw 0xd
call send_back  ; 5686 (0x1636)

lri $AR1,    #0x9456
lri $IX1,    #0x3ef0
lri $WR1,    #0x90ac
cw 0xd
call send_back  ; 5687 (0x1637)

lri $AR1,    #0x6e3a
lri $IX1,    #0x8728
lri $WR1,    #0x29e8
cw 0xd
call send_back  ; 5688 (0x1638)

lri $AR1,    #0xf1ee
lri $IX1,    #0x9e6a
lri $WR1,    #0xcb2c
cw 0xd
call send_back  ; 5689 (0x1639)

lri $AR1,    #0x6eac
lri $IX1,    #0x45c2
lri $WR1,    #0x3f14
cw 0xd
call send_back  ; 5690 (0x163a)

lri $AR1,    #0x0d42
lri $IX1,    #0x52ae
lri $WR1,    #0x576e
cw 0xd
call send_back  ; 5691 (0x163b)

lri $AR1,    #0x9b7e
lri $IX1,    #0xe43c
lri $WR1,    #0x27a0
cw 0xd
call send_back  ; 5692 (0x163c)

lri $AR1,    #0x6f7a
lri $IX1,    #0xa130
lri $WR1,    #0xb21a
cw 0xd
call send_back  ; 5693 (0x163d)

lri $AR1,    #0xc79e
lri $IX1,    #0x7f34
lri $WR1,    #0x7d64
cw 0xd
call send_back  ; 5694 (0x163e)

lri $AR1,    #0x6bd8
lri $IX1,    #0x5dd4
lri $WR1,    #0x66ba
cw 0xd
call send_back  ; 5695 (0x163f)

lri $AR1,    #0xeae4
lri $IX1,    #0x4fb6
lri $WR1,    #0x63a6
cw 0xd
call send_back  ; 5696 (0x1640)

lri $AR1,    #0x9d7a
lri $IX1,    #0x5876
lri $WR1,    #0x11fe
cw 0xd
call send_back  ; 5697 (0x1641)

lri $AR1,    #0x3a5a
lri $IX1,    #0x054a
lri $WR1,    #0x8fc8
cw 0xd
call send_back  ; 5698 (0x1642)

lri $AR1,    #0x8848
lri $IX1,    #0x493c
lri $WR1,    #0x2fe0
cw 0xd
call send_back  ; 5699 (0x1643)

lri $AR1,    #0x04d2
lri $IX1,    #0x5b4c
lri $WR1,    #0x084c
cw 0xd
call send_back  ; 5700 (0x1644)

lri $AR1,    #0xdee2
lri $IX1,    #0x75c0
lri $WR1,    #0xc722
cw 0xd
call send_back  ; 5701 (0x1645)

lri $AR1,    #0xdf5e
lri $IX1,    #0x066c
lri $WR1,    #0x035e
cw 0xd
call send_back  ; 5702 (0x1646)

lri $AR1,    #0xf20e
lri $IX1,    #0x41ca
lri $WR1,    #0x1a1a
cw 0xd
call send_back  ; 5703 (0x1647)

lri $AR1,    #0x69fa
lri $IX1,    #0xe1c4
lri $WR1,    #0xee8e
cw 0xd
call send_back  ; 5704 (0x1648)

lri $AR1,    #0xec90
lri $IX1,    #0x82cc
lri $WR1,    #0x9736
cw 0xd
call send_back  ; 5705 (0x1649)

lri $AR1,    #0xbcfc
lri $IX1,    #0xe97c
lri $WR1,    #0xb5e6
cw 0xd
call send_back  ; 5706 (0x164a)

lri $AR1,    #0x58d6
lri $IX1,    #0xdddc
lri $WR1,    #0xf224
cw 0xd
call send_back  ; 5707 (0x164b)

lri $AR1,    #0x8492
lri $IX1,    #0xb35e
lri $WR1,    #0xf918
cw 0xd
call send_back  ; 5708 (0x164c)

lri $AR1,    #0xa470
lri $IX1,    #0xd440
lri $WR1,    #0x3922
cw 0xd
call send_back  ; 5709 (0x164d)

lri $AR1,    #0x0fde
lri $IX1,    #0x5468
lri $WR1,    #0x21ee
cw 0xd
call send_back  ; 5710 (0x164e)

lri $AR1,    #0x87ca
lri $IX1,    #0x8b52
lri $WR1,    #0x804a
cw 0xd
call send_back  ; 5711 (0x164f)

lri $AR1,    #0x460c
lri $IX1,    #0x9ca2
lri $WR1,    #0x5fae
cw 0xd
call send_back  ; 5712 (0x1650)

lri $AR1,    #0x0706
lri $IX1,    #0xf0ea
lri $WR1,    #0xff62
cw 0xd
call send_back  ; 5713 (0x1651)

lri $AR1,    #0xabee
lri $IX1,    #0xe94a
lri $WR1,    #0x8796
cw 0xd
call send_back  ; 5714 (0x1652)

lri $AR1,    #0xcb72
lri $IX1,    #0xbdf4
lri $WR1,    #0xdd0c
cw 0xd
call send_back  ; 5715 (0x1653)

lri $AR1,    #0x8952
lri $IX1,    #0x1fb8
lri $WR1,    #0xe334
cw 0xd
call send_back  ; 5716 (0x1654)

lri $AR1,    #0x7b90
lri $IX1,    #0x2570
lri $WR1,    #0xfcda
cw 0xd
call send_back  ; 5717 (0x1655)

lri $AR1,    #0xeddc
lri $IX1,    #0x51f2
lri $WR1,    #0x29c0
cw 0xd
call send_back  ; 5718 (0x1656)

lri $AR1,    #0x1a0a
lri $IX1,    #0xd678
lri $WR1,    #0x9c2c
cw 0xd
call send_back  ; 5719 (0x1657)

lri $AR1,    #0xf176
lri $IX1,    #0xb848
lri $WR1,    #0x621c
cw 0xd
call send_back  ; 5720 (0x1658)

lri $AR1,    #0xf29a
lri $IX1,    #0x7c92
lri $WR1,    #0xfc36
cw 0xd
call send_back  ; 5721 (0x1659)

lri $AR1,    #0x3510
lri $IX1,    #0xb20e
lri $WR1,    #0x57ca
cw 0xd
call send_back  ; 5722 (0x165a)

lri $AR1,    #0xd652
lri $IX1,    #0x39f0
lri $WR1,    #0x664c
cw 0xd
call send_back  ; 5723 (0x165b)

lri $AR1,    #0x7cee
lri $IX1,    #0x01c8
lri $WR1,    #0xc55e
cw 0xd
call send_back  ; 5724 (0x165c)

lri $AR1,    #0xff16
lri $IX1,    #0xd3d8
lri $WR1,    #0x21b4
cw 0xd
call send_back  ; 5725 (0x165d)

lri $AR1,    #0x5e20
lri $IX1,    #0x17b8
lri $WR1,    #0x7bc6
cw 0xd
call send_back  ; 5726 (0x165e)

lri $AR1,    #0x84f2
lri $IX1,    #0x91cc
lri $WR1,    #0x1908
cw 0xd
call send_back  ; 5727 (0x165f)

lri $AR1,    #0x8552
lri $IX1,    #0x9858
lri $WR1,    #0xbdf6
cw 0xd
call send_back  ; 5728 (0x1660)

lri $AR1,    #0x7df6
lri $IX1,    #0x44d0
lri $WR1,    #0x8f8e
cw 0xd
call send_back  ; 5729 (0x1661)

lri $AR1,    #0x35cc
lri $IX1,    #0x028e
lri $WR1,    #0xe536
cw 0xd
call send_back  ; 5730 (0x1662)

lri $AR1,    #0x4c4a
lri $IX1,    #0xac48
lri $WR1,    #0x0586
cw 0xd
call send_back  ; 5731 (0x1663)

lri $AR1,    #0x638a
lri $IX1,    #0x0c1e
lri $WR1,    #0x4ad4
cw 0xd
call send_back  ; 5732 (0x1664)

lri $AR1,    #0xe43e
lri $IX1,    #0x9ac6
lri $WR1,    #0xe4c0
cw 0xd
call send_back  ; 5733 (0x1665)

lri $AR1,    #0x5c74
lri $IX1,    #0x9950
lri $WR1,    #0x883e
cw 0xd
call send_back  ; 5734 (0x1666)

lri $AR1,    #0x96ce
lri $IX1,    #0xf56a
lri $WR1,    #0x6592
cw 0xd
call send_back  ; 5735 (0x1667)

lri $AR1,    #0x708c
lri $IX1,    #0xbf1a
lri $WR1,    #0x7f60
cw 0xd
call send_back  ; 5736 (0x1668)

lri $AR1,    #0xcba4
lri $IX1,    #0x0cf8
lri $WR1,    #0xee70
cw 0xd
call send_back  ; 5737 (0x1669)

lri $AR1,    #0x9212
lri $IX1,    #0xa5f2
lri $WR1,    #0x695e
cw 0xd
call send_back  ; 5738 (0x166a)

lri $AR1,    #0xafde
lri $IX1,    #0x0076
lri $WR1,    #0x9f3e
cw 0xd
call send_back  ; 5739 (0x166b)

lri $AR1,    #0x9a92
lri $IX1,    #0x057c
lri $WR1,    #0x8262
cw 0xd
call send_back  ; 5740 (0x166c)

lri $AR1,    #0xd5a8
lri $IX1,    #0xf554
lri $WR1,    #0x63b8
cw 0xd
call send_back  ; 5741 (0x166d)

lri $AR1,    #0xe2b0
lri $IX1,    #0xf038
lri $WR1,    #0xedaa
cw 0xd
call send_back  ; 5742 (0x166e)

lri $AR1,    #0xb316
lri $IX1,    #0x19f0
lri $WR1,    #0x6ee6
cw 0xd
call send_back  ; 5743 (0x166f)

lri $AR1,    #0x46d2
lri $IX1,    #0x6080
lri $WR1,    #0x3d88
cw 0xd
call send_back  ; 5744 (0x1670)

lri $AR1,    #0x7d20
lri $IX1,    #0xbba8
lri $WR1,    #0x0408
cw 0xd
call send_back  ; 5745 (0x1671)

lri $AR1,    #0xab60
lri $IX1,    #0x0ece
lri $WR1,    #0xc786
cw 0xd
call send_back  ; 5746 (0x1672)

lri $AR1,    #0xa634
lri $IX1,    #0x5a04
lri $WR1,    #0x8fe2
cw 0xd
call send_back  ; 5747 (0x1673)

lri $AR1,    #0xb7b8
lri $IX1,    #0x2bc4
lri $WR1,    #0xb558
cw 0xd
call send_back  ; 5748 (0x1674)

lri $AR1,    #0xee5e
lri $IX1,    #0xad60
lri $WR1,    #0xeffa
cw 0xd
call send_back  ; 5749 (0x1675)

lri $AR1,    #0xefb2
lri $IX1,    #0x46da
lri $WR1,    #0xb7d6
cw 0xd
call send_back  ; 5750 (0x1676)

lri $AR1,    #0x1564
lri $IX1,    #0x2f8c
lri $WR1,    #0xfb88
cw 0xd
call send_back  ; 5751 (0x1677)

lri $AR1,    #0xaf9c
lri $IX1,    #0x9520
lri $WR1,    #0x81a6
cw 0xd
call send_back  ; 5752 (0x1678)

lri $AR1,    #0x7dc4
lri $IX1,    #0xf9c0
lri $WR1,    #0x94aa
cw 0xd
call send_back  ; 5753 (0x1679)

lri $AR1,    #0xf7b4
lri $IX1,    #0x921c
lri $WR1,    #0xdbc0
cw 0xd
call send_back  ; 5754 (0x167a)

lri $AR1,    #0x0a1e
lri $IX1,    #0xdb7e
lri $WR1,    #0x56cc
cw 0xd
call send_back  ; 5755 (0x167b)

lri $AR1,    #0x87fa
lri $IX1,    #0x3702
lri $WR1,    #0x5e90
cw 0xd
call send_back  ; 5756 (0x167c)

lri $AR1,    #0xd4d6
lri $IX1,    #0x8a94
lri $WR1,    #0x0190
cw 0xd
call send_back  ; 5757 (0x167d)

lri $AR1,    #0xae5e
lri $IX1,    #0x6380
lri $WR1,    #0xbed8
cw 0xd
call send_back  ; 5758 (0x167e)

lri $AR1,    #0xb47e
lri $IX1,    #0xd4ec
lri $WR1,    #0xa65e
cw 0xd
call send_back  ; 5759 (0x167f)

lri $AR1,    #0x752a
lri $IX1,    #0x2d3e
lri $WR1,    #0x4df6
cw 0xd
call send_back  ; 5760 (0x1680)

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

