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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56449 (0xdc81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56450 (0xdc82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56451 (0xdc83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56452 (0xdc84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56453 (0xdc85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56454 (0xdc86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56455 (0xdc87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56456 (0xdc88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56457 (0xdc89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56458 (0xdc8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56459 (0xdc8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56460 (0xdc8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56461 (0xdc8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56462 (0xdc8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56463 (0xdc8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56464 (0xdc90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56465 (0xdc91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56466 (0xdc92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56467 (0xdc93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56468 (0xdc94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56469 (0xdc95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56470 (0xdc96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56471 (0xdc97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56472 (0xdc98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56473 (0xdc99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56474 (0xdc9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56475 (0xdc9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56476 (0xdc9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56477 (0xdc9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56478 (0xdc9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56479 (0xdc9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56480 (0xdca0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56481 (0xdca1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56482 (0xdca2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56483 (0xdca3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56484 (0xdca4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56485 (0xdca5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56486 (0xdca6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56487 (0xdca7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56488 (0xdca8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56489 (0xdca9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56490 (0xdcaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56491 (0xdcab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56492 (0xdcac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56493 (0xdcad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56494 (0xdcae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56495 (0xdcaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56496 (0xdcb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56497 (0xdcb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56498 (0xdcb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56499 (0xdcb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56500 (0xdcb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56501 (0xdcb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56502 (0xdcb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56503 (0xdcb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56504 (0xdcb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56505 (0xdcb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56506 (0xdcba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56507 (0xdcbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56508 (0xdcbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56509 (0xdcbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56510 (0xdcbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56511 (0xdcbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56512 (0xdcc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56513 (0xdcc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56514 (0xdcc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56515 (0xdcc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56516 (0xdcc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56517 (0xdcc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56518 (0xdcc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56519 (0xdcc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56520 (0xdcc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56521 (0xdcc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56522 (0xdcca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56523 (0xdccb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56524 (0xdccc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56525 (0xdccd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56526 (0xdcce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56527 (0xdccf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56528 (0xdcd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56529 (0xdcd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56530 (0xdcd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56531 (0xdcd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56532 (0xdcd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56533 (0xdcd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56534 (0xdcd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56535 (0xdcd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56536 (0xdcd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56537 (0xdcd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56538 (0xdcda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56539 (0xdcdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56540 (0xdcdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56541 (0xdcdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56542 (0xdcde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56543 (0xdcdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56544 (0xdce0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56545 (0xdce1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56546 (0xdce2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56547 (0xdce3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56548 (0xdce4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56549 (0xdce5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56550 (0xdce6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56551 (0xdce7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56552 (0xdce8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56553 (0xdce9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56554 (0xdcea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56555 (0xdceb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56556 (0xdcec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56557 (0xdced)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56558 (0xdcee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56559 (0xdcef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56560 (0xdcf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56561 (0xdcf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56562 (0xdcf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56563 (0xdcf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56564 (0xdcf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56565 (0xdcf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56566 (0xdcf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56567 (0xdcf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56568 (0xdcf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56569 (0xdcf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56570 (0xdcfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56571 (0xdcfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56572 (0xdcfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56573 (0xdcfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56574 (0xdcfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56575 (0xdcff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00dc
cw 0x5
call send_back  ; 56576 (0xdd00)

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