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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56705 (0xdd81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56706 (0xdd82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56707 (0xdd83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56708 (0xdd84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56709 (0xdd85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56710 (0xdd86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56711 (0xdd87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56712 (0xdd88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56713 (0xdd89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56714 (0xdd8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56715 (0xdd8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56716 (0xdd8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56717 (0xdd8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56718 (0xdd8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56719 (0xdd8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56720 (0xdd90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56721 (0xdd91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56722 (0xdd92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56723 (0xdd93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56724 (0xdd94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56725 (0xdd95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56726 (0xdd96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56727 (0xdd97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56728 (0xdd98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56729 (0xdd99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56730 (0xdd9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56731 (0xdd9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56732 (0xdd9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56733 (0xdd9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56734 (0xdd9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56735 (0xdd9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56736 (0xdda0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56737 (0xdda1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56738 (0xdda2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56739 (0xdda3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56740 (0xdda4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56741 (0xdda5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56742 (0xdda6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56743 (0xdda7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56744 (0xdda8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56745 (0xdda9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56746 (0xddaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56747 (0xddab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56748 (0xddac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56749 (0xddad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56750 (0xddae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56751 (0xddaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56752 (0xddb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56753 (0xddb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56754 (0xddb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56755 (0xddb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56756 (0xddb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56757 (0xddb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56758 (0xddb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56759 (0xddb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56760 (0xddb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56761 (0xddb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56762 (0xddba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56763 (0xddbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56764 (0xddbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56765 (0xddbd)

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

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56767 (0xddbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56768 (0xddc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56769 (0xddc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56770 (0xddc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56771 (0xddc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56772 (0xddc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56773 (0xddc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56774 (0xddc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56775 (0xddc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56776 (0xddc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56777 (0xddc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56778 (0xddca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56779 (0xddcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56780 (0xddcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56781 (0xddcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56782 (0xddce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56783 (0xddcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56784 (0xddd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56785 (0xddd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56786 (0xddd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56787 (0xddd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56788 (0xddd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56789 (0xddd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56790 (0xddd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56791 (0xddd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56792 (0xddd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56793 (0xddd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56794 (0xddda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56795 (0xdddb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56796 (0xdddc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56797 (0xdddd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56798 (0xddde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56799 (0xdddf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56800 (0xdde0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56801 (0xdde1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56802 (0xdde2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56803 (0xdde3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56804 (0xdde4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56805 (0xdde5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56806 (0xdde6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56807 (0xdde7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56808 (0xdde8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56809 (0xdde9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56810 (0xddea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56811 (0xddeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56812 (0xddec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56813 (0xdded)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56814 (0xddee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56815 (0xddef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56816 (0xddf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56817 (0xddf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56818 (0xddf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56819 (0xddf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56820 (0xddf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56821 (0xddf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56822 (0xddf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56823 (0xddf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56824 (0xddf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56825 (0xddf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56826 (0xddfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56827 (0xddfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56828 (0xddfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56829 (0xddfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56830 (0xddfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56831 (0xddff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00dd
cw 0x5
call send_back  ; 56832 (0xde00)

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