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

lri $AR1,    #0x4000
lri $IX1,    #0x3180
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12673 (0x3181)

lri $AR1,    #0x4000
lri $IX1,    #0x3181
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12674 (0x3182)

lri $AR1,    #0x4000
lri $IX1,    #0x3182
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12675 (0x3183)

lri $AR1,    #0x4000
lri $IX1,    #0x3183
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12676 (0x3184)

lri $AR1,    #0x4000
lri $IX1,    #0x3184
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12677 (0x3185)

lri $AR1,    #0x4000
lri $IX1,    #0x3185
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12678 (0x3186)

lri $AR1,    #0x4000
lri $IX1,    #0x3186
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12679 (0x3187)

lri $AR1,    #0x4000
lri $IX1,    #0x3187
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12680 (0x3188)

lri $AR1,    #0x4000
lri $IX1,    #0x3188
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12681 (0x3189)

lri $AR1,    #0x4000
lri $IX1,    #0x3189
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12682 (0x318a)

lri $AR1,    #0x4000
lri $IX1,    #0x318a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12683 (0x318b)

lri $AR1,    #0x4000
lri $IX1,    #0x318b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12684 (0x318c)

lri $AR1,    #0x4000
lri $IX1,    #0x318c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12685 (0x318d)

lri $AR1,    #0x4000
lri $IX1,    #0x318d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12686 (0x318e)

lri $AR1,    #0x4000
lri $IX1,    #0x318e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12687 (0x318f)

lri $AR1,    #0x4000
lri $IX1,    #0x318f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12688 (0x3190)

lri $AR1,    #0x4000
lri $IX1,    #0x3190
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12689 (0x3191)

lri $AR1,    #0x4000
lri $IX1,    #0x3191
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12690 (0x3192)

lri $AR1,    #0x4000
lri $IX1,    #0x3192
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12691 (0x3193)

lri $AR1,    #0x4000
lri $IX1,    #0x3193
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12692 (0x3194)

lri $AR1,    #0x4000
lri $IX1,    #0x3194
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12693 (0x3195)

lri $AR1,    #0x4000
lri $IX1,    #0x3195
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12694 (0x3196)

lri $AR1,    #0x4000
lri $IX1,    #0x3196
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12695 (0x3197)

lri $AR1,    #0x4000
lri $IX1,    #0x3197
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12696 (0x3198)

lri $AR1,    #0x4000
lri $IX1,    #0x3198
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12697 (0x3199)

lri $AR1,    #0x4000
lri $IX1,    #0x3199
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12698 (0x319a)

lri $AR1,    #0x4000
lri $IX1,    #0x319a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12699 (0x319b)

lri $AR1,    #0x4000
lri $IX1,    #0x319b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12700 (0x319c)

lri $AR1,    #0x4000
lri $IX1,    #0x319c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12701 (0x319d)

lri $AR1,    #0x4000
lri $IX1,    #0x319d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12702 (0x319e)

lri $AR1,    #0x4000
lri $IX1,    #0x319e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12703 (0x319f)

lri $AR1,    #0x4000
lri $IX1,    #0x319f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12704 (0x31a0)

lri $AR1,    #0x4000
lri $IX1,    #0x31a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12705 (0x31a1)

lri $AR1,    #0x4000
lri $IX1,    #0x31a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12706 (0x31a2)

lri $AR1,    #0x4000
lri $IX1,    #0x31a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12707 (0x31a3)

lri $AR1,    #0x4000
lri $IX1,    #0x31a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12708 (0x31a4)

lri $AR1,    #0x4000
lri $IX1,    #0x31a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12709 (0x31a5)

lri $AR1,    #0x4000
lri $IX1,    #0x31a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12710 (0x31a6)

lri $AR1,    #0x4000
lri $IX1,    #0x31a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12711 (0x31a7)

lri $AR1,    #0x4000
lri $IX1,    #0x31a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12712 (0x31a8)

lri $AR1,    #0x4000
lri $IX1,    #0x31a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12713 (0x31a9)

lri $AR1,    #0x4000
lri $IX1,    #0x31a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12714 (0x31aa)

lri $AR1,    #0x4000
lri $IX1,    #0x31aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12715 (0x31ab)

lri $AR1,    #0x4000
lri $IX1,    #0x31ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12716 (0x31ac)

lri $AR1,    #0x4000
lri $IX1,    #0x31ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12717 (0x31ad)

lri $AR1,    #0x4000
lri $IX1,    #0x31ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12718 (0x31ae)

lri $AR1,    #0x4000
lri $IX1,    #0x31ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12719 (0x31af)

lri $AR1,    #0x4000
lri $IX1,    #0x31af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12720 (0x31b0)

lri $AR1,    #0x4000
lri $IX1,    #0x31b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12721 (0x31b1)

lri $AR1,    #0x4000
lri $IX1,    #0x31b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12722 (0x31b2)

lri $AR1,    #0x4000
lri $IX1,    #0x31b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12723 (0x31b3)

lri $AR1,    #0x4000
lri $IX1,    #0x31b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12724 (0x31b4)

lri $AR1,    #0x4000
lri $IX1,    #0x31b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12725 (0x31b5)

lri $AR1,    #0x4000
lri $IX1,    #0x31b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12726 (0x31b6)

lri $AR1,    #0x4000
lri $IX1,    #0x31b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12727 (0x31b7)

lri $AR1,    #0x4000
lri $IX1,    #0x31b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12728 (0x31b8)

lri $AR1,    #0x4000
lri $IX1,    #0x31b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12729 (0x31b9)

lri $AR1,    #0x4000
lri $IX1,    #0x31b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12730 (0x31ba)

lri $AR1,    #0x4000
lri $IX1,    #0x31ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12731 (0x31bb)

lri $AR1,    #0x4000
lri $IX1,    #0x31bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12732 (0x31bc)

lri $AR1,    #0x4000
lri $IX1,    #0x31bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12733 (0x31bd)

lri $AR1,    #0x4000
lri $IX1,    #0x31bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12734 (0x31be)

lri $AR1,    #0x4000
lri $IX1,    #0x31be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12735 (0x31bf)

lri $AR1,    #0x4000
lri $IX1,    #0x31bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12736 (0x31c0)

lri $AR1,    #0x4000
lri $IX1,    #0x31c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12737 (0x31c1)

lri $AR1,    #0x4000
lri $IX1,    #0x31c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12738 (0x31c2)

lri $AR1,    #0x4000
lri $IX1,    #0x31c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12739 (0x31c3)

lri $AR1,    #0x4000
lri $IX1,    #0x31c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12740 (0x31c4)

lri $AR1,    #0x4000
lri $IX1,    #0x31c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12741 (0x31c5)

lri $AR1,    #0x4000
lri $IX1,    #0x31c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12742 (0x31c6)

lri $AR1,    #0x4000
lri $IX1,    #0x31c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12743 (0x31c7)

lri $AR1,    #0x4000
lri $IX1,    #0x31c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12744 (0x31c8)

lri $AR1,    #0x4000
lri $IX1,    #0x31c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12745 (0x31c9)

lri $AR1,    #0x4000
lri $IX1,    #0x31c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12746 (0x31ca)

lri $AR1,    #0x4000
lri $IX1,    #0x31ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12747 (0x31cb)

lri $AR1,    #0x4000
lri $IX1,    #0x31cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12748 (0x31cc)

lri $AR1,    #0x4000
lri $IX1,    #0x31cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12749 (0x31cd)

lri $AR1,    #0x4000
lri $IX1,    #0x31cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12750 (0x31ce)

lri $AR1,    #0x4000
lri $IX1,    #0x31ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12751 (0x31cf)

lri $AR1,    #0x4000
lri $IX1,    #0x31cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12752 (0x31d0)

lri $AR1,    #0x4000
lri $IX1,    #0x31d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12753 (0x31d1)

lri $AR1,    #0x4000
lri $IX1,    #0x31d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12754 (0x31d2)

lri $AR1,    #0x4000
lri $IX1,    #0x31d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12755 (0x31d3)

lri $AR1,    #0x4000
lri $IX1,    #0x31d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12756 (0x31d4)

lri $AR1,    #0x4000
lri $IX1,    #0x31d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12757 (0x31d5)

lri $AR1,    #0x4000
lri $IX1,    #0x31d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12758 (0x31d6)

lri $AR1,    #0x4000
lri $IX1,    #0x31d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12759 (0x31d7)

lri $AR1,    #0x4000
lri $IX1,    #0x31d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12760 (0x31d8)

lri $AR1,    #0x4000
lri $IX1,    #0x31d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12761 (0x31d9)

lri $AR1,    #0x4000
lri $IX1,    #0x31d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12762 (0x31da)

lri $AR1,    #0x4000
lri $IX1,    #0x31da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12763 (0x31db)

lri $AR1,    #0x4000
lri $IX1,    #0x31db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12764 (0x31dc)

lri $AR1,    #0x4000
lri $IX1,    #0x31dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12765 (0x31dd)

lri $AR1,    #0x4000
lri $IX1,    #0x31dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12766 (0x31de)

lri $AR1,    #0x4000
lri $IX1,    #0x31de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12767 (0x31df)

lri $AR1,    #0x4000
lri $IX1,    #0x31df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12768 (0x31e0)

lri $AR1,    #0x4000
lri $IX1,    #0x31e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12769 (0x31e1)

lri $AR1,    #0x4000
lri $IX1,    #0x31e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12770 (0x31e2)

lri $AR1,    #0x4000
lri $IX1,    #0x31e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12771 (0x31e3)

lri $AR1,    #0x4000
lri $IX1,    #0x31e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12772 (0x31e4)

lri $AR1,    #0x4000
lri $IX1,    #0x31e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12773 (0x31e5)

lri $AR1,    #0x4000
lri $IX1,    #0x31e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12774 (0x31e6)

lri $AR1,    #0x4000
lri $IX1,    #0x31e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12775 (0x31e7)

lri $AR1,    #0x4000
lri $IX1,    #0x31e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12776 (0x31e8)

lri $AR1,    #0x4000
lri $IX1,    #0x31e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12777 (0x31e9)

lri $AR1,    #0x4000
lri $IX1,    #0x31e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12778 (0x31ea)

lri $AR1,    #0x4000
lri $IX1,    #0x31ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12779 (0x31eb)

lri $AR1,    #0x4000
lri $IX1,    #0x31eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12780 (0x31ec)

lri $AR1,    #0x4000
lri $IX1,    #0x31ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12781 (0x31ed)

lri $AR1,    #0x4000
lri $IX1,    #0x31ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12782 (0x31ee)

lri $AR1,    #0x4000
lri $IX1,    #0x31ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12783 (0x31ef)

lri $AR1,    #0x4000
lri $IX1,    #0x31ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12784 (0x31f0)

lri $AR1,    #0x4000
lri $IX1,    #0x31f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12785 (0x31f1)

lri $AR1,    #0x4000
lri $IX1,    #0x31f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12786 (0x31f2)

lri $AR1,    #0x4000
lri $IX1,    #0x31f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12787 (0x31f3)

lri $AR1,    #0x4000
lri $IX1,    #0x31f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12788 (0x31f4)

lri $AR1,    #0x4000
lri $IX1,    #0x31f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12789 (0x31f5)

lri $AR1,    #0x4000
lri $IX1,    #0x31f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12790 (0x31f6)

lri $AR1,    #0x4000
lri $IX1,    #0x31f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12791 (0x31f7)

lri $AR1,    #0x4000
lri $IX1,    #0x31f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12792 (0x31f8)

lri $AR1,    #0x4000
lri $IX1,    #0x31f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12793 (0x31f9)

lri $AR1,    #0x4000
lri $IX1,    #0x31f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12794 (0x31fa)

lri $AR1,    #0x4000
lri $IX1,    #0x31fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12795 (0x31fb)

lri $AR1,    #0x4000
lri $IX1,    #0x31fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12796 (0x31fc)

lri $AR1,    #0x4000
lri $IX1,    #0x31fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12797 (0x31fd)

lri $AR1,    #0x4000
lri $IX1,    #0x31fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12798 (0x31fe)

lri $AR1,    #0x4000
lri $IX1,    #0x31fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12799 (0x31ff)

lri $AR1,    #0x4000
lri $IX1,    #0x31ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12800 (0x3200)

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

