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

lri $AR1,    #0x4000
lri $IX1,    #0xbd80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48513 (0xbd81)

lri $AR1,    #0x4000
lri $IX1,    #0xbd81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48514 (0xbd82)

lri $AR1,    #0x4000
lri $IX1,    #0xbd82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48515 (0xbd83)

lri $AR1,    #0x4000
lri $IX1,    #0xbd83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48516 (0xbd84)

lri $AR1,    #0x4000
lri $IX1,    #0xbd84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48517 (0xbd85)

lri $AR1,    #0x4000
lri $IX1,    #0xbd85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48518 (0xbd86)

lri $AR1,    #0x4000
lri $IX1,    #0xbd86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48519 (0xbd87)

lri $AR1,    #0x4000
lri $IX1,    #0xbd87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48520 (0xbd88)

lri $AR1,    #0x4000
lri $IX1,    #0xbd88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48521 (0xbd89)

lri $AR1,    #0x4000
lri $IX1,    #0xbd89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48522 (0xbd8a)

lri $AR1,    #0x4000
lri $IX1,    #0xbd8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48523 (0xbd8b)

lri $AR1,    #0x4000
lri $IX1,    #0xbd8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48524 (0xbd8c)

lri $AR1,    #0x4000
lri $IX1,    #0xbd8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48525 (0xbd8d)

lri $AR1,    #0x4000
lri $IX1,    #0xbd8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48526 (0xbd8e)

lri $AR1,    #0x4000
lri $IX1,    #0xbd8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48527 (0xbd8f)

lri $AR1,    #0x4000
lri $IX1,    #0xbd8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48528 (0xbd90)

lri $AR1,    #0x4000
lri $IX1,    #0xbd90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48529 (0xbd91)

lri $AR1,    #0x4000
lri $IX1,    #0xbd91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48530 (0xbd92)

lri $AR1,    #0x4000
lri $IX1,    #0xbd92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48531 (0xbd93)

lri $AR1,    #0x4000
lri $IX1,    #0xbd93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48532 (0xbd94)

lri $AR1,    #0x4000
lri $IX1,    #0xbd94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48533 (0xbd95)

lri $AR1,    #0x4000
lri $IX1,    #0xbd95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48534 (0xbd96)

lri $AR1,    #0x4000
lri $IX1,    #0xbd96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48535 (0xbd97)

lri $AR1,    #0x4000
lri $IX1,    #0xbd97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48536 (0xbd98)

lri $AR1,    #0x4000
lri $IX1,    #0xbd98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48537 (0xbd99)

lri $AR1,    #0x4000
lri $IX1,    #0xbd99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48538 (0xbd9a)

lri $AR1,    #0x4000
lri $IX1,    #0xbd9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48539 (0xbd9b)

lri $AR1,    #0x4000
lri $IX1,    #0xbd9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48540 (0xbd9c)

lri $AR1,    #0x4000
lri $IX1,    #0xbd9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48541 (0xbd9d)

lri $AR1,    #0x4000
lri $IX1,    #0xbd9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48542 (0xbd9e)

lri $AR1,    #0x4000
lri $IX1,    #0xbd9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48543 (0xbd9f)

lri $AR1,    #0x4000
lri $IX1,    #0xbd9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48544 (0xbda0)

lri $AR1,    #0x4000
lri $IX1,    #0xbda0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48545 (0xbda1)

lri $AR1,    #0x4000
lri $IX1,    #0xbda1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48546 (0xbda2)

lri $AR1,    #0x4000
lri $IX1,    #0xbda2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48547 (0xbda3)

lri $AR1,    #0x4000
lri $IX1,    #0xbda3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48548 (0xbda4)

lri $AR1,    #0x4000
lri $IX1,    #0xbda4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48549 (0xbda5)

lri $AR1,    #0x4000
lri $IX1,    #0xbda5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48550 (0xbda6)

lri $AR1,    #0x4000
lri $IX1,    #0xbda6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48551 (0xbda7)

lri $AR1,    #0x4000
lri $IX1,    #0xbda7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48552 (0xbda8)

lri $AR1,    #0x4000
lri $IX1,    #0xbda8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48553 (0xbda9)

lri $AR1,    #0x4000
lri $IX1,    #0xbda9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48554 (0xbdaa)

lri $AR1,    #0x4000
lri $IX1,    #0xbdaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48555 (0xbdab)

lri $AR1,    #0x4000
lri $IX1,    #0xbdab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48556 (0xbdac)

lri $AR1,    #0x4000
lri $IX1,    #0xbdac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48557 (0xbdad)

lri $AR1,    #0x4000
lri $IX1,    #0xbdad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48558 (0xbdae)

lri $AR1,    #0x4000
lri $IX1,    #0xbdae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48559 (0xbdaf)

lri $AR1,    #0x4000
lri $IX1,    #0xbdaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48560 (0xbdb0)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48561 (0xbdb1)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48562 (0xbdb2)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48563 (0xbdb3)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48564 (0xbdb4)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48565 (0xbdb5)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48566 (0xbdb6)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48567 (0xbdb7)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48568 (0xbdb8)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48569 (0xbdb9)

lri $AR1,    #0x4000
lri $IX1,    #0xbdb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48570 (0xbdba)

lri $AR1,    #0x4000
lri $IX1,    #0xbdba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48571 (0xbdbb)

lri $AR1,    #0x4000
lri $IX1,    #0xbdbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48572 (0xbdbc)

lri $AR1,    #0x4000
lri $IX1,    #0xbdbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48573 (0xbdbd)

lri $AR1,    #0x4000
lri $IX1,    #0xbdbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48574 (0xbdbe)

lri $AR1,    #0x4000
lri $IX1,    #0xbdbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48575 (0xbdbf)

lri $AR1,    #0x4000
lri $IX1,    #0xbdbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48576 (0xbdc0)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48577 (0xbdc1)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48578 (0xbdc2)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48579 (0xbdc3)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48580 (0xbdc4)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48581 (0xbdc5)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48582 (0xbdc6)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48583 (0xbdc7)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48584 (0xbdc8)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48585 (0xbdc9)

lri $AR1,    #0x4000
lri $IX1,    #0xbdc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48586 (0xbdca)

lri $AR1,    #0x4000
lri $IX1,    #0xbdca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48587 (0xbdcb)

lri $AR1,    #0x4000
lri $IX1,    #0xbdcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48588 (0xbdcc)

lri $AR1,    #0x4000
lri $IX1,    #0xbdcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48589 (0xbdcd)

lri $AR1,    #0x4000
lri $IX1,    #0xbdcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48590 (0xbdce)

lri $AR1,    #0x4000
lri $IX1,    #0xbdce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48591 (0xbdcf)

lri $AR1,    #0x4000
lri $IX1,    #0xbdcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48592 (0xbdd0)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48593 (0xbdd1)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48594 (0xbdd2)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48595 (0xbdd3)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48596 (0xbdd4)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48597 (0xbdd5)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48598 (0xbdd6)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48599 (0xbdd7)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48600 (0xbdd8)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48601 (0xbdd9)

lri $AR1,    #0x4000
lri $IX1,    #0xbdd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48602 (0xbdda)

lri $AR1,    #0x4000
lri $IX1,    #0xbdda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48603 (0xbddb)

lri $AR1,    #0x4000
lri $IX1,    #0xbddb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48604 (0xbddc)

lri $AR1,    #0x4000
lri $IX1,    #0xbddc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48605 (0xbddd)

lri $AR1,    #0x4000
lri $IX1,    #0xbddd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48606 (0xbdde)

lri $AR1,    #0x4000
lri $IX1,    #0xbdde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48607 (0xbddf)

lri $AR1,    #0x4000
lri $IX1,    #0xbddf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48608 (0xbde0)

lri $AR1,    #0x4000
lri $IX1,    #0xbde0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48609 (0xbde1)

lri $AR1,    #0x4000
lri $IX1,    #0xbde1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48610 (0xbde2)

lri $AR1,    #0x4000
lri $IX1,    #0xbde2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48611 (0xbde3)

lri $AR1,    #0x4000
lri $IX1,    #0xbde3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48612 (0xbde4)

lri $AR1,    #0x4000
lri $IX1,    #0xbde4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48613 (0xbde5)

lri $AR1,    #0x4000
lri $IX1,    #0xbde5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48614 (0xbde6)

lri $AR1,    #0x4000
lri $IX1,    #0xbde6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48615 (0xbde7)

lri $AR1,    #0x4000
lri $IX1,    #0xbde7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48616 (0xbde8)

lri $AR1,    #0x4000
lri $IX1,    #0xbde8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48617 (0xbde9)

lri $AR1,    #0x4000
lri $IX1,    #0xbde9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48618 (0xbdea)

lri $AR1,    #0x4000
lri $IX1,    #0xbdea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48619 (0xbdeb)

lri $AR1,    #0x4000
lri $IX1,    #0xbdeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48620 (0xbdec)

lri $AR1,    #0x4000
lri $IX1,    #0xbdec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48621 (0xbded)

lri $AR1,    #0x4000
lri $IX1,    #0xbded
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48622 (0xbdee)

lri $AR1,    #0x4000
lri $IX1,    #0xbdee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48623 (0xbdef)

lri $AR1,    #0x4000
lri $IX1,    #0xbdef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48624 (0xbdf0)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48625 (0xbdf1)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48626 (0xbdf2)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48627 (0xbdf3)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48628 (0xbdf4)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48629 (0xbdf5)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48630 (0xbdf6)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48631 (0xbdf7)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48632 (0xbdf8)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48633 (0xbdf9)

lri $AR1,    #0x4000
lri $IX1,    #0xbdf9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48634 (0xbdfa)

lri $AR1,    #0x4000
lri $IX1,    #0xbdfa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48635 (0xbdfb)

lri $AR1,    #0x4000
lri $IX1,    #0xbdfb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48636 (0xbdfc)

lri $AR1,    #0x4000
lri $IX1,    #0xbdfc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48637 (0xbdfd)

lri $AR1,    #0x4000
lri $IX1,    #0xbdfd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48638 (0xbdfe)

lri $AR1,    #0x4000
lri $IX1,    #0xbdfe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48639 (0xbdff)

lri $AR1,    #0x4000
lri $IX1,    #0xbdff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 48640 (0xbe00)

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

