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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd80
cw 0x5
call send_back  ; 52609 (0xcd81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd81
cw 0x5
call send_back  ; 52610 (0xcd82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd82
cw 0x5
call send_back  ; 52611 (0xcd83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd83
cw 0x5
call send_back  ; 52612 (0xcd84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd84
cw 0x5
call send_back  ; 52613 (0xcd85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd85
cw 0x5
call send_back  ; 52614 (0xcd86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd86
cw 0x5
call send_back  ; 52615 (0xcd87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd87
cw 0x5
call send_back  ; 52616 (0xcd88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd88
cw 0x5
call send_back  ; 52617 (0xcd89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd89
cw 0x5
call send_back  ; 52618 (0xcd8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd8a
cw 0x5
call send_back  ; 52619 (0xcd8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd8b
cw 0x5
call send_back  ; 52620 (0xcd8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd8c
cw 0x5
call send_back  ; 52621 (0xcd8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd8d
cw 0x5
call send_back  ; 52622 (0xcd8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd8e
cw 0x5
call send_back  ; 52623 (0xcd8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd8f
cw 0x5
call send_back  ; 52624 (0xcd90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd90
cw 0x5
call send_back  ; 52625 (0xcd91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd91
cw 0x5
call send_back  ; 52626 (0xcd92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd92
cw 0x5
call send_back  ; 52627 (0xcd93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd93
cw 0x5
call send_back  ; 52628 (0xcd94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd94
cw 0x5
call send_back  ; 52629 (0xcd95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd95
cw 0x5
call send_back  ; 52630 (0xcd96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd96
cw 0x5
call send_back  ; 52631 (0xcd97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd97
cw 0x5
call send_back  ; 52632 (0xcd98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd98
cw 0x5
call send_back  ; 52633 (0xcd99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd99
cw 0x5
call send_back  ; 52634 (0xcd9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd9a
cw 0x5
call send_back  ; 52635 (0xcd9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd9b
cw 0x5
call send_back  ; 52636 (0xcd9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd9c
cw 0x5
call send_back  ; 52637 (0xcd9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd9d
cw 0x5
call send_back  ; 52638 (0xcd9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd9e
cw 0x5
call send_back  ; 52639 (0xcd9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcd9f
cw 0x5
call send_back  ; 52640 (0xcda0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda0
cw 0x5
call send_back  ; 52641 (0xcda1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda1
cw 0x5
call send_back  ; 52642 (0xcda2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda2
cw 0x5
call send_back  ; 52643 (0xcda3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda3
cw 0x5
call send_back  ; 52644 (0xcda4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda4
cw 0x5
call send_back  ; 52645 (0xcda5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda5
cw 0x5
call send_back  ; 52646 (0xcda6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda6
cw 0x5
call send_back  ; 52647 (0xcda7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda7
cw 0x5
call send_back  ; 52648 (0xcda8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda8
cw 0x5
call send_back  ; 52649 (0xcda9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcda9
cw 0x5
call send_back  ; 52650 (0xcdaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdaa
cw 0x5
call send_back  ; 52651 (0xcdab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdab
cw 0x5
call send_back  ; 52652 (0xcdac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdac
cw 0x5
call send_back  ; 52653 (0xcdad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdad
cw 0x5
call send_back  ; 52654 (0xcdae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdae
cw 0x5
call send_back  ; 52655 (0xcdaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdaf
cw 0x5
call send_back  ; 52656 (0xcdb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb0
cw 0x5
call send_back  ; 52657 (0xcdb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb1
cw 0x5
call send_back  ; 52658 (0xcdb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb2
cw 0x5
call send_back  ; 52659 (0xcdb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb3
cw 0x5
call send_back  ; 52660 (0xcdb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb4
cw 0x5
call send_back  ; 52661 (0xcdb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb5
cw 0x5
call send_back  ; 52662 (0xcdb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb6
cw 0x5
call send_back  ; 52663 (0xcdb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb7
cw 0x5
call send_back  ; 52664 (0xcdb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb8
cw 0x5
call send_back  ; 52665 (0xcdb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdb9
cw 0x5
call send_back  ; 52666 (0xcdba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdba
cw 0x5
call send_back  ; 52667 (0xcdbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdbb
cw 0x5
call send_back  ; 52668 (0xcdbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdbc
cw 0x5
call send_back  ; 52669 (0xcdbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdbd
cw 0x5
call send_back  ; 52670 (0xcdbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdbe
cw 0x5
call send_back  ; 52671 (0xcdbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdbf
cw 0x5
call send_back  ; 52672 (0xcdc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc0
cw 0x5
call send_back  ; 52673 (0xcdc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc1
cw 0x5
call send_back  ; 52674 (0xcdc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc2
cw 0x5
call send_back  ; 52675 (0xcdc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc3
cw 0x5
call send_back  ; 52676 (0xcdc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc4
cw 0x5
call send_back  ; 52677 (0xcdc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc5
cw 0x5
call send_back  ; 52678 (0xcdc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc6
cw 0x5
call send_back  ; 52679 (0xcdc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc7
cw 0x5
call send_back  ; 52680 (0xcdc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc8
cw 0x5
call send_back  ; 52681 (0xcdc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdc9
cw 0x5
call send_back  ; 52682 (0xcdca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdca
cw 0x5
call send_back  ; 52683 (0xcdcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdcb
cw 0x5
call send_back  ; 52684 (0xcdcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdcc
cw 0x5
call send_back  ; 52685 (0xcdcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdcd
cw 0x5
call send_back  ; 52686 (0xcdce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdce
cw 0x5
call send_back  ; 52687 (0xcdcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdcf
cw 0x5
call send_back  ; 52688 (0xcdd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd0
cw 0x5
call send_back  ; 52689 (0xcdd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd1
cw 0x5
call send_back  ; 52690 (0xcdd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd2
cw 0x5
call send_back  ; 52691 (0xcdd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd3
cw 0x5
call send_back  ; 52692 (0xcdd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd4
cw 0x5
call send_back  ; 52693 (0xcdd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd5
cw 0x5
call send_back  ; 52694 (0xcdd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd6
cw 0x5
call send_back  ; 52695 (0xcdd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd7
cw 0x5
call send_back  ; 52696 (0xcdd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd8
cw 0x5
call send_back  ; 52697 (0xcdd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdd9
cw 0x5
call send_back  ; 52698 (0xcdda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdda
cw 0x5
call send_back  ; 52699 (0xcddb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcddb
cw 0x5
call send_back  ; 52700 (0xcddc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcddc
cw 0x5
call send_back  ; 52701 (0xcddd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcddd
cw 0x5
call send_back  ; 52702 (0xcdde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdde
cw 0x5
call send_back  ; 52703 (0xcddf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcddf
cw 0x5
call send_back  ; 52704 (0xcde0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde0
cw 0x5
call send_back  ; 52705 (0xcde1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde1
cw 0x5
call send_back  ; 52706 (0xcde2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde2
cw 0x5
call send_back  ; 52707 (0xcde3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde3
cw 0x5
call send_back  ; 52708 (0xcde4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde4
cw 0x5
call send_back  ; 52709 (0xcde5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde5
cw 0x5
call send_back  ; 52710 (0xcde6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde6
cw 0x5
call send_back  ; 52711 (0xcde7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde7
cw 0x5
call send_back  ; 52712 (0xcde8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde8
cw 0x5
call send_back  ; 52713 (0xcde9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcde9
cw 0x5
call send_back  ; 52714 (0xcdea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdea
cw 0x5
call send_back  ; 52715 (0xcdeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdeb
cw 0x5
call send_back  ; 52716 (0xcdec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdec
cw 0x5
call send_back  ; 52717 (0xcded)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcded
cw 0x5
call send_back  ; 52718 (0xcdee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdee
cw 0x5
call send_back  ; 52719 (0xcdef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdef
cw 0x5
call send_back  ; 52720 (0xcdf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf0
cw 0x5
call send_back  ; 52721 (0xcdf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf1
cw 0x5
call send_back  ; 52722 (0xcdf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf2
cw 0x5
call send_back  ; 52723 (0xcdf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf3
cw 0x5
call send_back  ; 52724 (0xcdf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf4
cw 0x5
call send_back  ; 52725 (0xcdf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf5
cw 0x5
call send_back  ; 52726 (0xcdf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf6
cw 0x5
call send_back  ; 52727 (0xcdf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf7
cw 0x5
call send_back  ; 52728 (0xcdf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf8
cw 0x5
call send_back  ; 52729 (0xcdf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdf9
cw 0x5
call send_back  ; 52730 (0xcdfa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdfa
cw 0x5
call send_back  ; 52731 (0xcdfb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdfb
cw 0x5
call send_back  ; 52732 (0xcdfc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdfc
cw 0x5
call send_back  ; 52733 (0xcdfd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdfd
cw 0x5
call send_back  ; 52734 (0xcdfe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdfe
cw 0x5
call send_back  ; 52735 (0xcdff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xcdff
cw 0x5
call send_back  ; 52736 (0xce00)

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

