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

lri $AR1,    #0x6c70
lri $IX1,    #0x8c66
lri $WR1,    #0x52fd
cw 0xd
call send_back  ; 2077 (0x081d)

lri $AR1,    #0xa273
lri $IX1,    #0xc014
lri $WR1,    #0xc5c1
cw 0xd
call send_back  ; 2078 (0x081e)

lri $AR1,    #0x8f6f
lri $IX1,    #0xce40
lri $WR1,    #0x81fd
cw 0xd
call send_back  ; 2079 (0x081f)

lri $AR1,    #0x8052
lri $IX1,    #0x760a
lri $WR1,    #0x40ec
cw 0xd
call send_back  ; 2080 (0x0820)

lri $AR1,    #0x9fdc
lri $IX1,    #0xcaa2
lri $WR1,    #0x8c5e
cw 0xd
call send_back  ; 2081 (0x0821)

lri $AR1,    #0x71d4
lri $IX1,    #0x64ae
lri $WR1,    #0xbed8
cw 0xd
call send_back  ; 2082 (0x0822)

lri $AR1,    #0x6960
lri $IX1,    #0x13d2
lri $WR1,    #0xcfa2
cw 0xd
call send_back  ; 2083 (0x0823)

lri $AR1,    #0x47c7
lri $IX1,    #0x480a
lri $WR1,    #0x6327
cw 0xd
call send_back  ; 2084 (0x0824)

lri $AR1,    #0x4c71
lri $IX1,    #0xa238
lri $WR1,    #0x71d9
cw 0xd
call send_back  ; 2085 (0x0825)

lri $AR1,    #0x4e78
lri $IX1,    #0x26aa
lri $WR1,    #0x350f
cw 0xd
call send_back  ; 2086 (0x0826)

lri $AR1,    #0x7b96
lri $IX1,    #0x4bf2
lri $WR1,    #0xcb03
cw 0xd
call send_back  ; 2087 (0x0827)

lri $AR1,    #0x8fbd
lri $IX1,    #0x73dc
lri $WR1,    #0x0875
cw 0xd
call send_back  ; 2088 (0x0828)

lri $AR1,    #0x4433
lri $IX1,    #0x23d0
lri $WR1,    #0x17fb
cw 0xd
call send_back  ; 2089 (0x0829)

lri $AR1,    #0x5479
lri $IX1,    #0x6d78
lri $WR1,    #0x34a2
cw 0xd
call send_back  ; 2090 (0x082a)

lri $AR1,    #0xaacf
lri $IX1,    #0x47e6
lri $WR1,    #0xdedd
cw 0xd
call send_back  ; 2091 (0x082b)

lri $AR1,    #0xeda9
lri $IX1,    #0xfd2a
lri $WR1,    #0x405f
cw 0xd
call send_back  ; 2092 (0x082c)

lri $AR1,    #0xa2de
lri $IX1,    #0x2788
lri $WR1,    #0x6ceb
cw 0xd
call send_back  ; 2093 (0x082d)

lri $AR1,    #0xcce9
lri $IX1,    #0xe538
lri $WR1,    #0x2ba6
cw 0xd
call send_back  ; 2094 (0x082e)

lri $AR1,    #0xaa06
lri $IX1,    #0xc8e4
lri $WR1,    #0x55fe
cw 0xd
call send_back  ; 2095 (0x082f)

lri $AR1,    #0x747b
lri $IX1,    #0x80d2
lri $WR1,    #0x7ec3
cw 0xd
call send_back  ; 2096 (0x0830)

lri $AR1,    #0x0ee7
lri $IX1,    #0x15f6
lri $WR1,    #0xdd65
cw 0xd
call send_back  ; 2097 (0x0831)

lri $AR1,    #0xc6d3
lri $IX1,    #0xdfca
lri $WR1,    #0x4704
cw 0xd
call send_back  ; 2098 (0x0832)

lri $AR1,    #0xab68
lri $IX1,    #0xb920
lri $WR1,    #0xb051
cw 0xd
call send_back  ; 2099 (0x0833)

lri $AR1,    #0x3d99
lri $IX1,    #0x85ec
lri $WR1,    #0x28d8
cw 0xd
call send_back  ; 2100 (0x0834)

lri $AR1,    #0x5a79
lri $IX1,    #0x9128
lri $WR1,    #0x59be
cw 0xd
call send_back  ; 2101 (0x0835)

lri $AR1,    #0x9038
lri $IX1,    #0x95c0
lri $WR1,    #0x2f80
cw 0xd
call send_back  ; 2102 (0x0836)

lri $AR1,    #0x7161
lri $IX1,    #0x44c6
lri $WR1,    #0xd7d7
cw 0xd
call send_back  ; 2103 (0x0837)

lri $AR1,    #0xd1e0
lri $IX1,    #0xaecc
lri $WR1,    #0x822f
cw 0xd
call send_back  ; 2104 (0x0838)

lri $AR1,    #0x847b
lri $IX1,    #0xfda6
lri $WR1,    #0x3ae3
cw 0xd
call send_back  ; 2105 (0x0839)

lri $AR1,    #0x8f13
lri $IX1,    #0x4766
lri $WR1,    #0xa6b6
cw 0xd
call send_back  ; 2106 (0x083a)

lri $AR1,    #0xbf8d
lri $IX1,    #0xd2f6
lri $WR1,    #0x35a9
cw 0xd
call send_back  ; 2107 (0x083b)

lri $AR1,    #0x72a7
lri $IX1,    #0xc9f8
lri $WR1,    #0x79ae
cw 0xd
call send_back  ; 2108 (0x083c)

lri $AR1,    #0x9985
lri $IX1,    #0xeb6c
lri $WR1,    #0x875a
cw 0xd
call send_back  ; 2109 (0x083d)

lri $AR1,    #0x7a56
lri $IX1,    #0x3dc2
lri $WR1,    #0x841a
cw 0xd
call send_back  ; 2110 (0x083e)

lri $AR1,    #0x2bc8
lri $IX1,    #0xdeca
lri $WR1,    #0xa6f9
cw 0xd
call send_back  ; 2111 (0x083f)

lri $AR1,    #0x42bd
lri $IX1,    #0xc32e
lri $WR1,    #0x5694
cw 0xd
call send_back  ; 2112 (0x0840)

lri $AR1,    #0xf4ef
lri $IX1,    #0x5ef0
lri $WR1,    #0x9841
cw 0xd
call send_back  ; 2113 (0x0841)

lri $AR1,    #0x72eb
lri $IX1,    #0xab90
lri $WR1,    #0x11f5
cw 0xd
call send_back  ; 2114 (0x0842)

lri $AR1,    #0x4f20
lri $IX1,    #0xb056
lri $WR1,    #0xd20f
cw 0xd
call send_back  ; 2115 (0x0843)

lri $AR1,    #0x4f66
lri $IX1,    #0x746a
lri $WR1,    #0xc579
cw 0xd
call send_back  ; 2116 (0x0844)

lri $AR1,    #0x61c4
lri $IX1,    #0xfa22
lri $WR1,    #0x9e4b
cw 0xd
call send_back  ; 2117 (0x0845)

lri $AR1,    #0x7cb5
lri $IX1,    #0x6e42
lri $WR1,    #0xca6b
cw 0xd
call send_back  ; 2118 (0x0846)

lri $AR1,    #0xd6de
lri $IX1,    #0xf5a4
lri $WR1,    #0x5b4d
cw 0xd
call send_back  ; 2119 (0x0847)

lri $AR1,    #0x7963
lri $IX1,    #0x56dc
lri $WR1,    #0xc54c
cw 0xd
call send_back  ; 2120 (0x0848)

lri $AR1,    #0x1bc7
lri $IX1,    #0x0566
lri $WR1,    #0x86c7
cw 0xd
call send_back  ; 2121 (0x0849)

lri $AR1,    #0xd78e
lri $IX1,    #0xaf06
lri $WR1,    #0xf479
cw 0xd
call send_back  ; 2122 (0x084a)

lri $AR1,    #0x7582
lri $IX1,    #0x3bb4
lri $WR1,    #0x7a2c
cw 0xd
call send_back  ; 2123 (0x084b)

lri $AR1,    #0x3de9
lri $IX1,    #0x13e8
lri $WR1,    #0xf455
cw 0xd
call send_back  ; 2124 (0x084c)

lri $AR1,    #0xb076
lri $IX1,    #0x589e
lri $WR1,    #0x409a
cw 0xd
call send_back  ; 2125 (0x084d)

lri $AR1,    #0x3848
lri $IX1,    #0x63c2
lri $WR1,    #0xa0f0
cw 0xd
call send_back  ; 2126 (0x084e)

lri $AR1,    #0xb3c4
lri $IX1,    #0x4782
lri $WR1,    #0xee3e
cw 0xd
call send_back  ; 2127 (0x084f)

lri $AR1,    #0x5fa6
lri $IX1,    #0xf634
lri $WR1,    #0xbd31
cw 0xd
call send_back  ; 2128 (0x0850)

lri $AR1,    #0x4005
lri $IX1,    #0x241c
lri $WR1,    #0x6140
cw 0xd
call send_back  ; 2129 (0x0851)

lri $AR1,    #0x61ad
lri $IX1,    #0xb00e
lri $WR1,    #0x877c
cw 0xd
call send_back  ; 2130 (0x0852)

lri $AR1,    #0xa196
lri $IX1,    #0x4f02
lri $WR1,    #0xd42b
cw 0xd
call send_back  ; 2131 (0x0853)

lri $AR1,    #0x6fc0
lri $IX1,    #0x3a94
lri $WR1,    #0xe3d9
cw 0xd
call send_back  ; 2132 (0x0854)

lri $AR1,    #0x1e5f
lri $IX1,    #0x99b2
lri $WR1,    #0x29d1
cw 0xd
call send_back  ; 2133 (0x0855)

lri $AR1,    #0x9d80
lri $IX1,    #0x2642
lri $WR1,    #0x43a0
cw 0xd
call send_back  ; 2134 (0x0856)

lri $AR1,    #0x671d
lri $IX1,    #0x121a
lri $WR1,    #0x5ab6
cw 0xd
call send_back  ; 2135 (0x0857)

lri $AR1,    #0x36d6
lri $IX1,    #0x411a
lri $WR1,    #0x729d
cw 0xd
call send_back  ; 2136 (0x0858)

lri $AR1,    #0x5429
lri $IX1,    #0x75a4
lri $WR1,    #0x6bf7
cw 0xd
call send_back  ; 2137 (0x0859)

lri $AR1,    #0x957b
lri $IX1,    #0xe868
lri $WR1,    #0xf1b8
cw 0xd
call send_back  ; 2138 (0x085a)

lri $AR1,    #0xb5bd
lri $IX1,    #0xd3b0
lri $WR1,    #0x57b6
cw 0xd
call send_back  ; 2139 (0x085b)

lri $AR1,    #0x7dff
lri $IX1,    #0x9e0e
lri $WR1,    #0x8722
cw 0xd
call send_back  ; 2140 (0x085c)

lri $AR1,    #0x7fbf
lri $IX1,    #0x67b0
lri $WR1,    #0xcefa
cw 0xd
call send_back  ; 2141 (0x085d)

lri $AR1,    #0x8c50
lri $IX1,    #0xa946
lri $WR1,    #0xabf7
cw 0xd
call send_back  ; 2142 (0x085e)

lri $AR1,    #0x990b
lri $IX1,    #0x329e
lri $WR1,    #0xbd1e
cw 0xd
call send_back  ; 2143 (0x085f)

lri $AR1,    #0xb7c7
lri $IX1,    #0x0aee
lri $WR1,    #0x7f69
cw 0xd
call send_back  ; 2144 (0x0860)

lri $AR1,    #0x9636
lri $IX1,    #0x5c0e
lri $WR1,    #0x74b6
cw 0xd
call send_back  ; 2145 (0x0861)

lri $AR1,    #0x76aa
lri $IX1,    #0x8d56
lri $WR1,    #0x6769
cw 0xd
call send_back  ; 2146 (0x0862)

lri $AR1,    #0x27da
lri $IX1,    #0xe2b2
lri $WR1,    #0xedf6
cw 0xd
call send_back  ; 2147 (0x0863)

lri $AR1,    #0x8936
lri $IX1,    #0x3778
lri $WR1,    #0x86c9
cw 0xd
call send_back  ; 2148 (0x0864)

lri $AR1,    #0x045a
lri $IX1,    #0xa46a
lri $WR1,    #0x7e9f
cw 0xd
call send_back  ; 2149 (0x0865)

lri $AR1,    #0x7429
lri $IX1,    #0xebce
lri $WR1,    #0x30ef
cw 0xd
call send_back  ; 2150 (0x0866)

lri $AR1,    #0x9531
lri $IX1,    #0x45bc
lri $WR1,    #0x7360
cw 0xd
call send_back  ; 2151 (0x0867)

lri $AR1,    #0x32c9
lri $IX1,    #0x7a96
lri $WR1,    #0x82f1
cw 0xd
call send_back  ; 2152 (0x0868)

lri $AR1,    #0x2fb0
lri $IX1,    #0x00ec
lri $WR1,    #0x72c5
cw 0xd
call send_back  ; 2153 (0x0869)

lri $AR1,    #0xa86a
lri $IX1,    #0xef9a
lri $WR1,    #0x4a45
cw 0xd
call send_back  ; 2154 (0x086a)

lri $AR1,    #0x214f
lri $IX1,    #0xe47a
lri $WR1,    #0x9196
cw 0xd
call send_back  ; 2155 (0x086b)

lri $AR1,    #0x5978
lri $IX1,    #0x6374
lri $WR1,    #0xe0e8
cw 0xd
call send_back  ; 2156 (0x086c)

lri $AR1,    #0x5772
lri $IX1,    #0x8932
lri $WR1,    #0x80ca
cw 0xd
call send_back  ; 2157 (0x086d)

lri $AR1,    #0xf3fe
lri $IX1,    #0x185e
lri $WR1,    #0xa700
cw 0xd
call send_back  ; 2158 (0x086e)

lri $AR1,    #0x6aae
lri $IX1,    #0xc7aa
lri $WR1,    #0xbce8
cw 0xd
call send_back  ; 2159 (0x086f)

lri $AR1,    #0xafaf
lri $IX1,    #0x2a72
lri $WR1,    #0xc20d
cw 0xd
call send_back  ; 2160 (0x0870)

lri $AR1,    #0x5596
lri $IX1,    #0x7552
lri $WR1,    #0xa6ee
cw 0xd
call send_back  ; 2161 (0x0871)

lri $AR1,    #0x8d6f
lri $IX1,    #0x9b76
lri $WR1,    #0xc989
cw 0xd
call send_back  ; 2162 (0x0872)

lri $AR1,    #0x9efe
lri $IX1,    #0xb0fa
lri $WR1,    #0xeec0
cw 0xd
call send_back  ; 2163 (0x0873)

lri $AR1,    #0x7e57
lri $IX1,    #0x0226
lri $WR1,    #0x8918
cw 0xd
call send_back  ; 2164 (0x0874)

lri $AR1,    #0x3fc7
lri $IX1,    #0xc6da
lri $WR1,    #0xb705
cw 0xd
call send_back  ; 2165 (0x0875)

lri $AR1,    #0x7a40
lri $IX1,    #0xa4f6
lri $WR1,    #0x8026
cw 0xd
call send_back  ; 2166 (0x0876)

lri $AR1,    #0x0c27
lri $IX1,    #0x3418
lri $WR1,    #0x5a9d
cw 0xd
call send_back  ; 2167 (0x0877)

lri $AR1,    #0x8dcc
lri $IX1,    #0x4862
lri $WR1,    #0xc718
cw 0xd
call send_back  ; 2168 (0x0878)

lri $AR1,    #0x686b
lri $IX1,    #0xd1d0
lri $WR1,    #0xbb7d
cw 0xd
call send_back  ; 2169 (0x0879)

lri $AR1,    #0x67ea
lri $IX1,    #0x78ac
lri $WR1,    #0x81f0
cw 0xd
call send_back  ; 2170 (0x087a)

lri $AR1,    #0x1148
lri $IX1,    #0xafa2
lri $WR1,    #0x831d
cw 0xd
call send_back  ; 2171 (0x087b)

lri $AR1,    #0xeee5
lri $IX1,    #0x972e
lri $WR1,    #0x8874
cw 0xd
call send_back  ; 2172 (0x087c)

lri $AR1,    #0x3f9d
lri $IX1,    #0xa5b4
lri $WR1,    #0xbc5b
cw 0xd
call send_back  ; 2173 (0x087d)

lri $AR1,    #0x64e1
lri $IX1,    #0x731c
lri $WR1,    #0x6bda
cw 0xd
call send_back  ; 2174 (0x087e)

lri $AR1,    #0x6fbb
lri $IX1,    #0x2638
lri $WR1,    #0x2eec
cw 0xd
call send_back  ; 2175 (0x087f)

lri $AR1,    #0xa3f1
lri $IX1,    #0xb5ca
lri $WR1,    #0x81eb
cw 0xd
call send_back  ; 2176 (0x0880)

lri $AR1,    #0x1432
lri $IX1,    #0x567a
lri $WR1,    #0x643b
cw 0xd
call send_back  ; 2177 (0x0881)

lri $AR1,    #0x798f
lri $IX1,    #0xea80
lri $WR1,    #0x9db1
cw 0xd
call send_back  ; 2178 (0x0882)

lri $AR1,    #0x7c10
lri $IX1,    #0xf766
lri $WR1,    #0xbdd7
cw 0xd
call send_back  ; 2179 (0x0883)

lri $AR1,    #0xa9b4
lri $IX1,    #0x69b0
lri $WR1,    #0x1d96
cw 0xd
call send_back  ; 2180 (0x0884)

lri $AR1,    #0xb4b5
lri $IX1,    #0x2592
lri $WR1,    #0x8554
cw 0xd
call send_back  ; 2181 (0x0885)

lri $AR1,    #0x2155
lri $IX1,    #0xefcc
lri $WR1,    #0x7717
cw 0xd
call send_back  ; 2182 (0x0886)

lri $AR1,    #0xaf0f
lri $IX1,    #0x78bc
lri $WR1,    #0x5dbd
cw 0xd
call send_back  ; 2183 (0x0887)

lri $AR1,    #0x606e
lri $IX1,    #0x278c
lri $WR1,    #0x67e2
cw 0xd
call send_back  ; 2184 (0x0888)

lri $AR1,    #0x706b
lri $IX1,    #0x8ae0
lri $WR1,    #0x7e73
cw 0xd
call send_back  ; 2185 (0x0889)

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