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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb80
cw 0x5
call send_back  ; 60289 (0xeb81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb81
cw 0x5
call send_back  ; 60290 (0xeb82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb82
cw 0x5
call send_back  ; 60291 (0xeb83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb83
cw 0x5
call send_back  ; 60292 (0xeb84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb84
cw 0x5
call send_back  ; 60293 (0xeb85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb85
cw 0x5
call send_back  ; 60294 (0xeb86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb86
cw 0x5
call send_back  ; 60295 (0xeb87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb87
cw 0x5
call send_back  ; 60296 (0xeb88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb88
cw 0x5
call send_back  ; 60297 (0xeb89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb89
cw 0x5
call send_back  ; 60298 (0xeb8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb8a
cw 0x5
call send_back  ; 60299 (0xeb8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb8b
cw 0x5
call send_back  ; 60300 (0xeb8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb8c
cw 0x5
call send_back  ; 60301 (0xeb8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb8d
cw 0x5
call send_back  ; 60302 (0xeb8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb8e
cw 0x5
call send_back  ; 60303 (0xeb8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb8f
cw 0x5
call send_back  ; 60304 (0xeb90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb90
cw 0x5
call send_back  ; 60305 (0xeb91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb91
cw 0x5
call send_back  ; 60306 (0xeb92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb92
cw 0x5
call send_back  ; 60307 (0xeb93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb93
cw 0x5
call send_back  ; 60308 (0xeb94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb94
cw 0x5
call send_back  ; 60309 (0xeb95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb95
cw 0x5
call send_back  ; 60310 (0xeb96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb96
cw 0x5
call send_back  ; 60311 (0xeb97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb97
cw 0x5
call send_back  ; 60312 (0xeb98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb98
cw 0x5
call send_back  ; 60313 (0xeb99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb99
cw 0x5
call send_back  ; 60314 (0xeb9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb9a
cw 0x5
call send_back  ; 60315 (0xeb9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb9b
cw 0x5
call send_back  ; 60316 (0xeb9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb9c
cw 0x5
call send_back  ; 60317 (0xeb9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb9d
cw 0x5
call send_back  ; 60318 (0xeb9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb9e
cw 0x5
call send_back  ; 60319 (0xeb9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeb9f
cw 0x5
call send_back  ; 60320 (0xeba0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba0
cw 0x5
call send_back  ; 60321 (0xeba1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba1
cw 0x5
call send_back  ; 60322 (0xeba2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba2
cw 0x5
call send_back  ; 60323 (0xeba3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba3
cw 0x5
call send_back  ; 60324 (0xeba4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba4
cw 0x5
call send_back  ; 60325 (0xeba5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba5
cw 0x5
call send_back  ; 60326 (0xeba6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba6
cw 0x5
call send_back  ; 60327 (0xeba7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba7
cw 0x5
call send_back  ; 60328 (0xeba8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba8
cw 0x5
call send_back  ; 60329 (0xeba9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeba9
cw 0x5
call send_back  ; 60330 (0xebaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebaa
cw 0x5
call send_back  ; 60331 (0xebab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebab
cw 0x5
call send_back  ; 60332 (0xebac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebac
cw 0x5
call send_back  ; 60333 (0xebad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebad
cw 0x5
call send_back  ; 60334 (0xebae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebae
cw 0x5
call send_back  ; 60335 (0xebaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebaf
cw 0x5
call send_back  ; 60336 (0xebb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb0
cw 0x5
call send_back  ; 60337 (0xebb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb1
cw 0x5
call send_back  ; 60338 (0xebb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb2
cw 0x5
call send_back  ; 60339 (0xebb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb3
cw 0x5
call send_back  ; 60340 (0xebb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb4
cw 0x5
call send_back  ; 60341 (0xebb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb5
cw 0x5
call send_back  ; 60342 (0xebb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb6
cw 0x5
call send_back  ; 60343 (0xebb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb7
cw 0x5
call send_back  ; 60344 (0xebb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb8
cw 0x5
call send_back  ; 60345 (0xebb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebb9
cw 0x5
call send_back  ; 60346 (0xebba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebba
cw 0x5
call send_back  ; 60347 (0xebbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebbb
cw 0x5
call send_back  ; 60348 (0xebbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebbc
cw 0x5
call send_back  ; 60349 (0xebbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebbd
cw 0x5
call send_back  ; 60350 (0xebbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebbe
cw 0x5
call send_back  ; 60351 (0xebbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebbf
cw 0x5
call send_back  ; 60352 (0xebc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc0
cw 0x5
call send_back  ; 60353 (0xebc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc1
cw 0x5
call send_back  ; 60354 (0xebc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc2
cw 0x5
call send_back  ; 60355 (0xebc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc3
cw 0x5
call send_back  ; 60356 (0xebc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc4
cw 0x5
call send_back  ; 60357 (0xebc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc5
cw 0x5
call send_back  ; 60358 (0xebc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc6
cw 0x5
call send_back  ; 60359 (0xebc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc7
cw 0x5
call send_back  ; 60360 (0xebc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc8
cw 0x5
call send_back  ; 60361 (0xebc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebc9
cw 0x5
call send_back  ; 60362 (0xebca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebca
cw 0x5
call send_back  ; 60363 (0xebcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebcb
cw 0x5
call send_back  ; 60364 (0xebcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebcc
cw 0x5
call send_back  ; 60365 (0xebcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebcd
cw 0x5
call send_back  ; 60366 (0xebce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebce
cw 0x5
call send_back  ; 60367 (0xebcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebcf
cw 0x5
call send_back  ; 60368 (0xebd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd0
cw 0x5
call send_back  ; 60369 (0xebd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd1
cw 0x5
call send_back  ; 60370 (0xebd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd2
cw 0x5
call send_back  ; 60371 (0xebd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd3
cw 0x5
call send_back  ; 60372 (0xebd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd4
cw 0x5
call send_back  ; 60373 (0xebd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd5
cw 0x5
call send_back  ; 60374 (0xebd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd6
cw 0x5
call send_back  ; 60375 (0xebd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd7
cw 0x5
call send_back  ; 60376 (0xebd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd8
cw 0x5
call send_back  ; 60377 (0xebd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebd9
cw 0x5
call send_back  ; 60378 (0xebda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebda
cw 0x5
call send_back  ; 60379 (0xebdb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebdb
cw 0x5
call send_back  ; 60380 (0xebdc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebdc
cw 0x5
call send_back  ; 60381 (0xebdd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebdd
cw 0x5
call send_back  ; 60382 (0xebde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebde
cw 0x5
call send_back  ; 60383 (0xebdf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebdf
cw 0x5
call send_back  ; 60384 (0xebe0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe0
cw 0x5
call send_back  ; 60385 (0xebe1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe1
cw 0x5
call send_back  ; 60386 (0xebe2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe2
cw 0x5
call send_back  ; 60387 (0xebe3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe3
cw 0x5
call send_back  ; 60388 (0xebe4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe4
cw 0x5
call send_back  ; 60389 (0xebe5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe5
cw 0x5
call send_back  ; 60390 (0xebe6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe6
cw 0x5
call send_back  ; 60391 (0xebe7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe7
cw 0x5
call send_back  ; 60392 (0xebe8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe8
cw 0x5
call send_back  ; 60393 (0xebe9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebe9
cw 0x5
call send_back  ; 60394 (0xebea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebea
cw 0x5
call send_back  ; 60395 (0xebeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebeb
cw 0x5
call send_back  ; 60396 (0xebec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebec
cw 0x5
call send_back  ; 60397 (0xebed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebed
cw 0x5
call send_back  ; 60398 (0xebee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebee
cw 0x5
call send_back  ; 60399 (0xebef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebef
cw 0x5
call send_back  ; 60400 (0xebf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf0
cw 0x5
call send_back  ; 60401 (0xebf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf1
cw 0x5
call send_back  ; 60402 (0xebf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf2
cw 0x5
call send_back  ; 60403 (0xebf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf3
cw 0x5
call send_back  ; 60404 (0xebf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf4
cw 0x5
call send_back  ; 60405 (0xebf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf5
cw 0x5
call send_back  ; 60406 (0xebf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf6
cw 0x5
call send_back  ; 60407 (0xebf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf7
cw 0x5
call send_back  ; 60408 (0xebf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf8
cw 0x5
call send_back  ; 60409 (0xebf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebf9
cw 0x5
call send_back  ; 60410 (0xebfa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebfa
cw 0x5
call send_back  ; 60411 (0xebfb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebfb
cw 0x5
call send_back  ; 60412 (0xebfc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebfc
cw 0x5
call send_back  ; 60413 (0xebfd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebfd
cw 0x5
call send_back  ; 60414 (0xebfe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebfe
cw 0x5
call send_back  ; 60415 (0xebff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xebff
cw 0x5
call send_back  ; 60416 (0xec00)

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

