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

lri $AR1,    #0x0040
lri $IX1,    #0xbe4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48716 (0xbe4c)

lri $AR1,    #0x0040
lri $IX1,    #0xbe4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48717 (0xbe4d)

lri $AR1,    #0x0040
lri $IX1,    #0xbe4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48718 (0xbe4e)

lri $AR1,    #0x0040
lri $IX1,    #0xbe4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48719 (0xbe4f)

lri $AR1,    #0x0040
lri $IX1,    #0xbe4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48720 (0xbe50)

lri $AR1,    #0x0040
lri $IX1,    #0xbe50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48721 (0xbe51)

lri $AR1,    #0x0040
lri $IX1,    #0xbe51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48722 (0xbe52)

lri $AR1,    #0x0040
lri $IX1,    #0xbe52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48723 (0xbe53)

lri $AR1,    #0x0040
lri $IX1,    #0xbe53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48724 (0xbe54)

lri $AR1,    #0x0040
lri $IX1,    #0xbe54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48725 (0xbe55)

lri $AR1,    #0x0040
lri $IX1,    #0xbe55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48726 (0xbe56)

lri $AR1,    #0x0040
lri $IX1,    #0xbe56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48727 (0xbe57)

lri $AR1,    #0x0040
lri $IX1,    #0xbe57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48728 (0xbe58)

lri $AR1,    #0x0040
lri $IX1,    #0xbe58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48729 (0xbe59)

lri $AR1,    #0x0040
lri $IX1,    #0xbe59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48730 (0xbe5a)

lri $AR1,    #0x0040
lri $IX1,    #0xbe5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48731 (0xbe5b)

lri $AR1,    #0x0040
lri $IX1,    #0xbe5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48732 (0xbe5c)

lri $AR1,    #0x0040
lri $IX1,    #0xbe5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48733 (0xbe5d)

lri $AR1,    #0x0040
lri $IX1,    #0xbe5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48734 (0xbe5e)

lri $AR1,    #0x0040
lri $IX1,    #0xbe5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48735 (0xbe5f)

lri $AR1,    #0x0040
lri $IX1,    #0xbe5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48736 (0xbe60)

lri $AR1,    #0x0040
lri $IX1,    #0xbe60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48737 (0xbe61)

lri $AR1,    #0x0040
lri $IX1,    #0xbe61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48738 (0xbe62)

lri $AR1,    #0x0040
lri $IX1,    #0xbe62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48739 (0xbe63)

lri $AR1,    #0x0040
lri $IX1,    #0xbe63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48740 (0xbe64)

lri $AR1,    #0x0040
lri $IX1,    #0xbe64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48741 (0xbe65)

lri $AR1,    #0x0040
lri $IX1,    #0xbe65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48742 (0xbe66)

lri $AR1,    #0x0040
lri $IX1,    #0xbe66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48743 (0xbe67)

lri $AR1,    #0x0040
lri $IX1,    #0xbe67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48744 (0xbe68)

lri $AR1,    #0x0040
lri $IX1,    #0xbe68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48745 (0xbe69)

lri $AR1,    #0x0040
lri $IX1,    #0xbe69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48746 (0xbe6a)

lri $AR1,    #0x0040
lri $IX1,    #0xbe6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48747 (0xbe6b)

lri $AR1,    #0x0040
lri $IX1,    #0xbe6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48748 (0xbe6c)

lri $AR1,    #0x0040
lri $IX1,    #0xbe6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48749 (0xbe6d)

lri $AR1,    #0x0040
lri $IX1,    #0xbe6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48750 (0xbe6e)

lri $AR1,    #0x0040
lri $IX1,    #0xbe6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48751 (0xbe6f)

lri $AR1,    #0x0040
lri $IX1,    #0xbe6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48752 (0xbe70)

lri $AR1,    #0x0040
lri $IX1,    #0xbe70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48753 (0xbe71)

lri $AR1,    #0x0040
lri $IX1,    #0xbe71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48754 (0xbe72)

lri $AR1,    #0x0040
lri $IX1,    #0xbe72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48755 (0xbe73)

lri $AR1,    #0x0040
lri $IX1,    #0xbe73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48756 (0xbe74)

lri $AR1,    #0x0040
lri $IX1,    #0xbe74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48757 (0xbe75)

lri $AR1,    #0x0040
lri $IX1,    #0xbe75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48758 (0xbe76)

lri $AR1,    #0x0040
lri $IX1,    #0xbe76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48759 (0xbe77)

lri $AR1,    #0x0040
lri $IX1,    #0xbe77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48760 (0xbe78)

lri $AR1,    #0x0040
lri $IX1,    #0xbe78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48761 (0xbe79)

lri $AR1,    #0x0040
lri $IX1,    #0xbe79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48762 (0xbe7a)

lri $AR1,    #0x0040
lri $IX1,    #0xbe7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48763 (0xbe7b)

lri $AR1,    #0x0040
lri $IX1,    #0xbe7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48764 (0xbe7c)

lri $AR1,    #0x0040
lri $IX1,    #0xbe7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48765 (0xbe7d)

lri $AR1,    #0x0040
lri $IX1,    #0xbe7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48766 (0xbe7e)

lri $AR1,    #0x0040
lri $IX1,    #0xbe7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48767 (0xbe7f)

lri $AR1,    #0x0040
lri $IX1,    #0xbe7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48768 (0xbe80)

lri $AR1,    #0x0040
lri $IX1,    #0xbe80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48769 (0xbe81)

lri $AR1,    #0x0040
lri $IX1,    #0xbe81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48770 (0xbe82)

lri $AR1,    #0x0040
lri $IX1,    #0xbe82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48771 (0xbe83)

lri $AR1,    #0x0040
lri $IX1,    #0xbe83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48772 (0xbe84)

lri $AR1,    #0x0040
lri $IX1,    #0xbe84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48773 (0xbe85)

lri $AR1,    #0x0040
lri $IX1,    #0xbe85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48774 (0xbe86)

lri $AR1,    #0x0040
lri $IX1,    #0xbe86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48775 (0xbe87)

lri $AR1,    #0x0040
lri $IX1,    #0xbe87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48776 (0xbe88)

lri $AR1,    #0x0040
lri $IX1,    #0xbe88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48777 (0xbe89)

lri $AR1,    #0x0040
lri $IX1,    #0xbe89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48778 (0xbe8a)

lri $AR1,    #0x0040
lri $IX1,    #0xbe8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48779 (0xbe8b)

lri $AR1,    #0x0040
lri $IX1,    #0xbe8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48780 (0xbe8c)

lri $AR1,    #0x0040
lri $IX1,    #0xbe8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48781 (0xbe8d)

lri $AR1,    #0x0040
lri $IX1,    #0xbe8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48782 (0xbe8e)

lri $AR1,    #0x0040
lri $IX1,    #0xbe8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48783 (0xbe8f)

lri $AR1,    #0x0040
lri $IX1,    #0xbe8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48784 (0xbe90)

lri $AR1,    #0x0040
lri $IX1,    #0xbe90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48785 (0xbe91)

lri $AR1,    #0x0040
lri $IX1,    #0xbe91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48786 (0xbe92)

lri $AR1,    #0x0040
lri $IX1,    #0xbe92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48787 (0xbe93)

lri $AR1,    #0x0040
lri $IX1,    #0xbe93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48788 (0xbe94)

lri $AR1,    #0x0040
lri $IX1,    #0xbe94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48789 (0xbe95)

lri $AR1,    #0x0040
lri $IX1,    #0xbe95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48790 (0xbe96)

lri $AR1,    #0x0040
lri $IX1,    #0xbe96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48791 (0xbe97)

lri $AR1,    #0x0040
lri $IX1,    #0xbe97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48792 (0xbe98)

lri $AR1,    #0x0040
lri $IX1,    #0xbe98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48793 (0xbe99)

lri $AR1,    #0x0040
lri $IX1,    #0xbe99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48794 (0xbe9a)

lri $AR1,    #0x0040
lri $IX1,    #0xbe9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48795 (0xbe9b)

lri $AR1,    #0x0040
lri $IX1,    #0xbe9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48796 (0xbe9c)

lri $AR1,    #0x0040
lri $IX1,    #0xbe9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48797 (0xbe9d)

lri $AR1,    #0x0040
lri $IX1,    #0xbe9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48798 (0xbe9e)

lri $AR1,    #0x0040
lri $IX1,    #0xbe9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48799 (0xbe9f)

lri $AR1,    #0x0040
lri $IX1,    #0xbe9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48800 (0xbea0)

lri $AR1,    #0x0040
lri $IX1,    #0xbea0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48801 (0xbea1)

lri $AR1,    #0x0040
lri $IX1,    #0xbea1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48802 (0xbea2)

lri $AR1,    #0x0040
lri $IX1,    #0xbea2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48803 (0xbea3)

lri $AR1,    #0x0040
lri $IX1,    #0xbea3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48804 (0xbea4)

lri $AR1,    #0x0040
lri $IX1,    #0xbea4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48805 (0xbea5)

lri $AR1,    #0x0040
lri $IX1,    #0xbea5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48806 (0xbea6)

lri $AR1,    #0x0040
lri $IX1,    #0xbea6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48807 (0xbea7)

lri $AR1,    #0x0040
lri $IX1,    #0xbea7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48808 (0xbea8)

lri $AR1,    #0x0040
lri $IX1,    #0xbea8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48809 (0xbea9)

lri $AR1,    #0x0040
lri $IX1,    #0xbea9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48810 (0xbeaa)

lri $AR1,    #0x0040
lri $IX1,    #0xbeaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48811 (0xbeab)

lri $AR1,    #0x0040
lri $IX1,    #0xbeab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48812 (0xbeac)

lri $AR1,    #0x0040
lri $IX1,    #0xbeac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48813 (0xbead)

lri $AR1,    #0x0040
lri $IX1,    #0xbead
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48814 (0xbeae)

lri $AR1,    #0x0040
lri $IX1,    #0xbeae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48815 (0xbeaf)

lri $AR1,    #0x0040
lri $IX1,    #0xbeaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48816 (0xbeb0)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48817 (0xbeb1)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48818 (0xbeb2)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48819 (0xbeb3)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48820 (0xbeb4)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48821 (0xbeb5)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48822 (0xbeb6)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48823 (0xbeb7)

lri $AR1,    #0x0040
lri $IX1,    #0xbeb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48824 (0xbeb8)

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