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

lri $AR1,    #0x4000
lri $IX1,    #0xc480
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50305 (0xc481)

lri $AR1,    #0x4000
lri $IX1,    #0xc481
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50306 (0xc482)

lri $AR1,    #0x4000
lri $IX1,    #0xc482
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50307 (0xc483)

lri $AR1,    #0x4000
lri $IX1,    #0xc483
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50308 (0xc484)

lri $AR1,    #0x4000
lri $IX1,    #0xc484
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50309 (0xc485)

lri $AR1,    #0x4000
lri $IX1,    #0xc485
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50310 (0xc486)

lri $AR1,    #0x4000
lri $IX1,    #0xc486
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50311 (0xc487)

lri $AR1,    #0x4000
lri $IX1,    #0xc487
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50312 (0xc488)

lri $AR1,    #0x4000
lri $IX1,    #0xc488
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50313 (0xc489)

lri $AR1,    #0x4000
lri $IX1,    #0xc489
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50314 (0xc48a)

lri $AR1,    #0x4000
lri $IX1,    #0xc48a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50315 (0xc48b)

lri $AR1,    #0x4000
lri $IX1,    #0xc48b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50316 (0xc48c)

lri $AR1,    #0x4000
lri $IX1,    #0xc48c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50317 (0xc48d)

lri $AR1,    #0x4000
lri $IX1,    #0xc48d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50318 (0xc48e)

lri $AR1,    #0x4000
lri $IX1,    #0xc48e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50319 (0xc48f)

lri $AR1,    #0x4000
lri $IX1,    #0xc48f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50320 (0xc490)

lri $AR1,    #0x4000
lri $IX1,    #0xc490
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50321 (0xc491)

lri $AR1,    #0x4000
lri $IX1,    #0xc491
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50322 (0xc492)

lri $AR1,    #0x4000
lri $IX1,    #0xc492
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50323 (0xc493)

lri $AR1,    #0x4000
lri $IX1,    #0xc493
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50324 (0xc494)

lri $AR1,    #0x4000
lri $IX1,    #0xc494
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50325 (0xc495)

lri $AR1,    #0x4000
lri $IX1,    #0xc495
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50326 (0xc496)

lri $AR1,    #0x4000
lri $IX1,    #0xc496
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50327 (0xc497)

lri $AR1,    #0x4000
lri $IX1,    #0xc497
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50328 (0xc498)

lri $AR1,    #0x4000
lri $IX1,    #0xc498
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50329 (0xc499)

lri $AR1,    #0x4000
lri $IX1,    #0xc499
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50330 (0xc49a)

lri $AR1,    #0x4000
lri $IX1,    #0xc49a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50331 (0xc49b)

lri $AR1,    #0x4000
lri $IX1,    #0xc49b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50332 (0xc49c)

lri $AR1,    #0x4000
lri $IX1,    #0xc49c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50333 (0xc49d)

lri $AR1,    #0x4000
lri $IX1,    #0xc49d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50334 (0xc49e)

lri $AR1,    #0x4000
lri $IX1,    #0xc49e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50335 (0xc49f)

lri $AR1,    #0x4000
lri $IX1,    #0xc49f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50336 (0xc4a0)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50337 (0xc4a1)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50338 (0xc4a2)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50339 (0xc4a3)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50340 (0xc4a4)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50341 (0xc4a5)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50342 (0xc4a6)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50343 (0xc4a7)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50344 (0xc4a8)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50345 (0xc4a9)

lri $AR1,    #0x4000
lri $IX1,    #0xc4a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50346 (0xc4aa)

lri $AR1,    #0x4000
lri $IX1,    #0xc4aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50347 (0xc4ab)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50348 (0xc4ac)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50349 (0xc4ad)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50350 (0xc4ae)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50351 (0xc4af)

lri $AR1,    #0x4000
lri $IX1,    #0xc4af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50352 (0xc4b0)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50353 (0xc4b1)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50354 (0xc4b2)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50355 (0xc4b3)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50356 (0xc4b4)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50357 (0xc4b5)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50358 (0xc4b6)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50359 (0xc4b7)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50360 (0xc4b8)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50361 (0xc4b9)

lri $AR1,    #0x4000
lri $IX1,    #0xc4b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50362 (0xc4ba)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50363 (0xc4bb)

lri $AR1,    #0x4000
lri $IX1,    #0xc4bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50364 (0xc4bc)

lri $AR1,    #0x4000
lri $IX1,    #0xc4bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50365 (0xc4bd)

lri $AR1,    #0x4000
lri $IX1,    #0xc4bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50366 (0xc4be)

lri $AR1,    #0x4000
lri $IX1,    #0xc4be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50367 (0xc4bf)

lri $AR1,    #0x4000
lri $IX1,    #0xc4bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50368 (0xc4c0)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50369 (0xc4c1)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50370 (0xc4c2)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50371 (0xc4c3)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50372 (0xc4c4)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50373 (0xc4c5)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50374 (0xc4c6)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50375 (0xc4c7)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50376 (0xc4c8)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50377 (0xc4c9)

lri $AR1,    #0x4000
lri $IX1,    #0xc4c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50378 (0xc4ca)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50379 (0xc4cb)

lri $AR1,    #0x4000
lri $IX1,    #0xc4cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50380 (0xc4cc)

lri $AR1,    #0x4000
lri $IX1,    #0xc4cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50381 (0xc4cd)

lri $AR1,    #0x4000
lri $IX1,    #0xc4cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50382 (0xc4ce)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50383 (0xc4cf)

lri $AR1,    #0x4000
lri $IX1,    #0xc4cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50384 (0xc4d0)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50385 (0xc4d1)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50386 (0xc4d2)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50387 (0xc4d3)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50388 (0xc4d4)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50389 (0xc4d5)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50390 (0xc4d6)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50391 (0xc4d7)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50392 (0xc4d8)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50393 (0xc4d9)

lri $AR1,    #0x4000
lri $IX1,    #0xc4d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50394 (0xc4da)

lri $AR1,    #0x4000
lri $IX1,    #0xc4da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50395 (0xc4db)

lri $AR1,    #0x4000
lri $IX1,    #0xc4db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50396 (0xc4dc)

lri $AR1,    #0x4000
lri $IX1,    #0xc4dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50397 (0xc4dd)

lri $AR1,    #0x4000
lri $IX1,    #0xc4dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50398 (0xc4de)

lri $AR1,    #0x4000
lri $IX1,    #0xc4de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50399 (0xc4df)

lri $AR1,    #0x4000
lri $IX1,    #0xc4df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50400 (0xc4e0)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50401 (0xc4e1)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50402 (0xc4e2)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50403 (0xc4e3)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50404 (0xc4e4)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50405 (0xc4e5)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50406 (0xc4e6)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50407 (0xc4e7)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50408 (0xc4e8)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50409 (0xc4e9)

lri $AR1,    #0x4000
lri $IX1,    #0xc4e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50410 (0xc4ea)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50411 (0xc4eb)

lri $AR1,    #0x4000
lri $IX1,    #0xc4eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50412 (0xc4ec)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50413 (0xc4ed)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50414 (0xc4ee)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50415 (0xc4ef)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50416 (0xc4f0)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50417 (0xc4f1)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50418 (0xc4f2)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50419 (0xc4f3)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50420 (0xc4f4)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50421 (0xc4f5)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50422 (0xc4f6)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50423 (0xc4f7)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50424 (0xc4f8)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50425 (0xc4f9)

lri $AR1,    #0x4000
lri $IX1,    #0xc4f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50426 (0xc4fa)

lri $AR1,    #0x4000
lri $IX1,    #0xc4fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50427 (0xc4fb)

lri $AR1,    #0x4000
lri $IX1,    #0xc4fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50428 (0xc4fc)

lri $AR1,    #0x4000
lri $IX1,    #0xc4fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50429 (0xc4fd)

lri $AR1,    #0x4000
lri $IX1,    #0xc4fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50430 (0xc4fe)

lri $AR1,    #0x4000
lri $IX1,    #0xc4fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50431 (0xc4ff)

lri $AR1,    #0x4000
lri $IX1,    #0xc4ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50432 (0xc500)

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

