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

lri $AR1,    #0x75f6
lri $IX1,    #0x60e8
lri $WR1,    #0x0f7a
cw 0x15
call send_back  ; 6337 (0x18c1)

lri $AR1,    #0x831b
lri $IX1,    #0xe5e8
lri $WR1,    #0xc5ed
cw 0x15
call send_back  ; 6338 (0x18c2)

lri $AR1,    #0xde5f
lri $IX1,    #0x8eb8
lri $WR1,    #0x3bad
cw 0x15
call send_back  ; 6339 (0x18c3)

lri $AR1,    #0xbb66
lri $IX1,    #0xc006
lri $WR1,    #0x5920
cw 0x15
call send_back  ; 6340 (0x18c4)

lri $AR1,    #0x521f
lri $IX1,    #0xe632
lri $WR1,    #0x9479
cw 0x15
call send_back  ; 6341 (0x18c5)

lri $AR1,    #0x3a16
lri $IX1,    #0x7306
lri $WR1,    #0x6f5b
cw 0x15
call send_back  ; 6342 (0x18c6)

lri $AR1,    #0xe517
lri $IX1,    #0x3524
lri $WR1,    #0x4d94
cw 0x15
call send_back  ; 6343 (0x18c7)

lri $AR1,    #0x7c97
lri $IX1,    #0x0b44
lri $WR1,    #0xcb7e
cw 0x15
call send_back  ; 6344 (0x18c8)

lri $AR1,    #0x5081
lri $IX1,    #0xae22
lri $WR1,    #0x6411
cw 0x15
call send_back  ; 6345 (0x18c9)

lri $AR1,    #0xa5e6
lri $IX1,    #0xb00c
lri $WR1,    #0x6447
cw 0x15
call send_back  ; 6346 (0x18ca)

lri $AR1,    #0x673d
lri $IX1,    #0x0202
lri $WR1,    #0x3ac4
cw 0x15
call send_back  ; 6347 (0x18cb)

lri $AR1,    #0x5f97
lri $IX1,    #0x6a5c
lri $WR1,    #0x8879
cw 0x15
call send_back  ; 6348 (0x18cc)

lri $AR1,    #0xa595
lri $IX1,    #0x81d6
lri $WR1,    #0xd029
cw 0x15
call send_back  ; 6349 (0x18cd)

lri $AR1,    #0x8a5f
lri $IX1,    #0x2014
lri $WR1,    #0xa084
cw 0x15
call send_back  ; 6350 (0x18ce)

lri $AR1,    #0xa489
lri $IX1,    #0xc15c
lri $WR1,    #0x75cf
cw 0x15
call send_back  ; 6351 (0x18cf)

lri $AR1,    #0x4618
lri $IX1,    #0x7bb0
lri $WR1,    #0x35b0
cw 0x15
call send_back  ; 6352 (0x18d0)

lri $AR1,    #0xb891
lri $IX1,    #0xb1fc
lri $WR1,    #0x713d
cw 0x15
call send_back  ; 6353 (0x18d1)

lri $AR1,    #0x594c
lri $IX1,    #0xf882
lri $WR1,    #0x66bf
cw 0x15
call send_back  ; 6354 (0x18d2)

lri $AR1,    #0x83ec
lri $IX1,    #0xae3e
lri $WR1,    #0x6e5d
cw 0x15
call send_back  ; 6355 (0x18d3)

lri $AR1,    #0x803f
lri $IX1,    #0xcb66
lri $WR1,    #0x721b
cw 0x15
call send_back  ; 6356 (0x18d4)

lri $AR1,    #0x4461
lri $IX1,    #0x6dc2
lri $WR1,    #0x2b61
cw 0x15
call send_back  ; 6357 (0x18d5)

lri $AR1,    #0x2b6f
lri $IX1,    #0xe000
lri $WR1,    #0x7d7b
cw 0x15
call send_back  ; 6358 (0x18d6)

lri $AR1,    #0x248e
lri $IX1,    #0x59bc
lri $WR1,    #0x462f
cw 0x15
call send_back  ; 6359 (0x18d7)

lri $AR1,    #0x35a8
lri $IX1,    #0xa26e
lri $WR1,    #0x430a
cw 0x15
call send_back  ; 6360 (0x18d8)

lri $AR1,    #0x58a9
lri $IX1,    #0x39e6
lri $WR1,    #0x9345
cw 0x15
call send_back  ; 6361 (0x18d9)

lri $AR1,    #0x9982
lri $IX1,    #0xcd84
lri $WR1,    #0xcc11
cw 0x15
call send_back  ; 6362 (0x18da)

lri $AR1,    #0xcecf
lri $IX1,    #0xb1f8
lri $WR1,    #0x6621
cw 0x15
call send_back  ; 6363 (0x18db)

lri $AR1,    #0xae6c
lri $IX1,    #0xf582
lri $WR1,    #0xe122
cw 0x15
call send_back  ; 6364 (0x18dc)

lri $AR1,    #0x3ac6
lri $IX1,    #0x87a6
lri $WR1,    #0x332d
cw 0x15
call send_back  ; 6365 (0x18dd)

lri $AR1,    #0x7536
lri $IX1,    #0x074a
lri $WR1,    #0x57b7
cw 0x15
call send_back  ; 6366 (0x18de)

lri $AR1,    #0xc547
lri $IX1,    #0x2912
lri $WR1,    #0x7321
cw 0x15
call send_back  ; 6367 (0x18df)

lri $AR1,    #0x7c18
lri $IX1,    #0x741e
lri $WR1,    #0x6564
cw 0x15
call send_back  ; 6368 (0x18e0)

lri $AR1,    #0xa6ca
lri $IX1,    #0x6bcc
lri $WR1,    #0x2ff4
cw 0x15
call send_back  ; 6369 (0x18e1)

lri $AR1,    #0x6237
lri $IX1,    #0x41d4
lri $WR1,    #0xa077
cw 0x15
call send_back  ; 6370 (0x18e2)

lri $AR1,    #0x75c8
lri $IX1,    #0xfc3e
lri $WR1,    #0xa33a
cw 0x15
call send_back  ; 6371 (0x18e3)

lri $AR1,    #0x82b3
lri $IX1,    #0xb78c
lri $WR1,    #0x5626
cw 0x15
call send_back  ; 6372 (0x18e4)

lri $AR1,    #0x7085
lri $IX1,    #0x75ac
lri $WR1,    #0x4e13
cw 0x15
call send_back  ; 6373 (0x18e5)

lri $AR1,    #0x4f27
lri $IX1,    #0xdeee
lri $WR1,    #0xde34
cw 0x15
call send_back  ; 6374 (0x18e6)

lri $AR1,    #0x8a58
lri $IX1,    #0x9aac
lri $WR1,    #0x728d
cw 0x15
call send_back  ; 6375 (0x18e7)

lri $AR1,    #0x61ba
lri $IX1,    #0x91da
lri $WR1,    #0x9418
cw 0x15
call send_back  ; 6376 (0x18e8)

lri $AR1,    #0x8477
lri $IX1,    #0xa61e
lri $WR1,    #0x5695
cw 0x15
call send_back  ; 6377 (0x18e9)

lri $AR1,    #0x4ea0
lri $IX1,    #0x4cac
lri $WR1,    #0x1da9
cw 0x15
call send_back  ; 6378 (0x18ea)

lri $AR1,    #0x5a38
lri $IX1,    #0x2c9e
lri $WR1,    #0xb854
cw 0x15
call send_back  ; 6379 (0x18eb)

lri $AR1,    #0xbd24
lri $IX1,    #0x7ce4
lri $WR1,    #0x2742
cw 0x15
call send_back  ; 6380 (0x18ec)

lri $AR1,    #0x48df
lri $IX1,    #0x8684
lri $WR1,    #0x5c20
cw 0x15
call send_back  ; 6381 (0x18ed)

lri $AR1,    #0xd034
lri $IX1,    #0x846a
lri $WR1,    #0xbd6b
cw 0x15
call send_back  ; 6382 (0x18ee)

lri $AR1,    #0x3ae1
lri $IX1,    #0x3a58
lri $WR1,    #0x9bde
cw 0x15
call send_back  ; 6383 (0x18ef)

lri $AR1,    #0x6660
lri $IX1,    #0x2944
lri $WR1,    #0x6c02
cw 0x15
call send_back  ; 6384 (0x18f0)

lri $AR1,    #0xdeb0
lri $IX1,    #0x5fc8
lri $WR1,    #0xdff0
cw 0x15
call send_back  ; 6385 (0x18f1)

lri $AR1,    #0xb96d
lri $IX1,    #0xa9cc
lri $WR1,    #0x4ae4
cw 0x15
call send_back  ; 6386 (0x18f2)

lri $AR1,    #0xb102
lri $IX1,    #0x7328
lri $WR1,    #0xe997
cw 0x15
call send_back  ; 6387 (0x18f3)

lri $AR1,    #0xe553
lri $IX1,    #0x2d66
lri $WR1,    #0xa010
cw 0x15
call send_back  ; 6388 (0x18f4)

lri $AR1,    #0x4298
lri $IX1,    #0x915c
lri $WR1,    #0x56dd
cw 0x15
call send_back  ; 6389 (0x18f5)

lri $AR1,    #0x5ece
lri $IX1,    #0xc9be
lri $WR1,    #0x3f56
cw 0x15
call send_back  ; 6390 (0x18f6)

lri $AR1,    #0x8184
lri $IX1,    #0x9462
lri $WR1,    #0xc7fe
cw 0x15
call send_back  ; 6391 (0x18f7)

lri $AR1,    #0xe15c
lri $IX1,    #0xd478
lri $WR1,    #0x4f7b
cw 0x15
call send_back  ; 6392 (0x18f8)

lri $AR1,    #0xcdf9
lri $IX1,    #0x083a
lri $WR1,    #0x8e51
cw 0x15
call send_back  ; 6393 (0x18f9)

lri $AR1,    #0x5cd0
lri $IX1,    #0xb972
lri $WR1,    #0x1cde
cw 0x15
call send_back  ; 6394 (0x18fa)

lri $AR1,    #0x2288
lri $IX1,    #0x7066
lri $WR1,    #0x4cad
cw 0x15
call send_back  ; 6395 (0x18fb)

lri $AR1,    #0x6a51
lri $IX1,    #0x0d72
lri $WR1,    #0xa1a9
cw 0x15
call send_back  ; 6396 (0x18fc)

lri $AR1,    #0x97f1
lri $IX1,    #0xd5e4
lri $WR1,    #0x7154
cw 0x15
call send_back  ; 6397 (0x18fd)

lri $AR1,    #0x50e7
lri $IX1,    #0x1566
lri $WR1,    #0x6b70
cw 0x15
call send_back  ; 6398 (0x18fe)

lri $AR1,    #0x8c65
lri $IX1,    #0x159a
lri $WR1,    #0xf155
cw 0x15
call send_back  ; 6399 (0x18ff)

lri $AR1,    #0xa180
lri $IX1,    #0x7a14
lri $WR1,    #0x865c
cw 0x15
call send_back  ; 6400 (0x1900)

lri $AR1,    #0x3653
lri $IX1,    #0xe762
lri $WR1,    #0xad81
cw 0x15
call send_back  ; 6401 (0x1901)

lri $AR1,    #0x727c
lri $IX1,    #0x605c
lri $WR1,    #0x95d5
cw 0x15
call send_back  ; 6402 (0x1902)

lri $AR1,    #0x6aab
lri $IX1,    #0x156c
lri $WR1,    #0x68c1
cw 0x15
call send_back  ; 6403 (0x1903)

lri $AR1,    #0xc2af
lri $IX1,    #0x9de6
lri $WR1,    #0xc2a9
cw 0x15
call send_back  ; 6404 (0x1904)

lri $AR1,    #0x5eac
lri $IX1,    #0xdc46
lri $WR1,    #0xb80e
cw 0x15
call send_back  ; 6405 (0x1905)

lri $AR1,    #0x8bf2
lri $IX1,    #0x4260
lri $WR1,    #0xa6b2
cw 0x15
call send_back  ; 6406 (0x1906)

lri $AR1,    #0xad24
lri $IX1,    #0xeb4e
lri $WR1,    #0x53d0
cw 0x15
call send_back  ; 6407 (0x1907)

lri $AR1,    #0x8d1e
lri $IX1,    #0x2d36
lri $WR1,    #0xde00
cw 0x15
call send_back  ; 6408 (0x1908)

lri $AR1,    #0x6740
lri $IX1,    #0xfdaa
lri $WR1,    #0xb2ca
cw 0x15
call send_back  ; 6409 (0x1909)

lri $AR1,    #0xd3a2
lri $IX1,    #0xe7c8
lri $WR1,    #0x6582
cw 0x15
call send_back  ; 6410 (0x190a)

lri $AR1,    #0x78cf
lri $IX1,    #0x83c2
lri $WR1,    #0x567d
cw 0x15
call send_back  ; 6411 (0x190b)

lri $AR1,    #0x8c81
lri $IX1,    #0x7c1e
lri $WR1,    #0x6f29
cw 0x15
call send_back  ; 6412 (0x190c)

lri $AR1,    #0x280c
lri $IX1,    #0x5532
lri $WR1,    #0xb117
cw 0x15
call send_back  ; 6413 (0x190d)

lri $AR1,    #0xa4df
lri $IX1,    #0x802c
lri $WR1,    #0x5396
cw 0x15
call send_back  ; 6414 (0x190e)

lri $AR1,    #0x78e4
lri $IX1,    #0xe34c
lri $WR1,    #0x8cd7
cw 0x15
call send_back  ; 6415 (0x190f)

lri $AR1,    #0x4208
lri $IX1,    #0x0d7e
lri $WR1,    #0xc941
cw 0x15
call send_back  ; 6416 (0x1910)

lri $AR1,    #0x3bc3
lri $IX1,    #0xe406
lri $WR1,    #0x5cf5
cw 0x15
call send_back  ; 6417 (0x1911)

lri $AR1,    #0x98f4
lri $IX1,    #0xdd72
lri $WR1,    #0x891c
cw 0x15
call send_back  ; 6418 (0x1912)

lri $AR1,    #0x8fd4
lri $IX1,    #0xed7a
lri $WR1,    #0x600a
cw 0x15
call send_back  ; 6419 (0x1913)

lri $AR1,    #0x2d57
lri $IX1,    #0x41fa
lri $WR1,    #0x88c1
cw 0x15
call send_back  ; 6420 (0x1914)

lri $AR1,    #0xa0d1
lri $IX1,    #0xf9d8
lri $WR1,    #0x7bf9
cw 0x15
call send_back  ; 6421 (0x1915)

lri $AR1,    #0x8022
lri $IX1,    #0x32c6
lri $WR1,    #0x7217
cw 0x15
call send_back  ; 6422 (0x1916)

lri $AR1,    #0x6847
lri $IX1,    #0x4be0
lri $WR1,    #0xbb56
cw 0x15
call send_back  ; 6423 (0x1917)

lri $AR1,    #0x3590
lri $IX1,    #0x2706
lri $WR1,    #0x8079
cw 0x15
call send_back  ; 6424 (0x1918)

lri $AR1,    #0x3a5d
lri $IX1,    #0xabe0
lri $WR1,    #0xd44e
cw 0x15
call send_back  ; 6425 (0x1919)

lri $AR1,    #0x3aa6
lri $IX1,    #0xf39c
lri $WR1,    #0x6b62
cw 0x15
call send_back  ; 6426 (0x191a)

lri $AR1,    #0x661d
lri $IX1,    #0x7520
lri $WR1,    #0xa113
cw 0x15
call send_back  ; 6427 (0x191b)

lri $AR1,    #0x7245
lri $IX1,    #0x65d8
lri $WR1,    #0x868f
cw 0x15
call send_back  ; 6428 (0x191c)

lri $AR1,    #0x3140
lri $IX1,    #0x6be2
lri $WR1,    #0x71bc
cw 0x15
call send_back  ; 6429 (0x191d)

lri $AR1,    #0x71ae
lri $IX1,    #0xd2ae
lri $WR1,    #0xbfae
cw 0x15
call send_back  ; 6430 (0x191e)

lri $AR1,    #0x776f
lri $IX1,    #0xd3da
lri $WR1,    #0x9fb4
cw 0x15
call send_back  ; 6431 (0x191f)

lri $AR1,    #0x5487
lri $IX1,    #0x5270
lri $WR1,    #0xa182
cw 0x15
call send_back  ; 6432 (0x1920)

lri $AR1,    #0x350f
lri $IX1,    #0xbf26
lri $WR1,    #0x4a9e
cw 0x15
call send_back  ; 6433 (0x1921)

lri $AR1,    #0xb067
lri $IX1,    #0xe100
lri $WR1,    #0x848a
cw 0x15
call send_back  ; 6434 (0x1922)

lri $AR1,    #0xc58b
lri $IX1,    #0x0dc2
lri $WR1,    #0x26c1
cw 0x15
call send_back  ; 6435 (0x1923)

lri $AR1,    #0x2fdc
lri $IX1,    #0x1a94
lri $WR1,    #0x952a
cw 0x15
call send_back  ; 6436 (0x1924)

lri $AR1,    #0x9d18
lri $IX1,    #0x1580
lri $WR1,    #0x44eb
cw 0x15
call send_back  ; 6437 (0x1925)

lri $AR1,    #0x5cf2
lri $IX1,    #0xcce0
lri $WR1,    #0x5756
cw 0x15
call send_back  ; 6438 (0x1926)

lri $AR1,    #0xc5fd
lri $IX1,    #0x6a88
lri $WR1,    #0xbbdd
cw 0x15
call send_back  ; 6439 (0x1927)

lri $AR1,    #0xa341
lri $IX1,    #0x14d6
lri $WR1,    #0x4fb5
cw 0x15
call send_back  ; 6440 (0x1928)

lri $AR1,    #0x695d
lri $IX1,    #0xc048
lri $WR1,    #0x9b30
cw 0x15
call send_back  ; 6441 (0x1929)

lri $AR1,    #0x916b
lri $IX1,    #0x40e0
lri $WR1,    #0x7a4f
cw 0x15
call send_back  ; 6442 (0x192a)

lri $AR1,    #0x2b82
lri $IX1,    #0x5aee
lri $WR1,    #0x8fbf
cw 0x15
call send_back  ; 6443 (0x192b)

lri $AR1,    #0xe22d
lri $IX1,    #0x2f8e
lri $WR1,    #0xb6ad
cw 0x15
call send_back  ; 6444 (0x192c)

lri $AR1,    #0x239c
lri $IX1,    #0x0962
lri $WR1,    #0xa191
cw 0x15
call send_back  ; 6445 (0x192d)

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