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

lri $AR1,    #0x4000
lri $IX1,    #0xf300
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62209 (0xf301)

lri $AR1,    #0x4000
lri $IX1,    #0xf301
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62210 (0xf302)

lri $AR1,    #0x4000
lri $IX1,    #0xf302
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62211 (0xf303)

lri $AR1,    #0x4000
lri $IX1,    #0xf303
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62212 (0xf304)

lri $AR1,    #0x4000
lri $IX1,    #0xf304
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62213 (0xf305)

lri $AR1,    #0x4000
lri $IX1,    #0xf305
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62214 (0xf306)

lri $AR1,    #0x4000
lri $IX1,    #0xf306
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62215 (0xf307)

lri $AR1,    #0x4000
lri $IX1,    #0xf307
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62216 (0xf308)

lri $AR1,    #0x4000
lri $IX1,    #0xf308
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62217 (0xf309)

lri $AR1,    #0x4000
lri $IX1,    #0xf309
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62218 (0xf30a)

lri $AR1,    #0x4000
lri $IX1,    #0xf30a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62219 (0xf30b)

lri $AR1,    #0x4000
lri $IX1,    #0xf30b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62220 (0xf30c)

lri $AR1,    #0x4000
lri $IX1,    #0xf30c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62221 (0xf30d)

lri $AR1,    #0x4000
lri $IX1,    #0xf30d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62222 (0xf30e)

lri $AR1,    #0x4000
lri $IX1,    #0xf30e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62223 (0xf30f)

lri $AR1,    #0x4000
lri $IX1,    #0xf30f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62224 (0xf310)

lri $AR1,    #0x4000
lri $IX1,    #0xf310
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62225 (0xf311)

lri $AR1,    #0x4000
lri $IX1,    #0xf311
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62226 (0xf312)

lri $AR1,    #0x4000
lri $IX1,    #0xf312
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62227 (0xf313)

lri $AR1,    #0x4000
lri $IX1,    #0xf313
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62228 (0xf314)

lri $AR1,    #0x4000
lri $IX1,    #0xf314
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62229 (0xf315)

lri $AR1,    #0x4000
lri $IX1,    #0xf315
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62230 (0xf316)

lri $AR1,    #0x4000
lri $IX1,    #0xf316
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62231 (0xf317)

lri $AR1,    #0x4000
lri $IX1,    #0xf317
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62232 (0xf318)

lri $AR1,    #0x4000
lri $IX1,    #0xf318
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62233 (0xf319)

lri $AR1,    #0x4000
lri $IX1,    #0xf319
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62234 (0xf31a)

lri $AR1,    #0x4000
lri $IX1,    #0xf31a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62235 (0xf31b)

lri $AR1,    #0x4000
lri $IX1,    #0xf31b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62236 (0xf31c)

lri $AR1,    #0x4000
lri $IX1,    #0xf31c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62237 (0xf31d)

lri $AR1,    #0x4000
lri $IX1,    #0xf31d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62238 (0xf31e)

lri $AR1,    #0x4000
lri $IX1,    #0xf31e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62239 (0xf31f)

lri $AR1,    #0x4000
lri $IX1,    #0xf31f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62240 (0xf320)

lri $AR1,    #0x4000
lri $IX1,    #0xf320
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62241 (0xf321)

lri $AR1,    #0x4000
lri $IX1,    #0xf321
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62242 (0xf322)

lri $AR1,    #0x4000
lri $IX1,    #0xf322
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62243 (0xf323)

lri $AR1,    #0x4000
lri $IX1,    #0xf323
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62244 (0xf324)

lri $AR1,    #0x4000
lri $IX1,    #0xf324
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62245 (0xf325)

lri $AR1,    #0x4000
lri $IX1,    #0xf325
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62246 (0xf326)

lri $AR1,    #0x4000
lri $IX1,    #0xf326
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62247 (0xf327)

lri $AR1,    #0x4000
lri $IX1,    #0xf327
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62248 (0xf328)

lri $AR1,    #0x4000
lri $IX1,    #0xf328
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62249 (0xf329)

lri $AR1,    #0x4000
lri $IX1,    #0xf329
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62250 (0xf32a)

lri $AR1,    #0x4000
lri $IX1,    #0xf32a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62251 (0xf32b)

lri $AR1,    #0x4000
lri $IX1,    #0xf32b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62252 (0xf32c)

lri $AR1,    #0x4000
lri $IX1,    #0xf32c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62253 (0xf32d)

lri $AR1,    #0x4000
lri $IX1,    #0xf32d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62254 (0xf32e)

lri $AR1,    #0x4000
lri $IX1,    #0xf32e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62255 (0xf32f)

lri $AR1,    #0x4000
lri $IX1,    #0xf32f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62256 (0xf330)

lri $AR1,    #0x4000
lri $IX1,    #0xf330
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62257 (0xf331)

lri $AR1,    #0x4000
lri $IX1,    #0xf331
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62258 (0xf332)

lri $AR1,    #0x4000
lri $IX1,    #0xf332
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62259 (0xf333)

lri $AR1,    #0x4000
lri $IX1,    #0xf333
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62260 (0xf334)

lri $AR1,    #0x4000
lri $IX1,    #0xf334
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62261 (0xf335)

lri $AR1,    #0x4000
lri $IX1,    #0xf335
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62262 (0xf336)

lri $AR1,    #0x4000
lri $IX1,    #0xf336
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62263 (0xf337)

lri $AR1,    #0x4000
lri $IX1,    #0xf337
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62264 (0xf338)

lri $AR1,    #0x4000
lri $IX1,    #0xf338
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62265 (0xf339)

lri $AR1,    #0x4000
lri $IX1,    #0xf339
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62266 (0xf33a)

lri $AR1,    #0x4000
lri $IX1,    #0xf33a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62267 (0xf33b)

lri $AR1,    #0x4000
lri $IX1,    #0xf33b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62268 (0xf33c)

lri $AR1,    #0x4000
lri $IX1,    #0xf33c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62269 (0xf33d)

lri $AR1,    #0x4000
lri $IX1,    #0xf33d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62270 (0xf33e)

lri $AR1,    #0x4000
lri $IX1,    #0xf33e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62271 (0xf33f)

lri $AR1,    #0x4000
lri $IX1,    #0xf33f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62272 (0xf340)

lri $AR1,    #0x4000
lri $IX1,    #0xf340
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62273 (0xf341)

lri $AR1,    #0x4000
lri $IX1,    #0xf341
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62274 (0xf342)

lri $AR1,    #0x4000
lri $IX1,    #0xf342
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62275 (0xf343)

lri $AR1,    #0x4000
lri $IX1,    #0xf343
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62276 (0xf344)

lri $AR1,    #0x4000
lri $IX1,    #0xf344
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62277 (0xf345)

lri $AR1,    #0x4000
lri $IX1,    #0xf345
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62278 (0xf346)

lri $AR1,    #0x4000
lri $IX1,    #0xf346
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62279 (0xf347)

lri $AR1,    #0x4000
lri $IX1,    #0xf347
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62280 (0xf348)

lri $AR1,    #0x4000
lri $IX1,    #0xf348
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62281 (0xf349)

lri $AR1,    #0x4000
lri $IX1,    #0xf349
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62282 (0xf34a)

lri $AR1,    #0x4000
lri $IX1,    #0xf34a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62283 (0xf34b)

lri $AR1,    #0x4000
lri $IX1,    #0xf34b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62284 (0xf34c)

lri $AR1,    #0x4000
lri $IX1,    #0xf34c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62285 (0xf34d)

lri $AR1,    #0x4000
lri $IX1,    #0xf34d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62286 (0xf34e)

lri $AR1,    #0x4000
lri $IX1,    #0xf34e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62287 (0xf34f)

lri $AR1,    #0x4000
lri $IX1,    #0xf34f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62288 (0xf350)

lri $AR1,    #0x4000
lri $IX1,    #0xf350
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62289 (0xf351)

lri $AR1,    #0x4000
lri $IX1,    #0xf351
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62290 (0xf352)

lri $AR1,    #0x4000
lri $IX1,    #0xf352
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62291 (0xf353)

lri $AR1,    #0x4000
lri $IX1,    #0xf353
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62292 (0xf354)

lri $AR1,    #0x4000
lri $IX1,    #0xf354
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62293 (0xf355)

lri $AR1,    #0x4000
lri $IX1,    #0xf355
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62294 (0xf356)

lri $AR1,    #0x4000
lri $IX1,    #0xf356
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62295 (0xf357)

lri $AR1,    #0x4000
lri $IX1,    #0xf357
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62296 (0xf358)

lri $AR1,    #0x4000
lri $IX1,    #0xf358
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62297 (0xf359)

lri $AR1,    #0x4000
lri $IX1,    #0xf359
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62298 (0xf35a)

lri $AR1,    #0x4000
lri $IX1,    #0xf35a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62299 (0xf35b)

lri $AR1,    #0x4000
lri $IX1,    #0xf35b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62300 (0xf35c)

lri $AR1,    #0x4000
lri $IX1,    #0xf35c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62301 (0xf35d)

lri $AR1,    #0x4000
lri $IX1,    #0xf35d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62302 (0xf35e)

lri $AR1,    #0x4000
lri $IX1,    #0xf35e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62303 (0xf35f)

lri $AR1,    #0x4000
lri $IX1,    #0xf35f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62304 (0xf360)

lri $AR1,    #0x4000
lri $IX1,    #0xf360
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62305 (0xf361)

lri $AR1,    #0x4000
lri $IX1,    #0xf361
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62306 (0xf362)

lri $AR1,    #0x4000
lri $IX1,    #0xf362
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62307 (0xf363)

lri $AR1,    #0x4000
lri $IX1,    #0xf363
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62308 (0xf364)

lri $AR1,    #0x4000
lri $IX1,    #0xf364
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62309 (0xf365)

lri $AR1,    #0x4000
lri $IX1,    #0xf365
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62310 (0xf366)

lri $AR1,    #0x4000
lri $IX1,    #0xf366
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62311 (0xf367)

lri $AR1,    #0x4000
lri $IX1,    #0xf367
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62312 (0xf368)

lri $AR1,    #0x4000
lri $IX1,    #0xf368
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62313 (0xf369)

lri $AR1,    #0x4000
lri $IX1,    #0xf369
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62314 (0xf36a)

lri $AR1,    #0x4000
lri $IX1,    #0xf36a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62315 (0xf36b)

lri $AR1,    #0x4000
lri $IX1,    #0xf36b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62316 (0xf36c)

lri $AR1,    #0x4000
lri $IX1,    #0xf36c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62317 (0xf36d)

lri $AR1,    #0x4000
lri $IX1,    #0xf36d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62318 (0xf36e)

lri $AR1,    #0x4000
lri $IX1,    #0xf36e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62319 (0xf36f)

lri $AR1,    #0x4000
lri $IX1,    #0xf36f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62320 (0xf370)

lri $AR1,    #0x4000
lri $IX1,    #0xf370
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62321 (0xf371)

lri $AR1,    #0x4000
lri $IX1,    #0xf371
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62322 (0xf372)

lri $AR1,    #0x4000
lri $IX1,    #0xf372
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62323 (0xf373)

lri $AR1,    #0x4000
lri $IX1,    #0xf373
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62324 (0xf374)

lri $AR1,    #0x4000
lri $IX1,    #0xf374
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62325 (0xf375)

lri $AR1,    #0x4000
lri $IX1,    #0xf375
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62326 (0xf376)

lri $AR1,    #0x4000
lri $IX1,    #0xf376
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62327 (0xf377)

lri $AR1,    #0x4000
lri $IX1,    #0xf377
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62328 (0xf378)

lri $AR1,    #0x4000
lri $IX1,    #0xf378
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62329 (0xf379)

lri $AR1,    #0x4000
lri $IX1,    #0xf379
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62330 (0xf37a)

lri $AR1,    #0x4000
lri $IX1,    #0xf37a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62331 (0xf37b)

lri $AR1,    #0x4000
lri $IX1,    #0xf37b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62332 (0xf37c)

lri $AR1,    #0x4000
lri $IX1,    #0xf37c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62333 (0xf37d)

lri $AR1,    #0x4000
lri $IX1,    #0xf37d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62334 (0xf37e)

lri $AR1,    #0x4000
lri $IX1,    #0xf37e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62335 (0xf37f)

lri $AR1,    #0x4000
lri $IX1,    #0xf37f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 62336 (0xf380)

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

