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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7553 (0x1d81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7554 (0x1d82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7555 (0x1d83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7556 (0x1d84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7557 (0x1d85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7558 (0x1d86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7559 (0x1d87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7560 (0x1d88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7561 (0x1d89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7562 (0x1d8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7563 (0x1d8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7564 (0x1d8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7565 (0x1d8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7566 (0x1d8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7567 (0x1d8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7568 (0x1d90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7569 (0x1d91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7570 (0x1d92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7571 (0x1d93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7572 (0x1d94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7573 (0x1d95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7574 (0x1d96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7575 (0x1d97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7576 (0x1d98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7577 (0x1d99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7578 (0x1d9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7579 (0x1d9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7580 (0x1d9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7581 (0x1d9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7582 (0x1d9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7583 (0x1d9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7584 (0x1da0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7585 (0x1da1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7586 (0x1da2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7587 (0x1da3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7588 (0x1da4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7589 (0x1da5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7590 (0x1da6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7591 (0x1da7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7592 (0x1da8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7593 (0x1da9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7594 (0x1daa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7595 (0x1dab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7596 (0x1dac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7597 (0x1dad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7598 (0x1dae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7599 (0x1daf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7600 (0x1db0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7601 (0x1db1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7602 (0x1db2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7603 (0x1db3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7604 (0x1db4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7605 (0x1db5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7606 (0x1db6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7607 (0x1db7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7608 (0x1db8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7609 (0x1db9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7610 (0x1dba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7611 (0x1dbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7612 (0x1dbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7613 (0x1dbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7614 (0x1dbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7615 (0x1dbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7616 (0x1dc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7617 (0x1dc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7618 (0x1dc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7619 (0x1dc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7620 (0x1dc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7621 (0x1dc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7622 (0x1dc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7623 (0x1dc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7624 (0x1dc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7625 (0x1dc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7626 (0x1dca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7627 (0x1dcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7628 (0x1dcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7629 (0x1dcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7630 (0x1dce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7631 (0x1dcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7632 (0x1dd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7633 (0x1dd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7634 (0x1dd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7635 (0x1dd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7636 (0x1dd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7637 (0x1dd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7638 (0x1dd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7639 (0x1dd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7640 (0x1dd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7641 (0x1dd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7642 (0x1dda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7643 (0x1ddb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7644 (0x1ddc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7645 (0x1ddd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7646 (0x1dde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7647 (0x1ddf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7648 (0x1de0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7649 (0x1de1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7650 (0x1de2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7651 (0x1de3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7652 (0x1de4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7653 (0x1de5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7654 (0x1de6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7655 (0x1de7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7656 (0x1de8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7657 (0x1de9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7658 (0x1dea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7659 (0x1deb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7660 (0x1dec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7661 (0x1ded)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7662 (0x1dee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7663 (0x1def)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7664 (0x1df0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7665 (0x1df1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7666 (0x1df2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7667 (0x1df3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7668 (0x1df4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7669 (0x1df5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7670 (0x1df6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7671 (0x1df7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7672 (0x1df8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7673 (0x1df9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7674 (0x1dfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7675 (0x1dfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7676 (0x1dfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7677 (0x1dfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7678 (0x1dfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7679 (0x1dff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x001d
cw 0x5
call send_back  ; 7680 (0x1e00)

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