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

lri $AR1,    #0x0040
lri $IX1,    #0xa0da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41179 (0xa0db)

lri $AR1,    #0x0040
lri $IX1,    #0xa0db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41180 (0xa0dc)

lri $AR1,    #0x0040
lri $IX1,    #0xa0dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41181 (0xa0dd)

lri $AR1,    #0x0040
lri $IX1,    #0xa0dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41182 (0xa0de)

lri $AR1,    #0x0040
lri $IX1,    #0xa0de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41183 (0xa0df)

lri $AR1,    #0x0040
lri $IX1,    #0xa0df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41184 (0xa0e0)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41185 (0xa0e1)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41186 (0xa0e2)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41187 (0xa0e3)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41188 (0xa0e4)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41189 (0xa0e5)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41190 (0xa0e6)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41191 (0xa0e7)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41192 (0xa0e8)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41193 (0xa0e9)

lri $AR1,    #0x0040
lri $IX1,    #0xa0e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41194 (0xa0ea)

lri $AR1,    #0x0040
lri $IX1,    #0xa0ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41195 (0xa0eb)

lri $AR1,    #0x0040
lri $IX1,    #0xa0eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41196 (0xa0ec)

lri $AR1,    #0x0040
lri $IX1,    #0xa0ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41197 (0xa0ed)

lri $AR1,    #0x0040
lri $IX1,    #0xa0ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41198 (0xa0ee)

lri $AR1,    #0x0040
lri $IX1,    #0xa0ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41199 (0xa0ef)

lri $AR1,    #0x0040
lri $IX1,    #0xa0ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41200 (0xa0f0)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41201 (0xa0f1)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41202 (0xa0f2)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41203 (0xa0f3)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41204 (0xa0f4)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41205 (0xa0f5)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41206 (0xa0f6)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41207 (0xa0f7)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41208 (0xa0f8)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41209 (0xa0f9)

lri $AR1,    #0x0040
lri $IX1,    #0xa0f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41210 (0xa0fa)

lri $AR1,    #0x0040
lri $IX1,    #0xa0fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41211 (0xa0fb)

lri $AR1,    #0x0040
lri $IX1,    #0xa0fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41212 (0xa0fc)

lri $AR1,    #0x0040
lri $IX1,    #0xa0fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41213 (0xa0fd)

lri $AR1,    #0x0040
lri $IX1,    #0xa0fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41214 (0xa0fe)

lri $AR1,    #0x0040
lri $IX1,    #0xa0fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41215 (0xa0ff)

lri $AR1,    #0x0040
lri $IX1,    #0xa0ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41216 (0xa100)

lri $AR1,    #0x0040
lri $IX1,    #0xa100
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41217 (0xa101)

lri $AR1,    #0x0040
lri $IX1,    #0xa101
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41218 (0xa102)

lri $AR1,    #0x0040
lri $IX1,    #0xa102
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41219 (0xa103)

lri $AR1,    #0x0040
lri $IX1,    #0xa103
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41220 (0xa104)

lri $AR1,    #0x0040
lri $IX1,    #0xa104
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41221 (0xa105)

lri $AR1,    #0x0040
lri $IX1,    #0xa105
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41222 (0xa106)

lri $AR1,    #0x0040
lri $IX1,    #0xa106
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41223 (0xa107)

lri $AR1,    #0x0040
lri $IX1,    #0xa107
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41224 (0xa108)

lri $AR1,    #0x0040
lri $IX1,    #0xa108
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41225 (0xa109)

lri $AR1,    #0x0040
lri $IX1,    #0xa109
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41226 (0xa10a)

lri $AR1,    #0x0040
lri $IX1,    #0xa10a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41227 (0xa10b)

lri $AR1,    #0x0040
lri $IX1,    #0xa10b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41228 (0xa10c)

lri $AR1,    #0x0040
lri $IX1,    #0xa10c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41229 (0xa10d)

lri $AR1,    #0x0040
lri $IX1,    #0xa10d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41230 (0xa10e)

lri $AR1,    #0x0040
lri $IX1,    #0xa10e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41231 (0xa10f)

lri $AR1,    #0x0040
lri $IX1,    #0xa10f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41232 (0xa110)

lri $AR1,    #0x0040
lri $IX1,    #0xa110
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41233 (0xa111)

lri $AR1,    #0x0040
lri $IX1,    #0xa111
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41234 (0xa112)

lri $AR1,    #0x0040
lri $IX1,    #0xa112
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41235 (0xa113)

lri $AR1,    #0x0040
lri $IX1,    #0xa113
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41236 (0xa114)

lri $AR1,    #0x0040
lri $IX1,    #0xa114
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41237 (0xa115)

lri $AR1,    #0x0040
lri $IX1,    #0xa115
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41238 (0xa116)

lri $AR1,    #0x0040
lri $IX1,    #0xa116
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41239 (0xa117)

lri $AR1,    #0x0040
lri $IX1,    #0xa117
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41240 (0xa118)

lri $AR1,    #0x0040
lri $IX1,    #0xa118
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41241 (0xa119)

lri $AR1,    #0x0040
lri $IX1,    #0xa119
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41242 (0xa11a)

lri $AR1,    #0x0040
lri $IX1,    #0xa11a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41243 (0xa11b)

lri $AR1,    #0x0040
lri $IX1,    #0xa11b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41244 (0xa11c)

lri $AR1,    #0x0040
lri $IX1,    #0xa11c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41245 (0xa11d)

lri $AR1,    #0x0040
lri $IX1,    #0xa11d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41246 (0xa11e)

lri $AR1,    #0x0040
lri $IX1,    #0xa11e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41247 (0xa11f)

lri $AR1,    #0x0040
lri $IX1,    #0xa11f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41248 (0xa120)

lri $AR1,    #0x0040
lri $IX1,    #0xa120
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41249 (0xa121)

lri $AR1,    #0x0040
lri $IX1,    #0xa121
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41250 (0xa122)

lri $AR1,    #0x0040
lri $IX1,    #0xa122
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41251 (0xa123)

lri $AR1,    #0x0040
lri $IX1,    #0xa123
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41252 (0xa124)

lri $AR1,    #0x0040
lri $IX1,    #0xa124
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41253 (0xa125)

lri $AR1,    #0x0040
lri $IX1,    #0xa125
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41254 (0xa126)

lri $AR1,    #0x0040
lri $IX1,    #0xa126
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41255 (0xa127)

lri $AR1,    #0x0040
lri $IX1,    #0xa127
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41256 (0xa128)

lri $AR1,    #0x0040
lri $IX1,    #0xa128
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41257 (0xa129)

lri $AR1,    #0x0040
lri $IX1,    #0xa129
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41258 (0xa12a)

lri $AR1,    #0x0040
lri $IX1,    #0xa12a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41259 (0xa12b)

lri $AR1,    #0x0040
lri $IX1,    #0xa12b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41260 (0xa12c)

lri $AR1,    #0x0040
lri $IX1,    #0xa12c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41261 (0xa12d)

lri $AR1,    #0x0040
lri $IX1,    #0xa12d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41262 (0xa12e)

lri $AR1,    #0x0040
lri $IX1,    #0xa12e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41263 (0xa12f)

lri $AR1,    #0x0040
lri $IX1,    #0xa12f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41264 (0xa130)

lri $AR1,    #0x0040
lri $IX1,    #0xa130
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41265 (0xa131)

lri $AR1,    #0x0040
lri $IX1,    #0xa131
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41266 (0xa132)

lri $AR1,    #0x0040
lri $IX1,    #0xa132
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41267 (0xa133)

lri $AR1,    #0x0040
lri $IX1,    #0xa133
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41268 (0xa134)

lri $AR1,    #0x0040
lri $IX1,    #0xa134
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41269 (0xa135)

lri $AR1,    #0x0040
lri $IX1,    #0xa135
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41270 (0xa136)

lri $AR1,    #0x0040
lri $IX1,    #0xa136
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41271 (0xa137)

lri $AR1,    #0x0040
lri $IX1,    #0xa137
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41272 (0xa138)

lri $AR1,    #0x0040
lri $IX1,    #0xa138
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41273 (0xa139)

lri $AR1,    #0x0040
lri $IX1,    #0xa139
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41274 (0xa13a)

lri $AR1,    #0x0040
lri $IX1,    #0xa13a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41275 (0xa13b)

lri $AR1,    #0x0040
lri $IX1,    #0xa13b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41276 (0xa13c)

lri $AR1,    #0x0040
lri $IX1,    #0xa13c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41277 (0xa13d)

lri $AR1,    #0x0040
lri $IX1,    #0xa13d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41278 (0xa13e)

lri $AR1,    #0x0040
lri $IX1,    #0xa13e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41279 (0xa13f)

lri $AR1,    #0x0040
lri $IX1,    #0xa13f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41280 (0xa140)

lri $AR1,    #0x0040
lri $IX1,    #0xa140
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41281 (0xa141)

lri $AR1,    #0x0040
lri $IX1,    #0xa141
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41282 (0xa142)

lri $AR1,    #0x0040
lri $IX1,    #0xa142
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41283 (0xa143)

lri $AR1,    #0x0040
lri $IX1,    #0xa143
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41284 (0xa144)

lri $AR1,    #0x0040
lri $IX1,    #0xa144
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41285 (0xa145)

lri $AR1,    #0x0040
lri $IX1,    #0xa145
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41286 (0xa146)

lri $AR1,    #0x0040
lri $IX1,    #0xa146
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41287 (0xa147)

lri $AR1,    #0x0040
lri $IX1,    #0xa147
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41288 (0xa148)

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