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

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

lri $AR1,    #0x4000
lri $IX1,    #0x0281
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 642 (0x0282)

lri $AR1,    #0x4000
lri $IX1,    #0x0282
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 643 (0x0283)

lri $AR1,    #0x4000
lri $IX1,    #0x0283
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 644 (0x0284)

lri $AR1,    #0x4000
lri $IX1,    #0x0284
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 645 (0x0285)

lri $AR1,    #0x4000
lri $IX1,    #0x0285
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 646 (0x0286)

lri $AR1,    #0x4000
lri $IX1,    #0x0286
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 647 (0x0287)

lri $AR1,    #0x4000
lri $IX1,    #0x0287
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 648 (0x0288)

lri $AR1,    #0x4000
lri $IX1,    #0x0288
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 649 (0x0289)

lri $AR1,    #0x4000
lri $IX1,    #0x0289
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 650 (0x028a)

lri $AR1,    #0x4000
lri $IX1,    #0x028a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 651 (0x028b)

lri $AR1,    #0x4000
lri $IX1,    #0x028b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 652 (0x028c)

lri $AR1,    #0x4000
lri $IX1,    #0x028c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 653 (0x028d)

lri $AR1,    #0x4000
lri $IX1,    #0x028d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 654 (0x028e)

lri $AR1,    #0x4000
lri $IX1,    #0x028e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 655 (0x028f)

lri $AR1,    #0x4000
lri $IX1,    #0x028f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 656 (0x0290)

lri $AR1,    #0x4000
lri $IX1,    #0x0290
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 657 (0x0291)

lri $AR1,    #0x4000
lri $IX1,    #0x0291
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 658 (0x0292)

lri $AR1,    #0x4000
lri $IX1,    #0x0292
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 659 (0x0293)

lri $AR1,    #0x4000
lri $IX1,    #0x0293
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 660 (0x0294)

lri $AR1,    #0x4000
lri $IX1,    #0x0294
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 661 (0x0295)

lri $AR1,    #0x4000
lri $IX1,    #0x0295
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 662 (0x0296)

lri $AR1,    #0x4000
lri $IX1,    #0x0296
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 663 (0x0297)

lri $AR1,    #0x4000
lri $IX1,    #0x0297
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 664 (0x0298)

lri $AR1,    #0x4000
lri $IX1,    #0x0298
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 665 (0x0299)

lri $AR1,    #0x4000
lri $IX1,    #0x0299
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 666 (0x029a)

lri $AR1,    #0x4000
lri $IX1,    #0x029a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 667 (0x029b)

lri $AR1,    #0x4000
lri $IX1,    #0x029b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 668 (0x029c)

lri $AR1,    #0x4000
lri $IX1,    #0x029c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 669 (0x029d)

lri $AR1,    #0x4000
lri $IX1,    #0x029d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 670 (0x029e)

lri $AR1,    #0x4000
lri $IX1,    #0x029e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 671 (0x029f)

lri $AR1,    #0x4000
lri $IX1,    #0x029f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 672 (0x02a0)

lri $AR1,    #0x4000
lri $IX1,    #0x02a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 673 (0x02a1)

lri $AR1,    #0x4000
lri $IX1,    #0x02a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 674 (0x02a2)

lri $AR1,    #0x4000
lri $IX1,    #0x02a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 675 (0x02a3)

lri $AR1,    #0x4000
lri $IX1,    #0x02a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 676 (0x02a4)

lri $AR1,    #0x4000
lri $IX1,    #0x02a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 677 (0x02a5)

lri $AR1,    #0x4000
lri $IX1,    #0x02a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 678 (0x02a6)

lri $AR1,    #0x4000
lri $IX1,    #0x02a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 679 (0x02a7)

lri $AR1,    #0x4000
lri $IX1,    #0x02a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 680 (0x02a8)

lri $AR1,    #0x4000
lri $IX1,    #0x02a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 681 (0x02a9)

lri $AR1,    #0x4000
lri $IX1,    #0x02a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 682 (0x02aa)

lri $AR1,    #0x4000
lri $IX1,    #0x02aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 683 (0x02ab)

lri $AR1,    #0x4000
lri $IX1,    #0x02ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 684 (0x02ac)

lri $AR1,    #0x4000
lri $IX1,    #0x02ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 685 (0x02ad)

lri $AR1,    #0x4000
lri $IX1,    #0x02ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 686 (0x02ae)

lri $AR1,    #0x4000
lri $IX1,    #0x02ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 687 (0x02af)

lri $AR1,    #0x4000
lri $IX1,    #0x02af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 688 (0x02b0)

lri $AR1,    #0x4000
lri $IX1,    #0x02b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 689 (0x02b1)

lri $AR1,    #0x4000
lri $IX1,    #0x02b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 690 (0x02b2)

lri $AR1,    #0x4000
lri $IX1,    #0x02b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 691 (0x02b3)

lri $AR1,    #0x4000
lri $IX1,    #0x02b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 692 (0x02b4)

lri $AR1,    #0x4000
lri $IX1,    #0x02b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 693 (0x02b5)

lri $AR1,    #0x4000
lri $IX1,    #0x02b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 694 (0x02b6)

lri $AR1,    #0x4000
lri $IX1,    #0x02b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 695 (0x02b7)

lri $AR1,    #0x4000
lri $IX1,    #0x02b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 696 (0x02b8)

lri $AR1,    #0x4000
lri $IX1,    #0x02b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 697 (0x02b9)

lri $AR1,    #0x4000
lri $IX1,    #0x02b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 698 (0x02ba)

lri $AR1,    #0x4000
lri $IX1,    #0x02ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 699 (0x02bb)

lri $AR1,    #0x4000
lri $IX1,    #0x02bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 700 (0x02bc)

lri $AR1,    #0x4000
lri $IX1,    #0x02bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 701 (0x02bd)

lri $AR1,    #0x4000
lri $IX1,    #0x02bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 702 (0x02be)

lri $AR1,    #0x4000
lri $IX1,    #0x02be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 703 (0x02bf)

lri $AR1,    #0x4000
lri $IX1,    #0x02bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 704 (0x02c0)

lri $AR1,    #0x4000
lri $IX1,    #0x02c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 705 (0x02c1)

lri $AR1,    #0x4000
lri $IX1,    #0x02c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 706 (0x02c2)

lri $AR1,    #0x4000
lri $IX1,    #0x02c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 707 (0x02c3)

lri $AR1,    #0x4000
lri $IX1,    #0x02c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 708 (0x02c4)

lri $AR1,    #0x4000
lri $IX1,    #0x02c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 709 (0x02c5)

lri $AR1,    #0x4000
lri $IX1,    #0x02c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 710 (0x02c6)

lri $AR1,    #0x4000
lri $IX1,    #0x02c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 711 (0x02c7)

lri $AR1,    #0x4000
lri $IX1,    #0x02c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 712 (0x02c8)

lri $AR1,    #0x4000
lri $IX1,    #0x02c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 713 (0x02c9)

lri $AR1,    #0x4000
lri $IX1,    #0x02c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 714 (0x02ca)

lri $AR1,    #0x4000
lri $IX1,    #0x02ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 715 (0x02cb)

lri $AR1,    #0x4000
lri $IX1,    #0x02cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 716 (0x02cc)

lri $AR1,    #0x4000
lri $IX1,    #0x02cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 717 (0x02cd)

lri $AR1,    #0x4000
lri $IX1,    #0x02cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 718 (0x02ce)

lri $AR1,    #0x4000
lri $IX1,    #0x02ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 719 (0x02cf)

lri $AR1,    #0x4000
lri $IX1,    #0x02cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 720 (0x02d0)

lri $AR1,    #0x4000
lri $IX1,    #0x02d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 721 (0x02d1)

lri $AR1,    #0x4000
lri $IX1,    #0x02d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 722 (0x02d2)

lri $AR1,    #0x4000
lri $IX1,    #0x02d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 723 (0x02d3)

lri $AR1,    #0x4000
lri $IX1,    #0x02d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 724 (0x02d4)

lri $AR1,    #0x4000
lri $IX1,    #0x02d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 725 (0x02d5)

lri $AR1,    #0x4000
lri $IX1,    #0x02d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 726 (0x02d6)

lri $AR1,    #0x4000
lri $IX1,    #0x02d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 727 (0x02d7)

lri $AR1,    #0x4000
lri $IX1,    #0x02d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 728 (0x02d8)

lri $AR1,    #0x4000
lri $IX1,    #0x02d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 729 (0x02d9)

lri $AR1,    #0x4000
lri $IX1,    #0x02d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 730 (0x02da)

lri $AR1,    #0x4000
lri $IX1,    #0x02da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 731 (0x02db)

lri $AR1,    #0x4000
lri $IX1,    #0x02db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 732 (0x02dc)

lri $AR1,    #0x4000
lri $IX1,    #0x02dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 733 (0x02dd)

lri $AR1,    #0x4000
lri $IX1,    #0x02dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 734 (0x02de)

lri $AR1,    #0x4000
lri $IX1,    #0x02de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 735 (0x02df)

lri $AR1,    #0x4000
lri $IX1,    #0x02df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 736 (0x02e0)

lri $AR1,    #0x4000
lri $IX1,    #0x02e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 737 (0x02e1)

lri $AR1,    #0x4000
lri $IX1,    #0x02e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 738 (0x02e2)

lri $AR1,    #0x4000
lri $IX1,    #0x02e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 739 (0x02e3)

lri $AR1,    #0x4000
lri $IX1,    #0x02e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 740 (0x02e4)

lri $AR1,    #0x4000
lri $IX1,    #0x02e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 741 (0x02e5)

lri $AR1,    #0x4000
lri $IX1,    #0x02e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 742 (0x02e6)

lri $AR1,    #0x4000
lri $IX1,    #0x02e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 743 (0x02e7)

lri $AR1,    #0x4000
lri $IX1,    #0x02e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 744 (0x02e8)

lri $AR1,    #0x4000
lri $IX1,    #0x02e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 745 (0x02e9)

lri $AR1,    #0x4000
lri $IX1,    #0x02e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 746 (0x02ea)

lri $AR1,    #0x4000
lri $IX1,    #0x02ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 747 (0x02eb)

lri $AR1,    #0x4000
lri $IX1,    #0x02eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 748 (0x02ec)

lri $AR1,    #0x4000
lri $IX1,    #0x02ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 749 (0x02ed)

lri $AR1,    #0x4000
lri $IX1,    #0x02ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 750 (0x02ee)

lri $AR1,    #0x4000
lri $IX1,    #0x02ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 751 (0x02ef)

lri $AR1,    #0x4000
lri $IX1,    #0x02ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 752 (0x02f0)

lri $AR1,    #0x4000
lri $IX1,    #0x02f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 753 (0x02f1)

lri $AR1,    #0x4000
lri $IX1,    #0x02f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 754 (0x02f2)

lri $AR1,    #0x4000
lri $IX1,    #0x02f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 755 (0x02f3)

lri $AR1,    #0x4000
lri $IX1,    #0x02f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 756 (0x02f4)

lri $AR1,    #0x4000
lri $IX1,    #0x02f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 757 (0x02f5)

lri $AR1,    #0x4000
lri $IX1,    #0x02f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 758 (0x02f6)

lri $AR1,    #0x4000
lri $IX1,    #0x02f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 759 (0x02f7)

lri $AR1,    #0x4000
lri $IX1,    #0x02f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 760 (0x02f8)

lri $AR1,    #0x4000
lri $IX1,    #0x02f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 761 (0x02f9)

lri $AR1,    #0x4000
lri $IX1,    #0x02f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 762 (0x02fa)

lri $AR1,    #0x4000
lri $IX1,    #0x02fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 763 (0x02fb)

lri $AR1,    #0x4000
lri $IX1,    #0x02fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 764 (0x02fc)

lri $AR1,    #0x4000
lri $IX1,    #0x02fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 765 (0x02fd)

lri $AR1,    #0x4000
lri $IX1,    #0x02fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 766 (0x02fe)

lri $AR1,    #0x4000
lri $IX1,    #0x02fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 767 (0x02ff)

lri $AR1,    #0x4000
lri $IX1,    #0x02ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 768 (0x0300)

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

