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

lri $AR1,    #0x4000
lri $IX1,    #0xd580
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54657 (0xd581)

lri $AR1,    #0x4000
lri $IX1,    #0xd581
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54658 (0xd582)

lri $AR1,    #0x4000
lri $IX1,    #0xd582
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54659 (0xd583)

lri $AR1,    #0x4000
lri $IX1,    #0xd583
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54660 (0xd584)

lri $AR1,    #0x4000
lri $IX1,    #0xd584
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54661 (0xd585)

lri $AR1,    #0x4000
lri $IX1,    #0xd585
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54662 (0xd586)

lri $AR1,    #0x4000
lri $IX1,    #0xd586
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54663 (0xd587)

lri $AR1,    #0x4000
lri $IX1,    #0xd587
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54664 (0xd588)

lri $AR1,    #0x4000
lri $IX1,    #0xd588
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54665 (0xd589)

lri $AR1,    #0x4000
lri $IX1,    #0xd589
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54666 (0xd58a)

lri $AR1,    #0x4000
lri $IX1,    #0xd58a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54667 (0xd58b)

lri $AR1,    #0x4000
lri $IX1,    #0xd58b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54668 (0xd58c)

lri $AR1,    #0x4000
lri $IX1,    #0xd58c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54669 (0xd58d)

lri $AR1,    #0x4000
lri $IX1,    #0xd58d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54670 (0xd58e)

lri $AR1,    #0x4000
lri $IX1,    #0xd58e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54671 (0xd58f)

lri $AR1,    #0x4000
lri $IX1,    #0xd58f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54672 (0xd590)

lri $AR1,    #0x4000
lri $IX1,    #0xd590
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54673 (0xd591)

lri $AR1,    #0x4000
lri $IX1,    #0xd591
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54674 (0xd592)

lri $AR1,    #0x4000
lri $IX1,    #0xd592
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54675 (0xd593)

lri $AR1,    #0x4000
lri $IX1,    #0xd593
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54676 (0xd594)

lri $AR1,    #0x4000
lri $IX1,    #0xd594
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54677 (0xd595)

lri $AR1,    #0x4000
lri $IX1,    #0xd595
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54678 (0xd596)

lri $AR1,    #0x4000
lri $IX1,    #0xd596
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54679 (0xd597)

lri $AR1,    #0x4000
lri $IX1,    #0xd597
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54680 (0xd598)

lri $AR1,    #0x4000
lri $IX1,    #0xd598
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54681 (0xd599)

lri $AR1,    #0x4000
lri $IX1,    #0xd599
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54682 (0xd59a)

lri $AR1,    #0x4000
lri $IX1,    #0xd59a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54683 (0xd59b)

lri $AR1,    #0x4000
lri $IX1,    #0xd59b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54684 (0xd59c)

lri $AR1,    #0x4000
lri $IX1,    #0xd59c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54685 (0xd59d)

lri $AR1,    #0x4000
lri $IX1,    #0xd59d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54686 (0xd59e)

lri $AR1,    #0x4000
lri $IX1,    #0xd59e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54687 (0xd59f)

lri $AR1,    #0x4000
lri $IX1,    #0xd59f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54688 (0xd5a0)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54689 (0xd5a1)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54690 (0xd5a2)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54691 (0xd5a3)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54692 (0xd5a4)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54693 (0xd5a5)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54694 (0xd5a6)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54695 (0xd5a7)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54696 (0xd5a8)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54697 (0xd5a9)

lri $AR1,    #0x4000
lri $IX1,    #0xd5a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54698 (0xd5aa)

lri $AR1,    #0x4000
lri $IX1,    #0xd5aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54699 (0xd5ab)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54700 (0xd5ac)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54701 (0xd5ad)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54702 (0xd5ae)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54703 (0xd5af)

lri $AR1,    #0x4000
lri $IX1,    #0xd5af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54704 (0xd5b0)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54705 (0xd5b1)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54706 (0xd5b2)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54707 (0xd5b3)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54708 (0xd5b4)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54709 (0xd5b5)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54710 (0xd5b6)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54711 (0xd5b7)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54712 (0xd5b8)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54713 (0xd5b9)

lri $AR1,    #0x4000
lri $IX1,    #0xd5b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54714 (0xd5ba)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54715 (0xd5bb)

lri $AR1,    #0x4000
lri $IX1,    #0xd5bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54716 (0xd5bc)

lri $AR1,    #0x4000
lri $IX1,    #0xd5bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54717 (0xd5bd)

lri $AR1,    #0x4000
lri $IX1,    #0xd5bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54718 (0xd5be)

lri $AR1,    #0x4000
lri $IX1,    #0xd5be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54719 (0xd5bf)

lri $AR1,    #0x4000
lri $IX1,    #0xd5bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54720 (0xd5c0)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54721 (0xd5c1)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54722 (0xd5c2)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54723 (0xd5c3)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54724 (0xd5c4)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54725 (0xd5c5)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54726 (0xd5c6)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54727 (0xd5c7)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54728 (0xd5c8)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54729 (0xd5c9)

lri $AR1,    #0x4000
lri $IX1,    #0xd5c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54730 (0xd5ca)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54731 (0xd5cb)

lri $AR1,    #0x4000
lri $IX1,    #0xd5cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54732 (0xd5cc)

lri $AR1,    #0x4000
lri $IX1,    #0xd5cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54733 (0xd5cd)

lri $AR1,    #0x4000
lri $IX1,    #0xd5cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54734 (0xd5ce)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54735 (0xd5cf)

lri $AR1,    #0x4000
lri $IX1,    #0xd5cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54736 (0xd5d0)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54737 (0xd5d1)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54738 (0xd5d2)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54739 (0xd5d3)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54740 (0xd5d4)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54741 (0xd5d5)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54742 (0xd5d6)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54743 (0xd5d7)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54744 (0xd5d8)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54745 (0xd5d9)

lri $AR1,    #0x4000
lri $IX1,    #0xd5d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54746 (0xd5da)

lri $AR1,    #0x4000
lri $IX1,    #0xd5da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54747 (0xd5db)

lri $AR1,    #0x4000
lri $IX1,    #0xd5db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54748 (0xd5dc)

lri $AR1,    #0x4000
lri $IX1,    #0xd5dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54749 (0xd5dd)

lri $AR1,    #0x4000
lri $IX1,    #0xd5dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54750 (0xd5de)

lri $AR1,    #0x4000
lri $IX1,    #0xd5de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54751 (0xd5df)

lri $AR1,    #0x4000
lri $IX1,    #0xd5df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54752 (0xd5e0)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54753 (0xd5e1)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54754 (0xd5e2)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54755 (0xd5e3)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54756 (0xd5e4)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54757 (0xd5e5)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54758 (0xd5e6)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54759 (0xd5e7)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54760 (0xd5e8)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54761 (0xd5e9)

lri $AR1,    #0x4000
lri $IX1,    #0xd5e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54762 (0xd5ea)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54763 (0xd5eb)

lri $AR1,    #0x4000
lri $IX1,    #0xd5eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54764 (0xd5ec)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54765 (0xd5ed)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54766 (0xd5ee)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54767 (0xd5ef)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54768 (0xd5f0)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54769 (0xd5f1)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54770 (0xd5f2)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54771 (0xd5f3)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54772 (0xd5f4)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54773 (0xd5f5)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54774 (0xd5f6)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54775 (0xd5f7)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54776 (0xd5f8)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54777 (0xd5f9)

lri $AR1,    #0x4000
lri $IX1,    #0xd5f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54778 (0xd5fa)

lri $AR1,    #0x4000
lri $IX1,    #0xd5fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54779 (0xd5fb)

lri $AR1,    #0x4000
lri $IX1,    #0xd5fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54780 (0xd5fc)

lri $AR1,    #0x4000
lri $IX1,    #0xd5fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54781 (0xd5fd)

lri $AR1,    #0x4000
lri $IX1,    #0xd5fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54782 (0xd5fe)

lri $AR1,    #0x4000
lri $IX1,    #0xd5fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54783 (0xd5ff)

lri $AR1,    #0x4000
lri $IX1,    #0xd5ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 54784 (0xd600)

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

