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

lri $AR1,    #0x54e2
lri $IX1,    #0x9d26
lri $WR1,    #0xd187
cw 0xd
call send_back  ; 6446 (0x192e)

lri $AR1,    #0x3713
lri $IX1,    #0xe048
lri $WR1,    #0x733a
cw 0xd
call send_back  ; 6447 (0x192f)

lri $AR1,    #0x5d8f
lri $IX1,    #0x8026
lri $WR1,    #0x53ee
cw 0xd
call send_back  ; 6448 (0x1930)

lri $AR1,    #0x2049
lri $IX1,    #0x95cc
lri $WR1,    #0x6acc
cw 0xd
call send_back  ; 6449 (0x1931)

lri $AR1,    #0x3463
lri $IX1,    #0x8d0a
lri $WR1,    #0x3fec
cw 0xd
call send_back  ; 6450 (0x1932)

lri $AR1,    #0x68e2
lri $IX1,    #0x6f4c
lri $WR1,    #0x2c37
cw 0xd
call send_back  ; 6451 (0x1933)

lri $AR1,    #0x4ccc
lri $IX1,    #0x0f5c
lri $WR1,    #0x62b1
cw 0xd
call send_back  ; 6452 (0x1934)

lri $AR1,    #0x9f8f
lri $IX1,    #0x1d4e
lri $WR1,    #0xcd37
cw 0xd
call send_back  ; 6453 (0x1935)

lri $AR1,    #0xbbef
lri $IX1,    #0x7564
lri $WR1,    #0xe43e
cw 0xd
call send_back  ; 6454 (0x1936)

lri $AR1,    #0x9155
lri $IX1,    #0xfc48
lri $WR1,    #0xaab7
cw 0xd
call send_back  ; 6455 (0x1937)

lri $AR1,    #0x96c2
lri $IX1,    #0xee68
lri $WR1,    #0xbc85
cw 0xd
call send_back  ; 6456 (0x1938)

lri $AR1,    #0xce53
lri $IX1,    #0x8faa
lri $WR1,    #0xc7bd
cw 0xd
call send_back  ; 6457 (0x1939)

lri $AR1,    #0x4f83
lri $IX1,    #0x847e
lri $WR1,    #0x361a
cw 0xd
call send_back  ; 6458 (0x193a)

lri $AR1,    #0x420d
lri $IX1,    #0xac60
lri $WR1,    #0x9dd2
cw 0xd
call send_back  ; 6459 (0x193b)

lri $AR1,    #0x1ac9
lri $IX1,    #0xf9ce
lri $WR1,    #0xa651
cw 0xd
call send_back  ; 6460 (0x193c)

lri $AR1,    #0x2731
lri $IX1,    #0x5ae0
lri $WR1,    #0x46e6
cw 0xd
call send_back  ; 6461 (0x193d)

lri $AR1,    #0x640d
lri $IX1,    #0x315e
lri $WR1,    #0x82f2
cw 0xd
call send_back  ; 6462 (0x193e)

lri $AR1,    #0x1ee3
lri $IX1,    #0xf8ac
lri $WR1,    #0x68bb
cw 0xd
call send_back  ; 6463 (0x193f)

lri $AR1,    #0x59ae
lri $IX1,    #0x6b52
lri $WR1,    #0x7d55
cw 0xd
call send_back  ; 6464 (0x1940)

lri $AR1,    #0x337f
lri $IX1,    #0xa164
lri $WR1,    #0x49ce
cw 0xd
call send_back  ; 6465 (0x1941)

lri $AR1,    #0x987a
lri $IX1,    #0x1cbe
lri $WR1,    #0x4b13
cw 0xd
call send_back  ; 6466 (0x1942)

lri $AR1,    #0x8ee7
lri $IX1,    #0x6740
lri $WR1,    #0x77bb
cw 0xd
call send_back  ; 6467 (0x1943)

lri $AR1,    #0x7eb7
lri $IX1,    #0xaae8
lri $WR1,    #0xc428
cw 0xd
call send_back  ; 6468 (0x1944)

lri $AR1,    #0xac47
lri $IX1,    #0x6324
lri $WR1,    #0x672a
cw 0xd
call send_back  ; 6469 (0x1945)

lri $AR1,    #0xaeac
lri $IX1,    #0xd214
lri $WR1,    #0x7e9f
cw 0xd
call send_back  ; 6470 (0x1946)

lri $AR1,    #0x4d60
lri $IX1,    #0x2424
lri $WR1,    #0x7532
cw 0xd
call send_back  ; 6471 (0x1947)

lri $AR1,    #0x48a3
lri $IX1,    #0xffc4
lri $WR1,    #0x8fb8
cw 0xd
call send_back  ; 6472 (0x1948)

lri $AR1,    #0x7b4e
lri $IX1,    #0x868a
lri $WR1,    #0x3247
cw 0xd
call send_back  ; 6473 (0x1949)

lri $AR1,    #0x647c
lri $IX1,    #0x688c
lri $WR1,    #0x9a92
cw 0xd
call send_back  ; 6474 (0x194a)

lri $AR1,    #0x5acf
lri $IX1,    #0x7a5c
lri $WR1,    #0x5e9b
cw 0xd
call send_back  ; 6475 (0x194b)

lri $AR1,    #0x52a9
lri $IX1,    #0x214e
lri $WR1,    #0x544e
cw 0xd
call send_back  ; 6476 (0x194c)

lri $AR1,    #0x9c10
lri $IX1,    #0xc170
lri $WR1,    #0x800b
cw 0xd
call send_back  ; 6477 (0x194d)

lri $AR1,    #0xacbe
lri $IX1,    #0x040a
lri $WR1,    #0x25bf
cw 0xd
call send_back  ; 6478 (0x194e)

lri $AR1,    #0xcded
lri $IX1,    #0x2ce2
lri $WR1,    #0x7987
cw 0xd
call send_back  ; 6479 (0x194f)

lri $AR1,    #0xbd75
lri $IX1,    #0xa824
lri $WR1,    #0x9288
cw 0xd
call send_back  ; 6480 (0x1950)

lri $AR1,    #0x5cc2
lri $IX1,    #0x622e
lri $WR1,    #0x8bf4
cw 0xd
call send_back  ; 6481 (0x1951)

lri $AR1,    #0xc83a
lri $IX1,    #0x362a
lri $WR1,    #0x8dd0
cw 0xd
call send_back  ; 6482 (0x1952)

lri $AR1,    #0x84ab
lri $IX1,    #0xafa8
lri $WR1,    #0xa89d
cw 0xd
call send_back  ; 6483 (0x1953)

lri $AR1,    #0xb82f
lri $IX1,    #0x5f20
lri $WR1,    #0xe45e
cw 0xd
call send_back  ; 6484 (0x1954)

lri $AR1,    #0x7f50
lri $IX1,    #0xf892
lri $WR1,    #0x7d16
cw 0xd
call send_back  ; 6485 (0x1955)

lri $AR1,    #0xbeb5
lri $IX1,    #0x3f42
lri $WR1,    #0x644a
cw 0xd
call send_back  ; 6486 (0x1956)

lri $AR1,    #0x352e
lri $IX1,    #0x409a
lri $WR1,    #0xa0a1
cw 0xd
call send_back  ; 6487 (0x1957)

lri $AR1,    #0x6974
lri $IX1,    #0x7450
lri $WR1,    #0x6a1f
cw 0xd
call send_back  ; 6488 (0x1958)

lri $AR1,    #0xba5d
lri $IX1,    #0xdee4
lri $WR1,    #0xcb1d
cw 0xd
call send_back  ; 6489 (0x1959)

lri $AR1,    #0xb7e7
lri $IX1,    #0x2f5a
lri $WR1,    #0x7b88
cw 0xd
call send_back  ; 6490 (0x195a)

lri $AR1,    #0x5ed9
lri $IX1,    #0xe096
lri $WR1,    #0x7d6b
cw 0xd
call send_back  ; 6491 (0x195b)

lri $AR1,    #0x385c
lri $IX1,    #0x8a00
lri $WR1,    #0x9772
cw 0xd
call send_back  ; 6492 (0x195c)

lri $AR1,    #0x9a48
lri $IX1,    #0xa2e0
lri $WR1,    #0x8351
cw 0xd
call send_back  ; 6493 (0x195d)

lri $AR1,    #0xb483
lri $IX1,    #0xe73c
lri $WR1,    #0x63bc
cw 0xd
call send_back  ; 6494 (0x195e)

lri $AR1,    #0x9b43
lri $IX1,    #0x2c7c
lri $WR1,    #0x36ec
cw 0xd
call send_back  ; 6495 (0x195f)

lri $AR1,    #0x7573
lri $IX1,    #0xa7ae
lri $WR1,    #0x6056
cw 0xd
call send_back  ; 6496 (0x1960)

lri $AR1,    #0x4222
lri $IX1,    #0x4ebc
lri $WR1,    #0x6d8e
cw 0xd
call send_back  ; 6497 (0x1961)

lri $AR1,    #0xa734
lri $IX1,    #0xf960
lri $WR1,    #0xc7f3
cw 0xd
call send_back  ; 6498 (0x1962)

lri $AR1,    #0xcf3d
lri $IX1,    #0x1618
lri $WR1,    #0x762d
cw 0xd
call send_back  ; 6499 (0x1963)

lri $AR1,    #0x63c2
lri $IX1,    #0x0b12
lri $WR1,    #0xc624
cw 0xd
call send_back  ; 6500 (0x1964)

lri $AR1,    #0x8cba
lri $IX1,    #0x9228
lri $WR1,    #0x9149
cw 0xd
call send_back  ; 6501 (0x1965)

lri $AR1,    #0x6d9c
lri $IX1,    #0x6afc
lri $WR1,    #0xab0e
cw 0xd
call send_back  ; 6502 (0x1966)

lri $AR1,    #0xbbcf
lri $IX1,    #0x7d38
lri $WR1,    #0x4a51
cw 0xd
call send_back  ; 6503 (0x1967)

lri $AR1,    #0xa1c6
lri $IX1,    #0xd91c
lri $WR1,    #0xc489
cw 0xd
call send_back  ; 6504 (0x1968)

lri $AR1,    #0x8d92
lri $IX1,    #0xcb4a
lri $WR1,    #0x9a91
cw 0xd
call send_back  ; 6505 (0x1969)

lri $AR1,    #0xa954
lri $IX1,    #0x54fa
lri $WR1,    #0x84ca
cw 0xd
call send_back  ; 6506 (0x196a)

lri $AR1,    #0x6f39
lri $IX1,    #0xa8a0
lri $WR1,    #0xbd90
cw 0xd
call send_back  ; 6507 (0x196b)

lri $AR1,    #0x7273
lri $IX1,    #0xaef4
lri $WR1,    #0x9e8d
cw 0xd
call send_back  ; 6508 (0x196c)

lri $AR1,    #0x71e8
lri $IX1,    #0xefc0
lri $WR1,    #0x9f08
cw 0xd
call send_back  ; 6509 (0x196d)

lri $AR1,    #0x78ef
lri $IX1,    #0x6502
lri $WR1,    #0x3eba
cw 0xd
call send_back  ; 6510 (0x196e)

lri $AR1,    #0x95f4
lri $IX1,    #0x9f06
lri $WR1,    #0x4a3c
cw 0xd
call send_back  ; 6511 (0x196f)

lri $AR1,    #0x663b
lri $IX1,    #0x12fe
lri $WR1,    #0x8b90
cw 0xd
call send_back  ; 6512 (0x1970)

lri $AR1,    #0x41af
lri $IX1,    #0x55a0
lri $WR1,    #0x42ed
cw 0xd
call send_back  ; 6513 (0x1971)

lri $AR1,    #0x90f8
lri $IX1,    #0x3e6e
lri $WR1,    #0x9149
cw 0xd
call send_back  ; 6514 (0x1972)

lri $AR1,    #0x2baf
lri $IX1,    #0x601e
lri $WR1,    #0xafbd
cw 0xd
call send_back  ; 6515 (0x1973)

lri $AR1,    #0x6402
lri $IX1,    #0xc5ce
lri $WR1,    #0x4448
cw 0xd
call send_back  ; 6516 (0x1974)

lri $AR1,    #0x8094
lri $IX1,    #0x5c76
lri $WR1,    #0x3e16
cw 0xd
call send_back  ; 6517 (0x1975)

lri $AR1,    #0xb4f0
lri $IX1,    #0xbb52
lri $WR1,    #0xc0bb
cw 0xd
call send_back  ; 6518 (0x1976)

lri $AR1,    #0x8c53
lri $IX1,    #0xfd92
lri $WR1,    #0xa794
cw 0xd
call send_back  ; 6519 (0x1977)

lri $AR1,    #0x9226
lri $IX1,    #0xf336
lri $WR1,    #0x6fc6
cw 0xd
call send_back  ; 6520 (0x1978)

lri $AR1,    #0xaefc
lri $IX1,    #0xf64c
lri $WR1,    #0x40f0
cw 0xd
call send_back  ; 6521 (0x1979)

lri $AR1,    #0x9053
lri $IX1,    #0x0d7c
lri $WR1,    #0x3a2a
cw 0xd
call send_back  ; 6522 (0x197a)

lri $AR1,    #0x6500
lri $IX1,    #0x9406
lri $WR1,    #0x7a5d
cw 0xd
call send_back  ; 6523 (0x197b)

lri $AR1,    #0x9f7f
lri $IX1,    #0x433c
lri $WR1,    #0x7070
cw 0xd
call send_back  ; 6524 (0x197c)

lri $AR1,    #0xab01
lri $IX1,    #0x10a0
lri $WR1,    #0xb97f
cw 0xd
call send_back  ; 6525 (0x197d)

lri $AR1,    #0x6f91
lri $IX1,    #0xbf6e
lri $WR1,    #0x908b
cw 0xd
call send_back  ; 6526 (0x197e)

lri $AR1,    #0x850f
lri $IX1,    #0x2412
lri $WR1,    #0x74c6
cw 0xd
call send_back  ; 6527 (0x197f)

lri $AR1,    #0x6c59
lri $IX1,    #0xcb24
lri $WR1,    #0x9105
cw 0xd
call send_back  ; 6528 (0x1980)

lri $AR1,    #0x7179
lri $IX1,    #0xdd66
lri $WR1,    #0x7861
cw 0xd
call send_back  ; 6529 (0x1981)

lri $AR1,    #0x5916
lri $IX1,    #0x9566
lri $WR1,    #0xd9a7
cw 0xd
call send_back  ; 6530 (0x1982)

lri $AR1,    #0x8f10
lri $IX1,    #0x4b48
lri $WR1,    #0xbc9b
cw 0xd
call send_back  ; 6531 (0x1983)

lri $AR1,    #0x937d
lri $IX1,    #0xde66
lri $WR1,    #0x119d
cw 0xd
call send_back  ; 6532 (0x1984)

lri $AR1,    #0xbeef
lri $IX1,    #0xfc0c
lri $WR1,    #0xb5cb
cw 0xd
call send_back  ; 6533 (0x1985)

lri $AR1,    #0x8644
lri $IX1,    #0x4e56
lri $WR1,    #0x6b22
cw 0xd
call send_back  ; 6534 (0x1986)

lri $AR1,    #0x89ca
lri $IX1,    #0xdd34
lri $WR1,    #0x05ba
cw 0xd
call send_back  ; 6535 (0x1987)

lri $AR1,    #0x5326
lri $IX1,    #0xbfae
lri $WR1,    #0x94a6
cw 0xd
call send_back  ; 6536 (0x1988)

lri $AR1,    #0x90a9
lri $IX1,    #0x827c
lri $WR1,    #0x768b
cw 0xd
call send_back  ; 6537 (0x1989)

lri $AR1,    #0xbc74
lri $IX1,    #0x44ee
lri $WR1,    #0xf778
cw 0xd
call send_back  ; 6538 (0x198a)

lri $AR1,    #0x513e
lri $IX1,    #0x5c5a
lri $WR1,    #0xa720
cw 0xd
call send_back  ; 6539 (0x198b)

lri $AR1,    #0x560e
lri $IX1,    #0x31e8
lri $WR1,    #0xebea
cw 0xd
call send_back  ; 6540 (0x198c)

lri $AR1,    #0x85a3
lri $IX1,    #0xe610
lri $WR1,    #0x5105
cw 0xd
call send_back  ; 6541 (0x198d)

lri $AR1,    #0x85f9
lri $IX1,    #0xf08e
lri $WR1,    #0x8afc
cw 0xd
call send_back  ; 6542 (0x198e)

lri $AR1,    #0xe7a5
lri $IX1,    #0x5330
lri $WR1,    #0x8fdb
cw 0xd
call send_back  ; 6543 (0x198f)

lri $AR1,    #0x5c60
lri $IX1,    #0xe932
lri $WR1,    #0x4585
cw 0xd
call send_back  ; 6544 (0x1990)

lri $AR1,    #0x1f8f
lri $IX1,    #0xc4a0
lri $WR1,    #0x9238
cw 0xd
call send_back  ; 6545 (0x1991)

lri $AR1,    #0xcb1e
lri $IX1,    #0x4656
lri $WR1,    #0xe8d9
cw 0xd
call send_back  ; 6546 (0x1992)

lri $AR1,    #0xa66f
lri $IX1,    #0x8d2a
lri $WR1,    #0x1c17
cw 0xd
call send_back  ; 6547 (0x1993)

lri $AR1,    #0x44c4
lri $IX1,    #0xdbe8
lri $WR1,    #0xb8f1
cw 0xd
call send_back  ; 6548 (0x1994)

lri $AR1,    #0x63dc
lri $IX1,    #0x8d7a
lri $WR1,    #0x42b8
cw 0xd
call send_back  ; 6549 (0x1995)

lri $AR1,    #0xcb24
lri $IX1,    #0xfa16
lri $WR1,    #0x4812
cw 0xd
call send_back  ; 6550 (0x1996)

lri $AR1,    #0x4f43
lri $IX1,    #0x2fb2
lri $WR1,    #0x4a12
cw 0xd
call send_back  ; 6551 (0x1997)

lri $AR1,    #0x7558
lri $IX1,    #0x7396
lri $WR1,    #0xb3fb
cw 0xd
call send_back  ; 6552 (0x1998)

lri $AR1,    #0x5cad
lri $IX1,    #0x0a66
lri $WR1,    #0x8bb3
cw 0xd
call send_back  ; 6553 (0x1999)

lri $AR1,    #0x7546
lri $IX1,    #0x9f60
lri $WR1,    #0x7084
cw 0xd
call send_back  ; 6554 (0x199a)

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