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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf80
cw 0x9
call send_back  ; 57217 (0xdf81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf81
cw 0x9
call send_back  ; 57218 (0xdf82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf82
cw 0x9
call send_back  ; 57219 (0xdf83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf83
cw 0x9
call send_back  ; 57220 (0xdf84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf84
cw 0x9
call send_back  ; 57221 (0xdf85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf85
cw 0x9
call send_back  ; 57222 (0xdf86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf86
cw 0x9
call send_back  ; 57223 (0xdf87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf87
cw 0x9
call send_back  ; 57224 (0xdf88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf88
cw 0x9
call send_back  ; 57225 (0xdf89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf89
cw 0x9
call send_back  ; 57226 (0xdf8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf8a
cw 0x9
call send_back  ; 57227 (0xdf8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf8b
cw 0x9
call send_back  ; 57228 (0xdf8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf8c
cw 0x9
call send_back  ; 57229 (0xdf8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf8d
cw 0x9
call send_back  ; 57230 (0xdf8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf8e
cw 0x9
call send_back  ; 57231 (0xdf8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf8f
cw 0x9
call send_back  ; 57232 (0xdf90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf90
cw 0x9
call send_back  ; 57233 (0xdf91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf91
cw 0x9
call send_back  ; 57234 (0xdf92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf92
cw 0x9
call send_back  ; 57235 (0xdf93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf93
cw 0x9
call send_back  ; 57236 (0xdf94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf94
cw 0x9
call send_back  ; 57237 (0xdf95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf95
cw 0x9
call send_back  ; 57238 (0xdf96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf96
cw 0x9
call send_back  ; 57239 (0xdf97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf97
cw 0x9
call send_back  ; 57240 (0xdf98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf98
cw 0x9
call send_back  ; 57241 (0xdf99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf99
cw 0x9
call send_back  ; 57242 (0xdf9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf9a
cw 0x9
call send_back  ; 57243 (0xdf9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf9b
cw 0x9
call send_back  ; 57244 (0xdf9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf9c
cw 0x9
call send_back  ; 57245 (0xdf9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf9d
cw 0x9
call send_back  ; 57246 (0xdf9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf9e
cw 0x9
call send_back  ; 57247 (0xdf9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdf9f
cw 0x9
call send_back  ; 57248 (0xdfa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa0
cw 0x9
call send_back  ; 57249 (0xdfa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa1
cw 0x9
call send_back  ; 57250 (0xdfa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa2
cw 0x9
call send_back  ; 57251 (0xdfa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa3
cw 0x9
call send_back  ; 57252 (0xdfa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa4
cw 0x9
call send_back  ; 57253 (0xdfa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa5
cw 0x9
call send_back  ; 57254 (0xdfa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa6
cw 0x9
call send_back  ; 57255 (0xdfa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa7
cw 0x9
call send_back  ; 57256 (0xdfa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa8
cw 0x9
call send_back  ; 57257 (0xdfa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfa9
cw 0x9
call send_back  ; 57258 (0xdfaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfaa
cw 0x9
call send_back  ; 57259 (0xdfab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfab
cw 0x9
call send_back  ; 57260 (0xdfac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfac
cw 0x9
call send_back  ; 57261 (0xdfad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfad
cw 0x9
call send_back  ; 57262 (0xdfae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfae
cw 0x9
call send_back  ; 57263 (0xdfaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfaf
cw 0x9
call send_back  ; 57264 (0xdfb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb0
cw 0x9
call send_back  ; 57265 (0xdfb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb1
cw 0x9
call send_back  ; 57266 (0xdfb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb2
cw 0x9
call send_back  ; 57267 (0xdfb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb3
cw 0x9
call send_back  ; 57268 (0xdfb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb4
cw 0x9
call send_back  ; 57269 (0xdfb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb5
cw 0x9
call send_back  ; 57270 (0xdfb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb6
cw 0x9
call send_back  ; 57271 (0xdfb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb7
cw 0x9
call send_back  ; 57272 (0xdfb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb8
cw 0x9
call send_back  ; 57273 (0xdfb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfb9
cw 0x9
call send_back  ; 57274 (0xdfba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfba
cw 0x9
call send_back  ; 57275 (0xdfbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfbb
cw 0x9
call send_back  ; 57276 (0xdfbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfbc
cw 0x9
call send_back  ; 57277 (0xdfbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfbd
cw 0x9
call send_back  ; 57278 (0xdfbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfbe
cw 0x9
call send_back  ; 57279 (0xdfbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfbf
cw 0x9
call send_back  ; 57280 (0xdfc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc0
cw 0x9
call send_back  ; 57281 (0xdfc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc1
cw 0x9
call send_back  ; 57282 (0xdfc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc2
cw 0x9
call send_back  ; 57283 (0xdfc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc3
cw 0x9
call send_back  ; 57284 (0xdfc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc4
cw 0x9
call send_back  ; 57285 (0xdfc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc5
cw 0x9
call send_back  ; 57286 (0xdfc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc6
cw 0x9
call send_back  ; 57287 (0xdfc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc7
cw 0x9
call send_back  ; 57288 (0xdfc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc8
cw 0x9
call send_back  ; 57289 (0xdfc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfc9
cw 0x9
call send_back  ; 57290 (0xdfca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfca
cw 0x9
call send_back  ; 57291 (0xdfcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfcb
cw 0x9
call send_back  ; 57292 (0xdfcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfcc
cw 0x9
call send_back  ; 57293 (0xdfcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfcd
cw 0x9
call send_back  ; 57294 (0xdfce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfce
cw 0x9
call send_back  ; 57295 (0xdfcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfcf
cw 0x9
call send_back  ; 57296 (0xdfd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd0
cw 0x9
call send_back  ; 57297 (0xdfd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd1
cw 0x9
call send_back  ; 57298 (0xdfd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd2
cw 0x9
call send_back  ; 57299 (0xdfd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd3
cw 0x9
call send_back  ; 57300 (0xdfd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd4
cw 0x9
call send_back  ; 57301 (0xdfd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd5
cw 0x9
call send_back  ; 57302 (0xdfd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd6
cw 0x9
call send_back  ; 57303 (0xdfd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd7
cw 0x9
call send_back  ; 57304 (0xdfd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd8
cw 0x9
call send_back  ; 57305 (0xdfd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfd9
cw 0x9
call send_back  ; 57306 (0xdfda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfda
cw 0x9
call send_back  ; 57307 (0xdfdb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfdb
cw 0x9
call send_back  ; 57308 (0xdfdc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfdc
cw 0x9
call send_back  ; 57309 (0xdfdd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfdd
cw 0x9
call send_back  ; 57310 (0xdfde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfde
cw 0x9
call send_back  ; 57311 (0xdfdf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfdf
cw 0x9
call send_back  ; 57312 (0xdfe0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe0
cw 0x9
call send_back  ; 57313 (0xdfe1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe1
cw 0x9
call send_back  ; 57314 (0xdfe2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe2
cw 0x9
call send_back  ; 57315 (0xdfe3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe3
cw 0x9
call send_back  ; 57316 (0xdfe4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe4
cw 0x9
call send_back  ; 57317 (0xdfe5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe5
cw 0x9
call send_back  ; 57318 (0xdfe6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe6
cw 0x9
call send_back  ; 57319 (0xdfe7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe7
cw 0x9
call send_back  ; 57320 (0xdfe8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe8
cw 0x9
call send_back  ; 57321 (0xdfe9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfe9
cw 0x9
call send_back  ; 57322 (0xdfea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfea
cw 0x9
call send_back  ; 57323 (0xdfeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfeb
cw 0x9
call send_back  ; 57324 (0xdfec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfec
cw 0x9
call send_back  ; 57325 (0xdfed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfed
cw 0x9
call send_back  ; 57326 (0xdfee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfee
cw 0x9
call send_back  ; 57327 (0xdfef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfef
cw 0x9
call send_back  ; 57328 (0xdff0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff0
cw 0x9
call send_back  ; 57329 (0xdff1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff1
cw 0x9
call send_back  ; 57330 (0xdff2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff2
cw 0x9
call send_back  ; 57331 (0xdff3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff3
cw 0x9
call send_back  ; 57332 (0xdff4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff4
cw 0x9
call send_back  ; 57333 (0xdff5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff5
cw 0x9
call send_back  ; 57334 (0xdff6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff6
cw 0x9
call send_back  ; 57335 (0xdff7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff7
cw 0x9
call send_back  ; 57336 (0xdff8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff8
cw 0x9
call send_back  ; 57337 (0xdff9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdff9
cw 0x9
call send_back  ; 57338 (0xdffa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdffa
cw 0x9
call send_back  ; 57339 (0xdffb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdffb
cw 0x9
call send_back  ; 57340 (0xdffc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdffc
cw 0x9
call send_back  ; 57341 (0xdffd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdffd
cw 0x9
call send_back  ; 57342 (0xdffe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdffe
cw 0x9
call send_back  ; 57343 (0xdfff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xdfff
cw 0x9
call send_back  ; 57344 (0xe000)

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

