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

lri $AR1,    #0xd772
lri $IX1,    #0x639c
lri $WR1,    #0x6d6e
cw 0x5
call send_back  ; 513 (0x0201)

lri $AR1,    #0xb962
lri $IX1,    #0xbc22
lri $WR1,    #0x1766
cw 0x5
call send_back  ; 514 (0x0202)

lri $AR1,    #0x14ec
lri $IX1,    #0xc0c8
lri $WR1,    #0xd8d2
cw 0x5
call send_back  ; 515 (0x0203)

lri $AR1,    #0xa346
lri $IX1,    #0x5c10
lri $WR1,    #0x799a
cw 0x5
call send_back  ; 516 (0x0204)

lri $AR1,    #0x182a
lri $IX1,    #0x6a50
lri $WR1,    #0x3038
cw 0x5
call send_back  ; 517 (0x0205)

lri $AR1,    #0x57d6
lri $IX1,    #0xe9d2
lri $WR1,    #0x3ab4
cw 0x5
call send_back  ; 518 (0x0206)

lri $AR1,    #0x4f70
lri $IX1,    #0x277e
lri $WR1,    #0x576e
cw 0x5
call send_back  ; 519 (0x0207)

lri $AR1,    #0x2eaa
lri $IX1,    #0x45b4
lri $WR1,    #0x34b8
cw 0x5
call send_back  ; 520 (0x0208)

lri $AR1,    #0x2c26
lri $IX1,    #0x55d4
lri $WR1,    #0x10c0
cw 0x5
call send_back  ; 521 (0x0209)

lri $AR1,    #0x807c
lri $IX1,    #0xf6b2
lri $WR1,    #0xcf2a
cw 0x5
call send_back  ; 522 (0x020a)

lri $AR1,    #0x724a
lri $IX1,    #0xe9b8
lri $WR1,    #0x2de4
cw 0x5
call send_back  ; 523 (0x020b)

lri $AR1,    #0x7b5e
lri $IX1,    #0x78da
lri $WR1,    #0xb300
cw 0x5
call send_back  ; 524 (0x020c)

lri $AR1,    #0x3fa4
lri $IX1,    #0xefca
lri $WR1,    #0x4706
cw 0x5
call send_back  ; 525 (0x020d)

lri $AR1,    #0x4cae
lri $IX1,    #0xd28a
lri $WR1,    #0xd1d2
cw 0x5
call send_back  ; 526 (0x020e)

lri $AR1,    #0xa140
lri $IX1,    #0xcb88
lri $WR1,    #0x01d8
cw 0x5
call send_back  ; 527 (0x020f)

lri $AR1,    #0x42ce
lri $IX1,    #0x4a1e
lri $WR1,    #0xf3f4
cw 0x5
call send_back  ; 528 (0x0210)

lri $AR1,    #0xdc04
lri $IX1,    #0x8476
lri $WR1,    #0xb51e
cw 0x5
call send_back  ; 529 (0x0211)

lri $AR1,    #0x4194
lri $IX1,    #0xebc8
lri $WR1,    #0x7dc2
cw 0x5
call send_back  ; 530 (0x0212)

lri $AR1,    #0x17f2
lri $IX1,    #0xd372
lri $WR1,    #0x13a2
cw 0x5
call send_back  ; 531 (0x0213)

lri $AR1,    #0x485a
lri $IX1,    #0x6244
lri $WR1,    #0xa4ac
cw 0x5
call send_back  ; 532 (0x0214)

lri $AR1,    #0x83dc
lri $IX1,    #0x6e78
lri $WR1,    #0x2406
cw 0x5
call send_back  ; 533 (0x0215)

lri $AR1,    #0xf996
lri $IX1,    #0x131a
lri $WR1,    #0x0154
cw 0x5
call send_back  ; 534 (0x0216)

lri $AR1,    #0xea2e
lri $IX1,    #0x6962
lri $WR1,    #0xc15c
cw 0x5
call send_back  ; 535 (0x0217)

lri $AR1,    #0x300a
lri $IX1,    #0x1a0a
lri $WR1,    #0x6c52
cw 0x5
call send_back  ; 536 (0x0218)

lri $AR1,    #0xad8c
lri $IX1,    #0x8704
lri $WR1,    #0xd2fe
cw 0x5
call send_back  ; 537 (0x0219)

lri $AR1,    #0xd650
lri $IX1,    #0x4580
lri $WR1,    #0x7fde
cw 0x5
call send_back  ; 538 (0x021a)

lri $AR1,    #0xded4
lri $IX1,    #0x2624
lri $WR1,    #0xf884
cw 0x5
call send_back  ; 539 (0x021b)

lri $AR1,    #0x89d2
lri $IX1,    #0x387e
lri $WR1,    #0x1116
cw 0x5
call send_back  ; 540 (0x021c)

lri $AR1,    #0x3462
lri $IX1,    #0x329e
lri $WR1,    #0x3162
cw 0x5
call send_back  ; 541 (0x021d)

lri $AR1,    #0x3314
lri $IX1,    #0xf4ee
lri $WR1,    #0x97ee
cw 0x5
call send_back  ; 542 (0x021e)

lri $AR1,    #0xbd20
lri $IX1,    #0x4b5c
lri $WR1,    #0xae08
cw 0x5
call send_back  ; 543 (0x021f)

lri $AR1,    #0xc93e
lri $IX1,    #0xebda
lri $WR1,    #0xedac
cw 0x5
call send_back  ; 544 (0x0220)

lri $AR1,    #0xd824
lri $IX1,    #0x424c
lri $WR1,    #0x1afe
cw 0x5
call send_back  ; 545 (0x0221)

lri $AR1,    #0x0fd8
lri $IX1,    #0xe75c
lri $WR1,    #0x25f8
cw 0x5
call send_back  ; 546 (0x0222)

lri $AR1,    #0xe48a
lri $IX1,    #0x5c02
lri $WR1,    #0xf4e8
cw 0x5
call send_back  ; 547 (0x0223)

lri $AR1,    #0x61ae
lri $IX1,    #0x54da
lri $WR1,    #0xaf3e
cw 0x5
call send_back  ; 548 (0x0224)

lri $AR1,    #0xe334
lri $IX1,    #0x614e
lri $WR1,    #0x6eea
cw 0x5
call send_back  ; 549 (0x0225)

lri $AR1,    #0xacb4
lri $IX1,    #0x4460
lri $WR1,    #0x7b9a
cw 0x5
call send_back  ; 550 (0x0226)

lri $AR1,    #0x8720
lri $IX1,    #0xcd52
lri $WR1,    #0xcb4a
cw 0x5
call send_back  ; 551 (0x0227)

lri $AR1,    #0xbf0e
lri $IX1,    #0x7c96
lri $WR1,    #0xd3e8
cw 0x5
call send_back  ; 552 (0x0228)

lri $AR1,    #0x8f1c
lri $IX1,    #0x475e
lri $WR1,    #0x58e0
cw 0x5
call send_back  ; 553 (0x0229)

lri $AR1,    #0x0ddc
lri $IX1,    #0xe946
lri $WR1,    #0xc34c
cw 0x5
call send_back  ; 554 (0x022a)

lri $AR1,    #0x5e54
lri $IX1,    #0x484a
lri $WR1,    #0x3614
cw 0x5
call send_back  ; 555 (0x022b)

lri $AR1,    #0x5316
lri $IX1,    #0x0cd6
lri $WR1,    #0xe1b0
cw 0x5
call send_back  ; 556 (0x022c)

lri $AR1,    #0x3fb2
lri $IX1,    #0x6760
lri $WR1,    #0x2516
cw 0x5
call send_back  ; 557 (0x022d)

lri $AR1,    #0xe010
lri $IX1,    #0x9bac
lri $WR1,    #0xc89c
cw 0x5
call send_back  ; 558 (0x022e)

lri $AR1,    #0x3264
lri $IX1,    #0x73a2
lri $WR1,    #0xc302
cw 0x5
call send_back  ; 559 (0x022f)

lri $AR1,    #0x6eee
lri $IX1,    #0xa2ee
lri $WR1,    #0xcdf6
cw 0x5
call send_back  ; 560 (0x0230)

lri $AR1,    #0x2ca8
lri $IX1,    #0x529a
lri $WR1,    #0xf692
cw 0x5
call send_back  ; 561 (0x0231)

lri $AR1,    #0xb59a
lri $IX1,    #0x3292
lri $WR1,    #0xdce4
cw 0x5
call send_back  ; 562 (0x0232)

lri $AR1,    #0x0c1c
lri $IX1,    #0xbe42
lri $WR1,    #0x093a
cw 0x5
call send_back  ; 563 (0x0233)

lri $AR1,    #0x217e
lri $IX1,    #0x1516
lri $WR1,    #0x8d7c
cw 0x5
call send_back  ; 564 (0x0234)

lri $AR1,    #0x91a6
lri $IX1,    #0x8872
lri $WR1,    #0x3808
cw 0x5
call send_back  ; 565 (0x0235)

lri $AR1,    #0x13c2
lri $IX1,    #0x4dfa
lri $WR1,    #0x1080
cw 0x5
call send_back  ; 566 (0x0236)

lri $AR1,    #0x6948
lri $IX1,    #0x223a
lri $WR1,    #0x406e
cw 0x5
call send_back  ; 567 (0x0237)

lri $AR1,    #0xd214
lri $IX1,    #0x823e
lri $WR1,    #0x44ca
cw 0x5
call send_back  ; 568 (0x0238)

lri $AR1,    #0xfce8
lri $IX1,    #0xeaa0
lri $WR1,    #0x1f2a
cw 0x5
call send_back  ; 569 (0x0239)

lri $AR1,    #0x48d0
lri $IX1,    #0xb4fa
lri $WR1,    #0x788e
cw 0x5
call send_back  ; 570 (0x023a)

lri $AR1,    #0x4b74
lri $IX1,    #0x583a
lri $WR1,    #0x866c
cw 0x5
call send_back  ; 571 (0x023b)

lri $AR1,    #0xcfa4
lri $IX1,    #0x8468
lri $WR1,    #0x113c
cw 0x5
call send_back  ; 572 (0x023c)

lri $AR1,    #0xd446
lri $IX1,    #0x8dec
lri $WR1,    #0x1a88
cw 0x5
call send_back  ; 573 (0x023d)

lri $AR1,    #0x8272
lri $IX1,    #0xf258
lri $WR1,    #0xb91c
cw 0x5
call send_back  ; 574 (0x023e)

lri $AR1,    #0x7952
lri $IX1,    #0x7388
lri $WR1,    #0xeb3a
cw 0x5
call send_back  ; 575 (0x023f)

lri $AR1,    #0x8c80
lri $IX1,    #0x5d82
lri $WR1,    #0xe264
cw 0x5
call send_back  ; 576 (0x0240)

lri $AR1,    #0xa8e2
lri $IX1,    #0x1f5e
lri $WR1,    #0x81e4
cw 0x5
call send_back  ; 577 (0x0241)

lri $AR1,    #0x1cc8
lri $IX1,    #0x47a0
lri $WR1,    #0x8be4
cw 0x5
call send_back  ; 578 (0x0242)

lri $AR1,    #0xca90
lri $IX1,    #0x5e82
lri $WR1,    #0xdbac
cw 0x5
call send_back  ; 579 (0x0243)

lri $AR1,    #0xbe8c
lri $IX1,    #0x76be
lri $WR1,    #0x5c12
cw 0x5
call send_back  ; 580 (0x0244)

lri $AR1,    #0x712c
lri $IX1,    #0x95fe
lri $WR1,    #0x6108
cw 0x5
call send_back  ; 581 (0x0245)

lri $AR1,    #0xa1cc
lri $IX1,    #0x8ebe
lri $WR1,    #0x7b8a
cw 0x5
call send_back  ; 582 (0x0246)

lri $AR1,    #0xd62e
lri $IX1,    #0x2f8a
lri $WR1,    #0x027c
cw 0x5
call send_back  ; 583 (0x0247)

lri $AR1,    #0x1bf8
lri $IX1,    #0x0a66
lri $WR1,    #0x38c6
cw 0x5
call send_back  ; 584 (0x0248)

lri $AR1,    #0x4186
lri $IX1,    #0x6908
lri $WR1,    #0xb524
cw 0x5
call send_back  ; 585 (0x0249)

lri $AR1,    #0x7156
lri $IX1,    #0x2210
lri $WR1,    #0x8b46
cw 0x5
call send_back  ; 586 (0x024a)

lri $AR1,    #0xdb54
lri $IX1,    #0xce7e
lri $WR1,    #0x37e0
cw 0x5
call send_back  ; 587 (0x024b)

lri $AR1,    #0xec7e
lri $IX1,    #0x5038
lri $WR1,    #0x24aa
cw 0x5
call send_back  ; 588 (0x024c)

lri $AR1,    #0x9b5a
lri $IX1,    #0x02a2
lri $WR1,    #0xf49e
cw 0x5
call send_back  ; 589 (0x024d)

lri $AR1,    #0x8988
lri $IX1,    #0x630a
lri $WR1,    #0x032c
cw 0x5
call send_back  ; 590 (0x024e)

lri $AR1,    #0x3cb0
lri $IX1,    #0xe2bc
lri $WR1,    #0x97aa
cw 0x5
call send_back  ; 591 (0x024f)

lri $AR1,    #0x2710
lri $IX1,    #0x043c
lri $WR1,    #0x8902
cw 0x5
call send_back  ; 592 (0x0250)

lri $AR1,    #0xeaac
lri $IX1,    #0xa718
lri $WR1,    #0x3976
cw 0x5
call send_back  ; 593 (0x0251)

lri $AR1,    #0x67d2
lri $IX1,    #0xf73e
lri $WR1,    #0x18da
cw 0x5
call send_back  ; 594 (0x0252)

lri $AR1,    #0x664a
lri $IX1,    #0x8190
lri $WR1,    #0x55d6
cw 0x5
call send_back  ; 595 (0x0253)

lri $AR1,    #0x5412
lri $IX1,    #0xa01a
lri $WR1,    #0x4032
cw 0x5
call send_back  ; 596 (0x0254)

lri $AR1,    #0x4a3a
lri $IX1,    #0x8894
lri $WR1,    #0xe60e
cw 0x5
call send_back  ; 597 (0x0255)

lri $AR1,    #0x7a62
lri $IX1,    #0x5402
lri $WR1,    #0xacb0
cw 0x5
call send_back  ; 598 (0x0256)

lri $AR1,    #0x75d8
lri $IX1,    #0x952e
lri $WR1,    #0x69aa
cw 0x5
call send_back  ; 599 (0x0257)

lri $AR1,    #0xec1a
lri $IX1,    #0x1ef8
lri $WR1,    #0xaa2a
cw 0x5
call send_back  ; 600 (0x0258)

lri $AR1,    #0x2610
lri $IX1,    #0x3f54
lri $WR1,    #0x1c90
cw 0x5
call send_back  ; 601 (0x0259)

lri $AR1,    #0x1a1e
lri $IX1,    #0xb082
lri $WR1,    #0xd390
cw 0x5
call send_back  ; 602 (0x025a)

lri $AR1,    #0x7da0
lri $IX1,    #0x7428
lri $WR1,    #0xa746
cw 0x5
call send_back  ; 603 (0x025b)

lri $AR1,    #0x6b22
lri $IX1,    #0xa3d0
lri $WR1,    #0x1966
cw 0x5
call send_back  ; 604 (0x025c)

lri $AR1,    #0xd4a0
lri $IX1,    #0x5e5e
lri $WR1,    #0xe0c0
cw 0x5
call send_back  ; 605 (0x025d)

lri $AR1,    #0x8520
lri $IX1,    #0xf656
lri $WR1,    #0x650a
cw 0x5
call send_back  ; 606 (0x025e)

lri $AR1,    #0xb9c6
lri $IX1,    #0xa16e
lri $WR1,    #0x5fc6
cw 0x5
call send_back  ; 607 (0x025f)

lri $AR1,    #0xd03a
lri $IX1,    #0xda40
lri $WR1,    #0x105e
cw 0x5
call send_back  ; 608 (0x0260)

lri $AR1,    #0xbe5a
lri $IX1,    #0x5cc4
lri $WR1,    #0x3c50
cw 0x5
call send_back  ; 609 (0x0261)

lri $AR1,    #0xd1a6
lri $IX1,    #0xc8a0
lri $WR1,    #0x4620
cw 0x5
call send_back  ; 610 (0x0262)

lri $AR1,    #0x902e
lri $IX1,    #0x2cba
lri $WR1,    #0x1fce
cw 0x5
call send_back  ; 611 (0x0263)

lri $AR1,    #0xc1d0
lri $IX1,    #0x69ee
lri $WR1,    #0x4788
cw 0x5
call send_back  ; 612 (0x0264)

lri $AR1,    #0x2bc4
lri $IX1,    #0x8b50
lri $WR1,    #0x3dc2
cw 0x5
call send_back  ; 613 (0x0265)

lri $AR1,    #0x5190
lri $IX1,    #0x399e
lri $WR1,    #0xa874
cw 0x5
call send_back  ; 614 (0x0266)

lri $AR1,    #0xb2ca
lri $IX1,    #0xab94
lri $WR1,    #0xa4b0
cw 0x5
call send_back  ; 615 (0x0267)

lri $AR1,    #0x0e58
lri $IX1,    #0x545a
lri $WR1,    #0xf3c4
cw 0x5
call send_back  ; 616 (0x0268)

lri $AR1,    #0x5218
lri $IX1,    #0x4ec0
lri $WR1,    #0x29b8
cw 0x5
call send_back  ; 617 (0x0269)

lri $AR1,    #0x5e58
lri $IX1,    #0x46c4
lri $WR1,    #0xf60a
cw 0x5
call send_back  ; 618 (0x026a)

lri $AR1,    #0x3c78
lri $IX1,    #0x42c4
lri $WR1,    #0x9ff4
cw 0x5
call send_back  ; 619 (0x026b)

lri $AR1,    #0xc18a
lri $IX1,    #0x9532
lri $WR1,    #0x4560
cw 0x5
call send_back  ; 620 (0x026c)

lri $AR1,    #0xb64e
lri $IX1,    #0x5680
lri $WR1,    #0xb6d0
cw 0x5
call send_back  ; 621 (0x026d)

lri $AR1,    #0x0586
lri $IX1,    #0xb356
lri $WR1,    #0xa174
cw 0x5
call send_back  ; 622 (0x026e)

lri $AR1,    #0x205a
lri $IX1,    #0xb848
lri $WR1,    #0x6182
cw 0x5
call send_back  ; 623 (0x026f)

lri $AR1,    #0x8620
lri $IX1,    #0xdd36
lri $WR1,    #0x9788
cw 0x5
call send_back  ; 624 (0x0270)

lri $AR1,    #0x7ec2
lri $IX1,    #0x07e2
lri $WR1,    #0xabf8
cw 0x5
call send_back  ; 625 (0x0271)

lri $AR1,    #0x8db0
lri $IX1,    #0x597e
lri $WR1,    #0x9294
cw 0x5
call send_back  ; 626 (0x0272)

lri $AR1,    #0xc3a6
lri $IX1,    #0x05cc
lri $WR1,    #0x002a
cw 0x5
call send_back  ; 627 (0x0273)

lri $AR1,    #0x8c04
lri $IX1,    #0xbf80
lri $WR1,    #0x4840
cw 0x5
call send_back  ; 628 (0x0274)

lri $AR1,    #0xcb44
lri $IX1,    #0xd5d0
lri $WR1,    #0xb94a
cw 0x5
call send_back  ; 629 (0x0275)

lri $AR1,    #0x4be4
lri $IX1,    #0x89e4
lri $WR1,    #0x67d4
cw 0x5
call send_back  ; 630 (0x0276)

lri $AR1,    #0x1a0e
lri $IX1,    #0x63ae
lri $WR1,    #0x18c2
cw 0x5
call send_back  ; 631 (0x0277)

lri $AR1,    #0xab0e
lri $IX1,    #0x296e
lri $WR1,    #0xb0e0
cw 0x5
call send_back  ; 632 (0x0278)

lri $AR1,    #0xabb6
lri $IX1,    #0xbd0e
lri $WR1,    #0xe362
cw 0x5
call send_back  ; 633 (0x0279)

lri $AR1,    #0xc1ae
lri $IX1,    #0x91ca
lri $WR1,    #0x43d2
cw 0x5
call send_back  ; 634 (0x027a)

lri $AR1,    #0x1c88
lri $IX1,    #0x4462
lri $WR1,    #0xbbc2
cw 0x5
call send_back  ; 635 (0x027b)

lri $AR1,    #0xfa3a
lri $IX1,    #0x7ce6
lri $WR1,    #0x3704
cw 0x5
call send_back  ; 636 (0x027c)

lri $AR1,    #0xcd1a
lri $IX1,    #0x9ce6
lri $WR1,    #0x5938
cw 0x5
call send_back  ; 637 (0x027d)

lri $AR1,    #0x7b8c
lri $IX1,    #0xff9c
lri $WR1,    #0x5fa8
cw 0x5
call send_back  ; 638 (0x027e)

lri $AR1,    #0xf2ae
lri $IX1,    #0x387a
lri $WR1,    #0xa158
cw 0x5
call send_back  ; 639 (0x027f)

lri $AR1,    #0x9360
lri $IX1,    #0x2542
lri $WR1,    #0xee0c
cw 0x5
call send_back  ; 640 (0x0280)

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

