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

lri $AR1,    #0xa580
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42369 (0xa581)

lri $AR1,    #0xa581
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42370 (0xa582)

lri $AR1,    #0xa582
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42371 (0xa583)

lri $AR1,    #0xa583
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42372 (0xa584)

lri $AR1,    #0xa584
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42373 (0xa585)

lri $AR1,    #0xa585
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42374 (0xa586)

lri $AR1,    #0xa586
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42375 (0xa587)

lri $AR1,    #0xa587
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42376 (0xa588)

lri $AR1,    #0xa588
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42377 (0xa589)

lri $AR1,    #0xa589
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42378 (0xa58a)

lri $AR1,    #0xa58a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42379 (0xa58b)

lri $AR1,    #0xa58b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42380 (0xa58c)

lri $AR1,    #0xa58c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42381 (0xa58d)

lri $AR1,    #0xa58d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42382 (0xa58e)

lri $AR1,    #0xa58e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42383 (0xa58f)

lri $AR1,    #0xa58f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42384 (0xa590)

lri $AR1,    #0xa590
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42385 (0xa591)

lri $AR1,    #0xa591
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42386 (0xa592)

lri $AR1,    #0xa592
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42387 (0xa593)

lri $AR1,    #0xa593
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42388 (0xa594)

lri $AR1,    #0xa594
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42389 (0xa595)

lri $AR1,    #0xa595
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42390 (0xa596)

lri $AR1,    #0xa596
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42391 (0xa597)

lri $AR1,    #0xa597
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42392 (0xa598)

lri $AR1,    #0xa598
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42393 (0xa599)

lri $AR1,    #0xa599
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42394 (0xa59a)

lri $AR1,    #0xa59a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42395 (0xa59b)

lri $AR1,    #0xa59b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42396 (0xa59c)

lri $AR1,    #0xa59c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42397 (0xa59d)

lri $AR1,    #0xa59d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42398 (0xa59e)

lri $AR1,    #0xa59e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42399 (0xa59f)

lri $AR1,    #0xa59f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42400 (0xa5a0)

lri $AR1,    #0xa5a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42401 (0xa5a1)

lri $AR1,    #0xa5a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42402 (0xa5a2)

lri $AR1,    #0xa5a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42403 (0xa5a3)

lri $AR1,    #0xa5a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42404 (0xa5a4)

lri $AR1,    #0xa5a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42405 (0xa5a5)

lri $AR1,    #0xa5a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42406 (0xa5a6)

lri $AR1,    #0xa5a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42407 (0xa5a7)

lri $AR1,    #0xa5a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42408 (0xa5a8)

lri $AR1,    #0xa5a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42409 (0xa5a9)

lri $AR1,    #0xa5a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42410 (0xa5aa)

lri $AR1,    #0xa5aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42411 (0xa5ab)

lri $AR1,    #0xa5ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42412 (0xa5ac)

lri $AR1,    #0xa5ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42413 (0xa5ad)

lri $AR1,    #0xa5ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42414 (0xa5ae)

lri $AR1,    #0xa5ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42415 (0xa5af)

lri $AR1,    #0xa5af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42416 (0xa5b0)

lri $AR1,    #0xa5b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42417 (0xa5b1)

lri $AR1,    #0xa5b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42418 (0xa5b2)

lri $AR1,    #0xa5b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42419 (0xa5b3)

lri $AR1,    #0xa5b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42420 (0xa5b4)

lri $AR1,    #0xa5b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42421 (0xa5b5)

lri $AR1,    #0xa5b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42422 (0xa5b6)

lri $AR1,    #0xa5b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42423 (0xa5b7)

lri $AR1,    #0xa5b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42424 (0xa5b8)

lri $AR1,    #0xa5b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42425 (0xa5b9)

lri $AR1,    #0xa5b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42426 (0xa5ba)

lri $AR1,    #0xa5ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42427 (0xa5bb)

lri $AR1,    #0xa5bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42428 (0xa5bc)

lri $AR1,    #0xa5bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42429 (0xa5bd)

lri $AR1,    #0xa5bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42430 (0xa5be)

lri $AR1,    #0xa5be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42431 (0xa5bf)

lri $AR1,    #0xa5bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42432 (0xa5c0)

lri $AR1,    #0xa5c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42433 (0xa5c1)

lri $AR1,    #0xa5c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42434 (0xa5c2)

lri $AR1,    #0xa5c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42435 (0xa5c3)

lri $AR1,    #0xa5c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42436 (0xa5c4)

lri $AR1,    #0xa5c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42437 (0xa5c5)

lri $AR1,    #0xa5c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42438 (0xa5c6)

lri $AR1,    #0xa5c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42439 (0xa5c7)

lri $AR1,    #0xa5c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42440 (0xa5c8)

lri $AR1,    #0xa5c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42441 (0xa5c9)

lri $AR1,    #0xa5c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42442 (0xa5ca)

lri $AR1,    #0xa5ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42443 (0xa5cb)

lri $AR1,    #0xa5cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42444 (0xa5cc)

lri $AR1,    #0xa5cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42445 (0xa5cd)

lri $AR1,    #0xa5cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42446 (0xa5ce)

lri $AR1,    #0xa5ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42447 (0xa5cf)

lri $AR1,    #0xa5cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42448 (0xa5d0)

lri $AR1,    #0xa5d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42449 (0xa5d1)

lri $AR1,    #0xa5d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42450 (0xa5d2)

lri $AR1,    #0xa5d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42451 (0xa5d3)

lri $AR1,    #0xa5d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42452 (0xa5d4)

lri $AR1,    #0xa5d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42453 (0xa5d5)

lri $AR1,    #0xa5d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42454 (0xa5d6)

lri $AR1,    #0xa5d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42455 (0xa5d7)

lri $AR1,    #0xa5d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42456 (0xa5d8)

lri $AR1,    #0xa5d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42457 (0xa5d9)

lri $AR1,    #0xa5d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42458 (0xa5da)

lri $AR1,    #0xa5da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42459 (0xa5db)

lri $AR1,    #0xa5db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42460 (0xa5dc)

lri $AR1,    #0xa5dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42461 (0xa5dd)

lri $AR1,    #0xa5dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42462 (0xa5de)

lri $AR1,    #0xa5de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42463 (0xa5df)

lri $AR1,    #0xa5df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42464 (0xa5e0)

lri $AR1,    #0xa5e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42465 (0xa5e1)

lri $AR1,    #0xa5e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42466 (0xa5e2)

lri $AR1,    #0xa5e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42467 (0xa5e3)

lri $AR1,    #0xa5e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42468 (0xa5e4)

lri $AR1,    #0xa5e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42469 (0xa5e5)

lri $AR1,    #0xa5e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42470 (0xa5e6)

lri $AR1,    #0xa5e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42471 (0xa5e7)

lri $AR1,    #0xa5e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42472 (0xa5e8)

lri $AR1,    #0xa5e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42473 (0xa5e9)

lri $AR1,    #0xa5e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42474 (0xa5ea)

lri $AR1,    #0xa5ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42475 (0xa5eb)

lri $AR1,    #0xa5eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42476 (0xa5ec)

lri $AR1,    #0xa5ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42477 (0xa5ed)

lri $AR1,    #0xa5ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42478 (0xa5ee)

lri $AR1,    #0xa5ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42479 (0xa5ef)

lri $AR1,    #0xa5ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42480 (0xa5f0)

lri $AR1,    #0xa5f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42481 (0xa5f1)

lri $AR1,    #0xa5f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42482 (0xa5f2)

lri $AR1,    #0xa5f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42483 (0xa5f3)

lri $AR1,    #0xa5f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42484 (0xa5f4)

lri $AR1,    #0xa5f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42485 (0xa5f5)

lri $AR1,    #0xa5f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42486 (0xa5f6)

lri $AR1,    #0xa5f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42487 (0xa5f7)

lri $AR1,    #0xa5f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42488 (0xa5f8)

lri $AR1,    #0xa5f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42489 (0xa5f9)

lri $AR1,    #0xa5f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42490 (0xa5fa)

lri $AR1,    #0xa5fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42491 (0xa5fb)

lri $AR1,    #0xa5fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42492 (0xa5fc)

lri $AR1,    #0xa5fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42493 (0xa5fd)

lri $AR1,    #0xa5fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42494 (0xa5fe)

lri $AR1,    #0xa5fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42495 (0xa5ff)

lri $AR1,    #0xa5ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42496 (0xa600)

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

