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

lri $AR1,    #0xa62e
lri $IX1,    #0xfecc
lri $WR1,    #0x50ff
cw 0xd
call send_back  ; 1640 (0x0668)

lri $AR1,    #0xa053
lri $IX1,    #0x98dc
lri $WR1,    #0xea26
cw 0xd
call send_back  ; 1641 (0x0669)

lri $AR1,    #0x382b
lri $IX1,    #0x5810
lri $WR1,    #0x8092
cw 0xd
call send_back  ; 1642 (0x066a)

lri $AR1,    #0x515b
lri $IX1,    #0xd416
lri $WR1,    #0x4ef2
cw 0xd
call send_back  ; 1643 (0x066b)

lri $AR1,    #0x95cd
lri $IX1,    #0x7224
lri $WR1,    #0x698b
cw 0xd
call send_back  ; 1644 (0x066c)

lri $AR1,    #0xb65e
lri $IX1,    #0x6bb2
lri $WR1,    #0x627a
cw 0xd
call send_back  ; 1645 (0x066d)

lri $AR1,    #0x89a0
lri $IX1,    #0x0fbe
lri $WR1,    #0x6a91
cw 0xd
call send_back  ; 1646 (0x066e)

lri $AR1,    #0x9073
lri $IX1,    #0x24c6
lri $WR1,    #0x5bc2
cw 0xd
call send_back  ; 1647 (0x066f)

lri $AR1,    #0x9fd6
lri $IX1,    #0xc57a
lri $WR1,    #0xbfa5
cw 0xd
call send_back  ; 1648 (0x0670)

lri $AR1,    #0x7aab
lri $IX1,    #0xf942
lri $WR1,    #0x2e4b
cw 0xd
call send_back  ; 1649 (0x0671)

lri $AR1,    #0x65d2
lri $IX1,    #0x859e
lri $WR1,    #0xaec0
cw 0xd
call send_back  ; 1650 (0x0672)

lri $AR1,    #0x145c
lri $IX1,    #0xe478
lri $WR1,    #0x7476
cw 0xd
call send_back  ; 1651 (0x0673)

lri $AR1,    #0x912e
lri $IX1,    #0xcf66
lri $WR1,    #0xca05
cw 0xd
call send_back  ; 1652 (0x0674)

lri $AR1,    #0x66e6
lri $IX1,    #0x471c
lri $WR1,    #0x136e
cw 0xd
call send_back  ; 1653 (0x0675)

lri $AR1,    #0x1644
lri $IX1,    #0x49c8
lri $WR1,    #0x6f62
cw 0xd
call send_back  ; 1654 (0x0676)

lri $AR1,    #0xcefd
lri $IX1,    #0x6ad6
lri $WR1,    #0x8091
cw 0xd
call send_back  ; 1655 (0x0677)

lri $AR1,    #0xb634
lri $IX1,    #0x11bc
lri $WR1,    #0xadba
cw 0xd
call send_back  ; 1656 (0x0678)

lri $AR1,    #0xb172
lri $IX1,    #0x2d44
lri $WR1,    #0x9054
cw 0xd
call send_back  ; 1657 (0x0679)

lri $AR1,    #0x8c6f
lri $IX1,    #0x8406
lri $WR1,    #0x3791
cw 0xd
call send_back  ; 1658 (0x067a)

lri $AR1,    #0xc378
lri $IX1,    #0x5a82
lri $WR1,    #0x36ad
cw 0xd
call send_back  ; 1659 (0x067b)

lri $AR1,    #0xa3be
lri $IX1,    #0xca82
lri $WR1,    #0x8b2b
cw 0xd
call send_back  ; 1660 (0x067c)

lri $AR1,    #0xae6e
lri $IX1,    #0xbf38
lri $WR1,    #0x20fe
cw 0xd
call send_back  ; 1661 (0x067d)

lri $AR1,    #0x9ac8
lri $IX1,    #0xf4de
lri $WR1,    #0x7840
cw 0xd
call send_back  ; 1662 (0x067e)

lri $AR1,    #0x5724
lri $IX1,    #0x7a18
lri $WR1,    #0x917a
cw 0xd
call send_back  ; 1663 (0x067f)

lri $AR1,    #0x601b
lri $IX1,    #0xe4f6
lri $WR1,    #0x2b18
cw 0xd
call send_back  ; 1664 (0x0680)

lri $AR1,    #0x90ab
lri $IX1,    #0x94f0
lri $WR1,    #0x640c
cw 0xd
call send_back  ; 1665 (0x0681)

lri $AR1,    #0x0db6
lri $IX1,    #0xd68c
lri $WR1,    #0xe53b
cw 0xd
call send_back  ; 1666 (0x0682)

lri $AR1,    #0x8292
lri $IX1,    #0x6d28
lri $WR1,    #0xa4c1
cw 0xd
call send_back  ; 1667 (0x0683)

lri $AR1,    #0x6c10
lri $IX1,    #0xca94
lri $WR1,    #0x8b97
cw 0xd
call send_back  ; 1668 (0x0684)

lri $AR1,    #0x8ab7
lri $IX1,    #0xf3d8
lri $WR1,    #0x9fb2
cw 0xd
call send_back  ; 1669 (0x0685)

lri $AR1,    #0x249d
lri $IX1,    #0x9e02
lri $WR1,    #0x3226
cw 0xd
call send_back  ; 1670 (0x0686)

lri $AR1,    #0x6289
lri $IX1,    #0x4d3e
lri $WR1,    #0x5265
cw 0xd
call send_back  ; 1671 (0x0687)

lri $AR1,    #0xabdb
lri $IX1,    #0x140a
lri $WR1,    #0xcd18
cw 0xd
call send_back  ; 1672 (0x0688)

lri $AR1,    #0xcfd7
lri $IX1,    #0xd7d8
lri $WR1,    #0x26bd
cw 0xd
call send_back  ; 1673 (0x0689)

lri $AR1,    #0x6ad6
lri $IX1,    #0x9bee
lri $WR1,    #0x2f7c
cw 0xd
call send_back  ; 1674 (0x068a)

lri $AR1,    #0xa90c
lri $IX1,    #0x22dc
lri $WR1,    #0xdf5e
cw 0xd
call send_back  ; 1675 (0x068b)

lri $AR1,    #0xb033
lri $IX1,    #0x1a42
lri $WR1,    #0x7f63
cw 0xd
call send_back  ; 1676 (0x068c)

lri $AR1,    #0x7505
lri $IX1,    #0xdc4e
lri $WR1,    #0x9d93
cw 0xd
call send_back  ; 1677 (0x068d)

lri $AR1,    #0x70b5
lri $IX1,    #0x7db4
lri $WR1,    #0xc78f
cw 0xd
call send_back  ; 1678 (0x068e)

lri $AR1,    #0xee50
lri $IX1,    #0x3e7c
lri $WR1,    #0x68bd
cw 0xd
call send_back  ; 1679 (0x068f)

lri $AR1,    #0x5f47
lri $IX1,    #0x675a
lri $WR1,    #0xce96
cw 0xd
call send_back  ; 1680 (0x0690)

lri $AR1,    #0xb1f7
lri $IX1,    #0x0510
lri $WR1,    #0x9f32
cw 0xd
call send_back  ; 1681 (0x0691)

lri $AR1,    #0x6484
lri $IX1,    #0xae72
lri $WR1,    #0x5b8c
cw 0xd
call send_back  ; 1682 (0x0692)

lri $AR1,    #0x61c7
lri $IX1,    #0x7190
lri $WR1,    #0xb8ab
cw 0xd
call send_back  ; 1683 (0x0693)

lri $AR1,    #0x7dbd
lri $IX1,    #0x07ac
lri $WR1,    #0x1029
cw 0xd
call send_back  ; 1684 (0x0694)

lri $AR1,    #0x8219
lri $IX1,    #0x676c
lri $WR1,    #0x422d
cw 0xd
call send_back  ; 1685 (0x0695)

lri $AR1,    #0x8b83
lri $IX1,    #0x97f8
lri $WR1,    #0x8075
cw 0xd
call send_back  ; 1686 (0x0696)

lri $AR1,    #0x5b19
lri $IX1,    #0x2782
lri $WR1,    #0x7b6b
cw 0xd
call send_back  ; 1687 (0x0697)

lri $AR1,    #0x17b2
lri $IX1,    #0xbac8
lri $WR1,    #0xafeb
cw 0xd
call send_back  ; 1688 (0x0698)

lri $AR1,    #0xa58f
lri $IX1,    #0xb328
lri $WR1,    #0x7db2
cw 0xd
call send_back  ; 1689 (0x0699)

lri $AR1,    #0x9aef
lri $IX1,    #0xc3d6
lri $WR1,    #0x9c25
cw 0xd
call send_back  ; 1690 (0x069a)

lri $AR1,    #0x4b27
lri $IX1,    #0x5eb4
lri $WR1,    #0xd455
cw 0xd
call send_back  ; 1691 (0x069b)

lri $AR1,    #0x49bd
lri $IX1,    #0x0476
lri $WR1,    #0x7d02
cw 0xd
call send_back  ; 1692 (0x069c)

lri $AR1,    #0x8236
lri $IX1,    #0x9b84
lri $WR1,    #0x6e88
cw 0xd
call send_back  ; 1693 (0x069d)

lri $AR1,    #0x70f8
lri $IX1,    #0xdc50
lri $WR1,    #0x6250
cw 0xd
call send_back  ; 1694 (0x069e)

lri $AR1,    #0x8d07
lri $IX1,    #0x8182
lri $WR1,    #0x52da
cw 0xd
call send_back  ; 1695 (0x069f)

lri $AR1,    #0xe9eb
lri $IX1,    #0x1db6
lri $WR1,    #0x56f0
cw 0xd
call send_back  ; 1696 (0x06a0)

lri $AR1,    #0x64a1
lri $IX1,    #0x2034
lri $WR1,    #0x7c0c
cw 0xd
call send_back  ; 1697 (0x06a1)

lri $AR1,    #0x2dcb
lri $IX1,    #0x8d60
lri $WR1,    #0xb182
cw 0xd
call send_back  ; 1698 (0x06a2)

lri $AR1,    #0x970c
lri $IX1,    #0x1f3c
lri $WR1,    #0x4784
cw 0xd
call send_back  ; 1699 (0x06a3)

lri $AR1,    #0x90c5
lri $IX1,    #0xc5c0
lri $WR1,    #0xba8a
cw 0xd
call send_back  ; 1700 (0x06a4)

lri $AR1,    #0xa11c
lri $IX1,    #0xb668
lri $WR1,    #0x5d31
cw 0xd
call send_back  ; 1701 (0x06a5)

lri $AR1,    #0x2c88
lri $IX1,    #0x45bc
lri $WR1,    #0x501c
cw 0xd
call send_back  ; 1702 (0x06a6)

lri $AR1,    #0x8bbc
lri $IX1,    #0x852e
lri $WR1,    #0x78f4
cw 0xd
call send_back  ; 1703 (0x06a7)

lri $AR1,    #0x8248
lri $IX1,    #0xf304
lri $WR1,    #0x2f00
cw 0xd
call send_back  ; 1704 (0x06a8)

lri $AR1,    #0x94ae
lri $IX1,    #0x51c4
lri $WR1,    #0x7d85
cw 0xd
call send_back  ; 1705 (0x06a9)

lri $AR1,    #0x5c49
lri $IX1,    #0xd7d0
lri $WR1,    #0x895b
cw 0xd
call send_back  ; 1706 (0x06aa)

lri $AR1,    #0x2ad9
lri $IX1,    #0x379a
lri $WR1,    #0x38e2
cw 0xd
call send_back  ; 1707 (0x06ab)

lri $AR1,    #0x76e9
lri $IX1,    #0x642c
lri $WR1,    #0x92da
cw 0xd
call send_back  ; 1708 (0x06ac)

lri $AR1,    #0x8610
lri $IX1,    #0x4d68
lri $WR1,    #0xc22e
cw 0xd
call send_back  ; 1709 (0x06ad)

lri $AR1,    #0x7922
lri $IX1,    #0xfac0
lri $WR1,    #0xaa52
cw 0xd
call send_back  ; 1710 (0x06ae)

lri $AR1,    #0x2259
lri $IX1,    #0x4aba
lri $WR1,    #0x5921
cw 0xd
call send_back  ; 1711 (0x06af)

lri $AR1,    #0x4498
lri $IX1,    #0x1118
lri $WR1,    #0x48f5
cw 0xd
call send_back  ; 1712 (0x06b0)

lri $AR1,    #0x66b7
lri $IX1,    #0x34ec
lri $WR1,    #0xaeea
cw 0xd
call send_back  ; 1713 (0x06b1)

lri $AR1,    #0xa51d
lri $IX1,    #0xab68
lri $WR1,    #0x5eec
cw 0xd
call send_back  ; 1714 (0x06b2)

lri $AR1,    #0xbf6f
lri $IX1,    #0x9bbe
lri $WR1,    #0x809a
cw 0xd
call send_back  ; 1715 (0x06b3)

lri $AR1,    #0x67ba
lri $IX1,    #0x7bde
lri $WR1,    #0xc58b
cw 0xd
call send_back  ; 1716 (0x06b4)

lri $AR1,    #0x73d1
lri $IX1,    #0x6d5a
lri $WR1,    #0x6b0c
cw 0xd
call send_back  ; 1717 (0x06b5)

lri $AR1,    #0x613a
lri $IX1,    #0x6d5e
lri $WR1,    #0x6eed
cw 0xd
call send_back  ; 1718 (0x06b6)

lri $AR1,    #0x7f81
lri $IX1,    #0xe9d4
lri $WR1,    #0x604e
cw 0xd
call send_back  ; 1719 (0x06b7)

lri $AR1,    #0xec2e
lri $IX1,    #0xe1d0
lri $WR1,    #0x7b29
cw 0xd
call send_back  ; 1720 (0x06b8)

lri $AR1,    #0xb740
lri $IX1,    #0xbe3c
lri $WR1,    #0xa684
cw 0xd
call send_back  ; 1721 (0x06b9)

lri $AR1,    #0x6676
lri $IX1,    #0x6bea
lri $WR1,    #0x5aef
cw 0xd
call send_back  ; 1722 (0x06ba)

lri $AR1,    #0x8131
lri $IX1,    #0xcf1e
lri $WR1,    #0x4856
cw 0xd
call send_back  ; 1723 (0x06bb)

lri $AR1,    #0x364a
lri $IX1,    #0x4c76
lri $WR1,    #0xa7b7
cw 0xd
call send_back  ; 1724 (0x06bc)

lri $AR1,    #0x68a2
lri $IX1,    #0xba8e
lri $WR1,    #0xded5
cw 0xd
call send_back  ; 1725 (0x06bd)

lri $AR1,    #0x5ec1
lri $IX1,    #0x7b16
lri $WR1,    #0x5966
cw 0xd
call send_back  ; 1726 (0x06be)

lri $AR1,    #0x5556
lri $IX1,    #0x99b2
lri $WR1,    #0x9ce3
cw 0xd
call send_back  ; 1727 (0x06bf)

lri $AR1,    #0x2bdd
lri $IX1,    #0x8290
lri $WR1,    #0x8176
cw 0xd
call send_back  ; 1728 (0x06c0)

lri $AR1,    #0x2e4b
lri $IX1,    #0x09c8
lri $WR1,    #0x841c
cw 0xd
call send_back  ; 1729 (0x06c1)

lri $AR1,    #0x7e08
lri $IX1,    #0xf89a
lri $WR1,    #0xb39d
cw 0xd
call send_back  ; 1730 (0x06c2)

lri $AR1,    #0xb001
lri $IX1,    #0x04a8
lri $WR1,    #0x2b3f
cw 0xd
call send_back  ; 1731 (0x06c3)

lri $AR1,    #0xbd2b
lri $IX1,    #0xd916
lri $WR1,    #0x43fa
cw 0xd
call send_back  ; 1732 (0x06c4)

lri $AR1,    #0x3e45
lri $IX1,    #0x90d6
lri $WR1,    #0x7e11
cw 0xd
call send_back  ; 1733 (0x06c5)

lri $AR1,    #0x7b2b
lri $IX1,    #0x8cea
lri $WR1,    #0x82b8
cw 0xd
call send_back  ; 1734 (0x06c6)

lri $AR1,    #0x797a
lri $IX1,    #0xd106
lri $WR1,    #0x5ecb
cw 0xd
call send_back  ; 1735 (0x06c7)

lri $AR1,    #0x4df5
lri $IX1,    #0xe43a
lri $WR1,    #0x9d35
cw 0xd
call send_back  ; 1736 (0x06c8)

lri $AR1,    #0x5f58
lri $IX1,    #0x7b20
lri $WR1,    #0x90ff
cw 0xd
call send_back  ; 1737 (0x06c9)

lri $AR1,    #0x6904
lri $IX1,    #0xcc36
lri $WR1,    #0x4cb0
cw 0xd
call send_back  ; 1738 (0x06ca)

lri $AR1,    #0xbf40
lri $IX1,    #0x3ece
lri $WR1,    #0x5600
cw 0xd
call send_back  ; 1739 (0x06cb)

lri $AR1,    #0x7e6f
lri $IX1,    #0x0862
lri $WR1,    #0x7a6c
cw 0xd
call send_back  ; 1740 (0x06cc)

lri $AR1,    #0xc9fd
lri $IX1,    #0x2384
lri $WR1,    #0xa2cb
cw 0xd
call send_back  ; 1741 (0x06cd)

lri $AR1,    #0x6f67
lri $IX1,    #0xb75e
lri $WR1,    #0x815b
cw 0xd
call send_back  ; 1742 (0x06ce)

lri $AR1,    #0x850d
lri $IX1,    #0x65fe
lri $WR1,    #0xd76f
cw 0xd
call send_back  ; 1743 (0x06cf)

lri $AR1,    #0xd448
lri $IX1,    #0xeb30
lri $WR1,    #0xb541
cw 0xd
call send_back  ; 1744 (0x06d0)

lri $AR1,    #0x696b
lri $IX1,    #0xdd58
lri $WR1,    #0xdff4
cw 0xd
call send_back  ; 1745 (0x06d1)

lri $AR1,    #0x641d
lri $IX1,    #0x1d02
lri $WR1,    #0x5762
cw 0xd
call send_back  ; 1746 (0x06d2)

lri $AR1,    #0x75d1
lri $IX1,    #0x6f86
lri $WR1,    #0xa6c2
cw 0xd
call send_back  ; 1747 (0x06d3)

lri $AR1,    #0x43a7
lri $IX1,    #0xc47a
lri $WR1,    #0xa0aa
cw 0xd
call send_back  ; 1748 (0x06d4)

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