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

lri $AR1,    #0x4000
lri $IX1,    #0x0200
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 513 (0x0201)

lri $AR1,    #0x4000
lri $IX1,    #0x0201
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 514 (0x0202)

lri $AR1,    #0x4000
lri $IX1,    #0x0202
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 515 (0x0203)

lri $AR1,    #0x4000
lri $IX1,    #0x0203
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 516 (0x0204)

lri $AR1,    #0x4000
lri $IX1,    #0x0204
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 517 (0x0205)

lri $AR1,    #0x4000
lri $IX1,    #0x0205
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 518 (0x0206)

lri $AR1,    #0x4000
lri $IX1,    #0x0206
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 519 (0x0207)

lri $AR1,    #0x4000
lri $IX1,    #0x0207
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 520 (0x0208)

lri $AR1,    #0x4000
lri $IX1,    #0x0208
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 521 (0x0209)

lri $AR1,    #0x4000
lri $IX1,    #0x0209
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 522 (0x020a)

lri $AR1,    #0x4000
lri $IX1,    #0x020a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 523 (0x020b)

lri $AR1,    #0x4000
lri $IX1,    #0x020b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 524 (0x020c)

lri $AR1,    #0x4000
lri $IX1,    #0x020c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 525 (0x020d)

lri $AR1,    #0x4000
lri $IX1,    #0x020d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 526 (0x020e)

lri $AR1,    #0x4000
lri $IX1,    #0x020e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 527 (0x020f)

lri $AR1,    #0x4000
lri $IX1,    #0x020f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 528 (0x0210)

lri $AR1,    #0x4000
lri $IX1,    #0x0210
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 529 (0x0211)

lri $AR1,    #0x4000
lri $IX1,    #0x0211
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 530 (0x0212)

lri $AR1,    #0x4000
lri $IX1,    #0x0212
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 531 (0x0213)

lri $AR1,    #0x4000
lri $IX1,    #0x0213
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 532 (0x0214)

lri $AR1,    #0x4000
lri $IX1,    #0x0214
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 533 (0x0215)

lri $AR1,    #0x4000
lri $IX1,    #0x0215
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 534 (0x0216)

lri $AR1,    #0x4000
lri $IX1,    #0x0216
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 535 (0x0217)

lri $AR1,    #0x4000
lri $IX1,    #0x0217
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 536 (0x0218)

lri $AR1,    #0x4000
lri $IX1,    #0x0218
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 537 (0x0219)

lri $AR1,    #0x4000
lri $IX1,    #0x0219
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 538 (0x021a)

lri $AR1,    #0x4000
lri $IX1,    #0x021a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 539 (0x021b)

lri $AR1,    #0x4000
lri $IX1,    #0x021b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 540 (0x021c)

lri $AR1,    #0x4000
lri $IX1,    #0x021c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 541 (0x021d)

lri $AR1,    #0x4000
lri $IX1,    #0x021d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 542 (0x021e)

lri $AR1,    #0x4000
lri $IX1,    #0x021e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 543 (0x021f)

lri $AR1,    #0x4000
lri $IX1,    #0x021f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 544 (0x0220)

lri $AR1,    #0x4000
lri $IX1,    #0x0220
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 545 (0x0221)

lri $AR1,    #0x4000
lri $IX1,    #0x0221
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 546 (0x0222)

lri $AR1,    #0x4000
lri $IX1,    #0x0222
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 547 (0x0223)

lri $AR1,    #0x4000
lri $IX1,    #0x0223
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 548 (0x0224)

lri $AR1,    #0x4000
lri $IX1,    #0x0224
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 549 (0x0225)

lri $AR1,    #0x4000
lri $IX1,    #0x0225
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 550 (0x0226)

lri $AR1,    #0x4000
lri $IX1,    #0x0226
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 551 (0x0227)

lri $AR1,    #0x4000
lri $IX1,    #0x0227
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 552 (0x0228)

lri $AR1,    #0x4000
lri $IX1,    #0x0228
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 553 (0x0229)

lri $AR1,    #0x4000
lri $IX1,    #0x0229
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 554 (0x022a)

lri $AR1,    #0x4000
lri $IX1,    #0x022a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 555 (0x022b)

lri $AR1,    #0x4000
lri $IX1,    #0x022b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 556 (0x022c)

lri $AR1,    #0x4000
lri $IX1,    #0x022c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 557 (0x022d)

lri $AR1,    #0x4000
lri $IX1,    #0x022d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 558 (0x022e)

lri $AR1,    #0x4000
lri $IX1,    #0x022e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 559 (0x022f)

lri $AR1,    #0x4000
lri $IX1,    #0x022f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 560 (0x0230)

lri $AR1,    #0x4000
lri $IX1,    #0x0230
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 561 (0x0231)

lri $AR1,    #0x4000
lri $IX1,    #0x0231
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 562 (0x0232)

lri $AR1,    #0x4000
lri $IX1,    #0x0232
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 563 (0x0233)

lri $AR1,    #0x4000
lri $IX1,    #0x0233
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 564 (0x0234)

lri $AR1,    #0x4000
lri $IX1,    #0x0234
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 565 (0x0235)

lri $AR1,    #0x4000
lri $IX1,    #0x0235
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 566 (0x0236)

lri $AR1,    #0x4000
lri $IX1,    #0x0236
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 567 (0x0237)

lri $AR1,    #0x4000
lri $IX1,    #0x0237
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 568 (0x0238)

lri $AR1,    #0x4000
lri $IX1,    #0x0238
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 569 (0x0239)

lri $AR1,    #0x4000
lri $IX1,    #0x0239
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 570 (0x023a)

lri $AR1,    #0x4000
lri $IX1,    #0x023a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 571 (0x023b)

lri $AR1,    #0x4000
lri $IX1,    #0x023b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 572 (0x023c)

lri $AR1,    #0x4000
lri $IX1,    #0x023c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 573 (0x023d)

lri $AR1,    #0x4000
lri $IX1,    #0x023d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 574 (0x023e)

lri $AR1,    #0x4000
lri $IX1,    #0x023e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 575 (0x023f)

lri $AR1,    #0x4000
lri $IX1,    #0x023f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 576 (0x0240)

lri $AR1,    #0x4000
lri $IX1,    #0x0240
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 577 (0x0241)

lri $AR1,    #0x4000
lri $IX1,    #0x0241
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 578 (0x0242)

lri $AR1,    #0x4000
lri $IX1,    #0x0242
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 579 (0x0243)

lri $AR1,    #0x4000
lri $IX1,    #0x0243
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 580 (0x0244)

lri $AR1,    #0x4000
lri $IX1,    #0x0244
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 581 (0x0245)

lri $AR1,    #0x4000
lri $IX1,    #0x0245
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 582 (0x0246)

lri $AR1,    #0x4000
lri $IX1,    #0x0246
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 583 (0x0247)

lri $AR1,    #0x4000
lri $IX1,    #0x0247
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 584 (0x0248)

lri $AR1,    #0x4000
lri $IX1,    #0x0248
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 585 (0x0249)

lri $AR1,    #0x4000
lri $IX1,    #0x0249
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 586 (0x024a)

lri $AR1,    #0x4000
lri $IX1,    #0x024a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 587 (0x024b)

lri $AR1,    #0x4000
lri $IX1,    #0x024b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 588 (0x024c)

lri $AR1,    #0x4000
lri $IX1,    #0x024c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 589 (0x024d)

lri $AR1,    #0x4000
lri $IX1,    #0x024d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 590 (0x024e)

lri $AR1,    #0x4000
lri $IX1,    #0x024e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 591 (0x024f)

lri $AR1,    #0x4000
lri $IX1,    #0x024f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 592 (0x0250)

lri $AR1,    #0x4000
lri $IX1,    #0x0250
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 593 (0x0251)

lri $AR1,    #0x4000
lri $IX1,    #0x0251
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 594 (0x0252)

lri $AR1,    #0x4000
lri $IX1,    #0x0252
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 595 (0x0253)

lri $AR1,    #0x4000
lri $IX1,    #0x0253
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 596 (0x0254)

lri $AR1,    #0x4000
lri $IX1,    #0x0254
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 597 (0x0255)

lri $AR1,    #0x4000
lri $IX1,    #0x0255
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 598 (0x0256)

lri $AR1,    #0x4000
lri $IX1,    #0x0256
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 599 (0x0257)

lri $AR1,    #0x4000
lri $IX1,    #0x0257
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 600 (0x0258)

lri $AR1,    #0x4000
lri $IX1,    #0x0258
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 601 (0x0259)

lri $AR1,    #0x4000
lri $IX1,    #0x0259
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 602 (0x025a)

lri $AR1,    #0x4000
lri $IX1,    #0x025a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 603 (0x025b)

lri $AR1,    #0x4000
lri $IX1,    #0x025b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 604 (0x025c)

lri $AR1,    #0x4000
lri $IX1,    #0x025c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 605 (0x025d)

lri $AR1,    #0x4000
lri $IX1,    #0x025d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 606 (0x025e)

lri $AR1,    #0x4000
lri $IX1,    #0x025e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 607 (0x025f)

lri $AR1,    #0x4000
lri $IX1,    #0x025f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 608 (0x0260)

lri $AR1,    #0x4000
lri $IX1,    #0x0260
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 609 (0x0261)

lri $AR1,    #0x4000
lri $IX1,    #0x0261
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 610 (0x0262)

lri $AR1,    #0x4000
lri $IX1,    #0x0262
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 611 (0x0263)

lri $AR1,    #0x4000
lri $IX1,    #0x0263
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 612 (0x0264)

lri $AR1,    #0x4000
lri $IX1,    #0x0264
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 613 (0x0265)

lri $AR1,    #0x4000
lri $IX1,    #0x0265
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 614 (0x0266)

lri $AR1,    #0x4000
lri $IX1,    #0x0266
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 615 (0x0267)

lri $AR1,    #0x4000
lri $IX1,    #0x0267
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 616 (0x0268)

lri $AR1,    #0x4000
lri $IX1,    #0x0268
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 617 (0x0269)

lri $AR1,    #0x4000
lri $IX1,    #0x0269
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 618 (0x026a)

lri $AR1,    #0x4000
lri $IX1,    #0x026a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 619 (0x026b)

lri $AR1,    #0x4000
lri $IX1,    #0x026b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 620 (0x026c)

lri $AR1,    #0x4000
lri $IX1,    #0x026c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 621 (0x026d)

lri $AR1,    #0x4000
lri $IX1,    #0x026d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 622 (0x026e)

lri $AR1,    #0x4000
lri $IX1,    #0x026e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 623 (0x026f)

lri $AR1,    #0x4000
lri $IX1,    #0x026f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 624 (0x0270)

lri $AR1,    #0x4000
lri $IX1,    #0x0270
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 625 (0x0271)

lri $AR1,    #0x4000
lri $IX1,    #0x0271
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 626 (0x0272)

lri $AR1,    #0x4000
lri $IX1,    #0x0272
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 627 (0x0273)

lri $AR1,    #0x4000
lri $IX1,    #0x0273
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 628 (0x0274)

lri $AR1,    #0x4000
lri $IX1,    #0x0274
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 629 (0x0275)

lri $AR1,    #0x4000
lri $IX1,    #0x0275
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 630 (0x0276)

lri $AR1,    #0x4000
lri $IX1,    #0x0276
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 631 (0x0277)

lri $AR1,    #0x4000
lri $IX1,    #0x0277
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 632 (0x0278)

lri $AR1,    #0x4000
lri $IX1,    #0x0278
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 633 (0x0279)

lri $AR1,    #0x4000
lri $IX1,    #0x0279
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 634 (0x027a)

lri $AR1,    #0x4000
lri $IX1,    #0x027a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 635 (0x027b)

lri $AR1,    #0x4000
lri $IX1,    #0x027b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 636 (0x027c)

lri $AR1,    #0x4000
lri $IX1,    #0x027c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 637 (0x027d)

lri $AR1,    #0x4000
lri $IX1,    #0x027d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 638 (0x027e)

lri $AR1,    #0x4000
lri $IX1,    #0x027e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 639 (0x027f)

lri $AR1,    #0x4000
lri $IX1,    #0x027f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 640 (0x0280)

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

