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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47617 (0xba01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47618 (0xba02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47619 (0xba03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47620 (0xba04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47621 (0xba05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47622 (0xba06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47623 (0xba07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47624 (0xba08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47625 (0xba09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47626 (0xba0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47627 (0xba0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47628 (0xba0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47629 (0xba0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47630 (0xba0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47631 (0xba0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47632 (0xba10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47633 (0xba11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47634 (0xba12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47635 (0xba13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47636 (0xba14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47637 (0xba15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47638 (0xba16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47639 (0xba17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47640 (0xba18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47641 (0xba19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47642 (0xba1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47643 (0xba1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47644 (0xba1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47645 (0xba1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47646 (0xba1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47647 (0xba1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47648 (0xba20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47649 (0xba21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47650 (0xba22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47651 (0xba23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47652 (0xba24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47653 (0xba25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47654 (0xba26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47655 (0xba27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47656 (0xba28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47657 (0xba29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47658 (0xba2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47659 (0xba2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47660 (0xba2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47661 (0xba2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47662 (0xba2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47663 (0xba2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47664 (0xba30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47665 (0xba31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47666 (0xba32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47667 (0xba33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47668 (0xba34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47669 (0xba35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47670 (0xba36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47671 (0xba37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47672 (0xba38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47673 (0xba39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47674 (0xba3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47675 (0xba3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47676 (0xba3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47677 (0xba3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47678 (0xba3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47679 (0xba3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47680 (0xba40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47681 (0xba41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47682 (0xba42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47683 (0xba43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47684 (0xba44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47685 (0xba45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47686 (0xba46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47687 (0xba47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47688 (0xba48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47689 (0xba49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47690 (0xba4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47691 (0xba4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47692 (0xba4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47693 (0xba4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47694 (0xba4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47695 (0xba4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47696 (0xba50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47697 (0xba51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47698 (0xba52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47699 (0xba53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47700 (0xba54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47701 (0xba55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47702 (0xba56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47703 (0xba57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47704 (0xba58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47705 (0xba59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47706 (0xba5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47707 (0xba5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47708 (0xba5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47709 (0xba5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47710 (0xba5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47711 (0xba5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47712 (0xba60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47713 (0xba61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47714 (0xba62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47715 (0xba63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47716 (0xba64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47717 (0xba65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47718 (0xba66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47719 (0xba67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47720 (0xba68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47721 (0xba69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47722 (0xba6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47723 (0xba6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47724 (0xba6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47725 (0xba6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47726 (0xba6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47727 (0xba6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47728 (0xba70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47729 (0xba71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47730 (0xba72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47731 (0xba73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47732 (0xba74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47733 (0xba75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47734 (0xba76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47735 (0xba77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47736 (0xba78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47737 (0xba79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47738 (0xba7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47739 (0xba7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47740 (0xba7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47741 (0xba7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47742 (0xba7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47743 (0xba7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ba
cw 0x5
call send_back  ; 47744 (0xba80)

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