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

lri $AR1,    #0x928e
lri $IX1,    #0x63a6
lri $WR1,    #0x5932
cw 0x5
call send_back  ; 1537 (0x0601)

lri $AR1,    #0xb278
lri $IX1,    #0x1bc4
lri $WR1,    #0x97e6
cw 0x5
call send_back  ; 1538 (0x0602)

lri $AR1,    #0x3550
lri $IX1,    #0xf9fe
lri $WR1,    #0xde0c
cw 0x5
call send_back  ; 1539 (0x0603)

lri $AR1,    #0x00f2
lri $IX1,    #0x7aea
lri $WR1,    #0xf56a
cw 0x5
call send_back  ; 1540 (0x0604)

lri $AR1,    #0x9b9a
lri $IX1,    #0x7b62
lri $WR1,    #0xaae2
cw 0x5
call send_back  ; 1541 (0x0605)

lri $AR1,    #0x5e38
lri $IX1,    #0xf38e
lri $WR1,    #0x46e4
cw 0x5
call send_back  ; 1542 (0x0606)

lri $AR1,    #0x2ec2
lri $IX1,    #0xfdea
lri $WR1,    #0xf70c
cw 0x5
call send_back  ; 1543 (0x0607)

lri $AR1,    #0x6730
lri $IX1,    #0xd606
lri $WR1,    #0x5624
cw 0x5
call send_back  ; 1544 (0x0608)

lri $AR1,    #0xd0c0
lri $IX1,    #0xcd66
lri $WR1,    #0xf9e8
cw 0x5
call send_back  ; 1545 (0x0609)

lri $AR1,    #0x5562
lri $IX1,    #0x46e0
lri $WR1,    #0xf202
cw 0x5
call send_back  ; 1546 (0x060a)

lri $AR1,    #0x4fa2
lri $IX1,    #0x0010
lri $WR1,    #0x5fbc
cw 0x5
call send_back  ; 1547 (0x060b)

lri $AR1,    #0x0734
lri $IX1,    #0xf138
lri $WR1,    #0x7642
cw 0x5
call send_back  ; 1548 (0x060c)

lri $AR1,    #0xf0c0
lri $IX1,    #0x6bd6
lri $WR1,    #0xa4c4
cw 0x5
call send_back  ; 1549 (0x060d)

lri $AR1,    #0x3dd0
lri $IX1,    #0x6002
lri $WR1,    #0x86ca
cw 0x5
call send_back  ; 1550 (0x060e)

lri $AR1,    #0xea36
lri $IX1,    #0x3906
lri $WR1,    #0x6044
cw 0x5
call send_back  ; 1551 (0x060f)

lri $AR1,    #0xb2ec
lri $IX1,    #0xd7a4
lri $WR1,    #0x31c2
cw 0x5
call send_back  ; 1552 (0x0610)

lri $AR1,    #0xef7c
lri $IX1,    #0x6372
lri $WR1,    #0x4c0c
cw 0x5
call send_back  ; 1553 (0x0611)

lri $AR1,    #0x612c
lri $IX1,    #0x5fe4
lri $WR1,    #0x28d4
cw 0x5
call send_back  ; 1554 (0x0612)

lri $AR1,    #0x809e
lri $IX1,    #0xdbcc
lri $WR1,    #0xb378
cw 0x5
call send_back  ; 1555 (0x0613)

lri $AR1,    #0xbe38
lri $IX1,    #0x808a
lri $WR1,    #0x4a3e
cw 0x5
call send_back  ; 1556 (0x0614)

lri $AR1,    #0x1206
lri $IX1,    #0xc75c
lri $WR1,    #0x8f3a
cw 0x5
call send_back  ; 1557 (0x0615)

lri $AR1,    #0xd65a
lri $IX1,    #0xa1ae
lri $WR1,    #0x66f6
cw 0x5
call send_back  ; 1558 (0x0616)

lri $AR1,    #0x052a
lri $IX1,    #0xb4d0
lri $WR1,    #0x89f6
cw 0x5
call send_back  ; 1559 (0x0617)

lri $AR1,    #0x55a2
lri $IX1,    #0xab26
lri $WR1,    #0x3360
cw 0x5
call send_back  ; 1560 (0x0618)

lri $AR1,    #0x6940
lri $IX1,    #0xa14a
lri $WR1,    #0x1c10
cw 0x5
call send_back  ; 1561 (0x0619)

lri $AR1,    #0xb378
lri $IX1,    #0x04e8
lri $WR1,    #0xbd08
cw 0x5
call send_back  ; 1562 (0x061a)

lri $AR1,    #0x3536
lri $IX1,    #0x795e
lri $WR1,    #0x7bb6
cw 0x5
call send_back  ; 1563 (0x061b)

lri $AR1,    #0x099a
lri $IX1,    #0x1d08
lri $WR1,    #0xb7d8
cw 0x5
call send_back  ; 1564 (0x061c)

lri $AR1,    #0xc2f8
lri $IX1,    #0x7e3c
lri $WR1,    #0xe86a
cw 0x5
call send_back  ; 1565 (0x061d)

lri $AR1,    #0xc058
lri $IX1,    #0xb600
lri $WR1,    #0x9a18
cw 0x5
call send_back  ; 1566 (0x061e)

lri $AR1,    #0x6680
lri $IX1,    #0xbf9c
lri $WR1,    #0x802c
cw 0x5
call send_back  ; 1567 (0x061f)

lri $AR1,    #0x462e
lri $IX1,    #0x1aea
lri $WR1,    #0xeedc
cw 0x5
call send_back  ; 1568 (0x0620)

lri $AR1,    #0xa976
lri $IX1,    #0xcfb8
lri $WR1,    #0xee94
cw 0x5
call send_back  ; 1569 (0x0621)

lri $AR1,    #0xa170
lri $IX1,    #0x8d70
lri $WR1,    #0xa31a
cw 0x5
call send_back  ; 1570 (0x0622)

lri $AR1,    #0x9f02
lri $IX1,    #0x16fc
lri $WR1,    #0x84d8
cw 0x5
call send_back  ; 1571 (0x0623)

lri $AR1,    #0xef3e
lri $IX1,    #0x7408
lri $WR1,    #0x7a12
cw 0x5
call send_back  ; 1572 (0x0624)

lri $AR1,    #0x8996
lri $IX1,    #0xd984
lri $WR1,    #0x4428
cw 0x5
call send_back  ; 1573 (0x0625)

lri $AR1,    #0xf35a
lri $IX1,    #0x9d4e
lri $WR1,    #0x6a2c
cw 0x5
call send_back  ; 1574 (0x0626)

lri $AR1,    #0x4f44
lri $IX1,    #0x3940
lri $WR1,    #0xba5e
cw 0x5
call send_back  ; 1575 (0x0627)

lri $AR1,    #0xd938
lri $IX1,    #0xf7fa
lri $WR1,    #0x841a
cw 0x5
call send_back  ; 1576 (0x0628)

lri $AR1,    #0x976a
lri $IX1,    #0x63d6
lri $WR1,    #0xe35c
cw 0x5
call send_back  ; 1577 (0x0629)

lri $AR1,    #0x4ec6
lri $IX1,    #0x0568
lri $WR1,    #0x5248
cw 0x5
call send_back  ; 1578 (0x062a)

lri $AR1,    #0x8740
lri $IX1,    #0xcbe6
lri $WR1,    #0x3022
cw 0x5
call send_back  ; 1579 (0x062b)

lri $AR1,    #0x564e
lri $IX1,    #0xaf0a
lri $WR1,    #0x7774
cw 0x5
call send_back  ; 1580 (0x062c)

lri $AR1,    #0x8942
lri $IX1,    #0xea0e
lri $WR1,    #0xfee8
cw 0x5
call send_back  ; 1581 (0x062d)

lri $AR1,    #0xacf6
lri $IX1,    #0xa5d8
lri $WR1,    #0xd778
cw 0x5
call send_back  ; 1582 (0x062e)

lri $AR1,    #0xfdae
lri $IX1,    #0xaa24
lri $WR1,    #0xd660
cw 0x5
call send_back  ; 1583 (0x062f)

lri $AR1,    #0x9030
lri $IX1,    #0xad08
lri $WR1,    #0xe608
cw 0x5
call send_back  ; 1584 (0x0630)

lri $AR1,    #0xc152
lri $IX1,    #0x7dfa
lri $WR1,    #0x3854
cw 0x5
call send_back  ; 1585 (0x0631)

lri $AR1,    #0x24b4
lri $IX1,    #0xc820
lri $WR1,    #0xf398
cw 0x5
call send_back  ; 1586 (0x0632)

lri $AR1,    #0xc1de
lri $IX1,    #0x2f60
lri $WR1,    #0x7ec4
cw 0x5
call send_back  ; 1587 (0x0633)

lri $AR1,    #0xe640
lri $IX1,    #0xd6ae
lri $WR1,    #0x9912
cw 0x5
call send_back  ; 1588 (0x0634)

lri $AR1,    #0xfdc4
lri $IX1,    #0x177a
lri $WR1,    #0x90d0
cw 0x5
call send_back  ; 1589 (0x0635)

lri $AR1,    #0x77ca
lri $IX1,    #0x56c2
lri $WR1,    #0xd786
cw 0x5
call send_back  ; 1590 (0x0636)

lri $AR1,    #0xf018
lri $IX1,    #0x7a2c
lri $WR1,    #0xf37a
cw 0x5
call send_back  ; 1591 (0x0637)

lri $AR1,    #0x0850
lri $IX1,    #0x716c
lri $WR1,    #0x419e
cw 0x5
call send_back  ; 1592 (0x0638)

lri $AR1,    #0x2750
lri $IX1,    #0x88c8
lri $WR1,    #0x6c90
cw 0x5
call send_back  ; 1593 (0x0639)

lri $AR1,    #0x68fc
lri $IX1,    #0xbb54
lri $WR1,    #0xb0dc
cw 0x5
call send_back  ; 1594 (0x063a)

lri $AR1,    #0x406a
lri $IX1,    #0x1fb6
lri $WR1,    #0xbcd2
cw 0x5
call send_back  ; 1595 (0x063b)

lri $AR1,    #0x05d0
lri $IX1,    #0xd5c4
lri $WR1,    #0xc182
cw 0x5
call send_back  ; 1596 (0x063c)

lri $AR1,    #0x5652
lri $IX1,    #0xcf2c
lri $WR1,    #0x80a6
cw 0x5
call send_back  ; 1597 (0x063d)

lri $AR1,    #0x527c
lri $IX1,    #0xfb1e
lri $WR1,    #0xb42a
cw 0x5
call send_back  ; 1598 (0x063e)

lri $AR1,    #0xc806
lri $IX1,    #0x47cc
lri $WR1,    #0xad54
cw 0x5
call send_back  ; 1599 (0x063f)

lri $AR1,    #0x0994
lri $IX1,    #0x1c26
lri $WR1,    #0x84d8
cw 0x5
call send_back  ; 1600 (0x0640)

lri $AR1,    #0xa668
lri $IX1,    #0xf830
lri $WR1,    #0x034e
cw 0x5
call send_back  ; 1601 (0x0641)

lri $AR1,    #0xf4e6
lri $IX1,    #0x2a28
lri $WR1,    #0x23ac
cw 0x5
call send_back  ; 1602 (0x0642)

lri $AR1,    #0xc51c
lri $IX1,    #0xa942
lri $WR1,    #0xcc50
cw 0x5
call send_back  ; 1603 (0x0643)

lri $AR1,    #0xfa00
lri $IX1,    #0x1c42
lri $WR1,    #0xe3ea
cw 0x5
call send_back  ; 1604 (0x0644)

lri $AR1,    #0xf084
lri $IX1,    #0x5358
lri $WR1,    #0xf6da
cw 0x5
call send_back  ; 1605 (0x0645)

lri $AR1,    #0xf6b6
lri $IX1,    #0xcce0
lri $WR1,    #0x8a80
cw 0x5
call send_back  ; 1606 (0x0646)

lri $AR1,    #0xcd28
lri $IX1,    #0x5efc
lri $WR1,    #0xb702
cw 0x5
call send_back  ; 1607 (0x0647)

lri $AR1,    #0xb5c6
lri $IX1,    #0x96e0
lri $WR1,    #0x05bc
cw 0x5
call send_back  ; 1608 (0x0648)

lri $AR1,    #0x0388
lri $IX1,    #0x2862
lri $WR1,    #0xe6f4
cw 0x5
call send_back  ; 1609 (0x0649)

lri $AR1,    #0x0c44
lri $IX1,    #0x4026
lri $WR1,    #0xe466
cw 0x5
call send_back  ; 1610 (0x064a)

lri $AR1,    #0x35d4
lri $IX1,    #0x0d5e
lri $WR1,    #0x1020
cw 0x5
call send_back  ; 1611 (0x064b)

lri $AR1,    #0x251c
lri $IX1,    #0xe240
lri $WR1,    #0x3af2
cw 0x5
call send_back  ; 1612 (0x064c)

lri $AR1,    #0x735e
lri $IX1,    #0xa9f4
lri $WR1,    #0xf086
cw 0x5
call send_back  ; 1613 (0x064d)

lri $AR1,    #0x4032
lri $IX1,    #0xbfea
lri $WR1,    #0xe9ec
cw 0x5
call send_back  ; 1614 (0x064e)

lri $AR1,    #0x1050
lri $IX1,    #0x5042
lri $WR1,    #0x15fe
cw 0x5
call send_back  ; 1615 (0x064f)

lri $AR1,    #0xd776
lri $IX1,    #0xf0ea
lri $WR1,    #0x4958
cw 0x5
call send_back  ; 1616 (0x0650)

lri $AR1,    #0x968a
lri $IX1,    #0x5cdc
lri $WR1,    #0x6c0c
cw 0x5
call send_back  ; 1617 (0x0651)

lri $AR1,    #0x5472
lri $IX1,    #0x2440
lri $WR1,    #0x3932
cw 0x5
call send_back  ; 1618 (0x0652)

lri $AR1,    #0x8f1e
lri $IX1,    #0xe972
lri $WR1,    #0xf714
cw 0x5
call send_back  ; 1619 (0x0653)

lri $AR1,    #0x65b8
lri $IX1,    #0x0b06
lri $WR1,    #0x9fcc
cw 0x5
call send_back  ; 1620 (0x0654)

lri $AR1,    #0xca4a
lri $IX1,    #0xabc0
lri $WR1,    #0x126a
cw 0x5
call send_back  ; 1621 (0x0655)

lri $AR1,    #0xb3ae
lri $IX1,    #0xed00
lri $WR1,    #0x931a
cw 0x5
call send_back  ; 1622 (0x0656)

lri $AR1,    #0x2e7c
lri $IX1,    #0xa7a2
lri $WR1,    #0xfd2a
cw 0x5
call send_back  ; 1623 (0x0657)

lri $AR1,    #0x50fa
lri $IX1,    #0x123c
lri $WR1,    #0xeac2
cw 0x5
call send_back  ; 1624 (0x0658)

lri $AR1,    #0x952c
lri $IX1,    #0xdf60
lri $WR1,    #0xf44c
cw 0x5
call send_back  ; 1625 (0x0659)

lri $AR1,    #0xeb4e
lri $IX1,    #0xb3d2
lri $WR1,    #0xe502
cw 0x5
call send_back  ; 1626 (0x065a)

lri $AR1,    #0x772a
lri $IX1,    #0x7dea
lri $WR1,    #0x26e2
cw 0x5
call send_back  ; 1627 (0x065b)

lri $AR1,    #0x95b0
lri $IX1,    #0xa802
lri $WR1,    #0x0132
cw 0x5
call send_back  ; 1628 (0x065c)

lri $AR1,    #0xc01e
lri $IX1,    #0x3344
lri $WR1,    #0x1bf0
cw 0x5
call send_back  ; 1629 (0x065d)

lri $AR1,    #0x25ec
lri $IX1,    #0x9cd0
lri $WR1,    #0x56fc
cw 0x5
call send_back  ; 1630 (0x065e)

lri $AR1,    #0xb3d0
lri $IX1,    #0xc3b4
lri $WR1,    #0x47d2
cw 0x5
call send_back  ; 1631 (0x065f)

lri $AR1,    #0xab72
lri $IX1,    #0x0e78
lri $WR1,    #0xa216
cw 0x5
call send_back  ; 1632 (0x0660)

lri $AR1,    #0xfe12
lri $IX1,    #0x3efa
lri $WR1,    #0x3190
cw 0x5
call send_back  ; 1633 (0x0661)

lri $AR1,    #0x9e46
lri $IX1,    #0xdd9c
lri $WR1,    #0x168a
cw 0x5
call send_back  ; 1634 (0x0662)

lri $AR1,    #0x70ce
lri $IX1,    #0x153c
lri $WR1,    #0x4726
cw 0x5
call send_back  ; 1635 (0x0663)

lri $AR1,    #0x2928
lri $IX1,    #0x1bc4
lri $WR1,    #0xfa64
cw 0x5
call send_back  ; 1636 (0x0664)

lri $AR1,    #0x3a10
lri $IX1,    #0x6bce
lri $WR1,    #0xfa28
cw 0x5
call send_back  ; 1637 (0x0665)

lri $AR1,    #0x82be
lri $IX1,    #0xf2f4
lri $WR1,    #0x15d0
cw 0x5
call send_back  ; 1638 (0x0666)

lri $AR1,    #0x1e98
lri $IX1,    #0xcc8c
lri $WR1,    #0x94aa
cw 0x5
call send_back  ; 1639 (0x0667)

lri $AR1,    #0xc5c8
lri $IX1,    #0x17e6
lri $WR1,    #0x6b7c
cw 0x5
call send_back  ; 1640 (0x0668)

lri $AR1,    #0x23ce
lri $IX1,    #0xaefe
lri $WR1,    #0x08de
cw 0x5
call send_back  ; 1641 (0x0669)

lri $AR1,    #0x414a
lri $IX1,    #0x9ccc
lri $WR1,    #0x774e
cw 0x5
call send_back  ; 1642 (0x066a)

lri $AR1,    #0xae8c
lri $IX1,    #0x8ae8
lri $WR1,    #0x6c6a
cw 0x5
call send_back  ; 1643 (0x066b)

lri $AR1,    #0xed8c
lri $IX1,    #0xdd0e
lri $WR1,    #0x8a2c
cw 0x5
call send_back  ; 1644 (0x066c)

lri $AR1,    #0x12c6
lri $IX1,    #0x4078
lri $WR1,    #0x7acc
cw 0x5
call send_back  ; 1645 (0x066d)

lri $AR1,    #0xb3f6
lri $IX1,    #0x38ea
lri $WR1,    #0xde18
cw 0x5
call send_back  ; 1646 (0x066e)

lri $AR1,    #0x824c
lri $IX1,    #0xcad0
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 1647 (0x066f)

lri $AR1,    #0xa3aa
lri $IX1,    #0x1278
lri $WR1,    #0xce22
cw 0x5
call send_back  ; 1648 (0x0670)

lri $AR1,    #0xd7d4
lri $IX1,    #0x860a
lri $WR1,    #0x1562
cw 0x5
call send_back  ; 1649 (0x0671)

lri $AR1,    #0x25d2
lri $IX1,    #0x93f4
lri $WR1,    #0x5a92
cw 0x5
call send_back  ; 1650 (0x0672)

lri $AR1,    #0x8590
lri $IX1,    #0xf272
lri $WR1,    #0x231a
cw 0x5
call send_back  ; 1651 (0x0673)

lri $AR1,    #0xe890
lri $IX1,    #0xd9c2
lri $WR1,    #0xe9de
cw 0x5
call send_back  ; 1652 (0x0674)

lri $AR1,    #0x954a
lri $IX1,    #0xeb20
lri $WR1,    #0x9f3a
cw 0x5
call send_back  ; 1653 (0x0675)

lri $AR1,    #0xa872
lri $IX1,    #0xc916
lri $WR1,    #0x2ba0
cw 0x5
call send_back  ; 1654 (0x0676)

lri $AR1,    #0xca86
lri $IX1,    #0xdea6
lri $WR1,    #0x82b6
cw 0x5
call send_back  ; 1655 (0x0677)

lri $AR1,    #0x5c92
lri $IX1,    #0xc6c4
lri $WR1,    #0x433c
cw 0x5
call send_back  ; 1656 (0x0678)

lri $AR1,    #0x3584
lri $IX1,    #0xdcfe
lri $WR1,    #0xcb70
cw 0x5
call send_back  ; 1657 (0x0679)

lri $AR1,    #0xb1e2
lri $IX1,    #0x480e
lri $WR1,    #0x0c68
cw 0x5
call send_back  ; 1658 (0x067a)

lri $AR1,    #0x80a6
lri $IX1,    #0x5e66
lri $WR1,    #0x1a90
cw 0x5
call send_back  ; 1659 (0x067b)

lri $AR1,    #0x572c
lri $IX1,    #0x79ec
lri $WR1,    #0x8454
cw 0x5
call send_back  ; 1660 (0x067c)

lri $AR1,    #0x980e
lri $IX1,    #0xa370
lri $WR1,    #0x8f7c
cw 0x5
call send_back  ; 1661 (0x067d)

lri $AR1,    #0x7b1c
lri $IX1,    #0x99ca
lri $WR1,    #0x467e
cw 0x5
call send_back  ; 1662 (0x067e)

lri $AR1,    #0x9e0a
lri $IX1,    #0x96c4
lri $WR1,    #0xe558
cw 0x5
call send_back  ; 1663 (0x067f)

lri $AR1,    #0x2abc
lri $IX1,    #0xb50e
lri $WR1,    #0xbd08
cw 0x5
call send_back  ; 1664 (0x0680)

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

