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

lri $AR1,    #0x4000
lri $IX1,    #0xc000
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49153 (0xc001)

lri $AR1,    #0x4000
lri $IX1,    #0xc001
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49154 (0xc002)

lri $AR1,    #0x4000
lri $IX1,    #0xc002
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49155 (0xc003)

lri $AR1,    #0x4000
lri $IX1,    #0xc003
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49156 (0xc004)

lri $AR1,    #0x4000
lri $IX1,    #0xc004
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49157 (0xc005)

lri $AR1,    #0x4000
lri $IX1,    #0xc005
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49158 (0xc006)

lri $AR1,    #0x4000
lri $IX1,    #0xc006
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49159 (0xc007)

lri $AR1,    #0x4000
lri $IX1,    #0xc007
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49160 (0xc008)

lri $AR1,    #0x4000
lri $IX1,    #0xc008
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49161 (0xc009)

lri $AR1,    #0x4000
lri $IX1,    #0xc009
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49162 (0xc00a)

lri $AR1,    #0x4000
lri $IX1,    #0xc00a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49163 (0xc00b)

lri $AR1,    #0x4000
lri $IX1,    #0xc00b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49164 (0xc00c)

lri $AR1,    #0x4000
lri $IX1,    #0xc00c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49165 (0xc00d)

lri $AR1,    #0x4000
lri $IX1,    #0xc00d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49166 (0xc00e)

lri $AR1,    #0x4000
lri $IX1,    #0xc00e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49167 (0xc00f)

lri $AR1,    #0x4000
lri $IX1,    #0xc00f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49168 (0xc010)

lri $AR1,    #0x4000
lri $IX1,    #0xc010
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49169 (0xc011)

lri $AR1,    #0x4000
lri $IX1,    #0xc011
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49170 (0xc012)

lri $AR1,    #0x4000
lri $IX1,    #0xc012
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49171 (0xc013)

lri $AR1,    #0x4000
lri $IX1,    #0xc013
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49172 (0xc014)

lri $AR1,    #0x4000
lri $IX1,    #0xc014
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49173 (0xc015)

lri $AR1,    #0x4000
lri $IX1,    #0xc015
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49174 (0xc016)

lri $AR1,    #0x4000
lri $IX1,    #0xc016
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49175 (0xc017)

lri $AR1,    #0x4000
lri $IX1,    #0xc017
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49176 (0xc018)

lri $AR1,    #0x4000
lri $IX1,    #0xc018
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49177 (0xc019)

lri $AR1,    #0x4000
lri $IX1,    #0xc019
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49178 (0xc01a)

lri $AR1,    #0x4000
lri $IX1,    #0xc01a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49179 (0xc01b)

lri $AR1,    #0x4000
lri $IX1,    #0xc01b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49180 (0xc01c)

lri $AR1,    #0x4000
lri $IX1,    #0xc01c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49181 (0xc01d)

lri $AR1,    #0x4000
lri $IX1,    #0xc01d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49182 (0xc01e)

lri $AR1,    #0x4000
lri $IX1,    #0xc01e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49183 (0xc01f)

lri $AR1,    #0x4000
lri $IX1,    #0xc01f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49184 (0xc020)

lri $AR1,    #0x4000
lri $IX1,    #0xc020
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49185 (0xc021)

lri $AR1,    #0x4000
lri $IX1,    #0xc021
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49186 (0xc022)

lri $AR1,    #0x4000
lri $IX1,    #0xc022
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49187 (0xc023)

lri $AR1,    #0x4000
lri $IX1,    #0xc023
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49188 (0xc024)

lri $AR1,    #0x4000
lri $IX1,    #0xc024
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49189 (0xc025)

lri $AR1,    #0x4000
lri $IX1,    #0xc025
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49190 (0xc026)

lri $AR1,    #0x4000
lri $IX1,    #0xc026
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49191 (0xc027)

lri $AR1,    #0x4000
lri $IX1,    #0xc027
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49192 (0xc028)

lri $AR1,    #0x4000
lri $IX1,    #0xc028
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49193 (0xc029)

lri $AR1,    #0x4000
lri $IX1,    #0xc029
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49194 (0xc02a)

lri $AR1,    #0x4000
lri $IX1,    #0xc02a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49195 (0xc02b)

lri $AR1,    #0x4000
lri $IX1,    #0xc02b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49196 (0xc02c)

lri $AR1,    #0x4000
lri $IX1,    #0xc02c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49197 (0xc02d)

lri $AR1,    #0x4000
lri $IX1,    #0xc02d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49198 (0xc02e)

lri $AR1,    #0x4000
lri $IX1,    #0xc02e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49199 (0xc02f)

lri $AR1,    #0x4000
lri $IX1,    #0xc02f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49200 (0xc030)

lri $AR1,    #0x4000
lri $IX1,    #0xc030
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49201 (0xc031)

lri $AR1,    #0x4000
lri $IX1,    #0xc031
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49202 (0xc032)

lri $AR1,    #0x4000
lri $IX1,    #0xc032
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49203 (0xc033)

lri $AR1,    #0x4000
lri $IX1,    #0xc033
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49204 (0xc034)

lri $AR1,    #0x4000
lri $IX1,    #0xc034
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49205 (0xc035)

lri $AR1,    #0x4000
lri $IX1,    #0xc035
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49206 (0xc036)

lri $AR1,    #0x4000
lri $IX1,    #0xc036
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49207 (0xc037)

lri $AR1,    #0x4000
lri $IX1,    #0xc037
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49208 (0xc038)

lri $AR1,    #0x4000
lri $IX1,    #0xc038
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49209 (0xc039)

lri $AR1,    #0x4000
lri $IX1,    #0xc039
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49210 (0xc03a)

lri $AR1,    #0x4000
lri $IX1,    #0xc03a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49211 (0xc03b)

lri $AR1,    #0x4000
lri $IX1,    #0xc03b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49212 (0xc03c)

lri $AR1,    #0x4000
lri $IX1,    #0xc03c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49213 (0xc03d)

lri $AR1,    #0x4000
lri $IX1,    #0xc03d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49214 (0xc03e)

lri $AR1,    #0x4000
lri $IX1,    #0xc03e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49215 (0xc03f)

lri $AR1,    #0x4000
lri $IX1,    #0xc03f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49216 (0xc040)

lri $AR1,    #0x4000
lri $IX1,    #0xc040
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49217 (0xc041)

lri $AR1,    #0x4000
lri $IX1,    #0xc041
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49218 (0xc042)

lri $AR1,    #0x4000
lri $IX1,    #0xc042
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49219 (0xc043)

lri $AR1,    #0x4000
lri $IX1,    #0xc043
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49220 (0xc044)

lri $AR1,    #0x4000
lri $IX1,    #0xc044
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49221 (0xc045)

lri $AR1,    #0x4000
lri $IX1,    #0xc045
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49222 (0xc046)

lri $AR1,    #0x4000
lri $IX1,    #0xc046
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49223 (0xc047)

lri $AR1,    #0x4000
lri $IX1,    #0xc047
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49224 (0xc048)

lri $AR1,    #0x4000
lri $IX1,    #0xc048
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49225 (0xc049)

lri $AR1,    #0x4000
lri $IX1,    #0xc049
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49226 (0xc04a)

lri $AR1,    #0x4000
lri $IX1,    #0xc04a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49227 (0xc04b)

lri $AR1,    #0x4000
lri $IX1,    #0xc04b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49228 (0xc04c)

lri $AR1,    #0x4000
lri $IX1,    #0xc04c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49229 (0xc04d)

lri $AR1,    #0x4000
lri $IX1,    #0xc04d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49230 (0xc04e)

lri $AR1,    #0x4000
lri $IX1,    #0xc04e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49231 (0xc04f)

lri $AR1,    #0x4000
lri $IX1,    #0xc04f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49232 (0xc050)

lri $AR1,    #0x4000
lri $IX1,    #0xc050
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49233 (0xc051)

lri $AR1,    #0x4000
lri $IX1,    #0xc051
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49234 (0xc052)

lri $AR1,    #0x4000
lri $IX1,    #0xc052
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49235 (0xc053)

lri $AR1,    #0x4000
lri $IX1,    #0xc053
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49236 (0xc054)

lri $AR1,    #0x4000
lri $IX1,    #0xc054
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49237 (0xc055)

lri $AR1,    #0x4000
lri $IX1,    #0xc055
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49238 (0xc056)

lri $AR1,    #0x4000
lri $IX1,    #0xc056
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49239 (0xc057)

lri $AR1,    #0x4000
lri $IX1,    #0xc057
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49240 (0xc058)

lri $AR1,    #0x4000
lri $IX1,    #0xc058
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49241 (0xc059)

lri $AR1,    #0x4000
lri $IX1,    #0xc059
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49242 (0xc05a)

lri $AR1,    #0x4000
lri $IX1,    #0xc05a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49243 (0xc05b)

lri $AR1,    #0x4000
lri $IX1,    #0xc05b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49244 (0xc05c)

lri $AR1,    #0x4000
lri $IX1,    #0xc05c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49245 (0xc05d)

lri $AR1,    #0x4000
lri $IX1,    #0xc05d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49246 (0xc05e)

lri $AR1,    #0x4000
lri $IX1,    #0xc05e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49247 (0xc05f)

lri $AR1,    #0x4000
lri $IX1,    #0xc05f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49248 (0xc060)

lri $AR1,    #0x4000
lri $IX1,    #0xc060
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49249 (0xc061)

lri $AR1,    #0x4000
lri $IX1,    #0xc061
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49250 (0xc062)

lri $AR1,    #0x4000
lri $IX1,    #0xc062
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49251 (0xc063)

lri $AR1,    #0x4000
lri $IX1,    #0xc063
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49252 (0xc064)

lri $AR1,    #0x4000
lri $IX1,    #0xc064
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49253 (0xc065)

lri $AR1,    #0x4000
lri $IX1,    #0xc065
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49254 (0xc066)

lri $AR1,    #0x4000
lri $IX1,    #0xc066
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49255 (0xc067)

lri $AR1,    #0x4000
lri $IX1,    #0xc067
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49256 (0xc068)

lri $AR1,    #0x4000
lri $IX1,    #0xc068
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49257 (0xc069)

lri $AR1,    #0x4000
lri $IX1,    #0xc069
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49258 (0xc06a)

lri $AR1,    #0x4000
lri $IX1,    #0xc06a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49259 (0xc06b)

lri $AR1,    #0x4000
lri $IX1,    #0xc06b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49260 (0xc06c)

lri $AR1,    #0x4000
lri $IX1,    #0xc06c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49261 (0xc06d)

lri $AR1,    #0x4000
lri $IX1,    #0xc06d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49262 (0xc06e)

lri $AR1,    #0x4000
lri $IX1,    #0xc06e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49263 (0xc06f)

lri $AR1,    #0x4000
lri $IX1,    #0xc06f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49264 (0xc070)

lri $AR1,    #0x4000
lri $IX1,    #0xc070
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49265 (0xc071)

lri $AR1,    #0x4000
lri $IX1,    #0xc071
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49266 (0xc072)

lri $AR1,    #0x4000
lri $IX1,    #0xc072
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49267 (0xc073)

lri $AR1,    #0x4000
lri $IX1,    #0xc073
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49268 (0xc074)

lri $AR1,    #0x4000
lri $IX1,    #0xc074
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49269 (0xc075)

lri $AR1,    #0x4000
lri $IX1,    #0xc075
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49270 (0xc076)

lri $AR1,    #0x4000
lri $IX1,    #0xc076
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49271 (0xc077)

lri $AR1,    #0x4000
lri $IX1,    #0xc077
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49272 (0xc078)

lri $AR1,    #0x4000
lri $IX1,    #0xc078
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49273 (0xc079)

lri $AR1,    #0x4000
lri $IX1,    #0xc079
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49274 (0xc07a)

lri $AR1,    #0x4000
lri $IX1,    #0xc07a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49275 (0xc07b)

lri $AR1,    #0x4000
lri $IX1,    #0xc07b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49276 (0xc07c)

lri $AR1,    #0x4000
lri $IX1,    #0xc07c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49277 (0xc07d)

lri $AR1,    #0x4000
lri $IX1,    #0xc07d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49278 (0xc07e)

lri $AR1,    #0x4000
lri $IX1,    #0xc07e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49279 (0xc07f)

lri $AR1,    #0x4000
lri $IX1,    #0xc07f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49280 (0xc080)

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

