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

lri $AR1,    #0x0040
lri $IX1,    #0x9d71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40306 (0x9d72)

lri $AR1,    #0x0040
lri $IX1,    #0x9d72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40307 (0x9d73)

lri $AR1,    #0x0040
lri $IX1,    #0x9d73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40308 (0x9d74)

lri $AR1,    #0x0040
lri $IX1,    #0x9d74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40309 (0x9d75)

lri $AR1,    #0x0040
lri $IX1,    #0x9d75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40310 (0x9d76)

lri $AR1,    #0x0040
lri $IX1,    #0x9d76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40311 (0x9d77)

lri $AR1,    #0x0040
lri $IX1,    #0x9d77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40312 (0x9d78)

lri $AR1,    #0x0040
lri $IX1,    #0x9d78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40313 (0x9d79)

lri $AR1,    #0x0040
lri $IX1,    #0x9d79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40314 (0x9d7a)

lri $AR1,    #0x0040
lri $IX1,    #0x9d7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40315 (0x9d7b)

lri $AR1,    #0x0040
lri $IX1,    #0x9d7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40316 (0x9d7c)

lri $AR1,    #0x0040
lri $IX1,    #0x9d7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40317 (0x9d7d)

lri $AR1,    #0x0040
lri $IX1,    #0x9d7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40318 (0x9d7e)

lri $AR1,    #0x0040
lri $IX1,    #0x9d7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40319 (0x9d7f)

lri $AR1,    #0x0040
lri $IX1,    #0x9d7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40320 (0x9d80)

lri $AR1,    #0x0040
lri $IX1,    #0x9d80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40321 (0x9d81)

lri $AR1,    #0x0040
lri $IX1,    #0x9d81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40322 (0x9d82)

lri $AR1,    #0x0040
lri $IX1,    #0x9d82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40323 (0x9d83)

lri $AR1,    #0x0040
lri $IX1,    #0x9d83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40324 (0x9d84)

lri $AR1,    #0x0040
lri $IX1,    #0x9d84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40325 (0x9d85)

lri $AR1,    #0x0040
lri $IX1,    #0x9d85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40326 (0x9d86)

lri $AR1,    #0x0040
lri $IX1,    #0x9d86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40327 (0x9d87)

lri $AR1,    #0x0040
lri $IX1,    #0x9d87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40328 (0x9d88)

lri $AR1,    #0x0040
lri $IX1,    #0x9d88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40329 (0x9d89)

lri $AR1,    #0x0040
lri $IX1,    #0x9d89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40330 (0x9d8a)

lri $AR1,    #0x0040
lri $IX1,    #0x9d8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40331 (0x9d8b)

lri $AR1,    #0x0040
lri $IX1,    #0x9d8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40332 (0x9d8c)

lri $AR1,    #0x0040
lri $IX1,    #0x9d8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40333 (0x9d8d)

lri $AR1,    #0x0040
lri $IX1,    #0x9d8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40334 (0x9d8e)

lri $AR1,    #0x0040
lri $IX1,    #0x9d8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40335 (0x9d8f)

lri $AR1,    #0x0040
lri $IX1,    #0x9d8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40336 (0x9d90)

lri $AR1,    #0x0040
lri $IX1,    #0x9d90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40337 (0x9d91)

lri $AR1,    #0x0040
lri $IX1,    #0x9d91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40338 (0x9d92)

lri $AR1,    #0x0040
lri $IX1,    #0x9d92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40339 (0x9d93)

lri $AR1,    #0x0040
lri $IX1,    #0x9d93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40340 (0x9d94)

lri $AR1,    #0x0040
lri $IX1,    #0x9d94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40341 (0x9d95)

lri $AR1,    #0x0040
lri $IX1,    #0x9d95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40342 (0x9d96)

lri $AR1,    #0x0040
lri $IX1,    #0x9d96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40343 (0x9d97)

lri $AR1,    #0x0040
lri $IX1,    #0x9d97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40344 (0x9d98)

lri $AR1,    #0x0040
lri $IX1,    #0x9d98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40345 (0x9d99)

lri $AR1,    #0x0040
lri $IX1,    #0x9d99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40346 (0x9d9a)

lri $AR1,    #0x0040
lri $IX1,    #0x9d9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40347 (0x9d9b)

lri $AR1,    #0x0040
lri $IX1,    #0x9d9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40348 (0x9d9c)

lri $AR1,    #0x0040
lri $IX1,    #0x9d9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40349 (0x9d9d)

lri $AR1,    #0x0040
lri $IX1,    #0x9d9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40350 (0x9d9e)

lri $AR1,    #0x0040
lri $IX1,    #0x9d9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40351 (0x9d9f)

lri $AR1,    #0x0040
lri $IX1,    #0x9d9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40352 (0x9da0)

lri $AR1,    #0x0040
lri $IX1,    #0x9da0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40353 (0x9da1)

lri $AR1,    #0x0040
lri $IX1,    #0x9da1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40354 (0x9da2)

lri $AR1,    #0x0040
lri $IX1,    #0x9da2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40355 (0x9da3)

lri $AR1,    #0x0040
lri $IX1,    #0x9da3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40356 (0x9da4)

lri $AR1,    #0x0040
lri $IX1,    #0x9da4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40357 (0x9da5)

lri $AR1,    #0x0040
lri $IX1,    #0x9da5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40358 (0x9da6)

lri $AR1,    #0x0040
lri $IX1,    #0x9da6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40359 (0x9da7)

lri $AR1,    #0x0040
lri $IX1,    #0x9da7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40360 (0x9da8)

lri $AR1,    #0x0040
lri $IX1,    #0x9da8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40361 (0x9da9)

lri $AR1,    #0x0040
lri $IX1,    #0x9da9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40362 (0x9daa)

lri $AR1,    #0x0040
lri $IX1,    #0x9daa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40363 (0x9dab)

lri $AR1,    #0x0040
lri $IX1,    #0x9dab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40364 (0x9dac)

lri $AR1,    #0x0040
lri $IX1,    #0x9dac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40365 (0x9dad)

lri $AR1,    #0x0040
lri $IX1,    #0x9dad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40366 (0x9dae)

lri $AR1,    #0x0040
lri $IX1,    #0x9dae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40367 (0x9daf)

lri $AR1,    #0x0040
lri $IX1,    #0x9daf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40368 (0x9db0)

lri $AR1,    #0x0040
lri $IX1,    #0x9db0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40369 (0x9db1)

lri $AR1,    #0x0040
lri $IX1,    #0x9db1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40370 (0x9db2)

lri $AR1,    #0x0040
lri $IX1,    #0x9db2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40371 (0x9db3)

lri $AR1,    #0x0040
lri $IX1,    #0x9db3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40372 (0x9db4)

lri $AR1,    #0x0040
lri $IX1,    #0x9db4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40373 (0x9db5)

lri $AR1,    #0x0040
lri $IX1,    #0x9db5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40374 (0x9db6)

lri $AR1,    #0x0040
lri $IX1,    #0x9db6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40375 (0x9db7)

lri $AR1,    #0x0040
lri $IX1,    #0x9db7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40376 (0x9db8)

lri $AR1,    #0x0040
lri $IX1,    #0x9db8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40377 (0x9db9)

lri $AR1,    #0x0040
lri $IX1,    #0x9db9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40378 (0x9dba)

lri $AR1,    #0x0040
lri $IX1,    #0x9dba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40379 (0x9dbb)

lri $AR1,    #0x0040
lri $IX1,    #0x9dbb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40380 (0x9dbc)

lri $AR1,    #0x0040
lri $IX1,    #0x9dbc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40381 (0x9dbd)

lri $AR1,    #0x0040
lri $IX1,    #0x9dbd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40382 (0x9dbe)

lri $AR1,    #0x0040
lri $IX1,    #0x9dbe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40383 (0x9dbf)

lri $AR1,    #0x0040
lri $IX1,    #0x9dbf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40384 (0x9dc0)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40385 (0x9dc1)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40386 (0x9dc2)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40387 (0x9dc3)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40388 (0x9dc4)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40389 (0x9dc5)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40390 (0x9dc6)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40391 (0x9dc7)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40392 (0x9dc8)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40393 (0x9dc9)

lri $AR1,    #0x0040
lri $IX1,    #0x9dc9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40394 (0x9dca)

lri $AR1,    #0x0040
lri $IX1,    #0x9dca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40395 (0x9dcb)

lri $AR1,    #0x0040
lri $IX1,    #0x9dcb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40396 (0x9dcc)

lri $AR1,    #0x0040
lri $IX1,    #0x9dcc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40397 (0x9dcd)

lri $AR1,    #0x0040
lri $IX1,    #0x9dcd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40398 (0x9dce)

lri $AR1,    #0x0040
lri $IX1,    #0x9dce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40399 (0x9dcf)

lri $AR1,    #0x0040
lri $IX1,    #0x9dcf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40400 (0x9dd0)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40401 (0x9dd1)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40402 (0x9dd2)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40403 (0x9dd3)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40404 (0x9dd4)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40405 (0x9dd5)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40406 (0x9dd6)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40407 (0x9dd7)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40408 (0x9dd8)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40409 (0x9dd9)

lri $AR1,    #0x0040
lri $IX1,    #0x9dd9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40410 (0x9dda)

lri $AR1,    #0x0040
lri $IX1,    #0x9dda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40411 (0x9ddb)

lri $AR1,    #0x0040
lri $IX1,    #0x9ddb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40412 (0x9ddc)

lri $AR1,    #0x0040
lri $IX1,    #0x9ddc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40413 (0x9ddd)

lri $AR1,    #0x0040
lri $IX1,    #0x9ddd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40414 (0x9dde)

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