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

lri $AR1,    #0x0646
lri $IX1,    #0x9986
lri $WR1,    #0x3468
cw 0x15
call send_back  ; 6785 (0x1a81)

lri $AR1,    #0x1a3e
lri $IX1,    #0xa82e
lri $WR1,    #0x9772
cw 0x15
call send_back  ; 6786 (0x1a82)

lri $AR1,    #0x7848
lri $IX1,    #0xdc40
lri $WR1,    #0xe5c4
cw 0x15
call send_back  ; 6787 (0x1a83)

lri $AR1,    #0xce58
lri $IX1,    #0x9518
lri $WR1,    #0x8fce
cw 0x15
call send_back  ; 6788 (0x1a84)

lri $AR1,    #0xc1aa
lri $IX1,    #0x197e
lri $WR1,    #0xcfa6
cw 0x15
call send_back  ; 6789 (0x1a85)

lri $AR1,    #0x6296
lri $IX1,    #0x3e70
lri $WR1,    #0x4e48
cw 0x15
call send_back  ; 6790 (0x1a86)

lri $AR1,    #0x9070
lri $IX1,    #0xe148
lri $WR1,    #0xe3ac
cw 0x15
call send_back  ; 6791 (0x1a87)

lri $AR1,    #0xcd1a
lri $IX1,    #0x50e2
lri $WR1,    #0x4fba
cw 0x15
call send_back  ; 6792 (0x1a88)

lri $AR1,    #0x557a
lri $IX1,    #0xdac6
lri $WR1,    #0x2f24
cw 0x15
call send_back  ; 6793 (0x1a89)

lri $AR1,    #0x0d96
lri $IX1,    #0xc67e
lri $WR1,    #0x6a76
cw 0x15
call send_back  ; 6794 (0x1a8a)

lri $AR1,    #0x3062
lri $IX1,    #0xef7a
lri $WR1,    #0x8c78
cw 0x15
call send_back  ; 6795 (0x1a8b)

lri $AR1,    #0x800c
lri $IX1,    #0xb990
lri $WR1,    #0xf4aa
cw 0x15
call send_back  ; 6796 (0x1a8c)

lri $AR1,    #0x9f48
lri $IX1,    #0xd30e
lri $WR1,    #0x46b4
cw 0x15
call send_back  ; 6797 (0x1a8d)

lri $AR1,    #0x412c
lri $IX1,    #0x4a6e
lri $WR1,    #0xda16
cw 0x15
call send_back  ; 6798 (0x1a8e)

lri $AR1,    #0xe8b4
lri $IX1,    #0xc47a
lri $WR1,    #0xd91e
cw 0x15
call send_back  ; 6799 (0x1a8f)

lri $AR1,    #0xe6a8
lri $IX1,    #0x9190
lri $WR1,    #0x74aa
cw 0x15
call send_back  ; 6800 (0x1a90)

lri $AR1,    #0x84c2
lri $IX1,    #0x79ac
lri $WR1,    #0xb73a
cw 0x15
call send_back  ; 6801 (0x1a91)

lri $AR1,    #0x860c
lri $IX1,    #0x6e00
lri $WR1,    #0x784c
cw 0x15
call send_back  ; 6802 (0x1a92)

lri $AR1,    #0x54d2
lri $IX1,    #0x875c
lri $WR1,    #0xe844
cw 0x15
call send_back  ; 6803 (0x1a93)

lri $AR1,    #0x695e
lri $IX1,    #0xd276
lri $WR1,    #0xca66
cw 0x15
call send_back  ; 6804 (0x1a94)

lri $AR1,    #0xdfce
lri $IX1,    #0x634e
lri $WR1,    #0xdb82
cw 0x15
call send_back  ; 6805 (0x1a95)

lri $AR1,    #0x012e
lri $IX1,    #0xa22e
lri $WR1,    #0xd282
cw 0x15
call send_back  ; 6806 (0x1a96)

lri $AR1,    #0xab60
lri $IX1,    #0x7798
lri $WR1,    #0xd156
cw 0x15
call send_back  ; 6807 (0x1a97)

lri $AR1,    #0xc048
lri $IX1,    #0xd8cc
lri $WR1,    #0xd194
cw 0x15
call send_back  ; 6808 (0x1a98)

lri $AR1,    #0xc920
lri $IX1,    #0xc23a
lri $WR1,    #0x279e
cw 0x15
call send_back  ; 6809 (0x1a99)

lri $AR1,    #0xb5c0
lri $IX1,    #0x3f4e
lri $WR1,    #0x3a20
cw 0x15
call send_back  ; 6810 (0x1a9a)

lri $AR1,    #0x690a
lri $IX1,    #0x4c8e
lri $WR1,    #0x6620
cw 0x15
call send_back  ; 6811 (0x1a9b)

lri $AR1,    #0x0e6a
lri $IX1,    #0xf276
lri $WR1,    #0xfbfa
cw 0x15
call send_back  ; 6812 (0x1a9c)

lri $AR1,    #0x5950
lri $IX1,    #0x8300
lri $WR1,    #0xb2b6
cw 0x15
call send_back  ; 6813 (0x1a9d)

lri $AR1,    #0x47a0
lri $IX1,    #0x1da0
lri $WR1,    #0x5ac2
cw 0x15
call send_back  ; 6814 (0x1a9e)

lri $AR1,    #0x6ddc
lri $IX1,    #0x3d72
lri $WR1,    #0xfae2
cw 0x15
call send_back  ; 6815 (0x1a9f)

lri $AR1,    #0xe95c
lri $IX1,    #0x277a
lri $WR1,    #0x56d8
cw 0x15
call send_back  ; 6816 (0x1aa0)

lri $AR1,    #0x787a
lri $IX1,    #0x3dbc
lri $WR1,    #0x436a
cw 0x15
call send_back  ; 6817 (0x1aa1)

lri $AR1,    #0x365a
lri $IX1,    #0xc46e
lri $WR1,    #0x0cee
cw 0x15
call send_back  ; 6818 (0x1aa2)

lri $AR1,    #0x6520
lri $IX1,    #0x29ca
lri $WR1,    #0xccea
cw 0x15
call send_back  ; 6819 (0x1aa3)

lri $AR1,    #0x8592
lri $IX1,    #0x9564
lri $WR1,    #0xd8ea
cw 0x15
call send_back  ; 6820 (0x1aa4)

lri $AR1,    #0xd448
lri $IX1,    #0xb3ba
lri $WR1,    #0xb6a2
cw 0x15
call send_back  ; 6821 (0x1aa5)

lri $AR1,    #0x0894
lri $IX1,    #0xc79c
lri $WR1,    #0x9d52
cw 0x15
call send_back  ; 6822 (0x1aa6)

lri $AR1,    #0xcfb2
lri $IX1,    #0xda64
lri $WR1,    #0x1fb0
cw 0x15
call send_back  ; 6823 (0x1aa7)

lri $AR1,    #0xbf0a
lri $IX1,    #0x351e
lri $WR1,    #0x70dc
cw 0x15
call send_back  ; 6824 (0x1aa8)

lri $AR1,    #0x949e
lri $IX1,    #0x11c6
lri $WR1,    #0x18e8
cw 0x15
call send_back  ; 6825 (0x1aa9)

lri $AR1,    #0x6010
lri $IX1,    #0x6bc8
lri $WR1,    #0x4074
cw 0x15
call send_back  ; 6826 (0x1aaa)

lri $AR1,    #0x88d8
lri $IX1,    #0xd2ce
lri $WR1,    #0xa868
cw 0x15
call send_back  ; 6827 (0x1aab)

lri $AR1,    #0x3686
lri $IX1,    #0x633e
lri $WR1,    #0xcc40
cw 0x15
call send_back  ; 6828 (0x1aac)

lri $AR1,    #0xe69a
lri $IX1,    #0xaed0
lri $WR1,    #0x4a40
cw 0x15
call send_back  ; 6829 (0x1aad)

lri $AR1,    #0x6e1e
lri $IX1,    #0x28dc
lri $WR1,    #0xeaf4
cw 0x15
call send_back  ; 6830 (0x1aae)

lri $AR1,    #0x1d9a
lri $IX1,    #0xab4e
lri $WR1,    #0x601e
cw 0x15
call send_back  ; 6831 (0x1aaf)

lri $AR1,    #0x3b44
lri $IX1,    #0x02ec
lri $WR1,    #0x4f0c
cw 0x15
call send_back  ; 6832 (0x1ab0)

lri $AR1,    #0xf642
lri $IX1,    #0x7f34
lri $WR1,    #0x8482
cw 0x15
call send_back  ; 6833 (0x1ab1)

lri $AR1,    #0xc098
lri $IX1,    #0x232e
lri $WR1,    #0x4638
cw 0x15
call send_back  ; 6834 (0x1ab2)

lri $AR1,    #0xce98
lri $IX1,    #0x6b5c
lri $WR1,    #0x544a
cw 0x15
call send_back  ; 6835 (0x1ab3)

lri $AR1,    #0xb936
lri $IX1,    #0x932a
lri $WR1,    #0x338c
cw 0x15
call send_back  ; 6836 (0x1ab4)

lri $AR1,    #0x6e90
lri $IX1,    #0xf464
lri $WR1,    #0x9c2e
cw 0x15
call send_back  ; 6837 (0x1ab5)

lri $AR1,    #0xdf5a
lri $IX1,    #0x330c
lri $WR1,    #0xf9b4
cw 0x15
call send_back  ; 6838 (0x1ab6)

lri $AR1,    #0x946c
lri $IX1,    #0xdc98
lri $WR1,    #0x8dee
cw 0x15
call send_back  ; 6839 (0x1ab7)

lri $AR1,    #0xe3be
lri $IX1,    #0x0eba
lri $WR1,    #0x4ade
cw 0x15
call send_back  ; 6840 (0x1ab8)

lri $AR1,    #0x1808
lri $IX1,    #0x812a
lri $WR1,    #0x53cc
cw 0x15
call send_back  ; 6841 (0x1ab9)

lri $AR1,    #0xb236
lri $IX1,    #0x92de
lri $WR1,    #0x008e
cw 0x15
call send_back  ; 6842 (0x1aba)

lri $AR1,    #0xfe74
lri $IX1,    #0x4e44
lri $WR1,    #0xa728
cw 0x15
call send_back  ; 6843 (0x1abb)

lri $AR1,    #0xd4e0
lri $IX1,    #0xee72
lri $WR1,    #0x55e8
cw 0x15
call send_back  ; 6844 (0x1abc)

lri $AR1,    #0xaddc
lri $IX1,    #0x7a5a
lri $WR1,    #0x99b8
cw 0x15
call send_back  ; 6845 (0x1abd)

lri $AR1,    #0x2770
lri $IX1,    #0xcbb8
lri $WR1,    #0x43e6
cw 0x15
call send_back  ; 6846 (0x1abe)

lri $AR1,    #0x4430
lri $IX1,    #0xc138
lri $WR1,    #0x274a
cw 0x15
call send_back  ; 6847 (0x1abf)

lri $AR1,    #0xd8fa
lri $IX1,    #0x260c
lri $WR1,    #0x6ed2
cw 0x15
call send_back  ; 6848 (0x1ac0)

lri $AR1,    #0x8174
lri $IX1,    #0x8c12
lri $WR1,    #0x0884
cw 0x15
call send_back  ; 6849 (0x1ac1)

lri $AR1,    #0x12b4
lri $IX1,    #0xf878
lri $WR1,    #0x3188
cw 0x15
call send_back  ; 6850 (0x1ac2)

lri $AR1,    #0x6122
lri $IX1,    #0xf45c
lri $WR1,    #0x3d7c
cw 0x15
call send_back  ; 6851 (0x1ac3)

lri $AR1,    #0x9f06
lri $IX1,    #0x738c
lri $WR1,    #0x7af8
cw 0x15
call send_back  ; 6852 (0x1ac4)

lri $AR1,    #0x0498
lri $IX1,    #0x7b66
lri $WR1,    #0x81cc
cw 0x15
call send_back  ; 6853 (0x1ac5)

lri $AR1,    #0xbc8e
lri $IX1,    #0xf758
lri $WR1,    #0x8726
cw 0x15
call send_back  ; 6854 (0x1ac6)

lri $AR1,    #0x9314
lri $IX1,    #0x49a4
lri $WR1,    #0xf1c6
cw 0x15
call send_back  ; 6855 (0x1ac7)

lri $AR1,    #0x0542
lri $IX1,    #0xd90a
lri $WR1,    #0x1d6a
cw 0x15
call send_back  ; 6856 (0x1ac8)

lri $AR1,    #0xd1f8
lri $IX1,    #0x6ca2
lri $WR1,    #0x3b8e
cw 0x15
call send_back  ; 6857 (0x1ac9)

lri $AR1,    #0x1a62
lri $IX1,    #0xa208
lri $WR1,    #0x0a0a
cw 0x15
call send_back  ; 6858 (0x1aca)

lri $AR1,    #0x1302
lri $IX1,    #0xfb82
lri $WR1,    #0x64b2
cw 0x15
call send_back  ; 6859 (0x1acb)

lri $AR1,    #0xba74
lri $IX1,    #0x9914
lri $WR1,    #0x21e2
cw 0x15
call send_back  ; 6860 (0x1acc)

lri $AR1,    #0x4c4a
lri $IX1,    #0x65fe
lri $WR1,    #0x1804
cw 0x15
call send_back  ; 6861 (0x1acd)

lri $AR1,    #0x26e6
lri $IX1,    #0xa44a
lri $WR1,    #0x6358
cw 0x15
call send_back  ; 6862 (0x1ace)

lri $AR1,    #0x606a
lri $IX1,    #0x9ae0
lri $WR1,    #0x355e
cw 0x15
call send_back  ; 6863 (0x1acf)

lri $AR1,    #0x6ba0
lri $IX1,    #0x8d82
lri $WR1,    #0xd838
cw 0x15
call send_back  ; 6864 (0x1ad0)

lri $AR1,    #0x6be6
lri $IX1,    #0x46d6
lri $WR1,    #0x9ff8
cw 0x15
call send_back  ; 6865 (0x1ad1)

lri $AR1,    #0x531a
lri $IX1,    #0x0902
lri $WR1,    #0xd8bc
cw 0x15
call send_back  ; 6866 (0x1ad2)

lri $AR1,    #0xf720
lri $IX1,    #0x4d9a
lri $WR1,    #0xa616
cw 0x15
call send_back  ; 6867 (0x1ad3)

lri $AR1,    #0xb63e
lri $IX1,    #0x30d0
lri $WR1,    #0x585c
cw 0x15
call send_back  ; 6868 (0x1ad4)

lri $AR1,    #0xd2d8
lri $IX1,    #0xeb62
lri $WR1,    #0x77a0
cw 0x15
call send_back  ; 6869 (0x1ad5)

lri $AR1,    #0x87ba
lri $IX1,    #0x15d4
lri $WR1,    #0x19a8
cw 0x15
call send_back  ; 6870 (0x1ad6)

lri $AR1,    #0xc7ae
lri $IX1,    #0xc574
lri $WR1,    #0x9770
cw 0x15
call send_back  ; 6871 (0x1ad7)

lri $AR1,    #0x96f2
lri $IX1,    #0x31f0
lri $WR1,    #0x26ce
cw 0x15
call send_back  ; 6872 (0x1ad8)

lri $AR1,    #0xbf7e
lri $IX1,    #0xb4f0
lri $WR1,    #0xa5f4
cw 0x15
call send_back  ; 6873 (0x1ad9)

lri $AR1,    #0xaf3e
lri $IX1,    #0x8d3e
lri $WR1,    #0xd90a
cw 0x15
call send_back  ; 6874 (0x1ada)

lri $AR1,    #0x4a2a
lri $IX1,    #0x6794
lri $WR1,    #0xf1e0
cw 0x15
call send_back  ; 6875 (0x1adb)

lri $AR1,    #0x8cc2
lri $IX1,    #0xeaac
lri $WR1,    #0x319c
cw 0x15
call send_back  ; 6876 (0x1adc)

lri $AR1,    #0xf59a
lri $IX1,    #0x2e9a
lri $WR1,    #0x868a
cw 0x15
call send_back  ; 6877 (0x1add)

lri $AR1,    #0x404e
lri $IX1,    #0xef26
lri $WR1,    #0x6b88
cw 0x15
call send_back  ; 6878 (0x1ade)

lri $AR1,    #0x8388
lri $IX1,    #0x9c74
lri $WR1,    #0x95cc
cw 0x15
call send_back  ; 6879 (0x1adf)

lri $AR1,    #0x28d2
lri $IX1,    #0x9074
lri $WR1,    #0x9dcc
cw 0x15
call send_back  ; 6880 (0x1ae0)

lri $AR1,    #0x35ea
lri $IX1,    #0x067e
lri $WR1,    #0xbde2
cw 0x15
call send_back  ; 6881 (0x1ae1)

lri $AR1,    #0xc0ba
lri $IX1,    #0xcffe
lri $WR1,    #0x2230
cw 0x15
call send_back  ; 6882 (0x1ae2)

lri $AR1,    #0xd57a
lri $IX1,    #0xc064
lri $WR1,    #0x6a2e
cw 0x15
call send_back  ; 6883 (0x1ae3)

lri $AR1,    #0x42a0
lri $IX1,    #0x77be
lri $WR1,    #0x5d66
cw 0x15
call send_back  ; 6884 (0x1ae4)

lri $AR1,    #0x5c48
lri $IX1,    #0x1374
lri $WR1,    #0x0850
cw 0x15
call send_back  ; 6885 (0x1ae5)

lri $AR1,    #0xb8f0
lri $IX1,    #0xde56
lri $WR1,    #0x99b6
cw 0x15
call send_back  ; 6886 (0x1ae6)

lri $AR1,    #0xf0c4
lri $IX1,    #0xac78
lri $WR1,    #0xa1a2
cw 0x15
call send_back  ; 6887 (0x1ae7)

lri $AR1,    #0x88ac
lri $IX1,    #0x41d6
lri $WR1,    #0x05d8
cw 0x15
call send_back  ; 6888 (0x1ae8)

lri $AR1,    #0xbc36
lri $IX1,    #0x9f50
lri $WR1,    #0x3b46
cw 0x15
call send_back  ; 6889 (0x1ae9)

lri $AR1,    #0x0ffc
lri $IX1,    #0xaef2
lri $WR1,    #0xb62a
cw 0x15
call send_back  ; 6890 (0x1aea)

lri $AR1,    #0xc210
lri $IX1,    #0x5008
lri $WR1,    #0xce06
cw 0x15
call send_back  ; 6891 (0x1aeb)

lri $AR1,    #0xa5c4
lri $IX1,    #0x4d40
lri $WR1,    #0xdf02
cw 0x15
call send_back  ; 6892 (0x1aec)

lri $AR1,    #0xd404
lri $IX1,    #0xad8a
lri $WR1,    #0x5130
cw 0x15
call send_back  ; 6893 (0x1aed)

lri $AR1,    #0x47f6
lri $IX1,    #0xe764
lri $WR1,    #0x8334
cw 0x15
call send_back  ; 6894 (0x1aee)

lri $AR1,    #0xb154
lri $IX1,    #0x52a2
lri $WR1,    #0xda8c
cw 0x15
call send_back  ; 6895 (0x1aef)

lri $AR1,    #0xb2ae
lri $IX1,    #0x4088
lri $WR1,    #0xa29e
cw 0x15
call send_back  ; 6896 (0x1af0)

lri $AR1,    #0xee5a
lri $IX1,    #0x7684
lri $WR1,    #0xd7cc
cw 0x15
call send_back  ; 6897 (0x1af1)

lri $AR1,    #0x9300
lri $IX1,    #0xdf28
lri $WR1,    #0xb0c4
cw 0x15
call send_back  ; 6898 (0x1af2)

lri $AR1,    #0x0b96
lri $IX1,    #0x3686
lri $WR1,    #0x8458
cw 0x15
call send_back  ; 6899 (0x1af3)

lri $AR1,    #0x2c66
lri $IX1,    #0x079a
lri $WR1,    #0xe442
cw 0x15
call send_back  ; 6900 (0x1af4)

lri $AR1,    #0xca5a
lri $IX1,    #0xcf3c
lri $WR1,    #0x9906
cw 0x15
call send_back  ; 6901 (0x1af5)

lri $AR1,    #0x38bc
lri $IX1,    #0x4f36
lri $WR1,    #0xe44e
cw 0x15
call send_back  ; 6902 (0x1af6)

lri $AR1,    #0xef58
lri $IX1,    #0xf39c
lri $WR1,    #0x6990
cw 0x15
call send_back  ; 6903 (0x1af7)

lri $AR1,    #0x26d2
lri $IX1,    #0x1ba0
lri $WR1,    #0x99d4
cw 0x15
call send_back  ; 6904 (0x1af8)

lri $AR1,    #0xe234
lri $IX1,    #0xb57e
lri $WR1,    #0xd648
cw 0x15
call send_back  ; 6905 (0x1af9)

lri $AR1,    #0x4446
lri $IX1,    #0x281c
lri $WR1,    #0x968a
cw 0x15
call send_back  ; 6906 (0x1afa)

lri $AR1,    #0x935e
lri $IX1,    #0x82ee
lri $WR1,    #0x46fa
cw 0x15
call send_back  ; 6907 (0x1afb)

lri $AR1,    #0xf3fe
lri $IX1,    #0x6d56
lri $WR1,    #0xbc82
cw 0x15
call send_back  ; 6908 (0x1afc)

lri $AR1,    #0x683c
lri $IX1,    #0xb8ae
lri $WR1,    #0xee5c
cw 0x15
call send_back  ; 6909 (0x1afd)

lri $AR1,    #0xf2aa
lri $IX1,    #0x269a
lri $WR1,    #0xb59a
cw 0x15
call send_back  ; 6910 (0x1afe)

lri $AR1,    #0x4012
lri $IX1,    #0x5298
lri $WR1,    #0x7c14
cw 0x15
call send_back  ; 6911 (0x1aff)

lri $AR1,    #0xf7d4
lri $IX1,    #0xc9e0
lri $WR1,    #0x7a3a
cw 0x15
call send_back  ; 6912 (0x1b00)

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

