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

lri $AR1,    #0x0040
lri $IX1,    #0xc6d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50900 (0xc6d4)

lri $AR1,    #0x0040
lri $IX1,    #0xc6d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50901 (0xc6d5)

lri $AR1,    #0x0040
lri $IX1,    #0xc6d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50902 (0xc6d6)

lri $AR1,    #0x0040
lri $IX1,    #0xc6d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50903 (0xc6d7)

lri $AR1,    #0x0040
lri $IX1,    #0xc6d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50904 (0xc6d8)

lri $AR1,    #0x0040
lri $IX1,    #0xc6d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50905 (0xc6d9)

lri $AR1,    #0x0040
lri $IX1,    #0xc6d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50906 (0xc6da)

lri $AR1,    #0x0040
lri $IX1,    #0xc6da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50907 (0xc6db)

lri $AR1,    #0x0040
lri $IX1,    #0xc6db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50908 (0xc6dc)

lri $AR1,    #0x0040
lri $IX1,    #0xc6dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50909 (0xc6dd)

lri $AR1,    #0x0040
lri $IX1,    #0xc6dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50910 (0xc6de)

lri $AR1,    #0x0040
lri $IX1,    #0xc6de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50911 (0xc6df)

lri $AR1,    #0x0040
lri $IX1,    #0xc6df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50912 (0xc6e0)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50913 (0xc6e1)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50914 (0xc6e2)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50915 (0xc6e3)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50916 (0xc6e4)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50917 (0xc6e5)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50918 (0xc6e6)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50919 (0xc6e7)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50920 (0xc6e8)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50921 (0xc6e9)

lri $AR1,    #0x0040
lri $IX1,    #0xc6e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50922 (0xc6ea)

lri $AR1,    #0x0040
lri $IX1,    #0xc6ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50923 (0xc6eb)

lri $AR1,    #0x0040
lri $IX1,    #0xc6eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50924 (0xc6ec)

lri $AR1,    #0x0040
lri $IX1,    #0xc6ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50925 (0xc6ed)

lri $AR1,    #0x0040
lri $IX1,    #0xc6ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50926 (0xc6ee)

lri $AR1,    #0x0040
lri $IX1,    #0xc6ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50927 (0xc6ef)

lri $AR1,    #0x0040
lri $IX1,    #0xc6ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50928 (0xc6f0)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50929 (0xc6f1)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50930 (0xc6f2)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50931 (0xc6f3)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50932 (0xc6f4)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50933 (0xc6f5)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50934 (0xc6f6)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50935 (0xc6f7)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50936 (0xc6f8)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50937 (0xc6f9)

lri $AR1,    #0x0040
lri $IX1,    #0xc6f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50938 (0xc6fa)

lri $AR1,    #0x0040
lri $IX1,    #0xc6fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50939 (0xc6fb)

lri $AR1,    #0x0040
lri $IX1,    #0xc6fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50940 (0xc6fc)

lri $AR1,    #0x0040
lri $IX1,    #0xc6fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50941 (0xc6fd)

lri $AR1,    #0x0040
lri $IX1,    #0xc6fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50942 (0xc6fe)

lri $AR1,    #0x0040
lri $IX1,    #0xc6fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50943 (0xc6ff)

lri $AR1,    #0x0040
lri $IX1,    #0xc6ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50944 (0xc700)

lri $AR1,    #0x0040
lri $IX1,    #0xc700
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50945 (0xc701)

lri $AR1,    #0x0040
lri $IX1,    #0xc701
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50946 (0xc702)

lri $AR1,    #0x0040
lri $IX1,    #0xc702
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50947 (0xc703)

lri $AR1,    #0x0040
lri $IX1,    #0xc703
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50948 (0xc704)

lri $AR1,    #0x0040
lri $IX1,    #0xc704
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50949 (0xc705)

lri $AR1,    #0x0040
lri $IX1,    #0xc705
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50950 (0xc706)

lri $AR1,    #0x0040
lri $IX1,    #0xc706
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50951 (0xc707)

lri $AR1,    #0x0040
lri $IX1,    #0xc707
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50952 (0xc708)

lri $AR1,    #0x0040
lri $IX1,    #0xc708
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50953 (0xc709)

lri $AR1,    #0x0040
lri $IX1,    #0xc709
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50954 (0xc70a)

lri $AR1,    #0x0040
lri $IX1,    #0xc70a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50955 (0xc70b)

lri $AR1,    #0x0040
lri $IX1,    #0xc70b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50956 (0xc70c)

lri $AR1,    #0x0040
lri $IX1,    #0xc70c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50957 (0xc70d)

lri $AR1,    #0x0040
lri $IX1,    #0xc70d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50958 (0xc70e)

lri $AR1,    #0x0040
lri $IX1,    #0xc70e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50959 (0xc70f)

lri $AR1,    #0x0040
lri $IX1,    #0xc70f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50960 (0xc710)

lri $AR1,    #0x0040
lri $IX1,    #0xc710
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50961 (0xc711)

lri $AR1,    #0x0040
lri $IX1,    #0xc711
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50962 (0xc712)

lri $AR1,    #0x0040
lri $IX1,    #0xc712
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50963 (0xc713)

lri $AR1,    #0x0040
lri $IX1,    #0xc713
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50964 (0xc714)

lri $AR1,    #0x0040
lri $IX1,    #0xc714
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50965 (0xc715)

lri $AR1,    #0x0040
lri $IX1,    #0xc715
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50966 (0xc716)

lri $AR1,    #0x0040
lri $IX1,    #0xc716
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50967 (0xc717)

lri $AR1,    #0x0040
lri $IX1,    #0xc717
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50968 (0xc718)

lri $AR1,    #0x0040
lri $IX1,    #0xc718
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50969 (0xc719)

lri $AR1,    #0x0040
lri $IX1,    #0xc719
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50970 (0xc71a)

lri $AR1,    #0x0040
lri $IX1,    #0xc71a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50971 (0xc71b)

lri $AR1,    #0x0040
lri $IX1,    #0xc71b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50972 (0xc71c)

lri $AR1,    #0x0040
lri $IX1,    #0xc71c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50973 (0xc71d)

lri $AR1,    #0x0040
lri $IX1,    #0xc71d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50974 (0xc71e)

lri $AR1,    #0x0040
lri $IX1,    #0xc71e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50975 (0xc71f)

lri $AR1,    #0x0040
lri $IX1,    #0xc71f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50976 (0xc720)

lri $AR1,    #0x0040
lri $IX1,    #0xc720
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50977 (0xc721)

lri $AR1,    #0x0040
lri $IX1,    #0xc721
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50978 (0xc722)

lri $AR1,    #0x0040
lri $IX1,    #0xc722
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50979 (0xc723)

lri $AR1,    #0x0040
lri $IX1,    #0xc723
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50980 (0xc724)

lri $AR1,    #0x0040
lri $IX1,    #0xc724
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50981 (0xc725)

lri $AR1,    #0x0040
lri $IX1,    #0xc725
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50982 (0xc726)

lri $AR1,    #0x0040
lri $IX1,    #0xc726
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50983 (0xc727)

lri $AR1,    #0x0040
lri $IX1,    #0xc727
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50984 (0xc728)

lri $AR1,    #0x0040
lri $IX1,    #0xc728
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50985 (0xc729)

lri $AR1,    #0x0040
lri $IX1,    #0xc729
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50986 (0xc72a)

lri $AR1,    #0x0040
lri $IX1,    #0xc72a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50987 (0xc72b)

lri $AR1,    #0x0040
lri $IX1,    #0xc72b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50988 (0xc72c)

lri $AR1,    #0x0040
lri $IX1,    #0xc72c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50989 (0xc72d)

lri $AR1,    #0x0040
lri $IX1,    #0xc72d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50990 (0xc72e)

lri $AR1,    #0x0040
lri $IX1,    #0xc72e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50991 (0xc72f)

lri $AR1,    #0x0040
lri $IX1,    #0xc72f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50992 (0xc730)

lri $AR1,    #0x0040
lri $IX1,    #0xc730
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50993 (0xc731)

lri $AR1,    #0x0040
lri $IX1,    #0xc731
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50994 (0xc732)

lri $AR1,    #0x0040
lri $IX1,    #0xc732
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50995 (0xc733)

lri $AR1,    #0x0040
lri $IX1,    #0xc733
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50996 (0xc734)

lri $AR1,    #0x0040
lri $IX1,    #0xc734
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50997 (0xc735)

lri $AR1,    #0x0040
lri $IX1,    #0xc735
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50998 (0xc736)

lri $AR1,    #0x0040
lri $IX1,    #0xc736
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50999 (0xc737)

lri $AR1,    #0x0040
lri $IX1,    #0xc737
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51000 (0xc738)

lri $AR1,    #0x0040
lri $IX1,    #0xc738
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51001 (0xc739)

lri $AR1,    #0x0040
lri $IX1,    #0xc739
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51002 (0xc73a)

lri $AR1,    #0x0040
lri $IX1,    #0xc73a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51003 (0xc73b)

lri $AR1,    #0x0040
lri $IX1,    #0xc73b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51004 (0xc73c)

lri $AR1,    #0x0040
lri $IX1,    #0xc73c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51005 (0xc73d)

lri $AR1,    #0x0040
lri $IX1,    #0xc73d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51006 (0xc73e)

lri $AR1,    #0x0040
lri $IX1,    #0xc73e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51007 (0xc73f)

lri $AR1,    #0x0040
lri $IX1,    #0xc73f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51008 (0xc740)

lri $AR1,    #0x0040
lri $IX1,    #0xc740
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51009 (0xc741)

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