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

lri $AR1,    #0xc580
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50561 (0xc581)

lri $AR1,    #0xc581
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50562 (0xc582)

lri $AR1,    #0xc582
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50563 (0xc583)

lri $AR1,    #0xc583
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50564 (0xc584)

lri $AR1,    #0xc584
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50565 (0xc585)

lri $AR1,    #0xc585
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50566 (0xc586)

lri $AR1,    #0xc586
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50567 (0xc587)

lri $AR1,    #0xc587
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50568 (0xc588)

lri $AR1,    #0xc588
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50569 (0xc589)

lri $AR1,    #0xc589
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50570 (0xc58a)

lri $AR1,    #0xc58a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50571 (0xc58b)

lri $AR1,    #0xc58b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50572 (0xc58c)

lri $AR1,    #0xc58c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50573 (0xc58d)

lri $AR1,    #0xc58d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50574 (0xc58e)

lri $AR1,    #0xc58e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50575 (0xc58f)

lri $AR1,    #0xc58f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50576 (0xc590)

lri $AR1,    #0xc590
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50577 (0xc591)

lri $AR1,    #0xc591
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50578 (0xc592)

lri $AR1,    #0xc592
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50579 (0xc593)

lri $AR1,    #0xc593
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50580 (0xc594)

lri $AR1,    #0xc594
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50581 (0xc595)

lri $AR1,    #0xc595
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50582 (0xc596)

lri $AR1,    #0xc596
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50583 (0xc597)

lri $AR1,    #0xc597
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50584 (0xc598)

lri $AR1,    #0xc598
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50585 (0xc599)

lri $AR1,    #0xc599
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50586 (0xc59a)

lri $AR1,    #0xc59a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50587 (0xc59b)

lri $AR1,    #0xc59b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50588 (0xc59c)

lri $AR1,    #0xc59c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50589 (0xc59d)

lri $AR1,    #0xc59d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50590 (0xc59e)

lri $AR1,    #0xc59e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50591 (0xc59f)

lri $AR1,    #0xc59f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50592 (0xc5a0)

lri $AR1,    #0xc5a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50593 (0xc5a1)

lri $AR1,    #0xc5a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50594 (0xc5a2)

lri $AR1,    #0xc5a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50595 (0xc5a3)

lri $AR1,    #0xc5a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50596 (0xc5a4)

lri $AR1,    #0xc5a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50597 (0xc5a5)

lri $AR1,    #0xc5a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50598 (0xc5a6)

lri $AR1,    #0xc5a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50599 (0xc5a7)

lri $AR1,    #0xc5a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50600 (0xc5a8)

lri $AR1,    #0xc5a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50601 (0xc5a9)

lri $AR1,    #0xc5a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50602 (0xc5aa)

lri $AR1,    #0xc5aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50603 (0xc5ab)

lri $AR1,    #0xc5ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50604 (0xc5ac)

lri $AR1,    #0xc5ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50605 (0xc5ad)

lri $AR1,    #0xc5ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50606 (0xc5ae)

lri $AR1,    #0xc5ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50607 (0xc5af)

lri $AR1,    #0xc5af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50608 (0xc5b0)

lri $AR1,    #0xc5b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50609 (0xc5b1)

lri $AR1,    #0xc5b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50610 (0xc5b2)

lri $AR1,    #0xc5b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50611 (0xc5b3)

lri $AR1,    #0xc5b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50612 (0xc5b4)

lri $AR1,    #0xc5b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50613 (0xc5b5)

lri $AR1,    #0xc5b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50614 (0xc5b6)

lri $AR1,    #0xc5b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50615 (0xc5b7)

lri $AR1,    #0xc5b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50616 (0xc5b8)

lri $AR1,    #0xc5b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50617 (0xc5b9)

lri $AR1,    #0xc5b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50618 (0xc5ba)

lri $AR1,    #0xc5ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50619 (0xc5bb)

lri $AR1,    #0xc5bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50620 (0xc5bc)

lri $AR1,    #0xc5bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50621 (0xc5bd)

lri $AR1,    #0xc5bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50622 (0xc5be)

lri $AR1,    #0xc5be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50623 (0xc5bf)

lri $AR1,    #0xc5bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50624 (0xc5c0)

lri $AR1,    #0xc5c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50625 (0xc5c1)

lri $AR1,    #0xc5c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50626 (0xc5c2)

lri $AR1,    #0xc5c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50627 (0xc5c3)

lri $AR1,    #0xc5c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50628 (0xc5c4)

lri $AR1,    #0xc5c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50629 (0xc5c5)

lri $AR1,    #0xc5c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50630 (0xc5c6)

lri $AR1,    #0xc5c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50631 (0xc5c7)

lri $AR1,    #0xc5c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50632 (0xc5c8)

lri $AR1,    #0xc5c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50633 (0xc5c9)

lri $AR1,    #0xc5c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50634 (0xc5ca)

lri $AR1,    #0xc5ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50635 (0xc5cb)

lri $AR1,    #0xc5cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50636 (0xc5cc)

lri $AR1,    #0xc5cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50637 (0xc5cd)

lri $AR1,    #0xc5cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50638 (0xc5ce)

lri $AR1,    #0xc5ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50639 (0xc5cf)

lri $AR1,    #0xc5cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50640 (0xc5d0)

lri $AR1,    #0xc5d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50641 (0xc5d1)

lri $AR1,    #0xc5d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50642 (0xc5d2)

lri $AR1,    #0xc5d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50643 (0xc5d3)

lri $AR1,    #0xc5d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50644 (0xc5d4)

lri $AR1,    #0xc5d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50645 (0xc5d5)

lri $AR1,    #0xc5d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50646 (0xc5d6)

lri $AR1,    #0xc5d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50647 (0xc5d7)

lri $AR1,    #0xc5d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50648 (0xc5d8)

lri $AR1,    #0xc5d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50649 (0xc5d9)

lri $AR1,    #0xc5d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50650 (0xc5da)

lri $AR1,    #0xc5da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50651 (0xc5db)

lri $AR1,    #0xc5db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50652 (0xc5dc)

lri $AR1,    #0xc5dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50653 (0xc5dd)

lri $AR1,    #0xc5dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50654 (0xc5de)

lri $AR1,    #0xc5de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50655 (0xc5df)

lri $AR1,    #0xc5df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50656 (0xc5e0)

lri $AR1,    #0xc5e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50657 (0xc5e1)

lri $AR1,    #0xc5e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50658 (0xc5e2)

lri $AR1,    #0xc5e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50659 (0xc5e3)

lri $AR1,    #0xc5e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50660 (0xc5e4)

lri $AR1,    #0xc5e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50661 (0xc5e5)

lri $AR1,    #0xc5e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50662 (0xc5e6)

lri $AR1,    #0xc5e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50663 (0xc5e7)

lri $AR1,    #0xc5e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50664 (0xc5e8)

lri $AR1,    #0xc5e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50665 (0xc5e9)

lri $AR1,    #0xc5e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50666 (0xc5ea)

lri $AR1,    #0xc5ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50667 (0xc5eb)

lri $AR1,    #0xc5eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50668 (0xc5ec)

lri $AR1,    #0xc5ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50669 (0xc5ed)

lri $AR1,    #0xc5ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50670 (0xc5ee)

lri $AR1,    #0xc5ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50671 (0xc5ef)

lri $AR1,    #0xc5ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50672 (0xc5f0)

lri $AR1,    #0xc5f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50673 (0xc5f1)

lri $AR1,    #0xc5f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50674 (0xc5f2)

lri $AR1,    #0xc5f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50675 (0xc5f3)

lri $AR1,    #0xc5f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50676 (0xc5f4)

lri $AR1,    #0xc5f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50677 (0xc5f5)

lri $AR1,    #0xc5f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50678 (0xc5f6)

lri $AR1,    #0xc5f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50679 (0xc5f7)

lri $AR1,    #0xc5f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50680 (0xc5f8)

lri $AR1,    #0xc5f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50681 (0xc5f9)

lri $AR1,    #0xc5f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50682 (0xc5fa)

lri $AR1,    #0xc5fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50683 (0xc5fb)

lri $AR1,    #0xc5fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50684 (0xc5fc)

lri $AR1,    #0xc5fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50685 (0xc5fd)

lri $AR1,    #0xc5fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50686 (0xc5fe)

lri $AR1,    #0xc5fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50687 (0xc5ff)

lri $AR1,    #0xc5ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50688 (0xc600)

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

