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

lri $AR1,    #0x5180
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20865 (0x5181)

lri $AR1,    #0x5181
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20866 (0x5182)

lri $AR1,    #0x5182
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20867 (0x5183)

lri $AR1,    #0x5183
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20868 (0x5184)

lri $AR1,    #0x5184
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20869 (0x5185)

lri $AR1,    #0x5185
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20870 (0x5186)

lri $AR1,    #0x5186
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20871 (0x5187)

lri $AR1,    #0x5187
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20872 (0x5188)

lri $AR1,    #0x5188
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20873 (0x5189)

lri $AR1,    #0x5189
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20874 (0x518a)

lri $AR1,    #0x518a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20875 (0x518b)

lri $AR1,    #0x518b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20876 (0x518c)

lri $AR1,    #0x518c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20877 (0x518d)

lri $AR1,    #0x518d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20878 (0x518e)

lri $AR1,    #0x518e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20879 (0x518f)

lri $AR1,    #0x518f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20880 (0x5190)

lri $AR1,    #0x5190
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20881 (0x5191)

lri $AR1,    #0x5191
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20882 (0x5192)

lri $AR1,    #0x5192
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20883 (0x5193)

lri $AR1,    #0x5193
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20884 (0x5194)

lri $AR1,    #0x5194
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20885 (0x5195)

lri $AR1,    #0x5195
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20886 (0x5196)

lri $AR1,    #0x5196
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20887 (0x5197)

lri $AR1,    #0x5197
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20888 (0x5198)

lri $AR1,    #0x5198
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20889 (0x5199)

lri $AR1,    #0x5199
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20890 (0x519a)

lri $AR1,    #0x519a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20891 (0x519b)

lri $AR1,    #0x519b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20892 (0x519c)

lri $AR1,    #0x519c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20893 (0x519d)

lri $AR1,    #0x519d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20894 (0x519e)

lri $AR1,    #0x519e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20895 (0x519f)

lri $AR1,    #0x519f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20896 (0x51a0)

lri $AR1,    #0x51a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20897 (0x51a1)

lri $AR1,    #0x51a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20898 (0x51a2)

lri $AR1,    #0x51a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20899 (0x51a3)

lri $AR1,    #0x51a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20900 (0x51a4)

lri $AR1,    #0x51a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20901 (0x51a5)

lri $AR1,    #0x51a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20902 (0x51a6)

lri $AR1,    #0x51a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20903 (0x51a7)

lri $AR1,    #0x51a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20904 (0x51a8)

lri $AR1,    #0x51a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20905 (0x51a9)

lri $AR1,    #0x51a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20906 (0x51aa)

lri $AR1,    #0x51aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20907 (0x51ab)

lri $AR1,    #0x51ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20908 (0x51ac)

lri $AR1,    #0x51ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20909 (0x51ad)

lri $AR1,    #0x51ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20910 (0x51ae)

lri $AR1,    #0x51ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20911 (0x51af)

lri $AR1,    #0x51af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20912 (0x51b0)

lri $AR1,    #0x51b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20913 (0x51b1)

lri $AR1,    #0x51b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20914 (0x51b2)

lri $AR1,    #0x51b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20915 (0x51b3)

lri $AR1,    #0x51b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20916 (0x51b4)

lri $AR1,    #0x51b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20917 (0x51b5)

lri $AR1,    #0x51b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20918 (0x51b6)

lri $AR1,    #0x51b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20919 (0x51b7)

lri $AR1,    #0x51b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20920 (0x51b8)

lri $AR1,    #0x51b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20921 (0x51b9)

lri $AR1,    #0x51b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20922 (0x51ba)

lri $AR1,    #0x51ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20923 (0x51bb)

lri $AR1,    #0x51bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20924 (0x51bc)

lri $AR1,    #0x51bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20925 (0x51bd)

lri $AR1,    #0x51bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20926 (0x51be)

lri $AR1,    #0x51be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20927 (0x51bf)

lri $AR1,    #0x51bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20928 (0x51c0)

lri $AR1,    #0x51c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20929 (0x51c1)

lri $AR1,    #0x51c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20930 (0x51c2)

lri $AR1,    #0x51c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20931 (0x51c3)

lri $AR1,    #0x51c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20932 (0x51c4)

lri $AR1,    #0x51c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20933 (0x51c5)

lri $AR1,    #0x51c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20934 (0x51c6)

lri $AR1,    #0x51c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20935 (0x51c7)

lri $AR1,    #0x51c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20936 (0x51c8)

lri $AR1,    #0x51c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20937 (0x51c9)

lri $AR1,    #0x51c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20938 (0x51ca)

lri $AR1,    #0x51ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20939 (0x51cb)

lri $AR1,    #0x51cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20940 (0x51cc)

lri $AR1,    #0x51cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20941 (0x51cd)

lri $AR1,    #0x51cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20942 (0x51ce)

lri $AR1,    #0x51ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20943 (0x51cf)

lri $AR1,    #0x51cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20944 (0x51d0)

lri $AR1,    #0x51d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20945 (0x51d1)

lri $AR1,    #0x51d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20946 (0x51d2)

lri $AR1,    #0x51d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20947 (0x51d3)

lri $AR1,    #0x51d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20948 (0x51d4)

lri $AR1,    #0x51d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20949 (0x51d5)

lri $AR1,    #0x51d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20950 (0x51d6)

lri $AR1,    #0x51d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20951 (0x51d7)

lri $AR1,    #0x51d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20952 (0x51d8)

lri $AR1,    #0x51d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20953 (0x51d9)

lri $AR1,    #0x51d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20954 (0x51da)

lri $AR1,    #0x51da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20955 (0x51db)

lri $AR1,    #0x51db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20956 (0x51dc)

lri $AR1,    #0x51dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20957 (0x51dd)

lri $AR1,    #0x51dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20958 (0x51de)

lri $AR1,    #0x51de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20959 (0x51df)

lri $AR1,    #0x51df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20960 (0x51e0)

lri $AR1,    #0x51e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20961 (0x51e1)

lri $AR1,    #0x51e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20962 (0x51e2)

lri $AR1,    #0x51e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20963 (0x51e3)

lri $AR1,    #0x51e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20964 (0x51e4)

lri $AR1,    #0x51e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20965 (0x51e5)

lri $AR1,    #0x51e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20966 (0x51e6)

lri $AR1,    #0x51e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20967 (0x51e7)

lri $AR1,    #0x51e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20968 (0x51e8)

lri $AR1,    #0x51e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20969 (0x51e9)

lri $AR1,    #0x51e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20970 (0x51ea)

lri $AR1,    #0x51ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20971 (0x51eb)

lri $AR1,    #0x51eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20972 (0x51ec)

lri $AR1,    #0x51ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20973 (0x51ed)

lri $AR1,    #0x51ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20974 (0x51ee)

lri $AR1,    #0x51ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20975 (0x51ef)

lri $AR1,    #0x51ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20976 (0x51f0)

lri $AR1,    #0x51f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20977 (0x51f1)

lri $AR1,    #0x51f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20978 (0x51f2)

lri $AR1,    #0x51f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20979 (0x51f3)

lri $AR1,    #0x51f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20980 (0x51f4)

lri $AR1,    #0x51f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20981 (0x51f5)

lri $AR1,    #0x51f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20982 (0x51f6)

lri $AR1,    #0x51f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20983 (0x51f7)

lri $AR1,    #0x51f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20984 (0x51f8)

lri $AR1,    #0x51f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20985 (0x51f9)

lri $AR1,    #0x51f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20986 (0x51fa)

lri $AR1,    #0x51fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20987 (0x51fb)

lri $AR1,    #0x51fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20988 (0x51fc)

lri $AR1,    #0x51fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20989 (0x51fd)

lri $AR1,    #0x51fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20990 (0x51fe)

lri $AR1,    #0x51fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20991 (0x51ff)

lri $AR1,    #0x51ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20992 (0x5200)

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

