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

lri $AR1,    #0xa97a
lri $IX1,    #0x1970
lri $WR1,    #0x6126
cw 0x15
call send_back  ; 21300 (0x5334)

lri $AR1,    #0x85ac
lri $IX1,    #0xd122
lri $WR1,    #0xaa17
cw 0x15
call send_back  ; 21301 (0x5335)

lri $AR1,    #0x5d94
lri $IX1,    #0xd7c8
lri $WR1,    #0xcece
cw 0x15
call send_back  ; 21302 (0x5336)

lri $AR1,    #0xca8b
lri $IX1,    #0x6f42
lri $WR1,    #0xa5e6
cw 0x15
call send_back  ; 21303 (0x5337)

lri $AR1,    #0x3004
lri $IX1,    #0xab3a
lri $WR1,    #0x1b79
cw 0x15
call send_back  ; 21304 (0x5338)

lri $AR1,    #0xdb0b
lri $IX1,    #0xc554
lri $WR1,    #0x3645
cw 0x15
call send_back  ; 21305 (0x5339)

lri $AR1,    #0xc889
lri $IX1,    #0x2832
lri $WR1,    #0x6d39
cw 0x15
call send_back  ; 21306 (0x533a)

lri $AR1,    #0x7c2e
lri $IX1,    #0x58e8
lri $WR1,    #0xe43a
cw 0x15
call send_back  ; 21307 (0x533b)

lri $AR1,    #0x393e
lri $IX1,    #0x4308
lri $WR1,    #0xbce4
cw 0x15
call send_back  ; 21308 (0x533c)

lri $AR1,    #0x2a24
lri $IX1,    #0xd40c
lri $WR1,    #0xe135
cw 0x15
call send_back  ; 21309 (0x533d)

lri $AR1,    #0x7317
lri $IX1,    #0x6738
lri $WR1,    #0x6bc0
cw 0x15
call send_back  ; 21310 (0x533e)

lri $AR1,    #0x2f8f
lri $IX1,    #0x63b8
lri $WR1,    #0x7279
cw 0x15
call send_back  ; 21311 (0x533f)

lri $AR1,    #0x51f5
lri $IX1,    #0xbb1a
lri $WR1,    #0x5ea7
cw 0x15
call send_back  ; 21312 (0x5340)

lri $AR1,    #0xa84c
lri $IX1,    #0xced4
lri $WR1,    #0x8604
cw 0x15
call send_back  ; 21313 (0x5341)

lri $AR1,    #0x4827
lri $IX1,    #0xc81c
lri $WR1,    #0x46b0
cw 0x15
call send_back  ; 21314 (0x5342)

lri $AR1,    #0x37be
lri $IX1,    #0xbda2
lri $WR1,    #0xd8f1
cw 0x15
call send_back  ; 21315 (0x5343)

lri $AR1,    #0x3171
lri $IX1,    #0x3f78
lri $WR1,    #0xbf58
cw 0x15
call send_back  ; 21316 (0x5344)

lri $AR1,    #0xba8f
lri $IX1,    #0x29c0
lri $WR1,    #0x9766
cw 0x15
call send_back  ; 21317 (0x5345)

lri $AR1,    #0x559b
lri $IX1,    #0x136a
lri $WR1,    #0x6a2b
cw 0x15
call send_back  ; 21318 (0x5346)

lri $AR1,    #0xbc02
lri $IX1,    #0x6e9a
lri $WR1,    #0xddff
cw 0x15
call send_back  ; 21319 (0x5347)

lri $AR1,    #0xa271
lri $IX1,    #0x9cf0
lri $WR1,    #0xafe8
cw 0x15
call send_back  ; 21320 (0x5348)

lri $AR1,    #0x76b1
lri $IX1,    #0xf268
lri $WR1,    #0x84ac
cw 0x15
call send_back  ; 21321 (0x5349)

lri $AR1,    #0x254f
lri $IX1,    #0x05f8
lri $WR1,    #0x4f2c
cw 0x15
call send_back  ; 21322 (0x534a)

lri $AR1,    #0xa8dd
lri $IX1,    #0xdfa0
lri $WR1,    #0x9b1f
cw 0x15
call send_back  ; 21323 (0x534b)

lri $AR1,    #0x4c29
lri $IX1,    #0xb01c
lri $WR1,    #0x609d
cw 0x15
call send_back  ; 21324 (0x534c)

lri $AR1,    #0x842f
lri $IX1,    #0xe6ee
lri $WR1,    #0x7eb7
cw 0x15
call send_back  ; 21325 (0x534d)

lri $AR1,    #0x7613
lri $IX1,    #0xcfde
lri $WR1,    #0x7888
cw 0x15
call send_back  ; 21326 (0x534e)

lri $AR1,    #0x0105
lri $IX1,    #0x81b6
lri $WR1,    #0x71e1
cw 0x15
call send_back  ; 21327 (0x534f)

lri $AR1,    #0x5b48
lri $IX1,    #0xf45c
lri $WR1,    #0x8e15
cw 0x15
call send_back  ; 21328 (0x5350)

lri $AR1,    #0x5d3b
lri $IX1,    #0xacfe
lri $WR1,    #0x9d06
cw 0x15
call send_back  ; 21329 (0x5351)

lri $AR1,    #0xd4b3
lri $IX1,    #0xb384
lri $WR1,    #0x4fe9
cw 0x15
call send_back  ; 21330 (0x5352)

lri $AR1,    #0x8e6d
lri $IX1,    #0x94ec
lri $WR1,    #0x60ee
cw 0x15
call send_back  ; 21331 (0x5353)

lri $AR1,    #0x8af5
lri $IX1,    #0x32d4
lri $WR1,    #0x8e4a
cw 0x15
call send_back  ; 21332 (0x5354)

lri $AR1,    #0xefc4
lri $IX1,    #0x28c6
lri $WR1,    #0x62ae
cw 0x15
call send_back  ; 21333 (0x5355)

lri $AR1,    #0x94f1
lri $IX1,    #0xc492
lri $WR1,    #0xe2d1
cw 0x15
call send_back  ; 21334 (0x5356)

lri $AR1,    #0x733c
lri $IX1,    #0x0f5a
lri $WR1,    #0xb90a
cw 0x15
call send_back  ; 21335 (0x5357)

lri $AR1,    #0x0dce
lri $IX1,    #0x5178
lri $WR1,    #0xbd8a
cw 0x15
call send_back  ; 21336 (0x5358)

lri $AR1,    #0x1e6d
lri $IX1,    #0xf402
lri $WR1,    #0xa35d
cw 0x15
call send_back  ; 21337 (0x5359)

lri $AR1,    #0xaa86
lri $IX1,    #0xc6fc
lri $WR1,    #0x7f9e
cw 0x15
call send_back  ; 21338 (0x535a)

lri $AR1,    #0x9ad2
lri $IX1,    #0xa418
lri $WR1,    #0xb20a
cw 0x15
call send_back  ; 21339 (0x535b)

lri $AR1,    #0x56e9
lri $IX1,    #0x41fe
lri $WR1,    #0xcb7c
cw 0x15
call send_back  ; 21340 (0x535c)

lri $AR1,    #0xa192
lri $IX1,    #0xf4f2
lri $WR1,    #0xc858
cw 0x15
call send_back  ; 21341 (0x535d)

lri $AR1,    #0x6225
lri $IX1,    #0x2e00
lri $WR1,    #0xb282
cw 0x15
call send_back  ; 21342 (0x535e)

lri $AR1,    #0x8ac7
lri $IX1,    #0xea52
lri $WR1,    #0xdfe2
cw 0x15
call send_back  ; 21343 (0x535f)

lri $AR1,    #0xc2d4
lri $IX1,    #0x10e6
lri $WR1,    #0x6820
cw 0x15
call send_back  ; 21344 (0x5360)

lri $AR1,    #0xc848
lri $IX1,    #0x1562
lri $WR1,    #0x757c
cw 0x15
call send_back  ; 21345 (0x5361)

lri $AR1,    #0x7a7a
lri $IX1,    #0x3b22
lri $WR1,    #0xa287
cw 0x15
call send_back  ; 21346 (0x5362)

lri $AR1,    #0x93ec
lri $IX1,    #0xa432
lri $WR1,    #0x879c
cw 0x15
call send_back  ; 21347 (0x5363)

lri $AR1,    #0xa094
lri $IX1,    #0x1478
lri $WR1,    #0xd0cc
cw 0x15
call send_back  ; 21348 (0x5364)

lri $AR1,    #0x195a
lri $IX1,    #0x19a4
lri $WR1,    #0x0e3f
cw 0x15
call send_back  ; 21349 (0x5365)

lri $AR1,    #0x9d24
lri $IX1,    #0x3d2c
lri $WR1,    #0x4e92
cw 0x15
call send_back  ; 21350 (0x5366)

lri $AR1,    #0x6349
lri $IX1,    #0x25ee
lri $WR1,    #0x5456
cw 0x15
call send_back  ; 21351 (0x5367)

lri $AR1,    #0x9aab
lri $IX1,    #0x3bc2
lri $WR1,    #0xbd30
cw 0x15
call send_back  ; 21352 (0x5368)

lri $AR1,    #0x544d
lri $IX1,    #0x978e
lri $WR1,    #0x1aad
cw 0x15
call send_back  ; 21353 (0x5369)

lri $AR1,    #0xb7bf
lri $IX1,    #0xef30
lri $WR1,    #0x2a5d
cw 0x15
call send_back  ; 21354 (0x536a)

lri $AR1,    #0x731e
lri $IX1,    #0xdcc4
lri $WR1,    #0x6c4c
cw 0x15
call send_back  ; 21355 (0x536b)

lri $AR1,    #0x800c
lri $IX1,    #0x7d9e
lri $WR1,    #0xac54
cw 0x15
call send_back  ; 21356 (0x536c)

lri $AR1,    #0x525e
lri $IX1,    #0x0d86
lri $WR1,    #0x8c6b
cw 0x15
call send_back  ; 21357 (0x536d)

lri $AR1,    #0xb4de
lri $IX1,    #0xf78e
lri $WR1,    #0x9b7c
cw 0x15
call send_back  ; 21358 (0x536e)

lri $AR1,    #0xdbe4
lri $IX1,    #0xf5fc
lri $WR1,    #0x65ce
cw 0x15
call send_back  ; 21359 (0x536f)

lri $AR1,    #0x6d26
lri $IX1,    #0x67aa
lri $WR1,    #0x9195
cw 0x15
call send_back  ; 21360 (0x5370)

lri $AR1,    #0x4780
lri $IX1,    #0x1974
lri $WR1,    #0x63b7
cw 0x15
call send_back  ; 21361 (0x5371)

lri $AR1,    #0x9509
lri $IX1,    #0x86e8
lri $WR1,    #0x565a
cw 0x15
call send_back  ; 21362 (0x5372)

lri $AR1,    #0x854a
lri $IX1,    #0x25e0
lri $WR1,    #0x9c47
cw 0x15
call send_back  ; 21363 (0x5373)

lri $AR1,    #0x54e0
lri $IX1,    #0xcd4e
lri $WR1,    #0x61ad
cw 0x15
call send_back  ; 21364 (0x5374)

lri $AR1,    #0x6360
lri $IX1,    #0xcfca
lri $WR1,    #0x3467
cw 0x15
call send_back  ; 21365 (0x5375)

lri $AR1,    #0x67c4
lri $IX1,    #0x1728
lri $WR1,    #0x9b3b
cw 0x15
call send_back  ; 21366 (0x5376)

lri $AR1,    #0x3739
lri $IX1,    #0x8ec8
lri $WR1,    #0x6535
cw 0x15
call send_back  ; 21367 (0x5377)

lri $AR1,    #0x6998
lri $IX1,    #0x96bc
lri $WR1,    #0x7fa9
cw 0x15
call send_back  ; 21368 (0x5378)

lri $AR1,    #0xd263
lri $IX1,    #0x3280
lri $WR1,    #0x8ae8
cw 0x15
call send_back  ; 21369 (0x5379)

lri $AR1,    #0x248a
lri $IX1,    #0x4a84
lri $WR1,    #0xd339
cw 0x15
call send_back  ; 21370 (0x537a)

lri $AR1,    #0x8ad1
lri $IX1,    #0xc812
lri $WR1,    #0xa534
cw 0x15
call send_back  ; 21371 (0x537b)

lri $AR1,    #0x6624
lri $IX1,    #0xafea
lri $WR1,    #0x89f2
cw 0x15
call send_back  ; 21372 (0x537c)

lri $AR1,    #0x9ea3
lri $IX1,    #0xc81a
lri $WR1,    #0xb13d
cw 0x15
call send_back  ; 21373 (0x537d)

lri $AR1,    #0x63cc
lri $IX1,    #0xea76
lri $WR1,    #0x0d49
cw 0x15
call send_back  ; 21374 (0x537e)

lri $AR1,    #0x3b6b
lri $IX1,    #0x0524
lri $WR1,    #0xc4f5
cw 0x15
call send_back  ; 21375 (0x537f)

lri $AR1,    #0xb6d1
lri $IX1,    #0x1796
lri $WR1,    #0x8746
cw 0x15
call send_back  ; 21376 (0x5380)

lri $AR1,    #0x70f6
lri $IX1,    #0x52a2
lri $WR1,    #0x5407
cw 0x15
call send_back  ; 21377 (0x5381)

lri $AR1,    #0x77f3
lri $IX1,    #0x06c4
lri $WR1,    #0xdb33
cw 0x15
call send_back  ; 21378 (0x5382)

lri $AR1,    #0x5796
lri $IX1,    #0x5c6a
lri $WR1,    #0x8640
cw 0x15
call send_back  ; 21379 (0x5383)

lri $AR1,    #0x8268
lri $IX1,    #0x0e4c
lri $WR1,    #0x73bd
cw 0x15
call send_back  ; 21380 (0x5384)

lri $AR1,    #0xb1e8
lri $IX1,    #0xa6a8
lri $WR1,    #0x8778
cw 0x15
call send_back  ; 21381 (0x5385)

lri $AR1,    #0x6663
lri $IX1,    #0x3478
lri $WR1,    #0x8e9e
cw 0x15
call send_back  ; 21382 (0x5386)

lri $AR1,    #0xd21c
lri $IX1,    #0x2e5a
lri $WR1,    #0x38f7
cw 0x15
call send_back  ; 21383 (0x5387)

lri $AR1,    #0x9324
lri $IX1,    #0x6558
lri $WR1,    #0xadc6
cw 0x15
call send_back  ; 21384 (0x5388)

lri $AR1,    #0x8abd
lri $IX1,    #0xa246
lri $WR1,    #0x2c5f
cw 0x15
call send_back  ; 21385 (0x5389)

lri $AR1,    #0x4076
lri $IX1,    #0xece6
lri $WR1,    #0x5603
cw 0x15
call send_back  ; 21386 (0x538a)

lri $AR1,    #0x72fb
lri $IX1,    #0xac72
lri $WR1,    #0xd013
cw 0x15
call send_back  ; 21387 (0x538b)

lri $AR1,    #0x9fbf
lri $IX1,    #0xedd2
lri $WR1,    #0x4328
cw 0x15
call send_back  ; 21388 (0x538c)

lri $AR1,    #0x4671
lri $IX1,    #0x441e
lri $WR1,    #0x3521
cw 0x15
call send_back  ; 21389 (0x538d)

lri $AR1,    #0x5c80
lri $IX1,    #0x0caa
lri $WR1,    #0x39b6
cw 0x15
call send_back  ; 21390 (0x538e)

lri $AR1,    #0x286d
lri $IX1,    #0x803a
lri $WR1,    #0x56a5
cw 0x15
call send_back  ; 21391 (0x538f)

lri $AR1,    #0x7464
lri $IX1,    #0x079c
lri $WR1,    #0x9e03
cw 0x15
call send_back  ; 21392 (0x5390)

lri $AR1,    #0x92b9
lri $IX1,    #0xe25c
lri $WR1,    #0x4aba
cw 0x15
call send_back  ; 21393 (0x5391)

lri $AR1,    #0x6ec7
lri $IX1,    #0x72a8
lri $WR1,    #0x78e2
cw 0x15
call send_back  ; 21394 (0x5392)

lri $AR1,    #0xb7e1
lri $IX1,    #0x923c
lri $WR1,    #0x44d8
cw 0x15
call send_back  ; 21395 (0x5393)

lri $AR1,    #0xfbbb
lri $IX1,    #0x505c
lri $WR1,    #0x91cd
cw 0x15
call send_back  ; 21396 (0x5394)

lri $AR1,    #0xa101
lri $IX1,    #0x81ae
lri $WR1,    #0xd1c2
cw 0x15
call send_back  ; 21397 (0x5395)

lri $AR1,    #0x8290
lri $IX1,    #0xbf0c
lri $WR1,    #0x468a
cw 0x15
call send_back  ; 21398 (0x5396)

lri $AR1,    #0x4f02
lri $IX1,    #0xf112
lri $WR1,    #0x34eb
cw 0x15
call send_back  ; 21399 (0x5397)

lri $AR1,    #0x27e1
lri $IX1,    #0x7284
lri $WR1,    #0xc856
cw 0x15
call send_back  ; 21400 (0x5398)

lri $AR1,    #0xa76c
lri $IX1,    #0x4c50
lri $WR1,    #0x4f63
cw 0x15
call send_back  ; 21401 (0x5399)

lri $AR1,    #0xd316
lri $IX1,    #0x3248
lri $WR1,    #0x668a
cw 0x15
call send_back  ; 21402 (0x539a)

lri $AR1,    #0x74ac
lri $IX1,    #0xd854
lri $WR1,    #0x7838
cw 0x15
call send_back  ; 21403 (0x539b)

lri $AR1,    #0xbb6d
lri $IX1,    #0x1448
lri $WR1,    #0x0ec6
cw 0x15
call send_back  ; 21404 (0x539c)

lri $AR1,    #0xc1d8
lri $IX1,    #0x2904
lri $WR1,    #0xae64
cw 0x15
call send_back  ; 21405 (0x539d)

lri $AR1,    #0x8488
lri $IX1,    #0xac1a
lri $WR1,    #0x2a95
cw 0x15
call send_back  ; 21406 (0x539e)

lri $AR1,    #0xd9fa
lri $IX1,    #0xd7ae
lri $WR1,    #0x8c30
cw 0x15
call send_back  ; 21407 (0x539f)

lri $AR1,    #0x726e
lri $IX1,    #0xe6ac
lri $WR1,    #0x829b
cw 0x15
call send_back  ; 21408 (0x53a0)

lri $AR1,    #0xb2d9
lri $IX1,    #0x7212
lri $WR1,    #0x6422
cw 0x15
call send_back  ; 21409 (0x53a1)

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