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

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

lri $AR1,    #0x0040
lri $IX1,    #0xaf5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44894 (0xaf5e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44895 (0xaf5f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44896 (0xaf60)

lri $AR1,    #0x0040
lri $IX1,    #0xaf60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44897 (0xaf61)

lri $AR1,    #0x0040
lri $IX1,    #0xaf61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44898 (0xaf62)

lri $AR1,    #0x0040
lri $IX1,    #0xaf62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44899 (0xaf63)

lri $AR1,    #0x0040
lri $IX1,    #0xaf63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44900 (0xaf64)

lri $AR1,    #0x0040
lri $IX1,    #0xaf64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44901 (0xaf65)

lri $AR1,    #0x0040
lri $IX1,    #0xaf65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44902 (0xaf66)

lri $AR1,    #0x0040
lri $IX1,    #0xaf66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44903 (0xaf67)

lri $AR1,    #0x0040
lri $IX1,    #0xaf67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44904 (0xaf68)

lri $AR1,    #0x0040
lri $IX1,    #0xaf68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44905 (0xaf69)

lri $AR1,    #0x0040
lri $IX1,    #0xaf69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44906 (0xaf6a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44907 (0xaf6b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44908 (0xaf6c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44909 (0xaf6d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44910 (0xaf6e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44911 (0xaf6f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44912 (0xaf70)

lri $AR1,    #0x0040
lri $IX1,    #0xaf70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44913 (0xaf71)

lri $AR1,    #0x0040
lri $IX1,    #0xaf71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44914 (0xaf72)

lri $AR1,    #0x0040
lri $IX1,    #0xaf72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44915 (0xaf73)

lri $AR1,    #0x0040
lri $IX1,    #0xaf73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44916 (0xaf74)

lri $AR1,    #0x0040
lri $IX1,    #0xaf74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44917 (0xaf75)

lri $AR1,    #0x0040
lri $IX1,    #0xaf75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44918 (0xaf76)

lri $AR1,    #0x0040
lri $IX1,    #0xaf76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44919 (0xaf77)

lri $AR1,    #0x0040
lri $IX1,    #0xaf77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44920 (0xaf78)

lri $AR1,    #0x0040
lri $IX1,    #0xaf78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44921 (0xaf79)

lri $AR1,    #0x0040
lri $IX1,    #0xaf79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44922 (0xaf7a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44923 (0xaf7b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44924 (0xaf7c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44925 (0xaf7d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44926 (0xaf7e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44927 (0xaf7f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44928 (0xaf80)

lri $AR1,    #0x0040
lri $IX1,    #0xaf80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44929 (0xaf81)

lri $AR1,    #0x0040
lri $IX1,    #0xaf81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44930 (0xaf82)

lri $AR1,    #0x0040
lri $IX1,    #0xaf82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44931 (0xaf83)

lri $AR1,    #0x0040
lri $IX1,    #0xaf83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44932 (0xaf84)

lri $AR1,    #0x0040
lri $IX1,    #0xaf84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44933 (0xaf85)

lri $AR1,    #0x0040
lri $IX1,    #0xaf85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44934 (0xaf86)

lri $AR1,    #0x0040
lri $IX1,    #0xaf86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44935 (0xaf87)

lri $AR1,    #0x0040
lri $IX1,    #0xaf87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44936 (0xaf88)

lri $AR1,    #0x0040
lri $IX1,    #0xaf88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44937 (0xaf89)

lri $AR1,    #0x0040
lri $IX1,    #0xaf89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44938 (0xaf8a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44939 (0xaf8b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44940 (0xaf8c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44941 (0xaf8d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44942 (0xaf8e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44943 (0xaf8f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44944 (0xaf90)

lri $AR1,    #0x0040
lri $IX1,    #0xaf90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44945 (0xaf91)

lri $AR1,    #0x0040
lri $IX1,    #0xaf91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44946 (0xaf92)

lri $AR1,    #0x0040
lri $IX1,    #0xaf92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44947 (0xaf93)

lri $AR1,    #0x0040
lri $IX1,    #0xaf93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44948 (0xaf94)

lri $AR1,    #0x0040
lri $IX1,    #0xaf94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44949 (0xaf95)

lri $AR1,    #0x0040
lri $IX1,    #0xaf95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44950 (0xaf96)

lri $AR1,    #0x0040
lri $IX1,    #0xaf96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44951 (0xaf97)

lri $AR1,    #0x0040
lri $IX1,    #0xaf97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44952 (0xaf98)

lri $AR1,    #0x0040
lri $IX1,    #0xaf98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44953 (0xaf99)

lri $AR1,    #0x0040
lri $IX1,    #0xaf99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44954 (0xaf9a)

lri $AR1,    #0x0040
lri $IX1,    #0xaf9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44955 (0xaf9b)

lri $AR1,    #0x0040
lri $IX1,    #0xaf9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44956 (0xaf9c)

lri $AR1,    #0x0040
lri $IX1,    #0xaf9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44957 (0xaf9d)

lri $AR1,    #0x0040
lri $IX1,    #0xaf9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44958 (0xaf9e)

lri $AR1,    #0x0040
lri $IX1,    #0xaf9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44959 (0xaf9f)

lri $AR1,    #0x0040
lri $IX1,    #0xaf9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44960 (0xafa0)

lri $AR1,    #0x0040
lri $IX1,    #0xafa0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44961 (0xafa1)

lri $AR1,    #0x0040
lri $IX1,    #0xafa1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44962 (0xafa2)

lri $AR1,    #0x0040
lri $IX1,    #0xafa2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44963 (0xafa3)

lri $AR1,    #0x0040
lri $IX1,    #0xafa3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44964 (0xafa4)

lri $AR1,    #0x0040
lri $IX1,    #0xafa4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44965 (0xafa5)

lri $AR1,    #0x0040
lri $IX1,    #0xafa5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44966 (0xafa6)

lri $AR1,    #0x0040
lri $IX1,    #0xafa6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44967 (0xafa7)

lri $AR1,    #0x0040
lri $IX1,    #0xafa7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44968 (0xafa8)

lri $AR1,    #0x0040
lri $IX1,    #0xafa8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44969 (0xafa9)

lri $AR1,    #0x0040
lri $IX1,    #0xafa9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44970 (0xafaa)

lri $AR1,    #0x0040
lri $IX1,    #0xafaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44971 (0xafab)

lri $AR1,    #0x0040
lri $IX1,    #0xafab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44972 (0xafac)

lri $AR1,    #0x0040
lri $IX1,    #0xafac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44973 (0xafad)

lri $AR1,    #0x0040
lri $IX1,    #0xafad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44974 (0xafae)

lri $AR1,    #0x0040
lri $IX1,    #0xafae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44975 (0xafaf)

lri $AR1,    #0x0040
lri $IX1,    #0xafaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44976 (0xafb0)

lri $AR1,    #0x0040
lri $IX1,    #0xafb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44977 (0xafb1)

lri $AR1,    #0x0040
lri $IX1,    #0xafb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44978 (0xafb2)

lri $AR1,    #0x0040
lri $IX1,    #0xafb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44979 (0xafb3)

lri $AR1,    #0x0040
lri $IX1,    #0xafb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44980 (0xafb4)

lri $AR1,    #0x0040
lri $IX1,    #0xafb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44981 (0xafb5)

lri $AR1,    #0x0040
lri $IX1,    #0xafb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44982 (0xafb6)

lri $AR1,    #0x0040
lri $IX1,    #0xafb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44983 (0xafb7)

lri $AR1,    #0x0040
lri $IX1,    #0xafb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44984 (0xafb8)

lri $AR1,    #0x0040
lri $IX1,    #0xafb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44985 (0xafb9)

lri $AR1,    #0x0040
lri $IX1,    #0xafb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44986 (0xafba)

lri $AR1,    #0x0040
lri $IX1,    #0xafba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44987 (0xafbb)

lri $AR1,    #0x0040
lri $IX1,    #0xafbb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44988 (0xafbc)

lri $AR1,    #0x0040
lri $IX1,    #0xafbc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44989 (0xafbd)

lri $AR1,    #0x0040
lri $IX1,    #0xafbd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44990 (0xafbe)

lri $AR1,    #0x0040
lri $IX1,    #0xafbe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44991 (0xafbf)

lri $AR1,    #0x0040
lri $IX1,    #0xafbf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44992 (0xafc0)

lri $AR1,    #0x0040
lri $IX1,    #0xafc0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44993 (0xafc1)

lri $AR1,    #0x0040
lri $IX1,    #0xafc1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44994 (0xafc2)

lri $AR1,    #0x0040
lri $IX1,    #0xafc2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44995 (0xafc3)

lri $AR1,    #0x0040
lri $IX1,    #0xafc3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44996 (0xafc4)

lri $AR1,    #0x0040
lri $IX1,    #0xafc4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44997 (0xafc5)

lri $AR1,    #0x0040
lri $IX1,    #0xafc5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44998 (0xafc6)

lri $AR1,    #0x0040
lri $IX1,    #0xafc6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 44999 (0xafc7)

lri $AR1,    #0x0040
lri $IX1,    #0xafc7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45000 (0xafc8)

lri $AR1,    #0x0040
lri $IX1,    #0xafc8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45001 (0xafc9)

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