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

lri $AR1,    #0x3080
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12417 (0x3081)

lri $AR1,    #0x3081
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12418 (0x3082)

lri $AR1,    #0x3082
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12419 (0x3083)

lri $AR1,    #0x3083
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12420 (0x3084)

lri $AR1,    #0x3084
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12421 (0x3085)

lri $AR1,    #0x3085
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12422 (0x3086)

lri $AR1,    #0x3086
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12423 (0x3087)

lri $AR1,    #0x3087
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12424 (0x3088)

lri $AR1,    #0x3088
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12425 (0x3089)

lri $AR1,    #0x3089
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12426 (0x308a)

lri $AR1,    #0x308a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12427 (0x308b)

lri $AR1,    #0x308b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12428 (0x308c)

lri $AR1,    #0x308c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12429 (0x308d)

lri $AR1,    #0x308d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12430 (0x308e)

lri $AR1,    #0x308e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12431 (0x308f)

lri $AR1,    #0x308f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12432 (0x3090)

lri $AR1,    #0x3090
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12433 (0x3091)

lri $AR1,    #0x3091
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12434 (0x3092)

lri $AR1,    #0x3092
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12435 (0x3093)

lri $AR1,    #0x3093
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12436 (0x3094)

lri $AR1,    #0x3094
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12437 (0x3095)

lri $AR1,    #0x3095
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12438 (0x3096)

lri $AR1,    #0x3096
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12439 (0x3097)

lri $AR1,    #0x3097
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12440 (0x3098)

lri $AR1,    #0x3098
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12441 (0x3099)

lri $AR1,    #0x3099
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12442 (0x309a)

lri $AR1,    #0x309a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12443 (0x309b)

lri $AR1,    #0x309b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12444 (0x309c)

lri $AR1,    #0x309c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12445 (0x309d)

lri $AR1,    #0x309d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12446 (0x309e)

lri $AR1,    #0x309e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12447 (0x309f)

lri $AR1,    #0x309f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12448 (0x30a0)

lri $AR1,    #0x30a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12449 (0x30a1)

lri $AR1,    #0x30a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12450 (0x30a2)

lri $AR1,    #0x30a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12451 (0x30a3)

lri $AR1,    #0x30a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12452 (0x30a4)

lri $AR1,    #0x30a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12453 (0x30a5)

lri $AR1,    #0x30a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12454 (0x30a6)

lri $AR1,    #0x30a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12455 (0x30a7)

lri $AR1,    #0x30a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12456 (0x30a8)

lri $AR1,    #0x30a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12457 (0x30a9)

lri $AR1,    #0x30a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12458 (0x30aa)

lri $AR1,    #0x30aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12459 (0x30ab)

lri $AR1,    #0x30ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12460 (0x30ac)

lri $AR1,    #0x30ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12461 (0x30ad)

lri $AR1,    #0x30ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12462 (0x30ae)

lri $AR1,    #0x30ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12463 (0x30af)

lri $AR1,    #0x30af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12464 (0x30b0)

lri $AR1,    #0x30b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12465 (0x30b1)

lri $AR1,    #0x30b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12466 (0x30b2)

lri $AR1,    #0x30b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12467 (0x30b3)

lri $AR1,    #0x30b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12468 (0x30b4)

lri $AR1,    #0x30b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12469 (0x30b5)

lri $AR1,    #0x30b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12470 (0x30b6)

lri $AR1,    #0x30b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12471 (0x30b7)

lri $AR1,    #0x30b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12472 (0x30b8)

lri $AR1,    #0x30b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12473 (0x30b9)

lri $AR1,    #0x30b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12474 (0x30ba)

lri $AR1,    #0x30ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12475 (0x30bb)

lri $AR1,    #0x30bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12476 (0x30bc)

lri $AR1,    #0x30bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12477 (0x30bd)

lri $AR1,    #0x30bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12478 (0x30be)

lri $AR1,    #0x30be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12479 (0x30bf)

lri $AR1,    #0x30bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12480 (0x30c0)

lri $AR1,    #0x30c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12481 (0x30c1)

lri $AR1,    #0x30c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12482 (0x30c2)

lri $AR1,    #0x30c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12483 (0x30c3)

lri $AR1,    #0x30c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12484 (0x30c4)

lri $AR1,    #0x30c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12485 (0x30c5)

lri $AR1,    #0x30c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12486 (0x30c6)

lri $AR1,    #0x30c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12487 (0x30c7)

lri $AR1,    #0x30c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12488 (0x30c8)

lri $AR1,    #0x30c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12489 (0x30c9)

lri $AR1,    #0x30c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12490 (0x30ca)

lri $AR1,    #0x30ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12491 (0x30cb)

lri $AR1,    #0x30cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12492 (0x30cc)

lri $AR1,    #0x30cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12493 (0x30cd)

lri $AR1,    #0x30cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12494 (0x30ce)

lri $AR1,    #0x30ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12495 (0x30cf)

lri $AR1,    #0x30cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12496 (0x30d0)

lri $AR1,    #0x30d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12497 (0x30d1)

lri $AR1,    #0x30d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12498 (0x30d2)

lri $AR1,    #0x30d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12499 (0x30d3)

lri $AR1,    #0x30d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12500 (0x30d4)

lri $AR1,    #0x30d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12501 (0x30d5)

lri $AR1,    #0x30d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12502 (0x30d6)

lri $AR1,    #0x30d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12503 (0x30d7)

lri $AR1,    #0x30d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12504 (0x30d8)

lri $AR1,    #0x30d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12505 (0x30d9)

lri $AR1,    #0x30d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12506 (0x30da)

lri $AR1,    #0x30da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12507 (0x30db)

lri $AR1,    #0x30db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12508 (0x30dc)

lri $AR1,    #0x30dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12509 (0x30dd)

lri $AR1,    #0x30dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12510 (0x30de)

lri $AR1,    #0x30de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12511 (0x30df)

lri $AR1,    #0x30df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12512 (0x30e0)

lri $AR1,    #0x30e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12513 (0x30e1)

lri $AR1,    #0x30e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12514 (0x30e2)

lri $AR1,    #0x30e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12515 (0x30e3)

lri $AR1,    #0x30e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12516 (0x30e4)

lri $AR1,    #0x30e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12517 (0x30e5)

lri $AR1,    #0x30e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12518 (0x30e6)

lri $AR1,    #0x30e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12519 (0x30e7)

lri $AR1,    #0x30e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12520 (0x30e8)

lri $AR1,    #0x30e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12521 (0x30e9)

lri $AR1,    #0x30e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12522 (0x30ea)

lri $AR1,    #0x30ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12523 (0x30eb)

lri $AR1,    #0x30eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12524 (0x30ec)

lri $AR1,    #0x30ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12525 (0x30ed)

lri $AR1,    #0x30ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12526 (0x30ee)

lri $AR1,    #0x30ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12527 (0x30ef)

lri $AR1,    #0x30ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12528 (0x30f0)

lri $AR1,    #0x30f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12529 (0x30f1)

lri $AR1,    #0x30f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12530 (0x30f2)

lri $AR1,    #0x30f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12531 (0x30f3)

lri $AR1,    #0x30f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12532 (0x30f4)

lri $AR1,    #0x30f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12533 (0x30f5)

lri $AR1,    #0x30f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12534 (0x30f6)

lri $AR1,    #0x30f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12535 (0x30f7)

lri $AR1,    #0x30f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12536 (0x30f8)

lri $AR1,    #0x30f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12537 (0x30f9)

lri $AR1,    #0x30f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12538 (0x30fa)

lri $AR1,    #0x30fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12539 (0x30fb)

lri $AR1,    #0x30fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12540 (0x30fc)

lri $AR1,    #0x30fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12541 (0x30fd)

lri $AR1,    #0x30fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12542 (0x30fe)

lri $AR1,    #0x30fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12543 (0x30ff)

lri $AR1,    #0x30ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12544 (0x3100)

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

