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

lri $AR1,    #0x0040
lri $IX1,    #0xa6d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42708 (0xa6d4)

lri $AR1,    #0x0040
lri $IX1,    #0xa6d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42709 (0xa6d5)

lri $AR1,    #0x0040
lri $IX1,    #0xa6d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42710 (0xa6d6)

lri $AR1,    #0x0040
lri $IX1,    #0xa6d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42711 (0xa6d7)

lri $AR1,    #0x0040
lri $IX1,    #0xa6d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42712 (0xa6d8)

lri $AR1,    #0x0040
lri $IX1,    #0xa6d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42713 (0xa6d9)

lri $AR1,    #0x0040
lri $IX1,    #0xa6d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42714 (0xa6da)

lri $AR1,    #0x0040
lri $IX1,    #0xa6da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42715 (0xa6db)

lri $AR1,    #0x0040
lri $IX1,    #0xa6db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42716 (0xa6dc)

lri $AR1,    #0x0040
lri $IX1,    #0xa6dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42717 (0xa6dd)

lri $AR1,    #0x0040
lri $IX1,    #0xa6dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42718 (0xa6de)

lri $AR1,    #0x0040
lri $IX1,    #0xa6de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42719 (0xa6df)

lri $AR1,    #0x0040
lri $IX1,    #0xa6df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42720 (0xa6e0)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42721 (0xa6e1)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42722 (0xa6e2)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42723 (0xa6e3)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42724 (0xa6e4)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42725 (0xa6e5)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42726 (0xa6e6)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42727 (0xa6e7)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42728 (0xa6e8)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42729 (0xa6e9)

lri $AR1,    #0x0040
lri $IX1,    #0xa6e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42730 (0xa6ea)

lri $AR1,    #0x0040
lri $IX1,    #0xa6ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42731 (0xa6eb)

lri $AR1,    #0x0040
lri $IX1,    #0xa6eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42732 (0xa6ec)

lri $AR1,    #0x0040
lri $IX1,    #0xa6ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42733 (0xa6ed)

lri $AR1,    #0x0040
lri $IX1,    #0xa6ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42734 (0xa6ee)

lri $AR1,    #0x0040
lri $IX1,    #0xa6ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42735 (0xa6ef)

lri $AR1,    #0x0040
lri $IX1,    #0xa6ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42736 (0xa6f0)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42737 (0xa6f1)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42738 (0xa6f2)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42739 (0xa6f3)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42740 (0xa6f4)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42741 (0xa6f5)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42742 (0xa6f6)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42743 (0xa6f7)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42744 (0xa6f8)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42745 (0xa6f9)

lri $AR1,    #0x0040
lri $IX1,    #0xa6f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42746 (0xa6fa)

lri $AR1,    #0x0040
lri $IX1,    #0xa6fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42747 (0xa6fb)

lri $AR1,    #0x0040
lri $IX1,    #0xa6fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42748 (0xa6fc)

lri $AR1,    #0x0040
lri $IX1,    #0xa6fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42749 (0xa6fd)

lri $AR1,    #0x0040
lri $IX1,    #0xa6fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42750 (0xa6fe)

lri $AR1,    #0x0040
lri $IX1,    #0xa6fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42751 (0xa6ff)

lri $AR1,    #0x0040
lri $IX1,    #0xa6ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42752 (0xa700)

lri $AR1,    #0x0040
lri $IX1,    #0xa700
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42753 (0xa701)

lri $AR1,    #0x0040
lri $IX1,    #0xa701
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42754 (0xa702)

lri $AR1,    #0x0040
lri $IX1,    #0xa702
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42755 (0xa703)

lri $AR1,    #0x0040
lri $IX1,    #0xa703
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42756 (0xa704)

lri $AR1,    #0x0040
lri $IX1,    #0xa704
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42757 (0xa705)

lri $AR1,    #0x0040
lri $IX1,    #0xa705
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42758 (0xa706)

lri $AR1,    #0x0040
lri $IX1,    #0xa706
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42759 (0xa707)

lri $AR1,    #0x0040
lri $IX1,    #0xa707
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42760 (0xa708)

lri $AR1,    #0x0040
lri $IX1,    #0xa708
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42761 (0xa709)

lri $AR1,    #0x0040
lri $IX1,    #0xa709
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42762 (0xa70a)

lri $AR1,    #0x0040
lri $IX1,    #0xa70a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42763 (0xa70b)

lri $AR1,    #0x0040
lri $IX1,    #0xa70b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42764 (0xa70c)

lri $AR1,    #0x0040
lri $IX1,    #0xa70c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42765 (0xa70d)

lri $AR1,    #0x0040
lri $IX1,    #0xa70d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42766 (0xa70e)

lri $AR1,    #0x0040
lri $IX1,    #0xa70e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42767 (0xa70f)

lri $AR1,    #0x0040
lri $IX1,    #0xa70f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42768 (0xa710)

lri $AR1,    #0x0040
lri $IX1,    #0xa710
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42769 (0xa711)

lri $AR1,    #0x0040
lri $IX1,    #0xa711
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42770 (0xa712)

lri $AR1,    #0x0040
lri $IX1,    #0xa712
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42771 (0xa713)

lri $AR1,    #0x0040
lri $IX1,    #0xa713
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42772 (0xa714)

lri $AR1,    #0x0040
lri $IX1,    #0xa714
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42773 (0xa715)

lri $AR1,    #0x0040
lri $IX1,    #0xa715
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42774 (0xa716)

lri $AR1,    #0x0040
lri $IX1,    #0xa716
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42775 (0xa717)

lri $AR1,    #0x0040
lri $IX1,    #0xa717
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42776 (0xa718)

lri $AR1,    #0x0040
lri $IX1,    #0xa718
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42777 (0xa719)

lri $AR1,    #0x0040
lri $IX1,    #0xa719
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42778 (0xa71a)

lri $AR1,    #0x0040
lri $IX1,    #0xa71a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42779 (0xa71b)

lri $AR1,    #0x0040
lri $IX1,    #0xa71b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42780 (0xa71c)

lri $AR1,    #0x0040
lri $IX1,    #0xa71c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42781 (0xa71d)

lri $AR1,    #0x0040
lri $IX1,    #0xa71d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42782 (0xa71e)

lri $AR1,    #0x0040
lri $IX1,    #0xa71e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42783 (0xa71f)

lri $AR1,    #0x0040
lri $IX1,    #0xa71f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42784 (0xa720)

lri $AR1,    #0x0040
lri $IX1,    #0xa720
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42785 (0xa721)

lri $AR1,    #0x0040
lri $IX1,    #0xa721
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42786 (0xa722)

lri $AR1,    #0x0040
lri $IX1,    #0xa722
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42787 (0xa723)

lri $AR1,    #0x0040
lri $IX1,    #0xa723
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42788 (0xa724)

lri $AR1,    #0x0040
lri $IX1,    #0xa724
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42789 (0xa725)

lri $AR1,    #0x0040
lri $IX1,    #0xa725
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42790 (0xa726)

lri $AR1,    #0x0040
lri $IX1,    #0xa726
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42791 (0xa727)

lri $AR1,    #0x0040
lri $IX1,    #0xa727
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42792 (0xa728)

lri $AR1,    #0x0040
lri $IX1,    #0xa728
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42793 (0xa729)

lri $AR1,    #0x0040
lri $IX1,    #0xa729
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42794 (0xa72a)

lri $AR1,    #0x0040
lri $IX1,    #0xa72a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42795 (0xa72b)

lri $AR1,    #0x0040
lri $IX1,    #0xa72b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42796 (0xa72c)

lri $AR1,    #0x0040
lri $IX1,    #0xa72c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42797 (0xa72d)

lri $AR1,    #0x0040
lri $IX1,    #0xa72d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42798 (0xa72e)

lri $AR1,    #0x0040
lri $IX1,    #0xa72e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42799 (0xa72f)

lri $AR1,    #0x0040
lri $IX1,    #0xa72f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42800 (0xa730)

lri $AR1,    #0x0040
lri $IX1,    #0xa730
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42801 (0xa731)

lri $AR1,    #0x0040
lri $IX1,    #0xa731
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42802 (0xa732)

lri $AR1,    #0x0040
lri $IX1,    #0xa732
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42803 (0xa733)

lri $AR1,    #0x0040
lri $IX1,    #0xa733
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42804 (0xa734)

lri $AR1,    #0x0040
lri $IX1,    #0xa734
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42805 (0xa735)

lri $AR1,    #0x0040
lri $IX1,    #0xa735
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42806 (0xa736)

lri $AR1,    #0x0040
lri $IX1,    #0xa736
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42807 (0xa737)

lri $AR1,    #0x0040
lri $IX1,    #0xa737
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42808 (0xa738)

lri $AR1,    #0x0040
lri $IX1,    #0xa738
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42809 (0xa739)

lri $AR1,    #0x0040
lri $IX1,    #0xa739
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42810 (0xa73a)

lri $AR1,    #0x0040
lri $IX1,    #0xa73a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42811 (0xa73b)

lri $AR1,    #0x0040
lri $IX1,    #0xa73b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42812 (0xa73c)

lri $AR1,    #0x0040
lri $IX1,    #0xa73c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42813 (0xa73d)

lri $AR1,    #0x0040
lri $IX1,    #0xa73d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42814 (0xa73e)

lri $AR1,    #0x0040
lri $IX1,    #0xa73e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42815 (0xa73f)

lri $AR1,    #0x0040
lri $IX1,    #0xa73f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42816 (0xa740)

lri $AR1,    #0x0040
lri $IX1,    #0xa740
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42817 (0xa741)

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