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

lri $AR1,    #0x3b9e
lri $IX1,    #0x5f54
lri $WR1,    #0x0184
cw 0x15
call send_back  ; 6657 (0x1a01)

lri $AR1,    #0x6762
lri $IX1,    #0x7364
lri $WR1,    #0xade0
cw 0x15
call send_back  ; 6658 (0x1a02)

lri $AR1,    #0x1cc0
lri $IX1,    #0x4790
lri $WR1,    #0x69b8
cw 0x15
call send_back  ; 6659 (0x1a03)

lri $AR1,    #0x80d0
lri $IX1,    #0x12b0
lri $WR1,    #0x67fa
cw 0x15
call send_back  ; 6660 (0x1a04)

lri $AR1,    #0x1646
lri $IX1,    #0x143c
lri $WR1,    #0x45b4
cw 0x15
call send_back  ; 6661 (0x1a05)

lri $AR1,    #0xdda0
lri $IX1,    #0x05b4
lri $WR1,    #0xdf50
cw 0x15
call send_back  ; 6662 (0x1a06)

lri $AR1,    #0x78d8
lri $IX1,    #0x6582
lri $WR1,    #0x6ea4
cw 0x15
call send_back  ; 6663 (0x1a07)

lri $AR1,    #0x7548
lri $IX1,    #0xcd1c
lri $WR1,    #0x8cc4
cw 0x15
call send_back  ; 6664 (0x1a08)

lri $AR1,    #0x5940
lri $IX1,    #0x2ec4
lri $WR1,    #0x6532
cw 0x15
call send_back  ; 6665 (0x1a09)

lri $AR1,    #0xe560
lri $IX1,    #0xa142
lri $WR1,    #0x43ba
cw 0x15
call send_back  ; 6666 (0x1a0a)

lri $AR1,    #0xb7da
lri $IX1,    #0x2f46
lri $WR1,    #0x1a78
cw 0x15
call send_back  ; 6667 (0x1a0b)

lri $AR1,    #0x7de0
lri $IX1,    #0x1896
lri $WR1,    #0xde08
cw 0x15
call send_back  ; 6668 (0x1a0c)

lri $AR1,    #0x9fce
lri $IX1,    #0x2b8c
lri $WR1,    #0x7f00
cw 0x15
call send_back  ; 6669 (0x1a0d)

lri $AR1,    #0xe2fe
lri $IX1,    #0x54da
lri $WR1,    #0x7b26
cw 0x15
call send_back  ; 6670 (0x1a0e)

lri $AR1,    #0x1488
lri $IX1,    #0x23f2
lri $WR1,    #0xe1dc
cw 0x15
call send_back  ; 6671 (0x1a0f)

lri $AR1,    #0xe702
lri $IX1,    #0x90c2
lri $WR1,    #0x8648
cw 0x15
call send_back  ; 6672 (0x1a10)

lri $AR1,    #0xf24e
lri $IX1,    #0xd9dc
lri $WR1,    #0xec30
cw 0x15
call send_back  ; 6673 (0x1a11)

lri $AR1,    #0xf6a0
lri $IX1,    #0xbde6
lri $WR1,    #0x33a8
cw 0x15
call send_back  ; 6674 (0x1a12)

lri $AR1,    #0x7180
lri $IX1,    #0x5508
lri $WR1,    #0xe424
cw 0x15
call send_back  ; 6675 (0x1a13)

lri $AR1,    #0xd710
lri $IX1,    #0xb560
lri $WR1,    #0xad9a
cw 0x15
call send_back  ; 6676 (0x1a14)

lri $AR1,    #0x6254
lri $IX1,    #0xe750
lri $WR1,    #0x7cbe
cw 0x15
call send_back  ; 6677 (0x1a15)

lri $AR1,    #0xa5ac
lri $IX1,    #0xec16
lri $WR1,    #0xde9c
cw 0x15
call send_back  ; 6678 (0x1a16)

lri $AR1,    #0x1994
lri $IX1,    #0x8572
lri $WR1,    #0x6e6e
cw 0x15
call send_back  ; 6679 (0x1a17)

lri $AR1,    #0x2514
lri $IX1,    #0x462c
lri $WR1,    #0xc62a
cw 0x15
call send_back  ; 6680 (0x1a18)

lri $AR1,    #0x0544
lri $IX1,    #0x5020
lri $WR1,    #0x06ee
cw 0x15
call send_back  ; 6681 (0x1a19)

lri $AR1,    #0x8cc2
lri $IX1,    #0x2b6c
lri $WR1,    #0xb25a
cw 0x15
call send_back  ; 6682 (0x1a1a)

lri $AR1,    #0x9aa0
lri $IX1,    #0xf8fe
lri $WR1,    #0x6d34
cw 0x15
call send_back  ; 6683 (0x1a1b)

lri $AR1,    #0x6400
lri $IX1,    #0x0138
lri $WR1,    #0xb128
cw 0x15
call send_back  ; 6684 (0x1a1c)

lri $AR1,    #0x6568
lri $IX1,    #0x6bcc
lri $WR1,    #0x2118
cw 0x15
call send_back  ; 6685 (0x1a1d)

lri $AR1,    #0x9230
lri $IX1,    #0x4cda
lri $WR1,    #0x306c
cw 0x15
call send_back  ; 6686 (0x1a1e)

lri $AR1,    #0x12e2
lri $IX1,    #0xec52
lri $WR1,    #0xe468
cw 0x15
call send_back  ; 6687 (0x1a1f)

lri $AR1,    #0xda5e
lri $IX1,    #0x9bba
lri $WR1,    #0x344a
cw 0x15
call send_back  ; 6688 (0x1a20)

lri $AR1,    #0x018a
lri $IX1,    #0xce5c
lri $WR1,    #0x5e0a
cw 0x15
call send_back  ; 6689 (0x1a21)

lri $AR1,    #0x90ee
lri $IX1,    #0x8556
lri $WR1,    #0xe848
cw 0x15
call send_back  ; 6690 (0x1a22)

lri $AR1,    #0xc8d4
lri $IX1,    #0x2d62
lri $WR1,    #0x0606
cw 0x15
call send_back  ; 6691 (0x1a23)

lri $AR1,    #0x9e90
lri $IX1,    #0x4d72
lri $WR1,    #0xb7b8
cw 0x15
call send_back  ; 6692 (0x1a24)

lri $AR1,    #0xf308
lri $IX1,    #0xb612
lri $WR1,    #0xe3de
cw 0x15
call send_back  ; 6693 (0x1a25)

lri $AR1,    #0xf416
lri $IX1,    #0x7b78
lri $WR1,    #0xae8e
cw 0x15
call send_back  ; 6694 (0x1a26)

lri $AR1,    #0x6580
lri $IX1,    #0xcc6e
lri $WR1,    #0xff38
cw 0x15
call send_back  ; 6695 (0x1a27)

lri $AR1,    #0x8f84
lri $IX1,    #0xc674
lri $WR1,    #0xc48c
cw 0x15
call send_back  ; 6696 (0x1a28)

lri $AR1,    #0x526e
lri $IX1,    #0x3da6
lri $WR1,    #0xb54c
cw 0x15
call send_back  ; 6697 (0x1a29)

lri $AR1,    #0x3ada
lri $IX1,    #0x9b8e
lri $WR1,    #0x00b4
cw 0x15
call send_back  ; 6698 (0x1a2a)

lri $AR1,    #0xa95e
lri $IX1,    #0x5d70
lri $WR1,    #0x13e2
cw 0x15
call send_back  ; 6699 (0x1a2b)

lri $AR1,    #0x61ee
lri $IX1,    #0xe78c
lri $WR1,    #0x3bce
cw 0x15
call send_back  ; 6700 (0x1a2c)

lri $AR1,    #0x7294
lri $IX1,    #0x0afa
lri $WR1,    #0x8588
cw 0x15
call send_back  ; 6701 (0x1a2d)

lri $AR1,    #0xdcf8
lri $IX1,    #0x4a32
lri $WR1,    #0xcd46
cw 0x15
call send_back  ; 6702 (0x1a2e)

lri $AR1,    #0xf3a2
lri $IX1,    #0xc224
lri $WR1,    #0x20be
cw 0x15
call send_back  ; 6703 (0x1a2f)

lri $AR1,    #0x79fa
lri $IX1,    #0x150a
lri $WR1,    #0xbde0
cw 0x15
call send_back  ; 6704 (0x1a30)

lri $AR1,    #0x8a28
lri $IX1,    #0xb256
lri $WR1,    #0x6e9c
cw 0x15
call send_back  ; 6705 (0x1a31)

lri $AR1,    #0x87bc
lri $IX1,    #0x0d68
lri $WR1,    #0x58a2
cw 0x15
call send_back  ; 6706 (0x1a32)

lri $AR1,    #0x7424
lri $IX1,    #0xf470
lri $WR1,    #0x1bf4
cw 0x15
call send_back  ; 6707 (0x1a33)

lri $AR1,    #0xc98e
lri $IX1,    #0x7c2a
lri $WR1,    #0x3a80
cw 0x15
call send_back  ; 6708 (0x1a34)

lri $AR1,    #0xe3d6
lri $IX1,    #0x8622
lri $WR1,    #0x6238
cw 0x15
call send_back  ; 6709 (0x1a35)

lri $AR1,    #0x2b70
lri $IX1,    #0x442e
lri $WR1,    #0x7622
cw 0x15
call send_back  ; 6710 (0x1a36)

lri $AR1,    #0x5fa6
lri $IX1,    #0xc962
lri $WR1,    #0xac38
cw 0x15
call send_back  ; 6711 (0x1a37)

lri $AR1,    #0x6af6
lri $IX1,    #0x22d8
lri $WR1,    #0x213c
cw 0x15
call send_back  ; 6712 (0x1a38)

lri $AR1,    #0x2cd6
lri $IX1,    #0x0b14
lri $WR1,    #0xad12
cw 0x15
call send_back  ; 6713 (0x1a39)

lri $AR1,    #0xd158
lri $IX1,    #0x849e
lri $WR1,    #0xcde2
cw 0x15
call send_back  ; 6714 (0x1a3a)

lri $AR1,    #0xfeb8
lri $IX1,    #0x24ac
lri $WR1,    #0x6e56
cw 0x15
call send_back  ; 6715 (0x1a3b)

lri $AR1,    #0x302a
lri $IX1,    #0x1a18
lri $WR1,    #0x2a66
cw 0x15
call send_back  ; 6716 (0x1a3c)

lri $AR1,    #0xfa06
lri $IX1,    #0xc8f2
lri $WR1,    #0x64b6
cw 0x15
call send_back  ; 6717 (0x1a3d)

lri $AR1,    #0xb226
lri $IX1,    #0x387a
lri $WR1,    #0x66f2
cw 0x15
call send_back  ; 6718 (0x1a3e)

lri $AR1,    #0xef0e
lri $IX1,    #0x9496
lri $WR1,    #0x0152
cw 0x15
call send_back  ; 6719 (0x1a3f)

lri $AR1,    #0xde78
lri $IX1,    #0xaada
lri $WR1,    #0x309a
cw 0x15
call send_back  ; 6720 (0x1a40)

lri $AR1,    #0x1b80
lri $IX1,    #0xafc8
lri $WR1,    #0x17e8
cw 0x15
call send_back  ; 6721 (0x1a41)

lri $AR1,    #0x84f8
lri $IX1,    #0x9052
lri $WR1,    #0x2e0e
cw 0x15
call send_back  ; 6722 (0x1a42)

lri $AR1,    #0x6f52
lri $IX1,    #0xce7c
lri $WR1,    #0x7104
cw 0x15
call send_back  ; 6723 (0x1a43)

lri $AR1,    #0x4ec6
lri $IX1,    #0xd54e
lri $WR1,    #0x12a4
cw 0x15
call send_back  ; 6724 (0x1a44)

lri $AR1,    #0xd6b8
lri $IX1,    #0xc99a
lri $WR1,    #0x9974
cw 0x15
call send_back  ; 6725 (0x1a45)

lri $AR1,    #0x7ec8
lri $IX1,    #0x650e
lri $WR1,    #0xb0d6
cw 0x15
call send_back  ; 6726 (0x1a46)

lri $AR1,    #0x0d88
lri $IX1,    #0x03bc
lri $WR1,    #0x1722
cw 0x15
call send_back  ; 6727 (0x1a47)

lri $AR1,    #0x2a46
lri $IX1,    #0xfabe
lri $WR1,    #0x1604
cw 0x15
call send_back  ; 6728 (0x1a48)

lri $AR1,    #0x9f12
lri $IX1,    #0x70a6
lri $WR1,    #0x3d86
cw 0x15
call send_back  ; 6729 (0x1a49)

lri $AR1,    #0xfa6c
lri $IX1,    #0x2010
lri $WR1,    #0xc586
cw 0x15
call send_back  ; 6730 (0x1a4a)

lri $AR1,    #0x8fd6
lri $IX1,    #0x873c
lri $WR1,    #0x8ae6
cw 0x15
call send_back  ; 6731 (0x1a4b)

lri $AR1,    #0x7bb0
lri $IX1,    #0x09e6
lri $WR1,    #0xc1e0
cw 0x15
call send_back  ; 6732 (0x1a4c)

lri $AR1,    #0x64f4
lri $IX1,    #0xc214
lri $WR1,    #0x618a
cw 0x15
call send_back  ; 6733 (0x1a4d)

lri $AR1,    #0x4108
lri $IX1,    #0x41c8
lri $WR1,    #0x572e
cw 0x15
call send_back  ; 6734 (0x1a4e)

lri $AR1,    #0x6fe8
lri $IX1,    #0xbb56
lri $WR1,    #0xb71e
cw 0x15
call send_back  ; 6735 (0x1a4f)

lri $AR1,    #0xccf2
lri $IX1,    #0x05d0
lri $WR1,    #0xaa84
cw 0x15
call send_back  ; 6736 (0x1a50)

lri $AR1,    #0x1364
lri $IX1,    #0x852c
lri $WR1,    #0x9678
cw 0x15
call send_back  ; 6737 (0x1a51)

lri $AR1,    #0x6b0e
lri $IX1,    #0x9ecc
lri $WR1,    #0x0e70
cw 0x15
call send_back  ; 6738 (0x1a52)

lri $AR1,    #0xc0c8
lri $IX1,    #0xc056
lri $WR1,    #0xaeca
cw 0x15
call send_back  ; 6739 (0x1a53)

lri $AR1,    #0x0978
lri $IX1,    #0x3f26
lri $WR1,    #0x2550
cw 0x15
call send_back  ; 6740 (0x1a54)

lri $AR1,    #0x5422
lri $IX1,    #0x3f1c
lri $WR1,    #0x45b6
cw 0x15
call send_back  ; 6741 (0x1a55)

lri $AR1,    #0xd1a8
lri $IX1,    #0xeb70
lri $WR1,    #0x0eaa
cw 0x15
call send_back  ; 6742 (0x1a56)

lri $AR1,    #0xd72e
lri $IX1,    #0xdb6c
lri $WR1,    #0x582c
cw 0x15
call send_back  ; 6743 (0x1a57)

lri $AR1,    #0xdcd4
lri $IX1,    #0x180c
lri $WR1,    #0x5d32
cw 0x15
call send_back  ; 6744 (0x1a58)

lri $AR1,    #0x3236
lri $IX1,    #0xab1e
lri $WR1,    #0x2870
cw 0x15
call send_back  ; 6745 (0x1a59)

lri $AR1,    #0x08c0
lri $IX1,    #0xadde
lri $WR1,    #0x7fbc
cw 0x15
call send_back  ; 6746 (0x1a5a)

lri $AR1,    #0x8c5c
lri $IX1,    #0x0e32
lri $WR1,    #0x8668
cw 0x15
call send_back  ; 6747 (0x1a5b)

lri $AR1,    #0xc5fe
lri $IX1,    #0xaa7a
lri $WR1,    #0xbfaa
cw 0x15
call send_back  ; 6748 (0x1a5c)

lri $AR1,    #0xb316
lri $IX1,    #0x4f3c
lri $WR1,    #0x6966
cw 0x15
call send_back  ; 6749 (0x1a5d)

lri $AR1,    #0xd96c
lri $IX1,    #0x2eb2
lri $WR1,    #0x1c38
cw 0x15
call send_back  ; 6750 (0x1a5e)

lri $AR1,    #0x737a
lri $IX1,    #0xd692
lri $WR1,    #0x9996
cw 0x15
call send_back  ; 6751 (0x1a5f)

lri $AR1,    #0x970a
lri $IX1,    #0x2910
lri $WR1,    #0x3a2c
cw 0x15
call send_back  ; 6752 (0x1a60)

lri $AR1,    #0xfe2e
lri $IX1,    #0x6586
lri $WR1,    #0xc94e
cw 0x15
call send_back  ; 6753 (0x1a61)

lri $AR1,    #0x34ec
lri $IX1,    #0x800a
lri $WR1,    #0x7c22
cw 0x15
call send_back  ; 6754 (0x1a62)

lri $AR1,    #0xd96a
lri $IX1,    #0x8f4a
lri $WR1,    #0x3d5e
cw 0x15
call send_back  ; 6755 (0x1a63)

lri $AR1,    #0x9964
lri $IX1,    #0x5276
lri $WR1,    #0x4030
cw 0x15
call send_back  ; 6756 (0x1a64)

lri $AR1,    #0x2b08
lri $IX1,    #0xd1c4
lri $WR1,    #0x9da6
cw 0x15
call send_back  ; 6757 (0x1a65)

lri $AR1,    #0x9822
lri $IX1,    #0x3326
lri $WR1,    #0x541a
cw 0x15
call send_back  ; 6758 (0x1a66)

lri $AR1,    #0xe71c
lri $IX1,    #0x68e0
lri $WR1,    #0x5e0e
cw 0x15
call send_back  ; 6759 (0x1a67)

lri $AR1,    #0x0e7e
lri $IX1,    #0xcf28
lri $WR1,    #0x1198
cw 0x15
call send_back  ; 6760 (0x1a68)

lri $AR1,    #0x4dda
lri $IX1,    #0x5bb8
lri $WR1,    #0x0214
cw 0x15
call send_back  ; 6761 (0x1a69)

lri $AR1,    #0xd784
lri $IX1,    #0xd47c
lri $WR1,    #0x6122
cw 0x15
call send_back  ; 6762 (0x1a6a)

lri $AR1,    #0xbe72
lri $IX1,    #0x731a
lri $WR1,    #0xec32
cw 0x15
call send_back  ; 6763 (0x1a6b)

lri $AR1,    #0x4514
lri $IX1,    #0xd1d8
lri $WR1,    #0x39ae
cw 0x15
call send_back  ; 6764 (0x1a6c)

lri $AR1,    #0xdaa0
lri $IX1,    #0xe5ca
lri $WR1,    #0x1432
cw 0x15
call send_back  ; 6765 (0x1a6d)

lri $AR1,    #0xcb9e
lri $IX1,    #0xc64c
lri $WR1,    #0x38ce
cw 0x15
call send_back  ; 6766 (0x1a6e)

lri $AR1,    #0xe988
lri $IX1,    #0xaef8
lri $WR1,    #0x86ae
cw 0x15
call send_back  ; 6767 (0x1a6f)

lri $AR1,    #0xfadc
lri $IX1,    #0xd242
lri $WR1,    #0xbea2
cw 0x15
call send_back  ; 6768 (0x1a70)

lri $AR1,    #0xf6b2
lri $IX1,    #0xd84e
lri $WR1,    #0x91f2
cw 0x15
call send_back  ; 6769 (0x1a71)

lri $AR1,    #0xd602
lri $IX1,    #0x91c4
lri $WR1,    #0xb602
cw 0x15
call send_back  ; 6770 (0x1a72)

lri $AR1,    #0xf49c
lri $IX1,    #0xa12a
lri $WR1,    #0xa354
cw 0x15
call send_back  ; 6771 (0x1a73)

lri $AR1,    #0x42c4
lri $IX1,    #0xba84
lri $WR1,    #0xf976
cw 0x15
call send_back  ; 6772 (0x1a74)

lri $AR1,    #0xd0e4
lri $IX1,    #0x7930
lri $WR1,    #0xb26a
cw 0x15
call send_back  ; 6773 (0x1a75)

lri $AR1,    #0xb6c2
lri $IX1,    #0x468a
lri $WR1,    #0x3a24
cw 0x15
call send_back  ; 6774 (0x1a76)

lri $AR1,    #0x8a5c
lri $IX1,    #0x5d04
lri $WR1,    #0x4dfc
cw 0x15
call send_back  ; 6775 (0x1a77)

lri $AR1,    #0xa7a0
lri $IX1,    #0x5ef8
lri $WR1,    #0x8e80
cw 0x15
call send_back  ; 6776 (0x1a78)

lri $AR1,    #0x9814
lri $IX1,    #0x6830
lri $WR1,    #0x913a
cw 0x15
call send_back  ; 6777 (0x1a79)

lri $AR1,    #0xaa68
lri $IX1,    #0x00de
lri $WR1,    #0x7ad6
cw 0x15
call send_back  ; 6778 (0x1a7a)

lri $AR1,    #0xeabc
lri $IX1,    #0x8004
lri $WR1,    #0x161a
cw 0x15
call send_back  ; 6779 (0x1a7b)

lri $AR1,    #0xc36e
lri $IX1,    #0x9888
lri $WR1,    #0x7e60
cw 0x15
call send_back  ; 6780 (0x1a7c)

lri $AR1,    #0x2848
lri $IX1,    #0xf79c
lri $WR1,    #0x0456
cw 0x15
call send_back  ; 6781 (0x1a7d)

lri $AR1,    #0x4870
lri $IX1,    #0x2e2e
lri $WR1,    #0x142e
cw 0x15
call send_back  ; 6782 (0x1a7e)

lri $AR1,    #0x145a
lri $IX1,    #0x15b6
lri $WR1,    #0x42e0
cw 0x15
call send_back  ; 6783 (0x1a7f)

lri $AR1,    #0x0306
lri $IX1,    #0xd98a
lri $WR1,    #0xc772
cw 0x15
call send_back  ; 6784 (0x1a80)

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

