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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc80
cw 0x9
call send_back  ; 52353 (0xcc81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc81
cw 0x9
call send_back  ; 52354 (0xcc82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc82
cw 0x9
call send_back  ; 52355 (0xcc83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc83
cw 0x9
call send_back  ; 52356 (0xcc84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc84
cw 0x9
call send_back  ; 52357 (0xcc85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc85
cw 0x9
call send_back  ; 52358 (0xcc86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc86
cw 0x9
call send_back  ; 52359 (0xcc87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc87
cw 0x9
call send_back  ; 52360 (0xcc88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc88
cw 0x9
call send_back  ; 52361 (0xcc89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc89
cw 0x9
call send_back  ; 52362 (0xcc8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc8a
cw 0x9
call send_back  ; 52363 (0xcc8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc8b
cw 0x9
call send_back  ; 52364 (0xcc8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc8c
cw 0x9
call send_back  ; 52365 (0xcc8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc8d
cw 0x9
call send_back  ; 52366 (0xcc8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc8e
cw 0x9
call send_back  ; 52367 (0xcc8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc8f
cw 0x9
call send_back  ; 52368 (0xcc90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc90
cw 0x9
call send_back  ; 52369 (0xcc91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc91
cw 0x9
call send_back  ; 52370 (0xcc92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc92
cw 0x9
call send_back  ; 52371 (0xcc93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc93
cw 0x9
call send_back  ; 52372 (0xcc94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc94
cw 0x9
call send_back  ; 52373 (0xcc95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc95
cw 0x9
call send_back  ; 52374 (0xcc96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc96
cw 0x9
call send_back  ; 52375 (0xcc97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc97
cw 0x9
call send_back  ; 52376 (0xcc98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc98
cw 0x9
call send_back  ; 52377 (0xcc99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc99
cw 0x9
call send_back  ; 52378 (0xcc9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc9a
cw 0x9
call send_back  ; 52379 (0xcc9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc9b
cw 0x9
call send_back  ; 52380 (0xcc9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc9c
cw 0x9
call send_back  ; 52381 (0xcc9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc9d
cw 0x9
call send_back  ; 52382 (0xcc9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc9e
cw 0x9
call send_back  ; 52383 (0xcc9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcc9f
cw 0x9
call send_back  ; 52384 (0xcca0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca0
cw 0x9
call send_back  ; 52385 (0xcca1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca1
cw 0x9
call send_back  ; 52386 (0xcca2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca2
cw 0x9
call send_back  ; 52387 (0xcca3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca3
cw 0x9
call send_back  ; 52388 (0xcca4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca4
cw 0x9
call send_back  ; 52389 (0xcca5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca5
cw 0x9
call send_back  ; 52390 (0xcca6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca6
cw 0x9
call send_back  ; 52391 (0xcca7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca7
cw 0x9
call send_back  ; 52392 (0xcca8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca8
cw 0x9
call send_back  ; 52393 (0xcca9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcca9
cw 0x9
call send_back  ; 52394 (0xccaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccaa
cw 0x9
call send_back  ; 52395 (0xccab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccab
cw 0x9
call send_back  ; 52396 (0xccac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccac
cw 0x9
call send_back  ; 52397 (0xccad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccad
cw 0x9
call send_back  ; 52398 (0xccae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccae
cw 0x9
call send_back  ; 52399 (0xccaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccaf
cw 0x9
call send_back  ; 52400 (0xccb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb0
cw 0x9
call send_back  ; 52401 (0xccb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb1
cw 0x9
call send_back  ; 52402 (0xccb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb2
cw 0x9
call send_back  ; 52403 (0xccb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb3
cw 0x9
call send_back  ; 52404 (0xccb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb4
cw 0x9
call send_back  ; 52405 (0xccb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb5
cw 0x9
call send_back  ; 52406 (0xccb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb6
cw 0x9
call send_back  ; 52407 (0xccb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb7
cw 0x9
call send_back  ; 52408 (0xccb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb8
cw 0x9
call send_back  ; 52409 (0xccb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccb9
cw 0x9
call send_back  ; 52410 (0xccba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccba
cw 0x9
call send_back  ; 52411 (0xccbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccbb
cw 0x9
call send_back  ; 52412 (0xccbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccbc
cw 0x9
call send_back  ; 52413 (0xccbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccbd
cw 0x9
call send_back  ; 52414 (0xccbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccbe
cw 0x9
call send_back  ; 52415 (0xccbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccbf
cw 0x9
call send_back  ; 52416 (0xccc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc0
cw 0x9
call send_back  ; 52417 (0xccc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc1
cw 0x9
call send_back  ; 52418 (0xccc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc2
cw 0x9
call send_back  ; 52419 (0xccc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc3
cw 0x9
call send_back  ; 52420 (0xccc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc4
cw 0x9
call send_back  ; 52421 (0xccc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc5
cw 0x9
call send_back  ; 52422 (0xccc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc6
cw 0x9
call send_back  ; 52423 (0xccc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc7
cw 0x9
call send_back  ; 52424 (0xccc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc8
cw 0x9
call send_back  ; 52425 (0xccc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccc9
cw 0x9
call send_back  ; 52426 (0xccca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccca
cw 0x9
call send_back  ; 52427 (0xcccb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcccb
cw 0x9
call send_back  ; 52428 (0xcccc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcccc
cw 0x9
call send_back  ; 52429 (0xcccd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcccd
cw 0x9
call send_back  ; 52430 (0xccce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccce
cw 0x9
call send_back  ; 52431 (0xcccf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcccf
cw 0x9
call send_back  ; 52432 (0xccd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd0
cw 0x9
call send_back  ; 52433 (0xccd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd1
cw 0x9
call send_back  ; 52434 (0xccd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd2
cw 0x9
call send_back  ; 52435 (0xccd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd3
cw 0x9
call send_back  ; 52436 (0xccd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd4
cw 0x9
call send_back  ; 52437 (0xccd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd5
cw 0x9
call send_back  ; 52438 (0xccd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd6
cw 0x9
call send_back  ; 52439 (0xccd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd7
cw 0x9
call send_back  ; 52440 (0xccd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd8
cw 0x9
call send_back  ; 52441 (0xccd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccd9
cw 0x9
call send_back  ; 52442 (0xccda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccda
cw 0x9
call send_back  ; 52443 (0xccdb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccdb
cw 0x9
call send_back  ; 52444 (0xccdc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccdc
cw 0x9
call send_back  ; 52445 (0xccdd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccdd
cw 0x9
call send_back  ; 52446 (0xccde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccde
cw 0x9
call send_back  ; 52447 (0xccdf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccdf
cw 0x9
call send_back  ; 52448 (0xcce0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce0
cw 0x9
call send_back  ; 52449 (0xcce1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce1
cw 0x9
call send_back  ; 52450 (0xcce2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce2
cw 0x9
call send_back  ; 52451 (0xcce3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce3
cw 0x9
call send_back  ; 52452 (0xcce4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce4
cw 0x9
call send_back  ; 52453 (0xcce5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce5
cw 0x9
call send_back  ; 52454 (0xcce6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce6
cw 0x9
call send_back  ; 52455 (0xcce7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce7
cw 0x9
call send_back  ; 52456 (0xcce8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce8
cw 0x9
call send_back  ; 52457 (0xcce9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcce9
cw 0x9
call send_back  ; 52458 (0xccea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccea
cw 0x9
call send_back  ; 52459 (0xcceb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcceb
cw 0x9
call send_back  ; 52460 (0xccec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccec
cw 0x9
call send_back  ; 52461 (0xcced)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcced
cw 0x9
call send_back  ; 52462 (0xccee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccee
cw 0x9
call send_back  ; 52463 (0xccef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccef
cw 0x9
call send_back  ; 52464 (0xccf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf0
cw 0x9
call send_back  ; 52465 (0xccf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf1
cw 0x9
call send_back  ; 52466 (0xccf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf2
cw 0x9
call send_back  ; 52467 (0xccf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf3
cw 0x9
call send_back  ; 52468 (0xccf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf4
cw 0x9
call send_back  ; 52469 (0xccf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf5
cw 0x9
call send_back  ; 52470 (0xccf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf6
cw 0x9
call send_back  ; 52471 (0xccf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf7
cw 0x9
call send_back  ; 52472 (0xccf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf8
cw 0x9
call send_back  ; 52473 (0xccf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccf9
cw 0x9
call send_back  ; 52474 (0xccfa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccfa
cw 0x9
call send_back  ; 52475 (0xccfb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccfb
cw 0x9
call send_back  ; 52476 (0xccfc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccfc
cw 0x9
call send_back  ; 52477 (0xccfd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccfd
cw 0x9
call send_back  ; 52478 (0xccfe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccfe
cw 0x9
call send_back  ; 52479 (0xccff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xccff
cw 0x9
call send_back  ; 52480 (0xcd00)

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

