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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47873 (0xbb01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47874 (0xbb02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47875 (0xbb03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47876 (0xbb04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47877 (0xbb05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47878 (0xbb06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47879 (0xbb07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47880 (0xbb08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47881 (0xbb09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47882 (0xbb0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47883 (0xbb0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47884 (0xbb0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47885 (0xbb0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47886 (0xbb0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47887 (0xbb0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47888 (0xbb10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47889 (0xbb11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47890 (0xbb12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47891 (0xbb13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47892 (0xbb14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47893 (0xbb15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47894 (0xbb16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47895 (0xbb17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47896 (0xbb18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47897 (0xbb19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47898 (0xbb1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47899 (0xbb1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47900 (0xbb1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47901 (0xbb1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47902 (0xbb1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47903 (0xbb1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47904 (0xbb20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47905 (0xbb21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47906 (0xbb22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47907 (0xbb23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47908 (0xbb24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47909 (0xbb25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47910 (0xbb26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47911 (0xbb27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47912 (0xbb28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47913 (0xbb29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47914 (0xbb2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47915 (0xbb2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47916 (0xbb2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47917 (0xbb2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47918 (0xbb2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47919 (0xbb2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47920 (0xbb30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47921 (0xbb31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47922 (0xbb32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47923 (0xbb33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47924 (0xbb34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47925 (0xbb35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47926 (0xbb36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47927 (0xbb37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47928 (0xbb38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47929 (0xbb39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47930 (0xbb3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47931 (0xbb3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47932 (0xbb3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47933 (0xbb3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47934 (0xbb3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47935 (0xbb3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47936 (0xbb40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47937 (0xbb41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47938 (0xbb42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47939 (0xbb43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47940 (0xbb44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47941 (0xbb45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47942 (0xbb46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47943 (0xbb47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47944 (0xbb48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47945 (0xbb49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47946 (0xbb4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47947 (0xbb4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47948 (0xbb4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47949 (0xbb4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47950 (0xbb4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47951 (0xbb4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47952 (0xbb50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47953 (0xbb51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47954 (0xbb52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47955 (0xbb53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47956 (0xbb54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47957 (0xbb55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47958 (0xbb56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47959 (0xbb57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47960 (0xbb58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47961 (0xbb59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47962 (0xbb5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47963 (0xbb5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47964 (0xbb5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47965 (0xbb5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47966 (0xbb5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47967 (0xbb5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47968 (0xbb60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47969 (0xbb61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47970 (0xbb62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47971 (0xbb63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47972 (0xbb64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47973 (0xbb65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47974 (0xbb66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47975 (0xbb67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47976 (0xbb68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47977 (0xbb69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47978 (0xbb6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47979 (0xbb6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47980 (0xbb6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47981 (0xbb6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47982 (0xbb6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47983 (0xbb6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47984 (0xbb70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47985 (0xbb71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47986 (0xbb72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47987 (0xbb73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47988 (0xbb74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47989 (0xbb75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47990 (0xbb76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47991 (0xbb77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47992 (0xbb78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47993 (0xbb79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47994 (0xbb7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47995 (0xbb7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47996 (0xbb7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47997 (0xbb7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47998 (0xbb7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 47999 (0xbb7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48000 (0xbb80)

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