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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44673 (0xae81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44674 (0xae82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44675 (0xae83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44676 (0xae84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44677 (0xae85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44678 (0xae86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44679 (0xae87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44680 (0xae88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44681 (0xae89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44682 (0xae8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44683 (0xae8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44684 (0xae8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44685 (0xae8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44686 (0xae8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44687 (0xae8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44688 (0xae90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44689 (0xae91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44690 (0xae92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44691 (0xae93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44692 (0xae94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44693 (0xae95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44694 (0xae96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44695 (0xae97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44696 (0xae98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44697 (0xae99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44698 (0xae9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44699 (0xae9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44700 (0xae9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44701 (0xae9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44702 (0xae9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44703 (0xae9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44704 (0xaea0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44705 (0xaea1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44706 (0xaea2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44707 (0xaea3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44708 (0xaea4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44709 (0xaea5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44710 (0xaea6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44711 (0xaea7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44712 (0xaea8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44713 (0xaea9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44714 (0xaeaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44715 (0xaeab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44716 (0xaeac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44717 (0xaead)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44718 (0xaeae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44719 (0xaeaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44720 (0xaeb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44721 (0xaeb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44722 (0xaeb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44723 (0xaeb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44724 (0xaeb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44725 (0xaeb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44726 (0xaeb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44727 (0xaeb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44728 (0xaeb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44729 (0xaeb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44730 (0xaeba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44731 (0xaebb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44732 (0xaebc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44733 (0xaebd)

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

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44735 (0xaebf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44736 (0xaec0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44737 (0xaec1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44738 (0xaec2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44739 (0xaec3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44740 (0xaec4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44741 (0xaec5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44742 (0xaec6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44743 (0xaec7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44744 (0xaec8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44745 (0xaec9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44746 (0xaeca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44747 (0xaecb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44748 (0xaecc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44749 (0xaecd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44750 (0xaece)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44751 (0xaecf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44752 (0xaed0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44753 (0xaed1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44754 (0xaed2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44755 (0xaed3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44756 (0xaed4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44757 (0xaed5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44758 (0xaed6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44759 (0xaed7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44760 (0xaed8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44761 (0xaed9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44762 (0xaeda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44763 (0xaedb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44764 (0xaedc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44765 (0xaedd)

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

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44767 (0xaedf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44768 (0xaee0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44769 (0xaee1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44770 (0xaee2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44771 (0xaee3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44772 (0xaee4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44773 (0xaee5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44774 (0xaee6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44775 (0xaee7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44776 (0xaee8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44777 (0xaee9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44778 (0xaeea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44779 (0xaeeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44780 (0xaeec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44781 (0xaeed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44782 (0xaeee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44783 (0xaeef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44784 (0xaef0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44785 (0xaef1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44786 (0xaef2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44787 (0xaef3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44788 (0xaef4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44789 (0xaef5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44790 (0xaef6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44791 (0xaef7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44792 (0xaef8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44793 (0xaef9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44794 (0xaefa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44795 (0xaefb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44796 (0xaefc)

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

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44798 (0xaefe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44799 (0xaeff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00ae
cw 0x5
call send_back  ; 44800 (0xaf00)

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