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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3457 (0x0d81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3458 (0x0d82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3459 (0x0d83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3460 (0x0d84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3461 (0x0d85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3462 (0x0d86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3463 (0x0d87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3464 (0x0d88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3465 (0x0d89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3466 (0x0d8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3467 (0x0d8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3468 (0x0d8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3469 (0x0d8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3470 (0x0d8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3471 (0x0d8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3472 (0x0d90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3473 (0x0d91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3474 (0x0d92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3475 (0x0d93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3476 (0x0d94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3477 (0x0d95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3478 (0x0d96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3479 (0x0d97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3480 (0x0d98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3481 (0x0d99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3482 (0x0d9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3483 (0x0d9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3484 (0x0d9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3485 (0x0d9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3486 (0x0d9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3487 (0x0d9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3488 (0x0da0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3489 (0x0da1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3490 (0x0da2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3491 (0x0da3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3492 (0x0da4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3493 (0x0da5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3494 (0x0da6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3495 (0x0da7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3496 (0x0da8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3497 (0x0da9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3498 (0x0daa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3499 (0x0dab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3500 (0x0dac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3501 (0x0dad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3502 (0x0dae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3503 (0x0daf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3504 (0x0db0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3505 (0x0db1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3506 (0x0db2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3507 (0x0db3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3508 (0x0db4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3509 (0x0db5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3510 (0x0db6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3511 (0x0db7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3512 (0x0db8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3513 (0x0db9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3514 (0x0dba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3515 (0x0dbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3516 (0x0dbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3517 (0x0dbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3518 (0x0dbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3519 (0x0dbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3520 (0x0dc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3521 (0x0dc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3522 (0x0dc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3523 (0x0dc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3524 (0x0dc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3525 (0x0dc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3526 (0x0dc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3527 (0x0dc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3528 (0x0dc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3529 (0x0dc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3530 (0x0dca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3531 (0x0dcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3532 (0x0dcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3533 (0x0dcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3534 (0x0dce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3535 (0x0dcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3536 (0x0dd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3537 (0x0dd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3538 (0x0dd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3539 (0x0dd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3540 (0x0dd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3541 (0x0dd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3542 (0x0dd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3543 (0x0dd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3544 (0x0dd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3545 (0x0dd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3546 (0x0dda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3547 (0x0ddb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3548 (0x0ddc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3549 (0x0ddd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3550 (0x0dde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3551 (0x0ddf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3552 (0x0de0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3553 (0x0de1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3554 (0x0de2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3555 (0x0de3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3556 (0x0de4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3557 (0x0de5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3558 (0x0de6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3559 (0x0de7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3560 (0x0de8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3561 (0x0de9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3562 (0x0dea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3563 (0x0deb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3564 (0x0dec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3565 (0x0ded)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3566 (0x0dee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3567 (0x0def)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3568 (0x0df0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3569 (0x0df1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3570 (0x0df2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3571 (0x0df3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3572 (0x0df4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3573 (0x0df5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3574 (0x0df6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3575 (0x0df7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3576 (0x0df8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3577 (0x0df9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3578 (0x0dfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3579 (0x0dfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3580 (0x0dfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3581 (0x0dfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3582 (0x0dfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3583 (0x0dff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x000d
cw 0x5
call send_back  ; 3584 (0x0e00)

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