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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa80
cw 0x5
call send_back  ; 43649 (0xaa81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa81
cw 0x5
call send_back  ; 43650 (0xaa82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa82
cw 0x5
call send_back  ; 43651 (0xaa83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa83
cw 0x5
call send_back  ; 43652 (0xaa84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa84
cw 0x5
call send_back  ; 43653 (0xaa85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa85
cw 0x5
call send_back  ; 43654 (0xaa86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa86
cw 0x5
call send_back  ; 43655 (0xaa87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa87
cw 0x5
call send_back  ; 43656 (0xaa88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa88
cw 0x5
call send_back  ; 43657 (0xaa89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa89
cw 0x5
call send_back  ; 43658 (0xaa8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa8a
cw 0x5
call send_back  ; 43659 (0xaa8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa8b
cw 0x5
call send_back  ; 43660 (0xaa8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa8c
cw 0x5
call send_back  ; 43661 (0xaa8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa8d
cw 0x5
call send_back  ; 43662 (0xaa8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa8e
cw 0x5
call send_back  ; 43663 (0xaa8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa8f
cw 0x5
call send_back  ; 43664 (0xaa90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa90
cw 0x5
call send_back  ; 43665 (0xaa91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa91
cw 0x5
call send_back  ; 43666 (0xaa92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa92
cw 0x5
call send_back  ; 43667 (0xaa93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa93
cw 0x5
call send_back  ; 43668 (0xaa94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa94
cw 0x5
call send_back  ; 43669 (0xaa95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa95
cw 0x5
call send_back  ; 43670 (0xaa96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa96
cw 0x5
call send_back  ; 43671 (0xaa97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa97
cw 0x5
call send_back  ; 43672 (0xaa98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa98
cw 0x5
call send_back  ; 43673 (0xaa99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa99
cw 0x5
call send_back  ; 43674 (0xaa9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa9a
cw 0x5
call send_back  ; 43675 (0xaa9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa9b
cw 0x5
call send_back  ; 43676 (0xaa9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa9c
cw 0x5
call send_back  ; 43677 (0xaa9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa9d
cw 0x5
call send_back  ; 43678 (0xaa9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa9e
cw 0x5
call send_back  ; 43679 (0xaa9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa9f
cw 0x5
call send_back  ; 43680 (0xaaa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa0
cw 0x5
call send_back  ; 43681 (0xaaa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa1
cw 0x5
call send_back  ; 43682 (0xaaa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa2
cw 0x5
call send_back  ; 43683 (0xaaa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa3
cw 0x5
call send_back  ; 43684 (0xaaa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa4
cw 0x5
call send_back  ; 43685 (0xaaa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa5
cw 0x5
call send_back  ; 43686 (0xaaa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa6
cw 0x5
call send_back  ; 43687 (0xaaa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa7
cw 0x5
call send_back  ; 43688 (0xaaa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa8
cw 0x5
call send_back  ; 43689 (0xaaa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaa9
cw 0x5
call send_back  ; 43690 (0xaaaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaaa
cw 0x5
call send_back  ; 43691 (0xaaab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaab
cw 0x5
call send_back  ; 43692 (0xaaac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaac
cw 0x5
call send_back  ; 43693 (0xaaad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaad
cw 0x5
call send_back  ; 43694 (0xaaae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaae
cw 0x5
call send_back  ; 43695 (0xaaaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaaf
cw 0x5
call send_back  ; 43696 (0xaab0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab0
cw 0x5
call send_back  ; 43697 (0xaab1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab1
cw 0x5
call send_back  ; 43698 (0xaab2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab2
cw 0x5
call send_back  ; 43699 (0xaab3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab3
cw 0x5
call send_back  ; 43700 (0xaab4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab4
cw 0x5
call send_back  ; 43701 (0xaab5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab5
cw 0x5
call send_back  ; 43702 (0xaab6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab6
cw 0x5
call send_back  ; 43703 (0xaab7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab7
cw 0x5
call send_back  ; 43704 (0xaab8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab8
cw 0x5
call send_back  ; 43705 (0xaab9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaab9
cw 0x5
call send_back  ; 43706 (0xaaba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaba
cw 0x5
call send_back  ; 43707 (0xaabb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaabb
cw 0x5
call send_back  ; 43708 (0xaabc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaabc
cw 0x5
call send_back  ; 43709 (0xaabd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaabd
cw 0x5
call send_back  ; 43710 (0xaabe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaabe
cw 0x5
call send_back  ; 43711 (0xaabf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaabf
cw 0x5
call send_back  ; 43712 (0xaac0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac0
cw 0x5
call send_back  ; 43713 (0xaac1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac1
cw 0x5
call send_back  ; 43714 (0xaac2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac2
cw 0x5
call send_back  ; 43715 (0xaac3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac3
cw 0x5
call send_back  ; 43716 (0xaac4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac4
cw 0x5
call send_back  ; 43717 (0xaac5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac5
cw 0x5
call send_back  ; 43718 (0xaac6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac6
cw 0x5
call send_back  ; 43719 (0xaac7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac7
cw 0x5
call send_back  ; 43720 (0xaac8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac8
cw 0x5
call send_back  ; 43721 (0xaac9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaac9
cw 0x5
call send_back  ; 43722 (0xaaca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaca
cw 0x5
call send_back  ; 43723 (0xaacb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaacb
cw 0x5
call send_back  ; 43724 (0xaacc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaacc
cw 0x5
call send_back  ; 43725 (0xaacd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaacd
cw 0x5
call send_back  ; 43726 (0xaace)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaace
cw 0x5
call send_back  ; 43727 (0xaacf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaacf
cw 0x5
call send_back  ; 43728 (0xaad0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad0
cw 0x5
call send_back  ; 43729 (0xaad1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad1
cw 0x5
call send_back  ; 43730 (0xaad2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad2
cw 0x5
call send_back  ; 43731 (0xaad3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad3
cw 0x5
call send_back  ; 43732 (0xaad4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad4
cw 0x5
call send_back  ; 43733 (0xaad5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad5
cw 0x5
call send_back  ; 43734 (0xaad6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad6
cw 0x5
call send_back  ; 43735 (0xaad7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad7
cw 0x5
call send_back  ; 43736 (0xaad8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad8
cw 0x5
call send_back  ; 43737 (0xaad9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaad9
cw 0x5
call send_back  ; 43738 (0xaada)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaada
cw 0x5
call send_back  ; 43739 (0xaadb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaadb
cw 0x5
call send_back  ; 43740 (0xaadc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaadc
cw 0x5
call send_back  ; 43741 (0xaadd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaadd
cw 0x5
call send_back  ; 43742 (0xaade)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaade
cw 0x5
call send_back  ; 43743 (0xaadf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaadf
cw 0x5
call send_back  ; 43744 (0xaae0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae0
cw 0x5
call send_back  ; 43745 (0xaae1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae1
cw 0x5
call send_back  ; 43746 (0xaae2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae2
cw 0x5
call send_back  ; 43747 (0xaae3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae3
cw 0x5
call send_back  ; 43748 (0xaae4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae4
cw 0x5
call send_back  ; 43749 (0xaae5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae5
cw 0x5
call send_back  ; 43750 (0xaae6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae6
cw 0x5
call send_back  ; 43751 (0xaae7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae7
cw 0x5
call send_back  ; 43752 (0xaae8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae8
cw 0x5
call send_back  ; 43753 (0xaae9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaae9
cw 0x5
call send_back  ; 43754 (0xaaea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaea
cw 0x5
call send_back  ; 43755 (0xaaeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaeb
cw 0x5
call send_back  ; 43756 (0xaaec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaec
cw 0x5
call send_back  ; 43757 (0xaaed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaed
cw 0x5
call send_back  ; 43758 (0xaaee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaee
cw 0x5
call send_back  ; 43759 (0xaaef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaef
cw 0x5
call send_back  ; 43760 (0xaaf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf0
cw 0x5
call send_back  ; 43761 (0xaaf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf1
cw 0x5
call send_back  ; 43762 (0xaaf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf2
cw 0x5
call send_back  ; 43763 (0xaaf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf3
cw 0x5
call send_back  ; 43764 (0xaaf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf4
cw 0x5
call send_back  ; 43765 (0xaaf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf5
cw 0x5
call send_back  ; 43766 (0xaaf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf6
cw 0x5
call send_back  ; 43767 (0xaaf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf7
cw 0x5
call send_back  ; 43768 (0xaaf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf8
cw 0x5
call send_back  ; 43769 (0xaaf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaf9
cw 0x5
call send_back  ; 43770 (0xaafa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaafa
cw 0x5
call send_back  ; 43771 (0xaafb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaafb
cw 0x5
call send_back  ; 43772 (0xaafc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaafc
cw 0x5
call send_back  ; 43773 (0xaafd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaafd
cw 0x5
call send_back  ; 43774 (0xaafe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaafe
cw 0x5
call send_back  ; 43775 (0xaaff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaaff
cw 0x5
call send_back  ; 43776 (0xab00)

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

