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

lri $AR1,    #0x0040
lri $IX1,    #0xaeef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44784 (0xaef0)

lri $AR1,    #0x0040
lri $IX1,    #0xaef0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44785 (0xaef1)

lri $AR1,    #0x0040
lri $IX1,    #0xaef1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44786 (0xaef2)

lri $AR1,    #0x0040
lri $IX1,    #0xaef2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44787 (0xaef3)

lri $AR1,    #0x0040
lri $IX1,    #0xaef3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44788 (0xaef4)

lri $AR1,    #0x0040
lri $IX1,    #0xaef4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44789 (0xaef5)

lri $AR1,    #0x0040
lri $IX1,    #0xaef5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44790 (0xaef6)

lri $AR1,    #0x0040
lri $IX1,    #0xaef6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44791 (0xaef7)

lri $AR1,    #0x0040
lri $IX1,    #0xaef7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44792 (0xaef8)

lri $AR1,    #0x0040
lri $IX1,    #0xaef8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44793 (0xaef9)

lri $AR1,    #0x0040
lri $IX1,    #0xaef9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44794 (0xaefa)

lri $AR1,    #0x0040
lri $IX1,    #0xaefa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44795 (0xaefb)

lri $AR1,    #0x0040
lri $IX1,    #0xaefb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44796 (0xaefc)

lri $AR1,    #0x0040
lri $IX1,    #0xaefc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44797 (0xaefd)

lri $AR1,    #0x0040
lri $IX1,    #0xaefd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44798 (0xaefe)

lri $AR1,    #0x0040
lri $IX1,    #0xaefe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44799 (0xaeff)

lri $AR1,    #0x0040
lri $IX1,    #0xaeff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44800 (0xaf00)

lri $AR1,    #0x0040
lri $IX1,    #0xaf00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44801 (0xaf01)

lri $AR1,    #0x0040
lri $IX1,    #0xaf01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44802 (0xaf02)

lri $AR1,    #0x0040
lri $IX1,    #0xaf02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44803 (0xaf03)

lri $AR1,    #0x0040
lri $IX1,    #0xaf03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44804 (0xaf04)

lri $AR1,    #0x0040
lri $IX1,    #0xaf04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44805 (0xaf05)

lri $AR1,    #0x0040
lri $IX1,    #0xaf05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44806 (0xaf06)

lri $AR1,    #0x0040
lri $IX1,    #0xaf06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44807 (0xaf07)

lri $AR1,    #0x0040
lri $IX1,    #0xaf07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44808 (0xaf08)

lri $AR1,    #0x0040
lri $IX1,    #0xaf08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44809 (0xaf09)

lri $AR1,    #0x0040
lri $IX1,    #0xaf09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44810 (0xaf0a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44811 (0xaf0b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44812 (0xaf0c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44813 (0xaf0d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44814 (0xaf0e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44815 (0xaf0f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44816 (0xaf10)

lri $AR1,    #0x0040
lri $IX1,    #0xaf10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44817 (0xaf11)

lri $AR1,    #0x0040
lri $IX1,    #0xaf11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44818 (0xaf12)

lri $AR1,    #0x0040
lri $IX1,    #0xaf12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44819 (0xaf13)

lri $AR1,    #0x0040
lri $IX1,    #0xaf13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44820 (0xaf14)

lri $AR1,    #0x0040
lri $IX1,    #0xaf14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44821 (0xaf15)

lri $AR1,    #0x0040
lri $IX1,    #0xaf15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44822 (0xaf16)

lri $AR1,    #0x0040
lri $IX1,    #0xaf16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44823 (0xaf17)

lri $AR1,    #0x0040
lri $IX1,    #0xaf17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44824 (0xaf18)

lri $AR1,    #0x0040
lri $IX1,    #0xaf18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44825 (0xaf19)

lri $AR1,    #0x0040
lri $IX1,    #0xaf19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44826 (0xaf1a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44827 (0xaf1b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44828 (0xaf1c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44829 (0xaf1d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44830 (0xaf1e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44831 (0xaf1f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44832 (0xaf20)

lri $AR1,    #0x0040
lri $IX1,    #0xaf20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44833 (0xaf21)

lri $AR1,    #0x0040
lri $IX1,    #0xaf21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44834 (0xaf22)

lri $AR1,    #0x0040
lri $IX1,    #0xaf22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44835 (0xaf23)

lri $AR1,    #0x0040
lri $IX1,    #0xaf23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44836 (0xaf24)

lri $AR1,    #0x0040
lri $IX1,    #0xaf24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44837 (0xaf25)

lri $AR1,    #0x0040
lri $IX1,    #0xaf25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44838 (0xaf26)

lri $AR1,    #0x0040
lri $IX1,    #0xaf26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44839 (0xaf27)

lri $AR1,    #0x0040
lri $IX1,    #0xaf27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44840 (0xaf28)

lri $AR1,    #0x0040
lri $IX1,    #0xaf28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44841 (0xaf29)

lri $AR1,    #0x0040
lri $IX1,    #0xaf29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44842 (0xaf2a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44843 (0xaf2b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44844 (0xaf2c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44845 (0xaf2d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44846 (0xaf2e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44847 (0xaf2f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44848 (0xaf30)

lri $AR1,    #0x0040
lri $IX1,    #0xaf30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44849 (0xaf31)

lri $AR1,    #0x0040
lri $IX1,    #0xaf31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44850 (0xaf32)

lri $AR1,    #0x0040
lri $IX1,    #0xaf32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44851 (0xaf33)

lri $AR1,    #0x0040
lri $IX1,    #0xaf33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44852 (0xaf34)

lri $AR1,    #0x0040
lri $IX1,    #0xaf34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44853 (0xaf35)

lri $AR1,    #0x0040
lri $IX1,    #0xaf35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44854 (0xaf36)

lri $AR1,    #0x0040
lri $IX1,    #0xaf36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44855 (0xaf37)

lri $AR1,    #0x0040
lri $IX1,    #0xaf37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44856 (0xaf38)

lri $AR1,    #0x0040
lri $IX1,    #0xaf38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44857 (0xaf39)

lri $AR1,    #0x0040
lri $IX1,    #0xaf39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44858 (0xaf3a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44859 (0xaf3b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44860 (0xaf3c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44861 (0xaf3d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44862 (0xaf3e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44863 (0xaf3f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44864 (0xaf40)

lri $AR1,    #0x0040
lri $IX1,    #0xaf40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44865 (0xaf41)

lri $AR1,    #0x0040
lri $IX1,    #0xaf41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44866 (0xaf42)

lri $AR1,    #0x0040
lri $IX1,    #0xaf42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44867 (0xaf43)

lri $AR1,    #0x0040
lri $IX1,    #0xaf43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44868 (0xaf44)

lri $AR1,    #0x0040
lri $IX1,    #0xaf44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44869 (0xaf45)

lri $AR1,    #0x0040
lri $IX1,    #0xaf45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44870 (0xaf46)

lri $AR1,    #0x0040
lri $IX1,    #0xaf46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44871 (0xaf47)

lri $AR1,    #0x0040
lri $IX1,    #0xaf47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44872 (0xaf48)

lri $AR1,    #0x0040
lri $IX1,    #0xaf48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44873 (0xaf49)

lri $AR1,    #0x0040
lri $IX1,    #0xaf49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44874 (0xaf4a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44875 (0xaf4b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44876 (0xaf4c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44877 (0xaf4d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44878 (0xaf4e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44879 (0xaf4f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44880 (0xaf50)

lri $AR1,    #0x0040
lri $IX1,    #0xaf50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44881 (0xaf51)

lri $AR1,    #0x0040
lri $IX1,    #0xaf51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44882 (0xaf52)

lri $AR1,    #0x0040
lri $IX1,    #0xaf52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44883 (0xaf53)

lri $AR1,    #0x0040
lri $IX1,    #0xaf53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44884 (0xaf54)

lri $AR1,    #0x0040
lri $IX1,    #0xaf54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44885 (0xaf55)

lri $AR1,    #0x0040
lri $IX1,    #0xaf55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44886 (0xaf56)

lri $AR1,    #0x0040
lri $IX1,    #0xaf56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44887 (0xaf57)

lri $AR1,    #0x0040
lri $IX1,    #0xaf57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44888 (0xaf58)

lri $AR1,    #0x0040
lri $IX1,    #0xaf58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44889 (0xaf59)

lri $AR1,    #0x0040
lri $IX1,    #0xaf59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44890 (0xaf5a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44891 (0xaf5b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44892 (0xaf5c)

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