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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55809 (0xda01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55810 (0xda02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55811 (0xda03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55812 (0xda04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55813 (0xda05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55814 (0xda06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55815 (0xda07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55816 (0xda08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55817 (0xda09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55818 (0xda0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55819 (0xda0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55820 (0xda0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55821 (0xda0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55822 (0xda0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55823 (0xda0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55824 (0xda10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55825 (0xda11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55826 (0xda12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55827 (0xda13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55828 (0xda14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55829 (0xda15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55830 (0xda16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55831 (0xda17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55832 (0xda18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55833 (0xda19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55834 (0xda1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55835 (0xda1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55836 (0xda1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55837 (0xda1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55838 (0xda1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55839 (0xda1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55840 (0xda20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55841 (0xda21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55842 (0xda22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55843 (0xda23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55844 (0xda24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55845 (0xda25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55846 (0xda26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55847 (0xda27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55848 (0xda28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55849 (0xda29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55850 (0xda2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55851 (0xda2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55852 (0xda2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55853 (0xda2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55854 (0xda2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55855 (0xda2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55856 (0xda30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55857 (0xda31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55858 (0xda32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55859 (0xda33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55860 (0xda34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55861 (0xda35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55862 (0xda36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55863 (0xda37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55864 (0xda38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55865 (0xda39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55866 (0xda3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55867 (0xda3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55868 (0xda3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55869 (0xda3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55870 (0xda3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55871 (0xda3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55872 (0xda40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55873 (0xda41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55874 (0xda42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55875 (0xda43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55876 (0xda44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55877 (0xda45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55878 (0xda46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55879 (0xda47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55880 (0xda48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55881 (0xda49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55882 (0xda4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55883 (0xda4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55884 (0xda4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55885 (0xda4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55886 (0xda4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55887 (0xda4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55888 (0xda50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55889 (0xda51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55890 (0xda52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55891 (0xda53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55892 (0xda54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55893 (0xda55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55894 (0xda56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55895 (0xda57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55896 (0xda58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55897 (0xda59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55898 (0xda5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55899 (0xda5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55900 (0xda5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55901 (0xda5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55902 (0xda5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55903 (0xda5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55904 (0xda60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55905 (0xda61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55906 (0xda62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55907 (0xda63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55908 (0xda64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55909 (0xda65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55910 (0xda66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55911 (0xda67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55912 (0xda68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55913 (0xda69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55914 (0xda6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55915 (0xda6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55916 (0xda6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55917 (0xda6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55918 (0xda6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55919 (0xda6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55920 (0xda70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55921 (0xda71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55922 (0xda72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55923 (0xda73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55924 (0xda74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55925 (0xda75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55926 (0xda76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55927 (0xda77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55928 (0xda78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55929 (0xda79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55930 (0xda7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55931 (0xda7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55932 (0xda7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55933 (0xda7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55934 (0xda7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55935 (0xda7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00da
cw 0x5
call send_back  ; 55936 (0xda80)

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