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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad80
cw 0x5
call send_back  ; 44417 (0xad81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad81
cw 0x5
call send_back  ; 44418 (0xad82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad82
cw 0x5
call send_back  ; 44419 (0xad83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad83
cw 0x5
call send_back  ; 44420 (0xad84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad84
cw 0x5
call send_back  ; 44421 (0xad85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad85
cw 0x5
call send_back  ; 44422 (0xad86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad86
cw 0x5
call send_back  ; 44423 (0xad87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad87
cw 0x5
call send_back  ; 44424 (0xad88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad88
cw 0x5
call send_back  ; 44425 (0xad89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad89
cw 0x5
call send_back  ; 44426 (0xad8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad8a
cw 0x5
call send_back  ; 44427 (0xad8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad8b
cw 0x5
call send_back  ; 44428 (0xad8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad8c
cw 0x5
call send_back  ; 44429 (0xad8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad8d
cw 0x5
call send_back  ; 44430 (0xad8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad8e
cw 0x5
call send_back  ; 44431 (0xad8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad8f
cw 0x5
call send_back  ; 44432 (0xad90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad90
cw 0x5
call send_back  ; 44433 (0xad91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad91
cw 0x5
call send_back  ; 44434 (0xad92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad92
cw 0x5
call send_back  ; 44435 (0xad93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad93
cw 0x5
call send_back  ; 44436 (0xad94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad94
cw 0x5
call send_back  ; 44437 (0xad95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad95
cw 0x5
call send_back  ; 44438 (0xad96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad96
cw 0x5
call send_back  ; 44439 (0xad97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad97
cw 0x5
call send_back  ; 44440 (0xad98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad98
cw 0x5
call send_back  ; 44441 (0xad99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad99
cw 0x5
call send_back  ; 44442 (0xad9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad9a
cw 0x5
call send_back  ; 44443 (0xad9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad9b
cw 0x5
call send_back  ; 44444 (0xad9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad9c
cw 0x5
call send_back  ; 44445 (0xad9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad9d
cw 0x5
call send_back  ; 44446 (0xad9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad9e
cw 0x5
call send_back  ; 44447 (0xad9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xad9f
cw 0x5
call send_back  ; 44448 (0xada0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada0
cw 0x5
call send_back  ; 44449 (0xada1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada1
cw 0x5
call send_back  ; 44450 (0xada2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada2
cw 0x5
call send_back  ; 44451 (0xada3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada3
cw 0x5
call send_back  ; 44452 (0xada4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada4
cw 0x5
call send_back  ; 44453 (0xada5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada5
cw 0x5
call send_back  ; 44454 (0xada6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada6
cw 0x5
call send_back  ; 44455 (0xada7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada7
cw 0x5
call send_back  ; 44456 (0xada8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada8
cw 0x5
call send_back  ; 44457 (0xada9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xada9
cw 0x5
call send_back  ; 44458 (0xadaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadaa
cw 0x5
call send_back  ; 44459 (0xadab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadab
cw 0x5
call send_back  ; 44460 (0xadac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadac
cw 0x5
call send_back  ; 44461 (0xadad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadad
cw 0x5
call send_back  ; 44462 (0xadae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadae
cw 0x5
call send_back  ; 44463 (0xadaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadaf
cw 0x5
call send_back  ; 44464 (0xadb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb0
cw 0x5
call send_back  ; 44465 (0xadb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb1
cw 0x5
call send_back  ; 44466 (0xadb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb2
cw 0x5
call send_back  ; 44467 (0xadb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb3
cw 0x5
call send_back  ; 44468 (0xadb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb4
cw 0x5
call send_back  ; 44469 (0xadb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb5
cw 0x5
call send_back  ; 44470 (0xadb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb6
cw 0x5
call send_back  ; 44471 (0xadb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb7
cw 0x5
call send_back  ; 44472 (0xadb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb8
cw 0x5
call send_back  ; 44473 (0xadb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadb9
cw 0x5
call send_back  ; 44474 (0xadba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadba
cw 0x5
call send_back  ; 44475 (0xadbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadbb
cw 0x5
call send_back  ; 44476 (0xadbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadbc
cw 0x5
call send_back  ; 44477 (0xadbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadbd
cw 0x5
call send_back  ; 44478 (0xadbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadbe
cw 0x5
call send_back  ; 44479 (0xadbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadbf
cw 0x5
call send_back  ; 44480 (0xadc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc0
cw 0x5
call send_back  ; 44481 (0xadc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc1
cw 0x5
call send_back  ; 44482 (0xadc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc2
cw 0x5
call send_back  ; 44483 (0xadc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc3
cw 0x5
call send_back  ; 44484 (0xadc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc4
cw 0x5
call send_back  ; 44485 (0xadc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc5
cw 0x5
call send_back  ; 44486 (0xadc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc6
cw 0x5
call send_back  ; 44487 (0xadc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc7
cw 0x5
call send_back  ; 44488 (0xadc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc8
cw 0x5
call send_back  ; 44489 (0xadc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadc9
cw 0x5
call send_back  ; 44490 (0xadca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadca
cw 0x5
call send_back  ; 44491 (0xadcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadcb
cw 0x5
call send_back  ; 44492 (0xadcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadcc
cw 0x5
call send_back  ; 44493 (0xadcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadcd
cw 0x5
call send_back  ; 44494 (0xadce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadce
cw 0x5
call send_back  ; 44495 (0xadcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadcf
cw 0x5
call send_back  ; 44496 (0xadd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd0
cw 0x5
call send_back  ; 44497 (0xadd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd1
cw 0x5
call send_back  ; 44498 (0xadd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd2
cw 0x5
call send_back  ; 44499 (0xadd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd3
cw 0x5
call send_back  ; 44500 (0xadd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd4
cw 0x5
call send_back  ; 44501 (0xadd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd5
cw 0x5
call send_back  ; 44502 (0xadd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd6
cw 0x5
call send_back  ; 44503 (0xadd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd7
cw 0x5
call send_back  ; 44504 (0xadd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd8
cw 0x5
call send_back  ; 44505 (0xadd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadd9
cw 0x5
call send_back  ; 44506 (0xadda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadda
cw 0x5
call send_back  ; 44507 (0xaddb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaddb
cw 0x5
call send_back  ; 44508 (0xaddc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaddc
cw 0x5
call send_back  ; 44509 (0xaddd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaddd
cw 0x5
call send_back  ; 44510 (0xadde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadde
cw 0x5
call send_back  ; 44511 (0xaddf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaddf
cw 0x5
call send_back  ; 44512 (0xade0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade0
cw 0x5
call send_back  ; 44513 (0xade1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade1
cw 0x5
call send_back  ; 44514 (0xade2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade2
cw 0x5
call send_back  ; 44515 (0xade3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade3
cw 0x5
call send_back  ; 44516 (0xade4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade4
cw 0x5
call send_back  ; 44517 (0xade5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade5
cw 0x5
call send_back  ; 44518 (0xade6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade6
cw 0x5
call send_back  ; 44519 (0xade7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade7
cw 0x5
call send_back  ; 44520 (0xade8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade8
cw 0x5
call send_back  ; 44521 (0xade9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xade9
cw 0x5
call send_back  ; 44522 (0xadea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadea
cw 0x5
call send_back  ; 44523 (0xadeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadeb
cw 0x5
call send_back  ; 44524 (0xadec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadec
cw 0x5
call send_back  ; 44525 (0xaded)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaded
cw 0x5
call send_back  ; 44526 (0xadee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadee
cw 0x5
call send_back  ; 44527 (0xadef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadef
cw 0x5
call send_back  ; 44528 (0xadf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf0
cw 0x5
call send_back  ; 44529 (0xadf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf1
cw 0x5
call send_back  ; 44530 (0xadf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf2
cw 0x5
call send_back  ; 44531 (0xadf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf3
cw 0x5
call send_back  ; 44532 (0xadf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf4
cw 0x5
call send_back  ; 44533 (0xadf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf5
cw 0x5
call send_back  ; 44534 (0xadf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf6
cw 0x5
call send_back  ; 44535 (0xadf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf7
cw 0x5
call send_back  ; 44536 (0xadf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf8
cw 0x5
call send_back  ; 44537 (0xadf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadf9
cw 0x5
call send_back  ; 44538 (0xadfa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadfa
cw 0x5
call send_back  ; 44539 (0xadfb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadfb
cw 0x5
call send_back  ; 44540 (0xadfc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadfc
cw 0x5
call send_back  ; 44541 (0xadfd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadfd
cw 0x5
call send_back  ; 44542 (0xadfe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadfe
cw 0x5
call send_back  ; 44543 (0xadff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xadff
cw 0x5
call send_back  ; 44544 (0xae00)

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

