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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef80
cw 0x9
call send_back  ; 61313 (0xef81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef81
cw 0x9
call send_back  ; 61314 (0xef82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef82
cw 0x9
call send_back  ; 61315 (0xef83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef83
cw 0x9
call send_back  ; 61316 (0xef84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef84
cw 0x9
call send_back  ; 61317 (0xef85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef85
cw 0x9
call send_back  ; 61318 (0xef86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef86
cw 0x9
call send_back  ; 61319 (0xef87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef87
cw 0x9
call send_back  ; 61320 (0xef88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef88
cw 0x9
call send_back  ; 61321 (0xef89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef89
cw 0x9
call send_back  ; 61322 (0xef8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef8a
cw 0x9
call send_back  ; 61323 (0xef8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef8b
cw 0x9
call send_back  ; 61324 (0xef8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef8c
cw 0x9
call send_back  ; 61325 (0xef8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef8d
cw 0x9
call send_back  ; 61326 (0xef8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef8e
cw 0x9
call send_back  ; 61327 (0xef8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef8f
cw 0x9
call send_back  ; 61328 (0xef90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef90
cw 0x9
call send_back  ; 61329 (0xef91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef91
cw 0x9
call send_back  ; 61330 (0xef92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef92
cw 0x9
call send_back  ; 61331 (0xef93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef93
cw 0x9
call send_back  ; 61332 (0xef94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef94
cw 0x9
call send_back  ; 61333 (0xef95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef95
cw 0x9
call send_back  ; 61334 (0xef96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef96
cw 0x9
call send_back  ; 61335 (0xef97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef97
cw 0x9
call send_back  ; 61336 (0xef98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef98
cw 0x9
call send_back  ; 61337 (0xef99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef99
cw 0x9
call send_back  ; 61338 (0xef9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef9a
cw 0x9
call send_back  ; 61339 (0xef9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef9b
cw 0x9
call send_back  ; 61340 (0xef9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef9c
cw 0x9
call send_back  ; 61341 (0xef9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef9d
cw 0x9
call send_back  ; 61342 (0xef9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef9e
cw 0x9
call send_back  ; 61343 (0xef9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xef9f
cw 0x9
call send_back  ; 61344 (0xefa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa0
cw 0x9
call send_back  ; 61345 (0xefa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa1
cw 0x9
call send_back  ; 61346 (0xefa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa2
cw 0x9
call send_back  ; 61347 (0xefa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa3
cw 0x9
call send_back  ; 61348 (0xefa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa4
cw 0x9
call send_back  ; 61349 (0xefa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa5
cw 0x9
call send_back  ; 61350 (0xefa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa6
cw 0x9
call send_back  ; 61351 (0xefa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa7
cw 0x9
call send_back  ; 61352 (0xefa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa8
cw 0x9
call send_back  ; 61353 (0xefa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefa9
cw 0x9
call send_back  ; 61354 (0xefaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefaa
cw 0x9
call send_back  ; 61355 (0xefab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefab
cw 0x9
call send_back  ; 61356 (0xefac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefac
cw 0x9
call send_back  ; 61357 (0xefad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefad
cw 0x9
call send_back  ; 61358 (0xefae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefae
cw 0x9
call send_back  ; 61359 (0xefaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefaf
cw 0x9
call send_back  ; 61360 (0xefb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb0
cw 0x9
call send_back  ; 61361 (0xefb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb1
cw 0x9
call send_back  ; 61362 (0xefb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb2
cw 0x9
call send_back  ; 61363 (0xefb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb3
cw 0x9
call send_back  ; 61364 (0xefb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb4
cw 0x9
call send_back  ; 61365 (0xefb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb5
cw 0x9
call send_back  ; 61366 (0xefb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb6
cw 0x9
call send_back  ; 61367 (0xefb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb7
cw 0x9
call send_back  ; 61368 (0xefb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb8
cw 0x9
call send_back  ; 61369 (0xefb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefb9
cw 0x9
call send_back  ; 61370 (0xefba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefba
cw 0x9
call send_back  ; 61371 (0xefbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefbb
cw 0x9
call send_back  ; 61372 (0xefbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefbc
cw 0x9
call send_back  ; 61373 (0xefbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefbd
cw 0x9
call send_back  ; 61374 (0xefbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefbe
cw 0x9
call send_back  ; 61375 (0xefbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefbf
cw 0x9
call send_back  ; 61376 (0xefc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc0
cw 0x9
call send_back  ; 61377 (0xefc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc1
cw 0x9
call send_back  ; 61378 (0xefc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc2
cw 0x9
call send_back  ; 61379 (0xefc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc3
cw 0x9
call send_back  ; 61380 (0xefc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc4
cw 0x9
call send_back  ; 61381 (0xefc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc5
cw 0x9
call send_back  ; 61382 (0xefc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc6
cw 0x9
call send_back  ; 61383 (0xefc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc7
cw 0x9
call send_back  ; 61384 (0xefc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc8
cw 0x9
call send_back  ; 61385 (0xefc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefc9
cw 0x9
call send_back  ; 61386 (0xefca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefca
cw 0x9
call send_back  ; 61387 (0xefcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefcb
cw 0x9
call send_back  ; 61388 (0xefcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefcc
cw 0x9
call send_back  ; 61389 (0xefcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefcd
cw 0x9
call send_back  ; 61390 (0xefce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefce
cw 0x9
call send_back  ; 61391 (0xefcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefcf
cw 0x9
call send_back  ; 61392 (0xefd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd0
cw 0x9
call send_back  ; 61393 (0xefd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd1
cw 0x9
call send_back  ; 61394 (0xefd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd2
cw 0x9
call send_back  ; 61395 (0xefd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd3
cw 0x9
call send_back  ; 61396 (0xefd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd4
cw 0x9
call send_back  ; 61397 (0xefd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd5
cw 0x9
call send_back  ; 61398 (0xefd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd6
cw 0x9
call send_back  ; 61399 (0xefd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd7
cw 0x9
call send_back  ; 61400 (0xefd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd8
cw 0x9
call send_back  ; 61401 (0xefd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefd9
cw 0x9
call send_back  ; 61402 (0xefda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefda
cw 0x9
call send_back  ; 61403 (0xefdb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefdb
cw 0x9
call send_back  ; 61404 (0xefdc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefdc
cw 0x9
call send_back  ; 61405 (0xefdd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefdd
cw 0x9
call send_back  ; 61406 (0xefde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefde
cw 0x9
call send_back  ; 61407 (0xefdf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefdf
cw 0x9
call send_back  ; 61408 (0xefe0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe0
cw 0x9
call send_back  ; 61409 (0xefe1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe1
cw 0x9
call send_back  ; 61410 (0xefe2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe2
cw 0x9
call send_back  ; 61411 (0xefe3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe3
cw 0x9
call send_back  ; 61412 (0xefe4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe4
cw 0x9
call send_back  ; 61413 (0xefe5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe5
cw 0x9
call send_back  ; 61414 (0xefe6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe6
cw 0x9
call send_back  ; 61415 (0xefe7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe7
cw 0x9
call send_back  ; 61416 (0xefe8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe8
cw 0x9
call send_back  ; 61417 (0xefe9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefe9
cw 0x9
call send_back  ; 61418 (0xefea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefea
cw 0x9
call send_back  ; 61419 (0xefeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefeb
cw 0x9
call send_back  ; 61420 (0xefec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefec
cw 0x9
call send_back  ; 61421 (0xefed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefed
cw 0x9
call send_back  ; 61422 (0xefee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefee
cw 0x9
call send_back  ; 61423 (0xefef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefef
cw 0x9
call send_back  ; 61424 (0xeff0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff0
cw 0x9
call send_back  ; 61425 (0xeff1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff1
cw 0x9
call send_back  ; 61426 (0xeff2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff2
cw 0x9
call send_back  ; 61427 (0xeff3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff3
cw 0x9
call send_back  ; 61428 (0xeff4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff4
cw 0x9
call send_back  ; 61429 (0xeff5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff5
cw 0x9
call send_back  ; 61430 (0xeff6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff6
cw 0x9
call send_back  ; 61431 (0xeff7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff7
cw 0x9
call send_back  ; 61432 (0xeff8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff8
cw 0x9
call send_back  ; 61433 (0xeff9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeff9
cw 0x9
call send_back  ; 61434 (0xeffa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeffa
cw 0x9
call send_back  ; 61435 (0xeffb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeffb
cw 0x9
call send_back  ; 61436 (0xeffc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeffc
cw 0x9
call send_back  ; 61437 (0xeffd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeffd
cw 0x9
call send_back  ; 61438 (0xeffe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xeffe
cw 0x9
call send_back  ; 61439 (0xefff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xefff
cw 0x9
call send_back  ; 61440 (0xf000)

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

