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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48513 (0xbd81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48514 (0xbd82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48515 (0xbd83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48516 (0xbd84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48517 (0xbd85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48518 (0xbd86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48519 (0xbd87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48520 (0xbd88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48521 (0xbd89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48522 (0xbd8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48523 (0xbd8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48524 (0xbd8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48525 (0xbd8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48526 (0xbd8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48527 (0xbd8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48528 (0xbd90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48529 (0xbd91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48530 (0xbd92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48531 (0xbd93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48532 (0xbd94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48533 (0xbd95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48534 (0xbd96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48535 (0xbd97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48536 (0xbd98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48537 (0xbd99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48538 (0xbd9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48539 (0xbd9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48540 (0xbd9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48541 (0xbd9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48542 (0xbd9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48543 (0xbd9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48544 (0xbda0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48545 (0xbda1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48546 (0xbda2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48547 (0xbda3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48548 (0xbda4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48549 (0xbda5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48550 (0xbda6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48551 (0xbda7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48552 (0xbda8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48553 (0xbda9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48554 (0xbdaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48555 (0xbdab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48556 (0xbdac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48557 (0xbdad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48558 (0xbdae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48559 (0xbdaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48560 (0xbdb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48561 (0xbdb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48562 (0xbdb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48563 (0xbdb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48564 (0xbdb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48565 (0xbdb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48566 (0xbdb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48567 (0xbdb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48568 (0xbdb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48569 (0xbdb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48570 (0xbdba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48571 (0xbdbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48572 (0xbdbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48573 (0xbdbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48574 (0xbdbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48575 (0xbdbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48576 (0xbdc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48577 (0xbdc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48578 (0xbdc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48579 (0xbdc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48580 (0xbdc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48581 (0xbdc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48582 (0xbdc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48583 (0xbdc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48584 (0xbdc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48585 (0xbdc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48586 (0xbdca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48587 (0xbdcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48588 (0xbdcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48589 (0xbdcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48590 (0xbdce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48591 (0xbdcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48592 (0xbdd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48593 (0xbdd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48594 (0xbdd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48595 (0xbdd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48596 (0xbdd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48597 (0xbdd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48598 (0xbdd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48599 (0xbdd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48600 (0xbdd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48601 (0xbdd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48602 (0xbdda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48603 (0xbddb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48604 (0xbddc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48605 (0xbddd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48606 (0xbdde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48607 (0xbddf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48608 (0xbde0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48609 (0xbde1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48610 (0xbde2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48611 (0xbde3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48612 (0xbde4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48613 (0xbde5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48614 (0xbde6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48615 (0xbde7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48616 (0xbde8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48617 (0xbde9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48618 (0xbdea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48619 (0xbdeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48620 (0xbdec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48621 (0xbded)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48622 (0xbdee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48623 (0xbdef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48624 (0xbdf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48625 (0xbdf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48626 (0xbdf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48627 (0xbdf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48628 (0xbdf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48629 (0xbdf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48630 (0xbdf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48631 (0xbdf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48632 (0xbdf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48633 (0xbdf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48634 (0xbdfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48635 (0xbdfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48636 (0xbdfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48637 (0xbdfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48638 (0xbdfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48639 (0xbdff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00bd
cw 0x5
call send_back  ; 48640 (0xbe00)

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