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

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

lri $AR1,    #0x4000
lri $IX1,    #0x9d81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40322 (0x9d82)

lri $AR1,    #0x4000
lri $IX1,    #0x9d82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40323 (0x9d83)

lri $AR1,    #0x4000
lri $IX1,    #0x9d83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40324 (0x9d84)

lri $AR1,    #0x4000
lri $IX1,    #0x9d84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40325 (0x9d85)

lri $AR1,    #0x4000
lri $IX1,    #0x9d85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40326 (0x9d86)

lri $AR1,    #0x4000
lri $IX1,    #0x9d86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40327 (0x9d87)

lri $AR1,    #0x4000
lri $IX1,    #0x9d87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40328 (0x9d88)

lri $AR1,    #0x4000
lri $IX1,    #0x9d88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40329 (0x9d89)

lri $AR1,    #0x4000
lri $IX1,    #0x9d89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40330 (0x9d8a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40331 (0x9d8b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40332 (0x9d8c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40333 (0x9d8d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40334 (0x9d8e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40335 (0x9d8f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40336 (0x9d90)

lri $AR1,    #0x4000
lri $IX1,    #0x9d90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40337 (0x9d91)

lri $AR1,    #0x4000
lri $IX1,    #0x9d91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40338 (0x9d92)

lri $AR1,    #0x4000
lri $IX1,    #0x9d92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40339 (0x9d93)

lri $AR1,    #0x4000
lri $IX1,    #0x9d93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40340 (0x9d94)

lri $AR1,    #0x4000
lri $IX1,    #0x9d94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40341 (0x9d95)

lri $AR1,    #0x4000
lri $IX1,    #0x9d95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40342 (0x9d96)

lri $AR1,    #0x4000
lri $IX1,    #0x9d96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40343 (0x9d97)

lri $AR1,    #0x4000
lri $IX1,    #0x9d97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40344 (0x9d98)

lri $AR1,    #0x4000
lri $IX1,    #0x9d98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40345 (0x9d99)

lri $AR1,    #0x4000
lri $IX1,    #0x9d99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40346 (0x9d9a)

lri $AR1,    #0x4000
lri $IX1,    #0x9d9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40347 (0x9d9b)

lri $AR1,    #0x4000
lri $IX1,    #0x9d9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40348 (0x9d9c)

lri $AR1,    #0x4000
lri $IX1,    #0x9d9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40349 (0x9d9d)

lri $AR1,    #0x4000
lri $IX1,    #0x9d9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40350 (0x9d9e)

lri $AR1,    #0x4000
lri $IX1,    #0x9d9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40351 (0x9d9f)

lri $AR1,    #0x4000
lri $IX1,    #0x9d9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40352 (0x9da0)

lri $AR1,    #0x4000
lri $IX1,    #0x9da0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40353 (0x9da1)

lri $AR1,    #0x4000
lri $IX1,    #0x9da1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40354 (0x9da2)

lri $AR1,    #0x4000
lri $IX1,    #0x9da2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40355 (0x9da3)

lri $AR1,    #0x4000
lri $IX1,    #0x9da3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40356 (0x9da4)

lri $AR1,    #0x4000
lri $IX1,    #0x9da4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40357 (0x9da5)

lri $AR1,    #0x4000
lri $IX1,    #0x9da5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40358 (0x9da6)

lri $AR1,    #0x4000
lri $IX1,    #0x9da6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40359 (0x9da7)

lri $AR1,    #0x4000
lri $IX1,    #0x9da7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40360 (0x9da8)

lri $AR1,    #0x4000
lri $IX1,    #0x9da8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40361 (0x9da9)

lri $AR1,    #0x4000
lri $IX1,    #0x9da9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40362 (0x9daa)

lri $AR1,    #0x4000
lri $IX1,    #0x9daa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40363 (0x9dab)

lri $AR1,    #0x4000
lri $IX1,    #0x9dab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40364 (0x9dac)

lri $AR1,    #0x4000
lri $IX1,    #0x9dac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40365 (0x9dad)

lri $AR1,    #0x4000
lri $IX1,    #0x9dad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40366 (0x9dae)

lri $AR1,    #0x4000
lri $IX1,    #0x9dae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40367 (0x9daf)

lri $AR1,    #0x4000
lri $IX1,    #0x9daf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40368 (0x9db0)

lri $AR1,    #0x4000
lri $IX1,    #0x9db0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40369 (0x9db1)

lri $AR1,    #0x4000
lri $IX1,    #0x9db1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40370 (0x9db2)

lri $AR1,    #0x4000
lri $IX1,    #0x9db2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40371 (0x9db3)

lri $AR1,    #0x4000
lri $IX1,    #0x9db3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40372 (0x9db4)

lri $AR1,    #0x4000
lri $IX1,    #0x9db4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40373 (0x9db5)

lri $AR1,    #0x4000
lri $IX1,    #0x9db5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40374 (0x9db6)

lri $AR1,    #0x4000
lri $IX1,    #0x9db6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40375 (0x9db7)

lri $AR1,    #0x4000
lri $IX1,    #0x9db7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40376 (0x9db8)

lri $AR1,    #0x4000
lri $IX1,    #0x9db8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40377 (0x9db9)

lri $AR1,    #0x4000
lri $IX1,    #0x9db9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40378 (0x9dba)

lri $AR1,    #0x4000
lri $IX1,    #0x9dba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40379 (0x9dbb)

lri $AR1,    #0x4000
lri $IX1,    #0x9dbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40380 (0x9dbc)

lri $AR1,    #0x4000
lri $IX1,    #0x9dbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40381 (0x9dbd)

lri $AR1,    #0x4000
lri $IX1,    #0x9dbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40382 (0x9dbe)

lri $AR1,    #0x4000
lri $IX1,    #0x9dbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40383 (0x9dbf)

lri $AR1,    #0x4000
lri $IX1,    #0x9dbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40384 (0x9dc0)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40385 (0x9dc1)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40386 (0x9dc2)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40387 (0x9dc3)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40388 (0x9dc4)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40389 (0x9dc5)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40390 (0x9dc6)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40391 (0x9dc7)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40392 (0x9dc8)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40393 (0x9dc9)

lri $AR1,    #0x4000
lri $IX1,    #0x9dc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40394 (0x9dca)

lri $AR1,    #0x4000
lri $IX1,    #0x9dca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40395 (0x9dcb)

lri $AR1,    #0x4000
lri $IX1,    #0x9dcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40396 (0x9dcc)

lri $AR1,    #0x4000
lri $IX1,    #0x9dcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40397 (0x9dcd)

lri $AR1,    #0x4000
lri $IX1,    #0x9dcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40398 (0x9dce)

lri $AR1,    #0x4000
lri $IX1,    #0x9dce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40399 (0x9dcf)

lri $AR1,    #0x4000
lri $IX1,    #0x9dcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40400 (0x9dd0)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40401 (0x9dd1)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40402 (0x9dd2)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40403 (0x9dd3)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40404 (0x9dd4)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40405 (0x9dd5)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40406 (0x9dd6)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40407 (0x9dd7)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40408 (0x9dd8)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40409 (0x9dd9)

lri $AR1,    #0x4000
lri $IX1,    #0x9dd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40410 (0x9dda)

lri $AR1,    #0x4000
lri $IX1,    #0x9dda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40411 (0x9ddb)

lri $AR1,    #0x4000
lri $IX1,    #0x9ddb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40412 (0x9ddc)

lri $AR1,    #0x4000
lri $IX1,    #0x9ddc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40413 (0x9ddd)

lri $AR1,    #0x4000
lri $IX1,    #0x9ddd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40414 (0x9dde)

lri $AR1,    #0x4000
lri $IX1,    #0x9dde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40415 (0x9ddf)

lri $AR1,    #0x4000
lri $IX1,    #0x9ddf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40416 (0x9de0)

lri $AR1,    #0x4000
lri $IX1,    #0x9de0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40417 (0x9de1)

lri $AR1,    #0x4000
lri $IX1,    #0x9de1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40418 (0x9de2)

lri $AR1,    #0x4000
lri $IX1,    #0x9de2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40419 (0x9de3)

lri $AR1,    #0x4000
lri $IX1,    #0x9de3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40420 (0x9de4)

lri $AR1,    #0x4000
lri $IX1,    #0x9de4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40421 (0x9de5)

lri $AR1,    #0x4000
lri $IX1,    #0x9de5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40422 (0x9de6)

lri $AR1,    #0x4000
lri $IX1,    #0x9de6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40423 (0x9de7)

lri $AR1,    #0x4000
lri $IX1,    #0x9de7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40424 (0x9de8)

lri $AR1,    #0x4000
lri $IX1,    #0x9de8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40425 (0x9de9)

lri $AR1,    #0x4000
lri $IX1,    #0x9de9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40426 (0x9dea)

lri $AR1,    #0x4000
lri $IX1,    #0x9dea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40427 (0x9deb)

lri $AR1,    #0x4000
lri $IX1,    #0x9deb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40428 (0x9dec)

lri $AR1,    #0x4000
lri $IX1,    #0x9dec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40429 (0x9ded)

lri $AR1,    #0x4000
lri $IX1,    #0x9ded
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40430 (0x9dee)

lri $AR1,    #0x4000
lri $IX1,    #0x9dee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40431 (0x9def)

lri $AR1,    #0x4000
lri $IX1,    #0x9def
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40432 (0x9df0)

lri $AR1,    #0x4000
lri $IX1,    #0x9df0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40433 (0x9df1)

lri $AR1,    #0x4000
lri $IX1,    #0x9df1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40434 (0x9df2)

lri $AR1,    #0x4000
lri $IX1,    #0x9df2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40435 (0x9df3)

lri $AR1,    #0x4000
lri $IX1,    #0x9df3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40436 (0x9df4)

lri $AR1,    #0x4000
lri $IX1,    #0x9df4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40437 (0x9df5)

lri $AR1,    #0x4000
lri $IX1,    #0x9df5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40438 (0x9df6)

lri $AR1,    #0x4000
lri $IX1,    #0x9df6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40439 (0x9df7)

lri $AR1,    #0x4000
lri $IX1,    #0x9df7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40440 (0x9df8)

lri $AR1,    #0x4000
lri $IX1,    #0x9df8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40441 (0x9df9)

lri $AR1,    #0x4000
lri $IX1,    #0x9df9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40442 (0x9dfa)

lri $AR1,    #0x4000
lri $IX1,    #0x9dfa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40443 (0x9dfb)

lri $AR1,    #0x4000
lri $IX1,    #0x9dfb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40444 (0x9dfc)

lri $AR1,    #0x4000
lri $IX1,    #0x9dfc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40445 (0x9dfd)

lri $AR1,    #0x4000
lri $IX1,    #0x9dfd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40446 (0x9dfe)

lri $AR1,    #0x4000
lri $IX1,    #0x9dfe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40447 (0x9dff)

lri $AR1,    #0x4000
lri $IX1,    #0x9dff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40448 (0x9e00)

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

