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

lri $AR1,    #0x4000
lri $IX1,    #0x2000
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8193 (0x2001)

lri $AR1,    #0x4000
lri $IX1,    #0x2001
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8194 (0x2002)

lri $AR1,    #0x4000
lri $IX1,    #0x2002
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8195 (0x2003)

lri $AR1,    #0x4000
lri $IX1,    #0x2003
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8196 (0x2004)

lri $AR1,    #0x4000
lri $IX1,    #0x2004
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8197 (0x2005)

lri $AR1,    #0x4000
lri $IX1,    #0x2005
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8198 (0x2006)

lri $AR1,    #0x4000
lri $IX1,    #0x2006
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8199 (0x2007)

lri $AR1,    #0x4000
lri $IX1,    #0x2007
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8200 (0x2008)

lri $AR1,    #0x4000
lri $IX1,    #0x2008
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8201 (0x2009)

lri $AR1,    #0x4000
lri $IX1,    #0x2009
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8202 (0x200a)

lri $AR1,    #0x4000
lri $IX1,    #0x200a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8203 (0x200b)

lri $AR1,    #0x4000
lri $IX1,    #0x200b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8204 (0x200c)

lri $AR1,    #0x4000
lri $IX1,    #0x200c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8205 (0x200d)

lri $AR1,    #0x4000
lri $IX1,    #0x200d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8206 (0x200e)

lri $AR1,    #0x4000
lri $IX1,    #0x200e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8207 (0x200f)

lri $AR1,    #0x4000
lri $IX1,    #0x200f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8208 (0x2010)

lri $AR1,    #0x4000
lri $IX1,    #0x2010
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8209 (0x2011)

lri $AR1,    #0x4000
lri $IX1,    #0x2011
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8210 (0x2012)

lri $AR1,    #0x4000
lri $IX1,    #0x2012
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8211 (0x2013)

lri $AR1,    #0x4000
lri $IX1,    #0x2013
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8212 (0x2014)

lri $AR1,    #0x4000
lri $IX1,    #0x2014
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8213 (0x2015)

lri $AR1,    #0x4000
lri $IX1,    #0x2015
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8214 (0x2016)

lri $AR1,    #0x4000
lri $IX1,    #0x2016
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8215 (0x2017)

lri $AR1,    #0x4000
lri $IX1,    #0x2017
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8216 (0x2018)

lri $AR1,    #0x4000
lri $IX1,    #0x2018
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8217 (0x2019)

lri $AR1,    #0x4000
lri $IX1,    #0x2019
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8218 (0x201a)

lri $AR1,    #0x4000
lri $IX1,    #0x201a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8219 (0x201b)

lri $AR1,    #0x4000
lri $IX1,    #0x201b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8220 (0x201c)

lri $AR1,    #0x4000
lri $IX1,    #0x201c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8221 (0x201d)

lri $AR1,    #0x4000
lri $IX1,    #0x201d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8222 (0x201e)

lri $AR1,    #0x4000
lri $IX1,    #0x201e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8223 (0x201f)

lri $AR1,    #0x4000
lri $IX1,    #0x201f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8224 (0x2020)

lri $AR1,    #0x4000
lri $IX1,    #0x2020
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8225 (0x2021)

lri $AR1,    #0x4000
lri $IX1,    #0x2021
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8226 (0x2022)

lri $AR1,    #0x4000
lri $IX1,    #0x2022
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8227 (0x2023)

lri $AR1,    #0x4000
lri $IX1,    #0x2023
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8228 (0x2024)

lri $AR1,    #0x4000
lri $IX1,    #0x2024
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8229 (0x2025)

lri $AR1,    #0x4000
lri $IX1,    #0x2025
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8230 (0x2026)

lri $AR1,    #0x4000
lri $IX1,    #0x2026
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8231 (0x2027)

lri $AR1,    #0x4000
lri $IX1,    #0x2027
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8232 (0x2028)

lri $AR1,    #0x4000
lri $IX1,    #0x2028
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8233 (0x2029)

lri $AR1,    #0x4000
lri $IX1,    #0x2029
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8234 (0x202a)

lri $AR1,    #0x4000
lri $IX1,    #0x202a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8235 (0x202b)

lri $AR1,    #0x4000
lri $IX1,    #0x202b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8236 (0x202c)

lri $AR1,    #0x4000
lri $IX1,    #0x202c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8237 (0x202d)

lri $AR1,    #0x4000
lri $IX1,    #0x202d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8238 (0x202e)

lri $AR1,    #0x4000
lri $IX1,    #0x202e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8239 (0x202f)

lri $AR1,    #0x4000
lri $IX1,    #0x202f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8240 (0x2030)

lri $AR1,    #0x4000
lri $IX1,    #0x2030
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8241 (0x2031)

lri $AR1,    #0x4000
lri $IX1,    #0x2031
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8242 (0x2032)

lri $AR1,    #0x4000
lri $IX1,    #0x2032
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8243 (0x2033)

lri $AR1,    #0x4000
lri $IX1,    #0x2033
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8244 (0x2034)

lri $AR1,    #0x4000
lri $IX1,    #0x2034
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8245 (0x2035)

lri $AR1,    #0x4000
lri $IX1,    #0x2035
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8246 (0x2036)

lri $AR1,    #0x4000
lri $IX1,    #0x2036
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8247 (0x2037)

lri $AR1,    #0x4000
lri $IX1,    #0x2037
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8248 (0x2038)

lri $AR1,    #0x4000
lri $IX1,    #0x2038
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8249 (0x2039)

lri $AR1,    #0x4000
lri $IX1,    #0x2039
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8250 (0x203a)

lri $AR1,    #0x4000
lri $IX1,    #0x203a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8251 (0x203b)

lri $AR1,    #0x4000
lri $IX1,    #0x203b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8252 (0x203c)

lri $AR1,    #0x4000
lri $IX1,    #0x203c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8253 (0x203d)

lri $AR1,    #0x4000
lri $IX1,    #0x203d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8254 (0x203e)

lri $AR1,    #0x4000
lri $IX1,    #0x203e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8255 (0x203f)

lri $AR1,    #0x4000
lri $IX1,    #0x203f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8256 (0x2040)

lri $AR1,    #0x4000
lri $IX1,    #0x2040
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8257 (0x2041)

lri $AR1,    #0x4000
lri $IX1,    #0x2041
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8258 (0x2042)

lri $AR1,    #0x4000
lri $IX1,    #0x2042
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8259 (0x2043)

lri $AR1,    #0x4000
lri $IX1,    #0x2043
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8260 (0x2044)

lri $AR1,    #0x4000
lri $IX1,    #0x2044
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8261 (0x2045)

lri $AR1,    #0x4000
lri $IX1,    #0x2045
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8262 (0x2046)

lri $AR1,    #0x4000
lri $IX1,    #0x2046
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8263 (0x2047)

lri $AR1,    #0x4000
lri $IX1,    #0x2047
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8264 (0x2048)

lri $AR1,    #0x4000
lri $IX1,    #0x2048
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8265 (0x2049)

lri $AR1,    #0x4000
lri $IX1,    #0x2049
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8266 (0x204a)

lri $AR1,    #0x4000
lri $IX1,    #0x204a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8267 (0x204b)

lri $AR1,    #0x4000
lri $IX1,    #0x204b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8268 (0x204c)

lri $AR1,    #0x4000
lri $IX1,    #0x204c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8269 (0x204d)

lri $AR1,    #0x4000
lri $IX1,    #0x204d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8270 (0x204e)

lri $AR1,    #0x4000
lri $IX1,    #0x204e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8271 (0x204f)

lri $AR1,    #0x4000
lri $IX1,    #0x204f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8272 (0x2050)

lri $AR1,    #0x4000
lri $IX1,    #0x2050
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8273 (0x2051)

lri $AR1,    #0x4000
lri $IX1,    #0x2051
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8274 (0x2052)

lri $AR1,    #0x4000
lri $IX1,    #0x2052
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8275 (0x2053)

lri $AR1,    #0x4000
lri $IX1,    #0x2053
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8276 (0x2054)

lri $AR1,    #0x4000
lri $IX1,    #0x2054
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8277 (0x2055)

lri $AR1,    #0x4000
lri $IX1,    #0x2055
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8278 (0x2056)

lri $AR1,    #0x4000
lri $IX1,    #0x2056
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8279 (0x2057)

lri $AR1,    #0x4000
lri $IX1,    #0x2057
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8280 (0x2058)

lri $AR1,    #0x4000
lri $IX1,    #0x2058
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8281 (0x2059)

lri $AR1,    #0x4000
lri $IX1,    #0x2059
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8282 (0x205a)

lri $AR1,    #0x4000
lri $IX1,    #0x205a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8283 (0x205b)

lri $AR1,    #0x4000
lri $IX1,    #0x205b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8284 (0x205c)

lri $AR1,    #0x4000
lri $IX1,    #0x205c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8285 (0x205d)

lri $AR1,    #0x4000
lri $IX1,    #0x205d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8286 (0x205e)

lri $AR1,    #0x4000
lri $IX1,    #0x205e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8287 (0x205f)

lri $AR1,    #0x4000
lri $IX1,    #0x205f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8288 (0x2060)

lri $AR1,    #0x4000
lri $IX1,    #0x2060
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8289 (0x2061)

lri $AR1,    #0x4000
lri $IX1,    #0x2061
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8290 (0x2062)

lri $AR1,    #0x4000
lri $IX1,    #0x2062
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8291 (0x2063)

lri $AR1,    #0x4000
lri $IX1,    #0x2063
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8292 (0x2064)

lri $AR1,    #0x4000
lri $IX1,    #0x2064
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8293 (0x2065)

lri $AR1,    #0x4000
lri $IX1,    #0x2065
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8294 (0x2066)

lri $AR1,    #0x4000
lri $IX1,    #0x2066
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8295 (0x2067)

lri $AR1,    #0x4000
lri $IX1,    #0x2067
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8296 (0x2068)

lri $AR1,    #0x4000
lri $IX1,    #0x2068
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8297 (0x2069)

lri $AR1,    #0x4000
lri $IX1,    #0x2069
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8298 (0x206a)

lri $AR1,    #0x4000
lri $IX1,    #0x206a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8299 (0x206b)

lri $AR1,    #0x4000
lri $IX1,    #0x206b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8300 (0x206c)

lri $AR1,    #0x4000
lri $IX1,    #0x206c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8301 (0x206d)

lri $AR1,    #0x4000
lri $IX1,    #0x206d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8302 (0x206e)

lri $AR1,    #0x4000
lri $IX1,    #0x206e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8303 (0x206f)

lri $AR1,    #0x4000
lri $IX1,    #0x206f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8304 (0x2070)

lri $AR1,    #0x4000
lri $IX1,    #0x2070
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8305 (0x2071)

lri $AR1,    #0x4000
lri $IX1,    #0x2071
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8306 (0x2072)

lri $AR1,    #0x4000
lri $IX1,    #0x2072
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8307 (0x2073)

lri $AR1,    #0x4000
lri $IX1,    #0x2073
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8308 (0x2074)

lri $AR1,    #0x4000
lri $IX1,    #0x2074
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8309 (0x2075)

lri $AR1,    #0x4000
lri $IX1,    #0x2075
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8310 (0x2076)

lri $AR1,    #0x4000
lri $IX1,    #0x2076
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8311 (0x2077)

lri $AR1,    #0x4000
lri $IX1,    #0x2077
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8312 (0x2078)

lri $AR1,    #0x4000
lri $IX1,    #0x2078
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8313 (0x2079)

lri $AR1,    #0x4000
lri $IX1,    #0x2079
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8314 (0x207a)

lri $AR1,    #0x4000
lri $IX1,    #0x207a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8315 (0x207b)

lri $AR1,    #0x4000
lri $IX1,    #0x207b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8316 (0x207c)

lri $AR1,    #0x4000
lri $IX1,    #0x207c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8317 (0x207d)

lri $AR1,    #0x4000
lri $IX1,    #0x207d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8318 (0x207e)

lri $AR1,    #0x4000
lri $IX1,    #0x207e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8319 (0x207f)

lri $AR1,    #0x4000
lri $IX1,    #0x207f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8320 (0x2080)

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

