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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64641 (0xfc81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64642 (0xfc82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64643 (0xfc83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64644 (0xfc84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64645 (0xfc85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64646 (0xfc86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64647 (0xfc87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64648 (0xfc88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64649 (0xfc89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64650 (0xfc8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64651 (0xfc8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64652 (0xfc8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64653 (0xfc8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64654 (0xfc8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64655 (0xfc8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64656 (0xfc90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64657 (0xfc91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64658 (0xfc92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64659 (0xfc93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64660 (0xfc94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64661 (0xfc95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64662 (0xfc96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64663 (0xfc97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64664 (0xfc98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64665 (0xfc99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64666 (0xfc9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64667 (0xfc9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64668 (0xfc9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64669 (0xfc9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64670 (0xfc9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64671 (0xfc9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64672 (0xfca0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64673 (0xfca1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64674 (0xfca2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64675 (0xfca3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64676 (0xfca4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64677 (0xfca5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64678 (0xfca6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64679 (0xfca7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64680 (0xfca8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64681 (0xfca9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64682 (0xfcaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64683 (0xfcab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64684 (0xfcac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64685 (0xfcad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64686 (0xfcae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64687 (0xfcaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64688 (0xfcb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64689 (0xfcb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64690 (0xfcb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64691 (0xfcb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64692 (0xfcb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64693 (0xfcb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64694 (0xfcb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64695 (0xfcb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64696 (0xfcb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64697 (0xfcb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64698 (0xfcba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64699 (0xfcbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64700 (0xfcbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64701 (0xfcbd)

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

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64703 (0xfcbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64704 (0xfcc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64705 (0xfcc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64706 (0xfcc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64707 (0xfcc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64708 (0xfcc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64709 (0xfcc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64710 (0xfcc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64711 (0xfcc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64712 (0xfcc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64713 (0xfcc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64714 (0xfcca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64715 (0xfccb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64716 (0xfccc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64717 (0xfccd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64718 (0xfcce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64719 (0xfccf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64720 (0xfcd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64721 (0xfcd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64722 (0xfcd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64723 (0xfcd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64724 (0xfcd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64725 (0xfcd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64726 (0xfcd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64727 (0xfcd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64728 (0xfcd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64729 (0xfcd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64730 (0xfcda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64731 (0xfcdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64732 (0xfcdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64733 (0xfcdd)

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

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64735 (0xfcdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64736 (0xfce0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64737 (0xfce1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64738 (0xfce2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64739 (0xfce3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64740 (0xfce4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64741 (0xfce5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64742 (0xfce6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64743 (0xfce7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64744 (0xfce8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64745 (0xfce9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64746 (0xfcea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64747 (0xfceb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64748 (0xfcec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64749 (0xfced)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64750 (0xfcee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64751 (0xfcef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64752 (0xfcf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64753 (0xfcf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64754 (0xfcf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64755 (0xfcf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64756 (0xfcf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64757 (0xfcf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64758 (0xfcf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64759 (0xfcf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64760 (0xfcf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64761 (0xfcf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64762 (0xfcfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64763 (0xfcfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64764 (0xfcfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64765 (0xfcfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64766 (0xfcfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64767 (0xfcff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00fc
cw 0x5
call send_back  ; 64768 (0xfd00)

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