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

lri $AR1,    #0x4000
lri $IX1,    #0xa100
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41217 (0xa101)

lri $AR1,    #0x4000
lri $IX1,    #0xa101
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41218 (0xa102)

lri $AR1,    #0x4000
lri $IX1,    #0xa102
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41219 (0xa103)

lri $AR1,    #0x4000
lri $IX1,    #0xa103
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41220 (0xa104)

lri $AR1,    #0x4000
lri $IX1,    #0xa104
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41221 (0xa105)

lri $AR1,    #0x4000
lri $IX1,    #0xa105
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41222 (0xa106)

lri $AR1,    #0x4000
lri $IX1,    #0xa106
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41223 (0xa107)

lri $AR1,    #0x4000
lri $IX1,    #0xa107
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41224 (0xa108)

lri $AR1,    #0x4000
lri $IX1,    #0xa108
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41225 (0xa109)

lri $AR1,    #0x4000
lri $IX1,    #0xa109
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41226 (0xa10a)

lri $AR1,    #0x4000
lri $IX1,    #0xa10a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41227 (0xa10b)

lri $AR1,    #0x4000
lri $IX1,    #0xa10b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41228 (0xa10c)

lri $AR1,    #0x4000
lri $IX1,    #0xa10c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41229 (0xa10d)

lri $AR1,    #0x4000
lri $IX1,    #0xa10d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41230 (0xa10e)

lri $AR1,    #0x4000
lri $IX1,    #0xa10e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41231 (0xa10f)

lri $AR1,    #0x4000
lri $IX1,    #0xa10f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41232 (0xa110)

lri $AR1,    #0x4000
lri $IX1,    #0xa110
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41233 (0xa111)

lri $AR1,    #0x4000
lri $IX1,    #0xa111
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41234 (0xa112)

lri $AR1,    #0x4000
lri $IX1,    #0xa112
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41235 (0xa113)

lri $AR1,    #0x4000
lri $IX1,    #0xa113
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41236 (0xa114)

lri $AR1,    #0x4000
lri $IX1,    #0xa114
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41237 (0xa115)

lri $AR1,    #0x4000
lri $IX1,    #0xa115
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41238 (0xa116)

lri $AR1,    #0x4000
lri $IX1,    #0xa116
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41239 (0xa117)

lri $AR1,    #0x4000
lri $IX1,    #0xa117
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41240 (0xa118)

lri $AR1,    #0x4000
lri $IX1,    #0xa118
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41241 (0xa119)

lri $AR1,    #0x4000
lri $IX1,    #0xa119
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41242 (0xa11a)

lri $AR1,    #0x4000
lri $IX1,    #0xa11a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41243 (0xa11b)

lri $AR1,    #0x4000
lri $IX1,    #0xa11b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41244 (0xa11c)

lri $AR1,    #0x4000
lri $IX1,    #0xa11c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41245 (0xa11d)

lri $AR1,    #0x4000
lri $IX1,    #0xa11d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41246 (0xa11e)

lri $AR1,    #0x4000
lri $IX1,    #0xa11e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41247 (0xa11f)

lri $AR1,    #0x4000
lri $IX1,    #0xa11f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41248 (0xa120)

lri $AR1,    #0x4000
lri $IX1,    #0xa120
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41249 (0xa121)

lri $AR1,    #0x4000
lri $IX1,    #0xa121
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41250 (0xa122)

lri $AR1,    #0x4000
lri $IX1,    #0xa122
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41251 (0xa123)

lri $AR1,    #0x4000
lri $IX1,    #0xa123
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41252 (0xa124)

lri $AR1,    #0x4000
lri $IX1,    #0xa124
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41253 (0xa125)

lri $AR1,    #0x4000
lri $IX1,    #0xa125
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41254 (0xa126)

lri $AR1,    #0x4000
lri $IX1,    #0xa126
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41255 (0xa127)

lri $AR1,    #0x4000
lri $IX1,    #0xa127
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41256 (0xa128)

lri $AR1,    #0x4000
lri $IX1,    #0xa128
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41257 (0xa129)

lri $AR1,    #0x4000
lri $IX1,    #0xa129
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41258 (0xa12a)

lri $AR1,    #0x4000
lri $IX1,    #0xa12a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41259 (0xa12b)

lri $AR1,    #0x4000
lri $IX1,    #0xa12b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41260 (0xa12c)

lri $AR1,    #0x4000
lri $IX1,    #0xa12c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41261 (0xa12d)

lri $AR1,    #0x4000
lri $IX1,    #0xa12d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41262 (0xa12e)

lri $AR1,    #0x4000
lri $IX1,    #0xa12e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41263 (0xa12f)

lri $AR1,    #0x4000
lri $IX1,    #0xa12f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41264 (0xa130)

lri $AR1,    #0x4000
lri $IX1,    #0xa130
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41265 (0xa131)

lri $AR1,    #0x4000
lri $IX1,    #0xa131
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41266 (0xa132)

lri $AR1,    #0x4000
lri $IX1,    #0xa132
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41267 (0xa133)

lri $AR1,    #0x4000
lri $IX1,    #0xa133
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41268 (0xa134)

lri $AR1,    #0x4000
lri $IX1,    #0xa134
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41269 (0xa135)

lri $AR1,    #0x4000
lri $IX1,    #0xa135
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41270 (0xa136)

lri $AR1,    #0x4000
lri $IX1,    #0xa136
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41271 (0xa137)

lri $AR1,    #0x4000
lri $IX1,    #0xa137
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41272 (0xa138)

lri $AR1,    #0x4000
lri $IX1,    #0xa138
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41273 (0xa139)

lri $AR1,    #0x4000
lri $IX1,    #0xa139
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41274 (0xa13a)

lri $AR1,    #0x4000
lri $IX1,    #0xa13a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41275 (0xa13b)

lri $AR1,    #0x4000
lri $IX1,    #0xa13b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41276 (0xa13c)

lri $AR1,    #0x4000
lri $IX1,    #0xa13c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41277 (0xa13d)

lri $AR1,    #0x4000
lri $IX1,    #0xa13d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41278 (0xa13e)

lri $AR1,    #0x4000
lri $IX1,    #0xa13e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41279 (0xa13f)

lri $AR1,    #0x4000
lri $IX1,    #0xa13f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41280 (0xa140)

lri $AR1,    #0x4000
lri $IX1,    #0xa140
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41281 (0xa141)

lri $AR1,    #0x4000
lri $IX1,    #0xa141
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41282 (0xa142)

lri $AR1,    #0x4000
lri $IX1,    #0xa142
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41283 (0xa143)

lri $AR1,    #0x4000
lri $IX1,    #0xa143
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41284 (0xa144)

lri $AR1,    #0x4000
lri $IX1,    #0xa144
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41285 (0xa145)

lri $AR1,    #0x4000
lri $IX1,    #0xa145
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41286 (0xa146)

lri $AR1,    #0x4000
lri $IX1,    #0xa146
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41287 (0xa147)

lri $AR1,    #0x4000
lri $IX1,    #0xa147
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41288 (0xa148)

lri $AR1,    #0x4000
lri $IX1,    #0xa148
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41289 (0xa149)

lri $AR1,    #0x4000
lri $IX1,    #0xa149
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41290 (0xa14a)

lri $AR1,    #0x4000
lri $IX1,    #0xa14a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41291 (0xa14b)

lri $AR1,    #0x4000
lri $IX1,    #0xa14b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41292 (0xa14c)

lri $AR1,    #0x4000
lri $IX1,    #0xa14c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41293 (0xa14d)

lri $AR1,    #0x4000
lri $IX1,    #0xa14d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41294 (0xa14e)

lri $AR1,    #0x4000
lri $IX1,    #0xa14e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41295 (0xa14f)

lri $AR1,    #0x4000
lri $IX1,    #0xa14f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41296 (0xa150)

lri $AR1,    #0x4000
lri $IX1,    #0xa150
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41297 (0xa151)

lri $AR1,    #0x4000
lri $IX1,    #0xa151
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41298 (0xa152)

lri $AR1,    #0x4000
lri $IX1,    #0xa152
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41299 (0xa153)

lri $AR1,    #0x4000
lri $IX1,    #0xa153
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41300 (0xa154)

lri $AR1,    #0x4000
lri $IX1,    #0xa154
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41301 (0xa155)

lri $AR1,    #0x4000
lri $IX1,    #0xa155
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41302 (0xa156)

lri $AR1,    #0x4000
lri $IX1,    #0xa156
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41303 (0xa157)

lri $AR1,    #0x4000
lri $IX1,    #0xa157
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41304 (0xa158)

lri $AR1,    #0x4000
lri $IX1,    #0xa158
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41305 (0xa159)

lri $AR1,    #0x4000
lri $IX1,    #0xa159
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41306 (0xa15a)

lri $AR1,    #0x4000
lri $IX1,    #0xa15a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41307 (0xa15b)

lri $AR1,    #0x4000
lri $IX1,    #0xa15b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41308 (0xa15c)

lri $AR1,    #0x4000
lri $IX1,    #0xa15c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41309 (0xa15d)

lri $AR1,    #0x4000
lri $IX1,    #0xa15d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41310 (0xa15e)

lri $AR1,    #0x4000
lri $IX1,    #0xa15e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41311 (0xa15f)

lri $AR1,    #0x4000
lri $IX1,    #0xa15f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41312 (0xa160)

lri $AR1,    #0x4000
lri $IX1,    #0xa160
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41313 (0xa161)

lri $AR1,    #0x4000
lri $IX1,    #0xa161
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41314 (0xa162)

lri $AR1,    #0x4000
lri $IX1,    #0xa162
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41315 (0xa163)

lri $AR1,    #0x4000
lri $IX1,    #0xa163
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41316 (0xa164)

lri $AR1,    #0x4000
lri $IX1,    #0xa164
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41317 (0xa165)

lri $AR1,    #0x4000
lri $IX1,    #0xa165
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41318 (0xa166)

lri $AR1,    #0x4000
lri $IX1,    #0xa166
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41319 (0xa167)

lri $AR1,    #0x4000
lri $IX1,    #0xa167
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41320 (0xa168)

lri $AR1,    #0x4000
lri $IX1,    #0xa168
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41321 (0xa169)

lri $AR1,    #0x4000
lri $IX1,    #0xa169
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41322 (0xa16a)

lri $AR1,    #0x4000
lri $IX1,    #0xa16a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41323 (0xa16b)

lri $AR1,    #0x4000
lri $IX1,    #0xa16b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41324 (0xa16c)

lri $AR1,    #0x4000
lri $IX1,    #0xa16c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41325 (0xa16d)

lri $AR1,    #0x4000
lri $IX1,    #0xa16d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41326 (0xa16e)

lri $AR1,    #0x4000
lri $IX1,    #0xa16e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41327 (0xa16f)

lri $AR1,    #0x4000
lri $IX1,    #0xa16f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41328 (0xa170)

lri $AR1,    #0x4000
lri $IX1,    #0xa170
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41329 (0xa171)

lri $AR1,    #0x4000
lri $IX1,    #0xa171
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41330 (0xa172)

lri $AR1,    #0x4000
lri $IX1,    #0xa172
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41331 (0xa173)

lri $AR1,    #0x4000
lri $IX1,    #0xa173
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41332 (0xa174)

lri $AR1,    #0x4000
lri $IX1,    #0xa174
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41333 (0xa175)

lri $AR1,    #0x4000
lri $IX1,    #0xa175
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41334 (0xa176)

lri $AR1,    #0x4000
lri $IX1,    #0xa176
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41335 (0xa177)

lri $AR1,    #0x4000
lri $IX1,    #0xa177
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41336 (0xa178)

lri $AR1,    #0x4000
lri $IX1,    #0xa178
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41337 (0xa179)

lri $AR1,    #0x4000
lri $IX1,    #0xa179
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41338 (0xa17a)

lri $AR1,    #0x4000
lri $IX1,    #0xa17a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41339 (0xa17b)

lri $AR1,    #0x4000
lri $IX1,    #0xa17b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41340 (0xa17c)

lri $AR1,    #0x4000
lri $IX1,    #0xa17c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41341 (0xa17d)

lri $AR1,    #0x4000
lri $IX1,    #0xa17d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41342 (0xa17e)

lri $AR1,    #0x4000
lri $IX1,    #0xa17e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41343 (0xa17f)

lri $AR1,    #0x4000
lri $IX1,    #0xa17f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41344 (0xa180)

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

