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

lri $AR1,    #0x176f
lri $IX1,    #0x20e8
lri $WR1,    #0x687f
cw 0xd
call send_back  ; 10159 (0x27af)

lri $AR1,    #0x5b29
lri $IX1,    #0x3c5c
lri $WR1,    #0x84d0
cw 0xd
call send_back  ; 10160 (0x27b0)

lri $AR1,    #0xc29d
lri $IX1,    #0x01e8
lri $WR1,    #0x9b5e
cw 0xd
call send_back  ; 10161 (0x27b1)

lri $AR1,    #0xd348
lri $IX1,    #0x0894
lri $WR1,    #0x0a8f
cw 0xd
call send_back  ; 10162 (0x27b2)

lri $AR1,    #0xd229
lri $IX1,    #0x97ac
lri $WR1,    #0x89ba
cw 0xd
call send_back  ; 10163 (0x27b3)

lri $AR1,    #0x68e3
lri $IX1,    #0xc976
lri $WR1,    #0x4d6b
cw 0xd
call send_back  ; 10164 (0x27b4)

lri $AR1,    #0x3d22
lri $IX1,    #0xfe1e
lri $WR1,    #0x472b
cw 0xd
call send_back  ; 10165 (0x27b5)

lri $AR1,    #0x6a85
lri $IX1,    #0xb1a4
lri $WR1,    #0x683e
cw 0xd
call send_back  ; 10166 (0x27b6)

lri $AR1,    #0xb2ee
lri $IX1,    #0xc712
lri $WR1,    #0x507f
cw 0xd
call send_back  ; 10167 (0x27b7)

lri $AR1,    #0x907f
lri $IX1,    #0xeecc
lri $WR1,    #0x97de
cw 0xd
call send_back  ; 10168 (0x27b8)

lri $AR1,    #0x800d
lri $IX1,    #0xd556
lri $WR1,    #0xca9b
cw 0xd
call send_back  ; 10169 (0x27b9)

lri $AR1,    #0xba70
lri $IX1,    #0x235e
lri $WR1,    #0x1dbd
cw 0xd
call send_back  ; 10170 (0x27ba)

lri $AR1,    #0x0662
lri $IX1,    #0xe73a
lri $WR1,    #0x32e8
cw 0xd
call send_back  ; 10171 (0x27bb)

lri $AR1,    #0xb452
lri $IX1,    #0xa3e4
lri $WR1,    #0x5812
cw 0xd
call send_back  ; 10172 (0x27bc)

lri $AR1,    #0x90fa
lri $IX1,    #0xd890
lri $WR1,    #0x6935
cw 0xd
call send_back  ; 10173 (0x27bd)

lri $AR1,    #0x8afc
lri $IX1,    #0x3fc4
lri $WR1,    #0x3782
cw 0xd
call send_back  ; 10174 (0x27be)

lri $AR1,    #0x4b5a
lri $IX1,    #0x2440
lri $WR1,    #0x7b27
cw 0xd
call send_back  ; 10175 (0x27bf)

lri $AR1,    #0x782c
lri $IX1,    #0xdd82
lri $WR1,    #0xba45
cw 0xd
call send_back  ; 10176 (0x27c0)

lri $AR1,    #0x243e
lri $IX1,    #0xad42
lri $WR1,    #0x9917
cw 0xd
call send_back  ; 10177 (0x27c1)

lri $AR1,    #0xee11
lri $IX1,    #0xb294
lri $WR1,    #0x94d6
cw 0xd
call send_back  ; 10178 (0x27c2)

lri $AR1,    #0x63e8
lri $IX1,    #0x5734
lri $WR1,    #0x9c84
cw 0xd
call send_back  ; 10179 (0x27c3)

lri $AR1,    #0x4a51
lri $IX1,    #0x5e9c
lri $WR1,    #0xb010
cw 0xd
call send_back  ; 10180 (0x27c4)

lri $AR1,    #0x3de5
lri $IX1,    #0x7658
lri $WR1,    #0x87f5
cw 0xd
call send_back  ; 10181 (0x27c5)

lri $AR1,    #0xb894
lri $IX1,    #0xb240
lri $WR1,    #0xa4de
cw 0xd
call send_back  ; 10182 (0x27c6)

lri $AR1,    #0xa654
lri $IX1,    #0x9f20
lri $WR1,    #0x6862
cw 0xd
call send_back  ; 10183 (0x27c7)

lri $AR1,    #0x4c82
lri $IX1,    #0x6964
lri $WR1,    #0xdd60
cw 0xd
call send_back  ; 10184 (0x27c8)

lri $AR1,    #0xb2b3
lri $IX1,    #0xdd38
lri $WR1,    #0x801c
cw 0xd
call send_back  ; 10185 (0x27c9)

lri $AR1,    #0x5b5c
lri $IX1,    #0xa0f6
lri $WR1,    #0x8394
cw 0xd
call send_back  ; 10186 (0x27ca)

lri $AR1,    #0x4e1f
lri $IX1,    #0xda0a
lri $WR1,    #0xa338
cw 0xd
call send_back  ; 10187 (0x27cb)

lri $AR1,    #0x9cf5
lri $IX1,    #0x5040
lri $WR1,    #0x657e
cw 0xd
call send_back  ; 10188 (0x27cc)

lri $AR1,    #0x8924
lri $IX1,    #0xfac4
lri $WR1,    #0x2d72
cw 0xd
call send_back  ; 10189 (0x27cd)

lri $AR1,    #0x9c3f
lri $IX1,    #0x8d9c
lri $WR1,    #0x76cc
cw 0xd
call send_back  ; 10190 (0x27ce)

lri $AR1,    #0xccff
lri $IX1,    #0xfde8
lri $WR1,    #0xf999
cw 0xd
call send_back  ; 10191 (0x27cf)

lri $AR1,    #0x7f56
lri $IX1,    #0xe6d0
lri $WR1,    #0x9807
cw 0xd
call send_back  ; 10192 (0x27d0)

lri $AR1,    #0xba6d
lri $IX1,    #0x2050
lri $WR1,    #0x4274
cw 0xd
call send_back  ; 10193 (0x27d1)

lri $AR1,    #0xaf04
lri $IX1,    #0x94ca
lri $WR1,    #0xcb32
cw 0xd
call send_back  ; 10194 (0x27d2)

lri $AR1,    #0x7be8
lri $IX1,    #0x51b0
lri $WR1,    #0x552e
cw 0xd
call send_back  ; 10195 (0x27d3)

lri $AR1,    #0x65cd
lri $IX1,    #0xd2ee
lri $WR1,    #0x7df6
cw 0xd
call send_back  ; 10196 (0x27d4)

lri $AR1,    #0x5378
lri $IX1,    #0x80a8
lri $WR1,    #0x7d37
cw 0xd
call send_back  ; 10197 (0x27d5)

lri $AR1,    #0xae6f
lri $IX1,    #0x21d8
lri $WR1,    #0x9148
cw 0xd
call send_back  ; 10198 (0x27d6)

lri $AR1,    #0xabfd
lri $IX1,    #0x8648
lri $WR1,    #0x91b7
cw 0xd
call send_back  ; 10199 (0x27d7)

lri $AR1,    #0x59f7
lri $IX1,    #0xbdaa
lri $WR1,    #0xc695
cw 0xd
call send_back  ; 10200 (0x27d8)

lri $AR1,    #0x75ed
lri $IX1,    #0xb916
lri $WR1,    #0x8c69
cw 0xd
call send_back  ; 10201 (0x27d9)

lri $AR1,    #0x753a
lri $IX1,    #0x0fd0
lri $WR1,    #0x3a69
cw 0xd
call send_back  ; 10202 (0x27da)

lri $AR1,    #0x97a3
lri $IX1,    #0xaf96
lri $WR1,    #0x920f
cw 0xd
call send_back  ; 10203 (0x27db)

lri $AR1,    #0xc5eb
lri $IX1,    #0x644c
lri $WR1,    #0x1490
cw 0xd
call send_back  ; 10204 (0x27dc)

lri $AR1,    #0x3926
lri $IX1,    #0x3a58
lri $WR1,    #0x544f
cw 0xd
call send_back  ; 10205 (0x27dd)

lri $AR1,    #0x5718
lri $IX1,    #0xaa78
lri $WR1,    #0x95c9
cw 0xd
call send_back  ; 10206 (0x27de)

lri $AR1,    #0xb370
lri $IX1,    #0x1d74
lri $WR1,    #0xb526
cw 0xd
call send_back  ; 10207 (0x27df)

lri $AR1,    #0x1d37
lri $IX1,    #0x8954
lri $WR1,    #0xaae4
cw 0xd
call send_back  ; 10208 (0x27e0)

lri $AR1,    #0x6b37
lri $IX1,    #0x91a0
lri $WR1,    #0x93c5
cw 0xd
call send_back  ; 10209 (0x27e1)

lri $AR1,    #0x39b2
lri $IX1,    #0x8f4c
lri $WR1,    #0x2d73
cw 0xd
call send_back  ; 10210 (0x27e2)

lri $AR1,    #0x5f35
lri $IX1,    #0x14b2
lri $WR1,    #0xab05
cw 0xd
call send_back  ; 10211 (0x27e3)

lri $AR1,    #0x65e2
lri $IX1,    #0xc57c
lri $WR1,    #0x79ea
cw 0xd
call send_back  ; 10212 (0x27e4)

lri $AR1,    #0xb1ee
lri $IX1,    #0x91a2
lri $WR1,    #0xe943
cw 0xd
call send_back  ; 10213 (0x27e5)

lri $AR1,    #0x0daa
lri $IX1,    #0x6e7e
lri $WR1,    #0x834a
cw 0xd
call send_back  ; 10214 (0x27e6)

lri $AR1,    #0x76fa
lri $IX1,    #0x681c
lri $WR1,    #0xa9cf
cw 0xd
call send_back  ; 10215 (0x27e7)

lri $AR1,    #0xa16b
lri $IX1,    #0x38b0
lri $WR1,    #0x8c4f
cw 0xd
call send_back  ; 10216 (0x27e8)

lri $AR1,    #0x8bcd
lri $IX1,    #0x5b80
lri $WR1,    #0x37d3
cw 0xd
call send_back  ; 10217 (0x27e9)

lri $AR1,    #0x279b
lri $IX1,    #0xabfc
lri $WR1,    #0xae0a
cw 0xd
call send_back  ; 10218 (0x27ea)

lri $AR1,    #0xc3ff
lri $IX1,    #0xf172
lri $WR1,    #0x82bb
cw 0xd
call send_back  ; 10219 (0x27eb)

lri $AR1,    #0x95c6
lri $IX1,    #0x1b1c
lri $WR1,    #0xd41b
cw 0xd
call send_back  ; 10220 (0x27ec)

lri $AR1,    #0xb111
lri $IX1,    #0x47da
lri $WR1,    #0x6c1c
cw 0xd
call send_back  ; 10221 (0x27ed)

lri $AR1,    #0x7917
lri $IX1,    #0xe06a
lri $WR1,    #0x5647
cw 0xd
call send_back  ; 10222 (0x27ee)

lri $AR1,    #0x4dbc
lri $IX1,    #0xea70
lri $WR1,    #0x171c
cw 0xd
call send_back  ; 10223 (0x27ef)

lri $AR1,    #0x7661
lri $IX1,    #0x2e20
lri $WR1,    #0xd7ae
cw 0xd
call send_back  ; 10224 (0x27f0)

lri $AR1,    #0x54b0
lri $IX1,    #0xafc6
lri $WR1,    #0xa15c
cw 0xd
call send_back  ; 10225 (0x27f1)

lri $AR1,    #0x29a9
lri $IX1,    #0x3a24
lri $WR1,    #0x936a
cw 0xd
call send_back  ; 10226 (0x27f2)

lri $AR1,    #0x8ae2
lri $IX1,    #0x25ca
lri $WR1,    #0x2d5c
cw 0xd
call send_back  ; 10227 (0x27f3)

lri $AR1,    #0x6d25
lri $IX1,    #0x0d52
lri $WR1,    #0xbebe
cw 0xd
call send_back  ; 10228 (0x27f4)

lri $AR1,    #0xc553
lri $IX1,    #0x95d2
lri $WR1,    #0xa667
cw 0xd
call send_back  ; 10229 (0x27f5)

lri $AR1,    #0x8fd2
lri $IX1,    #0xbe40
lri $WR1,    #0xa8b7
cw 0xd
call send_back  ; 10230 (0x27f6)

lri $AR1,    #0x7258
lri $IX1,    #0x2828
lri $WR1,    #0xa5f9
cw 0xd
call send_back  ; 10231 (0x27f7)

lri $AR1,    #0x836f
lri $IX1,    #0x5f86
lri $WR1,    #0xbf5a
cw 0xd
call send_back  ; 10232 (0x27f8)

lri $AR1,    #0x6e61
lri $IX1,    #0x2f06
lri $WR1,    #0x62aa
cw 0xd
call send_back  ; 10233 (0x27f9)

lri $AR1,    #0x8a0d
lri $IX1,    #0x6988
lri $WR1,    #0xa24b
cw 0xd
call send_back  ; 10234 (0x27fa)

lri $AR1,    #0x6c40
lri $IX1,    #0x212c
lri $WR1,    #0x908f
cw 0xd
call send_back  ; 10235 (0x27fb)

lri $AR1,    #0x6b13
lri $IX1,    #0xe7c0
lri $WR1,    #0xeaec
cw 0xd
call send_back  ; 10236 (0x27fc)

lri $AR1,    #0xb8f6
lri $IX1,    #0x4bde
lri $WR1,    #0x9b2a
cw 0xd
call send_back  ; 10237 (0x27fd)

lri $AR1,    #0xb7cb
lri $IX1,    #0x3180
lri $WR1,    #0x5216
cw 0xd
call send_back  ; 10238 (0x27fe)

lri $AR1,    #0xa2f2
lri $IX1,    #0xc470
lri $WR1,    #0xa0ce
cw 0xd
call send_back  ; 10239 (0x27ff)

lri $AR1,    #0xa763
lri $IX1,    #0x7642
lri $WR1,    #0x5b32
cw 0xd
call send_back  ; 10240 (0x2800)

lri $AR1,    #0x4ce4
lri $IX1,    #0xa150
lri $WR1,    #0x9786
cw 0xd
call send_back  ; 10241 (0x2801)

lri $AR1,    #0x9279
lri $IX1,    #0xe566
lri $WR1,    #0xace6
cw 0xd
call send_back  ; 10242 (0x2802)

lri $AR1,    #0x33fd
lri $IX1,    #0x0288
lri $WR1,    #0x8380
cw 0xd
call send_back  ; 10243 (0x2803)

lri $AR1,    #0x9624
lri $IX1,    #0xb984
lri $WR1,    #0x3f41
cw 0xd
call send_back  ; 10244 (0x2804)

lri $AR1,    #0x31b9
lri $IX1,    #0xf1cc
lri $WR1,    #0xa6f2
cw 0xd
call send_back  ; 10245 (0x2805)

lri $AR1,    #0x6678
lri $IX1,    #0xef2e
lri $WR1,    #0x875d
cw 0xd
call send_back  ; 10246 (0x2806)

lri $AR1,    #0x412a
lri $IX1,    #0xa1fe
lri $WR1,    #0x9386
cw 0xd
call send_back  ; 10247 (0x2807)

lri $AR1,    #0xd893
lri $IX1,    #0xef38
lri $WR1,    #0x488a
cw 0xd
call send_back  ; 10248 (0x2808)

lri $AR1,    #0xcfba
lri $IX1,    #0x1636
lri $WR1,    #0x853c
cw 0xd
call send_back  ; 10249 (0x2809)

lri $AR1,    #0xac20
lri $IX1,    #0xf484
lri $WR1,    #0xb2f7
cw 0xd
call send_back  ; 10250 (0x280a)

lri $AR1,    #0x617a
lri $IX1,    #0xb852
lri $WR1,    #0x6ed8
cw 0xd
call send_back  ; 10251 (0x280b)

lri $AR1,    #0x9c66
lri $IX1,    #0x7546
lri $WR1,    #0x77d5
cw 0xd
call send_back  ; 10252 (0x280c)

lri $AR1,    #0x50e2
lri $IX1,    #0xe6f0
lri $WR1,    #0x9fc9
cw 0xd
call send_back  ; 10253 (0x280d)

lri $AR1,    #0x40c7
lri $IX1,    #0x57cc
lri $WR1,    #0x7b06
cw 0xd
call send_back  ; 10254 (0x280e)

lri $AR1,    #0x7223
lri $IX1,    #0x0300
lri $WR1,    #0x6b8a
cw 0xd
call send_back  ; 10255 (0x280f)

lri $AR1,    #0xc4cd
lri $IX1,    #0x3acc
lri $WR1,    #0xca41
cw 0xd
call send_back  ; 10256 (0x2810)

lri $AR1,    #0xe1e6
lri $IX1,    #0x04ce
lri $WR1,    #0xba95
cw 0xd
call send_back  ; 10257 (0x2811)

lri $AR1,    #0x7fb4
lri $IX1,    #0x9922
lri $WR1,    #0x81b7
cw 0xd
call send_back  ; 10258 (0x2812)

lri $AR1,    #0x4797
lri $IX1,    #0x207c
lri $WR1,    #0x6cc2
cw 0xd
call send_back  ; 10259 (0x2813)

lri $AR1,    #0x736d
lri $IX1,    #0x1122
lri $WR1,    #0xc643
cw 0xd
call send_back  ; 10260 (0x2814)

lri $AR1,    #0x5331
lri $IX1,    #0x821c
lri $WR1,    #0x7536
cw 0xd
call send_back  ; 10261 (0x2815)

lri $AR1,    #0xbb2b
lri $IX1,    #0x975a
lri $WR1,    #0x7d0c
cw 0xd
call send_back  ; 10262 (0x2816)

lri $AR1,    #0xbe7f
lri $IX1,    #0xa92e
lri $WR1,    #0x17c4
cw 0xd
call send_back  ; 10263 (0x2817)

lri $AR1,    #0xf166
lri $IX1,    #0xdcdc
lri $WR1,    #0x68ae
cw 0xd
call send_back  ; 10264 (0x2818)

lri $AR1,    #0x99e9
lri $IX1,    #0x6ba4
lri $WR1,    #0xafdb
cw 0xd
call send_back  ; 10265 (0x2819)

lri $AR1,    #0x9566
lri $IX1,    #0xb102
lri $WR1,    #0x53e1
cw 0xd
call send_back  ; 10266 (0x281a)

lri $AR1,    #0xacb9
lri $IX1,    #0x2876
lri $WR1,    #0x68e9
cw 0xd
call send_back  ; 10267 (0x281b)

lri $AR1,    #0x784c
lri $IX1,    #0xa6be
lri $WR1,    #0x71a6
cw 0xd
call send_back  ; 10268 (0x281c)

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