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

lri $AR1,    #0x0040
lri $IX1,    #0xcaaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51883 (0xcaab)

lri $AR1,    #0x0040
lri $IX1,    #0xcaab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51884 (0xcaac)

lri $AR1,    #0x0040
lri $IX1,    #0xcaac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51885 (0xcaad)

lri $AR1,    #0x0040
lri $IX1,    #0xcaad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51886 (0xcaae)

lri $AR1,    #0x0040
lri $IX1,    #0xcaae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51887 (0xcaaf)

lri $AR1,    #0x0040
lri $IX1,    #0xcaaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51888 (0xcab0)

lri $AR1,    #0x0040
lri $IX1,    #0xcab0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51889 (0xcab1)

lri $AR1,    #0x0040
lri $IX1,    #0xcab1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51890 (0xcab2)

lri $AR1,    #0x0040
lri $IX1,    #0xcab2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51891 (0xcab3)

lri $AR1,    #0x0040
lri $IX1,    #0xcab3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51892 (0xcab4)

lri $AR1,    #0x0040
lri $IX1,    #0xcab4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51893 (0xcab5)

lri $AR1,    #0x0040
lri $IX1,    #0xcab5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51894 (0xcab6)

lri $AR1,    #0x0040
lri $IX1,    #0xcab6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51895 (0xcab7)

lri $AR1,    #0x0040
lri $IX1,    #0xcab7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51896 (0xcab8)

lri $AR1,    #0x0040
lri $IX1,    #0xcab8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51897 (0xcab9)

lri $AR1,    #0x0040
lri $IX1,    #0xcab9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51898 (0xcaba)

lri $AR1,    #0x0040
lri $IX1,    #0xcaba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51899 (0xcabb)

lri $AR1,    #0x0040
lri $IX1,    #0xcabb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51900 (0xcabc)

lri $AR1,    #0x0040
lri $IX1,    #0xcabc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51901 (0xcabd)

lri $AR1,    #0x0040
lri $IX1,    #0xcabd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51902 (0xcabe)

lri $AR1,    #0x0040
lri $IX1,    #0xcabe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51903 (0xcabf)

lri $AR1,    #0x0040
lri $IX1,    #0xcabf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51904 (0xcac0)

lri $AR1,    #0x0040
lri $IX1,    #0xcac0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51905 (0xcac1)

lri $AR1,    #0x0040
lri $IX1,    #0xcac1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51906 (0xcac2)

lri $AR1,    #0x0040
lri $IX1,    #0xcac2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51907 (0xcac3)

lri $AR1,    #0x0040
lri $IX1,    #0xcac3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51908 (0xcac4)

lri $AR1,    #0x0040
lri $IX1,    #0xcac4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51909 (0xcac5)

lri $AR1,    #0x0040
lri $IX1,    #0xcac5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51910 (0xcac6)

lri $AR1,    #0x0040
lri $IX1,    #0xcac6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51911 (0xcac7)

lri $AR1,    #0x0040
lri $IX1,    #0xcac7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51912 (0xcac8)

lri $AR1,    #0x0040
lri $IX1,    #0xcac8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51913 (0xcac9)

lri $AR1,    #0x0040
lri $IX1,    #0xcac9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51914 (0xcaca)

lri $AR1,    #0x0040
lri $IX1,    #0xcaca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51915 (0xcacb)

lri $AR1,    #0x0040
lri $IX1,    #0xcacb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51916 (0xcacc)

lri $AR1,    #0x0040
lri $IX1,    #0xcacc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51917 (0xcacd)

lri $AR1,    #0x0040
lri $IX1,    #0xcacd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51918 (0xcace)

lri $AR1,    #0x0040
lri $IX1,    #0xcace
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51919 (0xcacf)

lri $AR1,    #0x0040
lri $IX1,    #0xcacf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51920 (0xcad0)

lri $AR1,    #0x0040
lri $IX1,    #0xcad0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51921 (0xcad1)

lri $AR1,    #0x0040
lri $IX1,    #0xcad1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51922 (0xcad2)

lri $AR1,    #0x0040
lri $IX1,    #0xcad2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51923 (0xcad3)

lri $AR1,    #0x0040
lri $IX1,    #0xcad3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51924 (0xcad4)

lri $AR1,    #0x0040
lri $IX1,    #0xcad4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51925 (0xcad5)

lri $AR1,    #0x0040
lri $IX1,    #0xcad5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51926 (0xcad6)

lri $AR1,    #0x0040
lri $IX1,    #0xcad6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51927 (0xcad7)

lri $AR1,    #0x0040
lri $IX1,    #0xcad7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51928 (0xcad8)

lri $AR1,    #0x0040
lri $IX1,    #0xcad8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51929 (0xcad9)

lri $AR1,    #0x0040
lri $IX1,    #0xcad9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51930 (0xcada)

lri $AR1,    #0x0040
lri $IX1,    #0xcada
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51931 (0xcadb)

lri $AR1,    #0x0040
lri $IX1,    #0xcadb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51932 (0xcadc)

lri $AR1,    #0x0040
lri $IX1,    #0xcadc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51933 (0xcadd)

lri $AR1,    #0x0040
lri $IX1,    #0xcadd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51934 (0xcade)

lri $AR1,    #0x0040
lri $IX1,    #0xcade
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51935 (0xcadf)

lri $AR1,    #0x0040
lri $IX1,    #0xcadf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51936 (0xcae0)

lri $AR1,    #0x0040
lri $IX1,    #0xcae0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51937 (0xcae1)

lri $AR1,    #0x0040
lri $IX1,    #0xcae1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51938 (0xcae2)

lri $AR1,    #0x0040
lri $IX1,    #0xcae2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51939 (0xcae3)

lri $AR1,    #0x0040
lri $IX1,    #0xcae3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51940 (0xcae4)

lri $AR1,    #0x0040
lri $IX1,    #0xcae4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51941 (0xcae5)

lri $AR1,    #0x0040
lri $IX1,    #0xcae5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51942 (0xcae6)

lri $AR1,    #0x0040
lri $IX1,    #0xcae6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51943 (0xcae7)

lri $AR1,    #0x0040
lri $IX1,    #0xcae7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51944 (0xcae8)

lri $AR1,    #0x0040
lri $IX1,    #0xcae8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51945 (0xcae9)

lri $AR1,    #0x0040
lri $IX1,    #0xcae9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51946 (0xcaea)

lri $AR1,    #0x0040
lri $IX1,    #0xcaea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51947 (0xcaeb)

lri $AR1,    #0x0040
lri $IX1,    #0xcaeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51948 (0xcaec)

lri $AR1,    #0x0040
lri $IX1,    #0xcaec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51949 (0xcaed)

lri $AR1,    #0x0040
lri $IX1,    #0xcaed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51950 (0xcaee)

lri $AR1,    #0x0040
lri $IX1,    #0xcaee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51951 (0xcaef)

lri $AR1,    #0x0040
lri $IX1,    #0xcaef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51952 (0xcaf0)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51953 (0xcaf1)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51954 (0xcaf2)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51955 (0xcaf3)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51956 (0xcaf4)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51957 (0xcaf5)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51958 (0xcaf6)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51959 (0xcaf7)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51960 (0xcaf8)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51961 (0xcaf9)

lri $AR1,    #0x0040
lri $IX1,    #0xcaf9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51962 (0xcafa)

lri $AR1,    #0x0040
lri $IX1,    #0xcafa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51963 (0xcafb)

lri $AR1,    #0x0040
lri $IX1,    #0xcafb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51964 (0xcafc)

lri $AR1,    #0x0040
lri $IX1,    #0xcafc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51965 (0xcafd)

lri $AR1,    #0x0040
lri $IX1,    #0xcafd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51966 (0xcafe)

lri $AR1,    #0x0040
lri $IX1,    #0xcafe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51967 (0xcaff)

lri $AR1,    #0x0040
lri $IX1,    #0xcaff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51968 (0xcb00)

lri $AR1,    #0x0040
lri $IX1,    #0xcb00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51969 (0xcb01)

lri $AR1,    #0x0040
lri $IX1,    #0xcb01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51970 (0xcb02)

lri $AR1,    #0x0040
lri $IX1,    #0xcb02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51971 (0xcb03)

lri $AR1,    #0x0040
lri $IX1,    #0xcb03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51972 (0xcb04)

lri $AR1,    #0x0040
lri $IX1,    #0xcb04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51973 (0xcb05)

lri $AR1,    #0x0040
lri $IX1,    #0xcb05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51974 (0xcb06)

lri $AR1,    #0x0040
lri $IX1,    #0xcb06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51975 (0xcb07)

lri $AR1,    #0x0040
lri $IX1,    #0xcb07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51976 (0xcb08)

lri $AR1,    #0x0040
lri $IX1,    #0xcb08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51977 (0xcb09)

lri $AR1,    #0x0040
lri $IX1,    #0xcb09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51978 (0xcb0a)

lri $AR1,    #0x0040
lri $IX1,    #0xcb0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51979 (0xcb0b)

lri $AR1,    #0x0040
lri $IX1,    #0xcb0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51980 (0xcb0c)

lri $AR1,    #0x0040
lri $IX1,    #0xcb0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51981 (0xcb0d)

lri $AR1,    #0x0040
lri $IX1,    #0xcb0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51982 (0xcb0e)

lri $AR1,    #0x0040
lri $IX1,    #0xcb0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51983 (0xcb0f)

lri $AR1,    #0x0040
lri $IX1,    #0xcb0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51984 (0xcb10)

lri $AR1,    #0x0040
lri $IX1,    #0xcb10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51985 (0xcb11)

lri $AR1,    #0x0040
lri $IX1,    #0xcb11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51986 (0xcb12)

lri $AR1,    #0x0040
lri $IX1,    #0xcb12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51987 (0xcb13)

lri $AR1,    #0x0040
lri $IX1,    #0xcb13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51988 (0xcb14)

lri $AR1,    #0x0040
lri $IX1,    #0xcb14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51989 (0xcb15)

lri $AR1,    #0x0040
lri $IX1,    #0xcb15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51990 (0xcb16)

lri $AR1,    #0x0040
lri $IX1,    #0xcb16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51991 (0xcb17)

lri $AR1,    #0x0040
lri $IX1,    #0xcb17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51992 (0xcb18)

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