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

lri $AR1,    #0x4000
lri $IX1,    #0x9d00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40193 (0x9d01)

lri $AR1,    #0x4000
lri $IX1,    #0x9d01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40194 (0x9d02)

lri $AR1,    #0x4000
lri $IX1,    #0x9d02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40195 (0x9d03)

lri $AR1,    #0x4000
lri $IX1,    #0x9d03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40196 (0x9d04)

lri $AR1,    #0x4000
lri $IX1,    #0x9d04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40197 (0x9d05)

lri $AR1,    #0x4000
lri $IX1,    #0x9d05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40198 (0x9d06)

lri $AR1,    #0x4000
lri $IX1,    #0x9d06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40199 (0x9d07)

lri $AR1,    #0x4000
lri $IX1,    #0x9d07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40200 (0x9d08)

lri $AR1,    #0x4000
lri $IX1,    #0x9d08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40201 (0x9d09)

lri $AR1,    #0x4000
lri $IX1,    #0x9d09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40202 (0x9d0a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40203 (0x9d0b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40204 (0x9d0c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40205 (0x9d0d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40206 (0x9d0e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40207 (0x9d0f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40208 (0x9d10)

lri $AR1,    #0x4000
lri $IX1,    #0x9d10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40209 (0x9d11)

lri $AR1,    #0x4000
lri $IX1,    #0x9d11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40210 (0x9d12)

lri $AR1,    #0x4000
lri $IX1,    #0x9d12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40211 (0x9d13)

lri $AR1,    #0x4000
lri $IX1,    #0x9d13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40212 (0x9d14)

lri $AR1,    #0x4000
lri $IX1,    #0x9d14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40213 (0x9d15)

lri $AR1,    #0x4000
lri $IX1,    #0x9d15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40214 (0x9d16)

lri $AR1,    #0x4000
lri $IX1,    #0x9d16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40215 (0x9d17)

lri $AR1,    #0x4000
lri $IX1,    #0x9d17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40216 (0x9d18)

lri $AR1,    #0x4000
lri $IX1,    #0x9d18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40217 (0x9d19)

lri $AR1,    #0x4000
lri $IX1,    #0x9d19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40218 (0x9d1a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40219 (0x9d1b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40220 (0x9d1c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40221 (0x9d1d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40222 (0x9d1e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40223 (0x9d1f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40224 (0x9d20)

lri $AR1,    #0x4000
lri $IX1,    #0x9d20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40225 (0x9d21)

lri $AR1,    #0x4000
lri $IX1,    #0x9d21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40226 (0x9d22)

lri $AR1,    #0x4000
lri $IX1,    #0x9d22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40227 (0x9d23)

lri $AR1,    #0x4000
lri $IX1,    #0x9d23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40228 (0x9d24)

lri $AR1,    #0x4000
lri $IX1,    #0x9d24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40229 (0x9d25)

lri $AR1,    #0x4000
lri $IX1,    #0x9d25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40230 (0x9d26)

lri $AR1,    #0x4000
lri $IX1,    #0x9d26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40231 (0x9d27)

lri $AR1,    #0x4000
lri $IX1,    #0x9d27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40232 (0x9d28)

lri $AR1,    #0x4000
lri $IX1,    #0x9d28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40233 (0x9d29)

lri $AR1,    #0x4000
lri $IX1,    #0x9d29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40234 (0x9d2a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40235 (0x9d2b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40236 (0x9d2c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40237 (0x9d2d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40238 (0x9d2e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40239 (0x9d2f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40240 (0x9d30)

lri $AR1,    #0x4000
lri $IX1,    #0x9d30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40241 (0x9d31)

lri $AR1,    #0x4000
lri $IX1,    #0x9d31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40242 (0x9d32)

lri $AR1,    #0x4000
lri $IX1,    #0x9d32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40243 (0x9d33)

lri $AR1,    #0x4000
lri $IX1,    #0x9d33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40244 (0x9d34)

lri $AR1,    #0x4000
lri $IX1,    #0x9d34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40245 (0x9d35)

lri $AR1,    #0x4000
lri $IX1,    #0x9d35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40246 (0x9d36)

lri $AR1,    #0x4000
lri $IX1,    #0x9d36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40247 (0x9d37)

lri $AR1,    #0x4000
lri $IX1,    #0x9d37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40248 (0x9d38)

lri $AR1,    #0x4000
lri $IX1,    #0x9d38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40249 (0x9d39)

lri $AR1,    #0x4000
lri $IX1,    #0x9d39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40250 (0x9d3a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40251 (0x9d3b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40252 (0x9d3c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40253 (0x9d3d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40254 (0x9d3e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40255 (0x9d3f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40256 (0x9d40)

lri $AR1,    #0x4000
lri $IX1,    #0x9d40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40257 (0x9d41)

lri $AR1,    #0x4000
lri $IX1,    #0x9d41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40258 (0x9d42)

lri $AR1,    #0x4000
lri $IX1,    #0x9d42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40259 (0x9d43)

lri $AR1,    #0x4000
lri $IX1,    #0x9d43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40260 (0x9d44)

lri $AR1,    #0x4000
lri $IX1,    #0x9d44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40261 (0x9d45)

lri $AR1,    #0x4000
lri $IX1,    #0x9d45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40262 (0x9d46)

lri $AR1,    #0x4000
lri $IX1,    #0x9d46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40263 (0x9d47)

lri $AR1,    #0x4000
lri $IX1,    #0x9d47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40264 (0x9d48)

lri $AR1,    #0x4000
lri $IX1,    #0x9d48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40265 (0x9d49)

lri $AR1,    #0x4000
lri $IX1,    #0x9d49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40266 (0x9d4a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40267 (0x9d4b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40268 (0x9d4c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40269 (0x9d4d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40270 (0x9d4e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40271 (0x9d4f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40272 (0x9d50)

lri $AR1,    #0x4000
lri $IX1,    #0x9d50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40273 (0x9d51)

lri $AR1,    #0x4000
lri $IX1,    #0x9d51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40274 (0x9d52)

lri $AR1,    #0x4000
lri $IX1,    #0x9d52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40275 (0x9d53)

lri $AR1,    #0x4000
lri $IX1,    #0x9d53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40276 (0x9d54)

lri $AR1,    #0x4000
lri $IX1,    #0x9d54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40277 (0x9d55)

lri $AR1,    #0x4000
lri $IX1,    #0x9d55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40278 (0x9d56)

lri $AR1,    #0x4000
lri $IX1,    #0x9d56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40279 (0x9d57)

lri $AR1,    #0x4000
lri $IX1,    #0x9d57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40280 (0x9d58)

lri $AR1,    #0x4000
lri $IX1,    #0x9d58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40281 (0x9d59)

lri $AR1,    #0x4000
lri $IX1,    #0x9d59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40282 (0x9d5a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40283 (0x9d5b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40284 (0x9d5c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40285 (0x9d5d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40286 (0x9d5e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40287 (0x9d5f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40288 (0x9d60)

lri $AR1,    #0x4000
lri $IX1,    #0x9d60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40289 (0x9d61)

lri $AR1,    #0x4000
lri $IX1,    #0x9d61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40290 (0x9d62)

lri $AR1,    #0x4000
lri $IX1,    #0x9d62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40291 (0x9d63)

lri $AR1,    #0x4000
lri $IX1,    #0x9d63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40292 (0x9d64)

lri $AR1,    #0x4000
lri $IX1,    #0x9d64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40293 (0x9d65)

lri $AR1,    #0x4000
lri $IX1,    #0x9d65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40294 (0x9d66)

lri $AR1,    #0x4000
lri $IX1,    #0x9d66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40295 (0x9d67)

lri $AR1,    #0x4000
lri $IX1,    #0x9d67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40296 (0x9d68)

lri $AR1,    #0x4000
lri $IX1,    #0x9d68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40297 (0x9d69)

lri $AR1,    #0x4000
lri $IX1,    #0x9d69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40298 (0x9d6a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40299 (0x9d6b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40300 (0x9d6c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40301 (0x9d6d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40302 (0x9d6e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40303 (0x9d6f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40304 (0x9d70)

lri $AR1,    #0x4000
lri $IX1,    #0x9d70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40305 (0x9d71)

lri $AR1,    #0x4000
lri $IX1,    #0x9d71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40306 (0x9d72)

lri $AR1,    #0x4000
lri $IX1,    #0x9d72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40307 (0x9d73)

lri $AR1,    #0x4000
lri $IX1,    #0x9d73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40308 (0x9d74)

lri $AR1,    #0x4000
lri $IX1,    #0x9d74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40309 (0x9d75)

lri $AR1,    #0x4000
lri $IX1,    #0x9d75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40310 (0x9d76)

lri $AR1,    #0x4000
lri $IX1,    #0x9d76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40311 (0x9d77)

lri $AR1,    #0x4000
lri $IX1,    #0x9d77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40312 (0x9d78)

lri $AR1,    #0x4000
lri $IX1,    #0x9d78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40313 (0x9d79)

lri $AR1,    #0x4000
lri $IX1,    #0x9d79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40314 (0x9d7a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40315 (0x9d7b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40316 (0x9d7c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40317 (0x9d7d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40318 (0x9d7e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40319 (0x9d7f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40320 (0x9d80)

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

