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

lri $AR1,    #0x4000
lri $IX1,    #0x5f00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24321 (0x5f01)

lri $AR1,    #0x4000
lri $IX1,    #0x5f01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24322 (0x5f02)

lri $AR1,    #0x4000
lri $IX1,    #0x5f02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24323 (0x5f03)

lri $AR1,    #0x4000
lri $IX1,    #0x5f03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24324 (0x5f04)

lri $AR1,    #0x4000
lri $IX1,    #0x5f04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24325 (0x5f05)

lri $AR1,    #0x4000
lri $IX1,    #0x5f05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24326 (0x5f06)

lri $AR1,    #0x4000
lri $IX1,    #0x5f06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24327 (0x5f07)

lri $AR1,    #0x4000
lri $IX1,    #0x5f07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24328 (0x5f08)

lri $AR1,    #0x4000
lri $IX1,    #0x5f08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24329 (0x5f09)

lri $AR1,    #0x4000
lri $IX1,    #0x5f09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24330 (0x5f0a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24331 (0x5f0b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24332 (0x5f0c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24333 (0x5f0d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24334 (0x5f0e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24335 (0x5f0f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24336 (0x5f10)

lri $AR1,    #0x4000
lri $IX1,    #0x5f10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24337 (0x5f11)

lri $AR1,    #0x4000
lri $IX1,    #0x5f11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24338 (0x5f12)

lri $AR1,    #0x4000
lri $IX1,    #0x5f12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24339 (0x5f13)

lri $AR1,    #0x4000
lri $IX1,    #0x5f13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24340 (0x5f14)

lri $AR1,    #0x4000
lri $IX1,    #0x5f14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24341 (0x5f15)

lri $AR1,    #0x4000
lri $IX1,    #0x5f15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24342 (0x5f16)

lri $AR1,    #0x4000
lri $IX1,    #0x5f16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24343 (0x5f17)

lri $AR1,    #0x4000
lri $IX1,    #0x5f17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24344 (0x5f18)

lri $AR1,    #0x4000
lri $IX1,    #0x5f18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24345 (0x5f19)

lri $AR1,    #0x4000
lri $IX1,    #0x5f19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24346 (0x5f1a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24347 (0x5f1b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24348 (0x5f1c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24349 (0x5f1d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24350 (0x5f1e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24351 (0x5f1f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24352 (0x5f20)

lri $AR1,    #0x4000
lri $IX1,    #0x5f20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24353 (0x5f21)

lri $AR1,    #0x4000
lri $IX1,    #0x5f21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24354 (0x5f22)

lri $AR1,    #0x4000
lri $IX1,    #0x5f22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24355 (0x5f23)

lri $AR1,    #0x4000
lri $IX1,    #0x5f23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24356 (0x5f24)

lri $AR1,    #0x4000
lri $IX1,    #0x5f24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24357 (0x5f25)

lri $AR1,    #0x4000
lri $IX1,    #0x5f25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24358 (0x5f26)

lri $AR1,    #0x4000
lri $IX1,    #0x5f26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24359 (0x5f27)

lri $AR1,    #0x4000
lri $IX1,    #0x5f27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24360 (0x5f28)

lri $AR1,    #0x4000
lri $IX1,    #0x5f28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24361 (0x5f29)

lri $AR1,    #0x4000
lri $IX1,    #0x5f29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24362 (0x5f2a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24363 (0x5f2b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24364 (0x5f2c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24365 (0x5f2d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24366 (0x5f2e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24367 (0x5f2f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24368 (0x5f30)

lri $AR1,    #0x4000
lri $IX1,    #0x5f30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24369 (0x5f31)

lri $AR1,    #0x4000
lri $IX1,    #0x5f31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24370 (0x5f32)

lri $AR1,    #0x4000
lri $IX1,    #0x5f32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24371 (0x5f33)

lri $AR1,    #0x4000
lri $IX1,    #0x5f33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24372 (0x5f34)

lri $AR1,    #0x4000
lri $IX1,    #0x5f34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24373 (0x5f35)

lri $AR1,    #0x4000
lri $IX1,    #0x5f35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24374 (0x5f36)

lri $AR1,    #0x4000
lri $IX1,    #0x5f36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24375 (0x5f37)

lri $AR1,    #0x4000
lri $IX1,    #0x5f37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24376 (0x5f38)

lri $AR1,    #0x4000
lri $IX1,    #0x5f38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24377 (0x5f39)

lri $AR1,    #0x4000
lri $IX1,    #0x5f39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24378 (0x5f3a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24379 (0x5f3b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24380 (0x5f3c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24381 (0x5f3d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24382 (0x5f3e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24383 (0x5f3f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24384 (0x5f40)

lri $AR1,    #0x4000
lri $IX1,    #0x5f40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24385 (0x5f41)

lri $AR1,    #0x4000
lri $IX1,    #0x5f41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24386 (0x5f42)

lri $AR1,    #0x4000
lri $IX1,    #0x5f42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24387 (0x5f43)

lri $AR1,    #0x4000
lri $IX1,    #0x5f43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24388 (0x5f44)

lri $AR1,    #0x4000
lri $IX1,    #0x5f44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24389 (0x5f45)

lri $AR1,    #0x4000
lri $IX1,    #0x5f45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24390 (0x5f46)

lri $AR1,    #0x4000
lri $IX1,    #0x5f46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24391 (0x5f47)

lri $AR1,    #0x4000
lri $IX1,    #0x5f47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24392 (0x5f48)

lri $AR1,    #0x4000
lri $IX1,    #0x5f48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24393 (0x5f49)

lri $AR1,    #0x4000
lri $IX1,    #0x5f49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24394 (0x5f4a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24395 (0x5f4b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24396 (0x5f4c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24397 (0x5f4d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24398 (0x5f4e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24399 (0x5f4f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24400 (0x5f50)

lri $AR1,    #0x4000
lri $IX1,    #0x5f50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24401 (0x5f51)

lri $AR1,    #0x4000
lri $IX1,    #0x5f51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24402 (0x5f52)

lri $AR1,    #0x4000
lri $IX1,    #0x5f52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24403 (0x5f53)

lri $AR1,    #0x4000
lri $IX1,    #0x5f53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24404 (0x5f54)

lri $AR1,    #0x4000
lri $IX1,    #0x5f54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24405 (0x5f55)

lri $AR1,    #0x4000
lri $IX1,    #0x5f55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24406 (0x5f56)

lri $AR1,    #0x4000
lri $IX1,    #0x5f56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24407 (0x5f57)

lri $AR1,    #0x4000
lri $IX1,    #0x5f57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24408 (0x5f58)

lri $AR1,    #0x4000
lri $IX1,    #0x5f58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24409 (0x5f59)

lri $AR1,    #0x4000
lri $IX1,    #0x5f59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24410 (0x5f5a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24411 (0x5f5b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24412 (0x5f5c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24413 (0x5f5d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24414 (0x5f5e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24415 (0x5f5f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24416 (0x5f60)

lri $AR1,    #0x4000
lri $IX1,    #0x5f60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24417 (0x5f61)

lri $AR1,    #0x4000
lri $IX1,    #0x5f61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24418 (0x5f62)

lri $AR1,    #0x4000
lri $IX1,    #0x5f62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24419 (0x5f63)

lri $AR1,    #0x4000
lri $IX1,    #0x5f63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24420 (0x5f64)

lri $AR1,    #0x4000
lri $IX1,    #0x5f64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24421 (0x5f65)

lri $AR1,    #0x4000
lri $IX1,    #0x5f65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24422 (0x5f66)

lri $AR1,    #0x4000
lri $IX1,    #0x5f66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24423 (0x5f67)

lri $AR1,    #0x4000
lri $IX1,    #0x5f67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24424 (0x5f68)

lri $AR1,    #0x4000
lri $IX1,    #0x5f68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24425 (0x5f69)

lri $AR1,    #0x4000
lri $IX1,    #0x5f69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24426 (0x5f6a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24427 (0x5f6b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24428 (0x5f6c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24429 (0x5f6d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24430 (0x5f6e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24431 (0x5f6f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24432 (0x5f70)

lri $AR1,    #0x4000
lri $IX1,    #0x5f70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24433 (0x5f71)

lri $AR1,    #0x4000
lri $IX1,    #0x5f71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24434 (0x5f72)

lri $AR1,    #0x4000
lri $IX1,    #0x5f72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24435 (0x5f73)

lri $AR1,    #0x4000
lri $IX1,    #0x5f73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24436 (0x5f74)

lri $AR1,    #0x4000
lri $IX1,    #0x5f74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24437 (0x5f75)

lri $AR1,    #0x4000
lri $IX1,    #0x5f75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24438 (0x5f76)

lri $AR1,    #0x4000
lri $IX1,    #0x5f76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24439 (0x5f77)

lri $AR1,    #0x4000
lri $IX1,    #0x5f77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24440 (0x5f78)

lri $AR1,    #0x4000
lri $IX1,    #0x5f78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24441 (0x5f79)

lri $AR1,    #0x4000
lri $IX1,    #0x5f79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24442 (0x5f7a)

lri $AR1,    #0x4000
lri $IX1,    #0x5f7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24443 (0x5f7b)

lri $AR1,    #0x4000
lri $IX1,    #0x5f7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24444 (0x5f7c)

lri $AR1,    #0x4000
lri $IX1,    #0x5f7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24445 (0x5f7d)

lri $AR1,    #0x4000
lri $IX1,    #0x5f7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24446 (0x5f7e)

lri $AR1,    #0x4000
lri $IX1,    #0x5f7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24447 (0x5f7f)

lri $AR1,    #0x4000
lri $IX1,    #0x5f7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 24448 (0x5f80)

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

