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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51713 (0xca01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51714 (0xca02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51715 (0xca03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51716 (0xca04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51717 (0xca05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51718 (0xca06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51719 (0xca07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51720 (0xca08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51721 (0xca09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51722 (0xca0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51723 (0xca0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51724 (0xca0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51725 (0xca0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51726 (0xca0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51727 (0xca0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51728 (0xca10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51729 (0xca11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51730 (0xca12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51731 (0xca13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51732 (0xca14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51733 (0xca15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51734 (0xca16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51735 (0xca17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51736 (0xca18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51737 (0xca19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51738 (0xca1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51739 (0xca1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51740 (0xca1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51741 (0xca1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51742 (0xca1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51743 (0xca1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51744 (0xca20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51745 (0xca21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51746 (0xca22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51747 (0xca23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51748 (0xca24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51749 (0xca25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51750 (0xca26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51751 (0xca27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51752 (0xca28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51753 (0xca29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51754 (0xca2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51755 (0xca2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51756 (0xca2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51757 (0xca2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51758 (0xca2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51759 (0xca2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51760 (0xca30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51761 (0xca31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51762 (0xca32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51763 (0xca33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51764 (0xca34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51765 (0xca35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51766 (0xca36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51767 (0xca37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51768 (0xca38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51769 (0xca39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51770 (0xca3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51771 (0xca3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51772 (0xca3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51773 (0xca3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51774 (0xca3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51775 (0xca3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51776 (0xca40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51777 (0xca41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51778 (0xca42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51779 (0xca43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51780 (0xca44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51781 (0xca45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51782 (0xca46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51783 (0xca47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51784 (0xca48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51785 (0xca49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51786 (0xca4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51787 (0xca4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51788 (0xca4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51789 (0xca4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51790 (0xca4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51791 (0xca4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51792 (0xca50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51793 (0xca51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51794 (0xca52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51795 (0xca53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51796 (0xca54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51797 (0xca55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51798 (0xca56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51799 (0xca57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51800 (0xca58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51801 (0xca59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51802 (0xca5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51803 (0xca5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51804 (0xca5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51805 (0xca5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51806 (0xca5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51807 (0xca5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51808 (0xca60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51809 (0xca61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51810 (0xca62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51811 (0xca63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51812 (0xca64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51813 (0xca65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51814 (0xca66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51815 (0xca67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51816 (0xca68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51817 (0xca69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51818 (0xca6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51819 (0xca6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51820 (0xca6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51821 (0xca6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51822 (0xca6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51823 (0xca6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51824 (0xca70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51825 (0xca71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51826 (0xca72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51827 (0xca73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51828 (0xca74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51829 (0xca75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51830 (0xca76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51831 (0xca77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51832 (0xca78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51833 (0xca79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51834 (0xca7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51835 (0xca7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51836 (0xca7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51837 (0xca7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51838 (0xca7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51839 (0xca7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ca
cw 0x5
call send_back  ; 51840 (0xca80)

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