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

lri $AR1,    #0x7cbc
lri $IX1,    #0xc560
lri $WR1,    #0x215a
cw 0x15
call send_back  ; 438 (0x01b6)

lri $AR1,    #0x4952
lri $IX1,    #0x24d6
lri $WR1,    #0x75c7
cw 0x15
call send_back  ; 439 (0x01b7)

lri $AR1,    #0x6f2b
lri $IX1,    #0x6918
lri $WR1,    #0x7296
cw 0x15
call send_back  ; 440 (0x01b8)

lri $AR1,    #0x450b
lri $IX1,    #0x5c2c
lri $WR1,    #0x67b4
cw 0x15
call send_back  ; 441 (0x01b9)

lri $AR1,    #0xa03a
lri $IX1,    #0x757c
lri $WR1,    #0x4a58
cw 0x15
call send_back  ; 442 (0x01ba)

lri $AR1,    #0x4261
lri $IX1,    #0x743c
lri $WR1,    #0x84d8
cw 0x15
call send_back  ; 443 (0x01bb)

lri $AR1,    #0x9161
lri $IX1,    #0xb482
lri $WR1,    #0x6259
cw 0x15
call send_back  ; 444 (0x01bc)

lri $AR1,    #0x65e4
lri $IX1,    #0x6bb0
lri $WR1,    #0x3c86
cw 0x15
call send_back  ; 445 (0x01bd)

lri $AR1,    #0x2cf8
lri $IX1,    #0x8d4a
lri $WR1,    #0xcebc
cw 0x15
call send_back  ; 446 (0x01be)

lri $AR1,    #0x9c94
lri $IX1,    #0xfa24
lri $WR1,    #0xb3dd
cw 0x15
call send_back  ; 447 (0x01bf)

lri $AR1,    #0xb23e
lri $IX1,    #0xe7ca
lri $WR1,    #0x793b
cw 0x15
call send_back  ; 448 (0x01c0)

lri $AR1,    #0x7eb2
lri $IX1,    #0x471c
lri $WR1,    #0x3abe
cw 0x15
call send_back  ; 449 (0x01c1)

lri $AR1,    #0x40e0
lri $IX1,    #0x7510
lri $WR1,    #0x49cf
cw 0x15
call send_back  ; 450 (0x01c2)

lri $AR1,    #0x65fe
lri $IX1,    #0xd17c
lri $WR1,    #0x5222
cw 0x15
call send_back  ; 451 (0x01c3)

lri $AR1,    #0x8c07
lri $IX1,    #0x13f4
lri $WR1,    #0x24d5
cw 0x15
call send_back  ; 452 (0x01c4)

lri $AR1,    #0x7f84
lri $IX1,    #0x7f82
lri $WR1,    #0xac12
cw 0x15
call send_back  ; 453 (0x01c5)

lri $AR1,    #0xbcd6
lri $IX1,    #0x8a58
lri $WR1,    #0x66b6
cw 0x15
call send_back  ; 454 (0x01c6)

lri $AR1,    #0xa0e5
lri $IX1,    #0x4f3c
lri $WR1,    #0x8d06
cw 0x15
call send_back  ; 455 (0x01c7)

lri $AR1,    #0x8c7b
lri $IX1,    #0x4ad4
lri $WR1,    #0x0514
cw 0x15
call send_back  ; 456 (0x01c8)

lri $AR1,    #0x291d
lri $IX1,    #0x9f7e
lri $WR1,    #0x76d1
cw 0x15
call send_back  ; 457 (0x01c9)

lri $AR1,    #0x9db2
lri $IX1,    #0x7ef6
lri $WR1,    #0x7d6c
cw 0x15
call send_back  ; 458 (0x01ca)

lri $AR1,    #0x34ca
lri $IX1,    #0x8960
lri $WR1,    #0x8504
cw 0x15
call send_back  ; 459 (0x01cb)

lri $AR1,    #0x9dcf
lri $IX1,    #0x0dfc
lri $WR1,    #0xb941
cw 0x15
call send_back  ; 460 (0x01cc)

lri $AR1,    #0x6df9
lri $IX1,    #0x4230
lri $WR1,    #0xe2de
cw 0x15
call send_back  ; 461 (0x01cd)

lri $AR1,    #0x3547
lri $IX1,    #0xd806
lri $WR1,    #0x8fc3
cw 0x15
call send_back  ; 462 (0x01ce)

lri $AR1,    #0x3f66
lri $IX1,    #0xfdee
lri $WR1,    #0xc2ac
cw 0x15
call send_back  ; 463 (0x01cf)

lri $AR1,    #0x4fb4
lri $IX1,    #0xddd0
lri $WR1,    #0x8cf9
cw 0x15
call send_back  ; 464 (0x01d0)

lri $AR1,    #0xb34d
lri $IX1,    #0x4a42
lri $WR1,    #0xbeb7
cw 0x15
call send_back  ; 465 (0x01d1)

lri $AR1,    #0xc360
lri $IX1,    #0x8cec
lri $WR1,    #0x2667
cw 0x15
call send_back  ; 466 (0x01d2)

lri $AR1,    #0xc5a9
lri $IX1,    #0x59f4
lri $WR1,    #0x8ba8
cw 0x15
call send_back  ; 467 (0x01d3)

lri $AR1,    #0x604d
lri $IX1,    #0xe878
lri $WR1,    #0x8536
cw 0x15
call send_back  ; 468 (0x01d4)

lri $AR1,    #0x7204
lri $IX1,    #0x38e6
lri $WR1,    #0x6471
cw 0x15
call send_back  ; 469 (0x01d5)

lri $AR1,    #0x6ebe
lri $IX1,    #0xc654
lri $WR1,    #0x8ddc
cw 0x15
call send_back  ; 470 (0x01d6)

lri $AR1,    #0xc4ba
lri $IX1,    #0x6088
lri $WR1,    #0x97b8
cw 0x15
call send_back  ; 471 (0x01d7)

lri $AR1,    #0xa53b
lri $IX1,    #0xd8e0
lri $WR1,    #0xcd46
cw 0x15
call send_back  ; 472 (0x01d8)

lri $AR1,    #0xb7c3
lri $IX1,    #0xa4d4
lri $WR1,    #0x9eba
cw 0x15
call send_back  ; 473 (0x01d9)

lri $AR1,    #0x9e1c
lri $IX1,    #0xbd30
lri $WR1,    #0x737c
cw 0x15
call send_back  ; 474 (0x01da)

lri $AR1,    #0xa2fb
lri $IX1,    #0xf1c6
lri $WR1,    #0xa5b7
cw 0x15
call send_back  ; 475 (0x01db)

lri $AR1,    #0xd493
lri $IX1,    #0xc5c4
lri $WR1,    #0x83cf
cw 0x15
call send_back  ; 476 (0x01dc)

lri $AR1,    #0x87e7
lri $IX1,    #0xd150
lri $WR1,    #0x6dd6
cw 0x15
call send_back  ; 477 (0x01dd)

lri $AR1,    #0xb12d
lri $IX1,    #0xb9be
lri $WR1,    #0x627c
cw 0x15
call send_back  ; 478 (0x01de)

lri $AR1,    #0x8103
lri $IX1,    #0x31d6
lri $WR1,    #0x7094
cw 0x15
call send_back  ; 479 (0x01df)

lri $AR1,    #0x2de2
lri $IX1,    #0x40a0
lri $WR1,    #0x67d2
cw 0x15
call send_back  ; 480 (0x01e0)

lri $AR1,    #0x9c83
lri $IX1,    #0x6524
lri $WR1,    #0xaca4
cw 0x15
call send_back  ; 481 (0x01e1)

lri $AR1,    #0x1999
lri $IX1,    #0x3280
lri $WR1,    #0x20e4
cw 0x15
call send_back  ; 482 (0x01e2)

lri $AR1,    #0x6aa3
lri $IX1,    #0xcfe6
lri $WR1,    #0x845b
cw 0x15
call send_back  ; 483 (0x01e3)

lri $AR1,    #0x8330
lri $IX1,    #0x84be
lri $WR1,    #0xe5a7
cw 0x15
call send_back  ; 484 (0x01e4)

lri $AR1,    #0x8764
lri $IX1,    #0x41a0
lri $WR1,    #0x9598
cw 0x15
call send_back  ; 485 (0x01e5)

lri $AR1,    #0x5405
lri $IX1,    #0x0b42
lri $WR1,    #0x6c9b
cw 0x15
call send_back  ; 486 (0x01e6)

lri $AR1,    #0xe7e2
lri $IX1,    #0x6d2a
lri $WR1,    #0x732c
cw 0x15
call send_back  ; 487 (0x01e7)

lri $AR1,    #0x21fb
lri $IX1,    #0xc62e
lri $WR1,    #0x83fb
cw 0x15
call send_back  ; 488 (0x01e8)

lri $AR1,    #0xb30e
lri $IX1,    #0x799e
lri $WR1,    #0x27c0
cw 0x15
call send_back  ; 489 (0x01e9)

lri $AR1,    #0x4108
lri $IX1,    #0xf41a
lri $WR1,    #0x985a
cw 0x15
call send_back  ; 490 (0x01ea)

lri $AR1,    #0x6e02
lri $IX1,    #0x23e0
lri $WR1,    #0xea40
cw 0x15
call send_back  ; 491 (0x01eb)

lri $AR1,    #0x1c38
lri $IX1,    #0xa0c8
lri $WR1,    #0xb0d6
cw 0x15
call send_back  ; 492 (0x01ec)

lri $AR1,    #0xc3be
lri $IX1,    #0x6882
lri $WR1,    #0x6bc0
cw 0x15
call send_back  ; 493 (0x01ed)

lri $AR1,    #0x5e38
lri $IX1,    #0xe860
lri $WR1,    #0x88b6
cw 0x15
call send_back  ; 494 (0x01ee)

lri $AR1,    #0xb07a
lri $IX1,    #0x2e4e
lri $WR1,    #0xa6e8
cw 0x15
call send_back  ; 495 (0x01ef)

lri $AR1,    #0x7158
lri $IX1,    #0xa728
lri $WR1,    #0x6e97
cw 0x15
call send_back  ; 496 (0x01f0)

lri $AR1,    #0xd867
lri $IX1,    #0xe932
lri $WR1,    #0x98d6
cw 0x15
call send_back  ; 497 (0x01f1)

lri $AR1,    #0x5f1c
lri $IX1,    #0xcdba
lri $WR1,    #0x1117
cw 0x15
call send_back  ; 498 (0x01f2)

lri $AR1,    #0x51fb
lri $IX1,    #0xadc2
lri $WR1,    #0xcb8d
cw 0x15
call send_back  ; 499 (0x01f3)

lri $AR1,    #0x973e
lri $IX1,    #0x11bc
lri $WR1,    #0xe0f6
cw 0x15
call send_back  ; 500 (0x01f4)

lri $AR1,    #0x2bb6
lri $IX1,    #0xad24
lri $WR1,    #0x99d8
cw 0x15
call send_back  ; 501 (0x01f5)

lri $AR1,    #0x2638
lri $IX1,    #0x3314
lri $WR1,    #0xb0c4
cw 0x15
call send_back  ; 502 (0x01f6)

lri $AR1,    #0x756d
lri $IX1,    #0x9192
lri $WR1,    #0x94b2
cw 0x15
call send_back  ; 503 (0x01f7)

lri $AR1,    #0xe34b
lri $IX1,    #0x8dae
lri $WR1,    #0x3a03
cw 0x15
call send_back  ; 504 (0x01f8)

lri $AR1,    #0x950f
lri $IX1,    #0xb34e
lri $WR1,    #0x7232
cw 0x15
call send_back  ; 505 (0x01f9)

lri $AR1,    #0x1e06
lri $IX1,    #0x2fa2
lri $WR1,    #0x2fd6
cw 0x15
call send_back  ; 506 (0x01fa)

lri $AR1,    #0xaef0
lri $IX1,    #0x9e1a
lri $WR1,    #0x6def
cw 0x15
call send_back  ; 507 (0x01fb)

lri $AR1,    #0xd353
lri $IX1,    #0x2bf8
lri $WR1,    #0x8723
cw 0x15
call send_back  ; 508 (0x01fc)

lri $AR1,    #0x698e
lri $IX1,    #0xdf32
lri $WR1,    #0x82e9
cw 0x15
call send_back  ; 509 (0x01fd)

lri $AR1,    #0x71f8
lri $IX1,    #0x61de
lri $WR1,    #0x9c41
cw 0x15
call send_back  ; 510 (0x01fe)

lri $AR1,    #0x54dc
lri $IX1,    #0x93c2
lri $WR1,    #0x66f5
cw 0x15
call send_back  ; 511 (0x01ff)

lri $AR1,    #0xb6a5
lri $IX1,    #0x705a
lri $WR1,    #0xde17
cw 0x15
call send_back  ; 512 (0x0200)

lri $AR1,    #0xbd08
lri $IX1,    #0xafde
lri $WR1,    #0x2f9d
cw 0x15
call send_back  ; 513 (0x0201)

lri $AR1,    #0xa779
lri $IX1,    #0x0e8c
lri $WR1,    #0xa6d0
cw 0x15
call send_back  ; 514 (0x0202)

lri $AR1,    #0x30c2
lri $IX1,    #0x75f8
lri $WR1,    #0x888e
cw 0x15
call send_back  ; 515 (0x0203)

lri $AR1,    #0x3709
lri $IX1,    #0x805c
lri $WR1,    #0x69f6
cw 0x15
call send_back  ; 516 (0x0204)

lri $AR1,    #0x8309
lri $IX1,    #0x16de
lri $WR1,    #0xe380
cw 0x15
call send_back  ; 517 (0x0205)

lri $AR1,    #0x96ea
lri $IX1,    #0x5fba
lri $WR1,    #0x6026
cw 0x15
call send_back  ; 518 (0x0206)

lri $AR1,    #0x906b
lri $IX1,    #0xf230
lri $WR1,    #0x899a
cw 0x15
call send_back  ; 519 (0x0207)

lri $AR1,    #0x41bb
lri $IX1,    #0x724e
lri $WR1,    #0x582e
cw 0x15
call send_back  ; 520 (0x0208)

lri $AR1,    #0x8fd4
lri $IX1,    #0x6f50
lri $WR1,    #0x7660
cw 0x15
call send_back  ; 521 (0x0209)

lri $AR1,    #0x44a6
lri $IX1,    #0xc3b8
lri $WR1,    #0xd5be
cw 0x15
call send_back  ; 522 (0x020a)

lri $AR1,    #0xb6d5
lri $IX1,    #0xe6e8
lri $WR1,    #0x6414
cw 0x15
call send_back  ; 523 (0x020b)

lri $AR1,    #0x5072
lri $IX1,    #0xbc46
lri $WR1,    #0xa588
cw 0x15
call send_back  ; 524 (0x020c)

lri $AR1,    #0x7967
lri $IX1,    #0x94d4
lri $WR1,    #0x71a4
cw 0x15
call send_back  ; 525 (0x020d)

lri $AR1,    #0x9a00
lri $IX1,    #0x6c26
lri $WR1,    #0x0eed
cw 0x15
call send_back  ; 526 (0x020e)

lri $AR1,    #0x2d39
lri $IX1,    #0x0aa6
lri $WR1,    #0x4a0d
cw 0x15
call send_back  ; 527 (0x020f)

lri $AR1,    #0x925b
lri $IX1,    #0xc326
lri $WR1,    #0x4b23
cw 0x15
call send_back  ; 528 (0x0210)

lri $AR1,    #0xd876
lri $IX1,    #0x1a94
lri $WR1,    #0xb547
cw 0x15
call send_back  ; 529 (0x0211)

lri $AR1,    #0x7e40
lri $IX1,    #0xece6
lri $WR1,    #0x69dd
cw 0x15
call send_back  ; 530 (0x0212)

lri $AR1,    #0x7409
lri $IX1,    #0xb2f8
lri $WR1,    #0x7aac
cw 0x15
call send_back  ; 531 (0x0213)

lri $AR1,    #0x751f
lri $IX1,    #0x8994
lri $WR1,    #0xcb74
cw 0x15
call send_back  ; 532 (0x0214)

lri $AR1,    #0x696c
lri $IX1,    #0xa242
lri $WR1,    #0x7ce0
cw 0x15
call send_back  ; 533 (0x0215)

lri $AR1,    #0xcfaa
lri $IX1,    #0xfb22
lri $WR1,    #0x5891
cw 0x15
call send_back  ; 534 (0x0216)

lri $AR1,    #0x93ec
lri $IX1,    #0xbb74
lri $WR1,    #0x7736
cw 0x15
call send_back  ; 535 (0x0217)

lri $AR1,    #0x8dd9
lri $IX1,    #0x7f00
lri $WR1,    #0x9f4e
cw 0x15
call send_back  ; 536 (0x0218)

lri $AR1,    #0x8d6f
lri $IX1,    #0x5316
lri $WR1,    #0xc49b
cw 0x15
call send_back  ; 537 (0x0219)

lri $AR1,    #0x3c78
lri $IX1,    #0x4c50
lri $WR1,    #0x7de4
cw 0x15
call send_back  ; 538 (0x021a)

lri $AR1,    #0x8ec1
lri $IX1,    #0x8cb6
lri $WR1,    #0x9801
cw 0x15
call send_back  ; 539 (0x021b)

lri $AR1,    #0x6223
lri $IX1,    #0x6ea2
lri $WR1,    #0x82d4
cw 0x15
call send_back  ; 540 (0x021c)

lri $AR1,    #0x2b59
lri $IX1,    #0x70d6
lri $WR1,    #0x8e3f
cw 0x15
call send_back  ; 541 (0x021d)

lri $AR1,    #0x7bdc
lri $IX1,    #0x952a
lri $WR1,    #0xaa8b
cw 0x15
call send_back  ; 542 (0x021e)

lri $AR1,    #0x30a1
lri $IX1,    #0x4366
lri $WR1,    #0x817f
cw 0x15
call send_back  ; 543 (0x021f)

lri $AR1,    #0x9109
lri $IX1,    #0x8e7a
lri $WR1,    #0xa289
cw 0x15
call send_back  ; 544 (0x0220)

lri $AR1,    #0xf0c1
lri $IX1,    #0x12c6
lri $WR1,    #0x8626
cw 0x15
call send_back  ; 545 (0x0221)

lri $AR1,    #0x6700
lri $IX1,    #0xa8b6
lri $WR1,    #0xba0f
cw 0x15
call send_back  ; 546 (0x0222)

lri $AR1,    #0xc0de
lri $IX1,    #0xf732
lri $WR1,    #0x7939
cw 0x15
call send_back  ; 547 (0x0223)

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