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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48641 (0xbe01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48642 (0xbe02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48643 (0xbe03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48644 (0xbe04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48645 (0xbe05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48646 (0xbe06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48647 (0xbe07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48648 (0xbe08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48649 (0xbe09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48650 (0xbe0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48651 (0xbe0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48652 (0xbe0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48653 (0xbe0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48654 (0xbe0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48655 (0xbe0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48656 (0xbe10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48657 (0xbe11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48658 (0xbe12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48659 (0xbe13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48660 (0xbe14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48661 (0xbe15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48662 (0xbe16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48663 (0xbe17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48664 (0xbe18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48665 (0xbe19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48666 (0xbe1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48667 (0xbe1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48668 (0xbe1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48669 (0xbe1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48670 (0xbe1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48671 (0xbe1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48672 (0xbe20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48673 (0xbe21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48674 (0xbe22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48675 (0xbe23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48676 (0xbe24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48677 (0xbe25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48678 (0xbe26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48679 (0xbe27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48680 (0xbe28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48681 (0xbe29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48682 (0xbe2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48683 (0xbe2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48684 (0xbe2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48685 (0xbe2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48686 (0xbe2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48687 (0xbe2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48688 (0xbe30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48689 (0xbe31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48690 (0xbe32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48691 (0xbe33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48692 (0xbe34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48693 (0xbe35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48694 (0xbe36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48695 (0xbe37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48696 (0xbe38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48697 (0xbe39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48698 (0xbe3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48699 (0xbe3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48700 (0xbe3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48701 (0xbe3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48702 (0xbe3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48703 (0xbe3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48704 (0xbe40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48705 (0xbe41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48706 (0xbe42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48707 (0xbe43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48708 (0xbe44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48709 (0xbe45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48710 (0xbe46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48711 (0xbe47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48712 (0xbe48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48713 (0xbe49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48714 (0xbe4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48715 (0xbe4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48716 (0xbe4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48717 (0xbe4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48718 (0xbe4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48719 (0xbe4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48720 (0xbe50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48721 (0xbe51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48722 (0xbe52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48723 (0xbe53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48724 (0xbe54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48725 (0xbe55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48726 (0xbe56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48727 (0xbe57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48728 (0xbe58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48729 (0xbe59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48730 (0xbe5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48731 (0xbe5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48732 (0xbe5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48733 (0xbe5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48734 (0xbe5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48735 (0xbe5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48736 (0xbe60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48737 (0xbe61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48738 (0xbe62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48739 (0xbe63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48740 (0xbe64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48741 (0xbe65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48742 (0xbe66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48743 (0xbe67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48744 (0xbe68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48745 (0xbe69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48746 (0xbe6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48747 (0xbe6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48748 (0xbe6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48749 (0xbe6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48750 (0xbe6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48751 (0xbe6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48752 (0xbe70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48753 (0xbe71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48754 (0xbe72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48755 (0xbe73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48756 (0xbe74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48757 (0xbe75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48758 (0xbe76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48759 (0xbe77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48760 (0xbe78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48761 (0xbe79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48762 (0xbe7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48763 (0xbe7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48764 (0xbe7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48765 (0xbe7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48766 (0xbe7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48767 (0xbe7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00be
cw 0x5
call send_back  ; 48768 (0xbe80)

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