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

lri $AR1,    #0x6f80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28545 (0x6f81)

lri $AR1,    #0x6f81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28546 (0x6f82)

lri $AR1,    #0x6f82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28547 (0x6f83)

lri $AR1,    #0x6f83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28548 (0x6f84)

lri $AR1,    #0x6f84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28549 (0x6f85)

lri $AR1,    #0x6f85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28550 (0x6f86)

lri $AR1,    #0x6f86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28551 (0x6f87)

lri $AR1,    #0x6f87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28552 (0x6f88)

lri $AR1,    #0x6f88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28553 (0x6f89)

lri $AR1,    #0x6f89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28554 (0x6f8a)

lri $AR1,    #0x6f8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28555 (0x6f8b)

lri $AR1,    #0x6f8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28556 (0x6f8c)

lri $AR1,    #0x6f8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28557 (0x6f8d)

lri $AR1,    #0x6f8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28558 (0x6f8e)

lri $AR1,    #0x6f8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28559 (0x6f8f)

lri $AR1,    #0x6f8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28560 (0x6f90)

lri $AR1,    #0x6f90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28561 (0x6f91)

lri $AR1,    #0x6f91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28562 (0x6f92)

lri $AR1,    #0x6f92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28563 (0x6f93)

lri $AR1,    #0x6f93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28564 (0x6f94)

lri $AR1,    #0x6f94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28565 (0x6f95)

lri $AR1,    #0x6f95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28566 (0x6f96)

lri $AR1,    #0x6f96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28567 (0x6f97)

lri $AR1,    #0x6f97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28568 (0x6f98)

lri $AR1,    #0x6f98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28569 (0x6f99)

lri $AR1,    #0x6f99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28570 (0x6f9a)

lri $AR1,    #0x6f9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28571 (0x6f9b)

lri $AR1,    #0x6f9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28572 (0x6f9c)

lri $AR1,    #0x6f9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28573 (0x6f9d)

lri $AR1,    #0x6f9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28574 (0x6f9e)

lri $AR1,    #0x6f9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28575 (0x6f9f)

lri $AR1,    #0x6f9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28576 (0x6fa0)

lri $AR1,    #0x6fa0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28577 (0x6fa1)

lri $AR1,    #0x6fa1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28578 (0x6fa2)

lri $AR1,    #0x6fa2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28579 (0x6fa3)

lri $AR1,    #0x6fa3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28580 (0x6fa4)

lri $AR1,    #0x6fa4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28581 (0x6fa5)

lri $AR1,    #0x6fa5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28582 (0x6fa6)

lri $AR1,    #0x6fa6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28583 (0x6fa7)

lri $AR1,    #0x6fa7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28584 (0x6fa8)

lri $AR1,    #0x6fa8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28585 (0x6fa9)

lri $AR1,    #0x6fa9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28586 (0x6faa)

lri $AR1,    #0x6faa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28587 (0x6fab)

lri $AR1,    #0x6fab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28588 (0x6fac)

lri $AR1,    #0x6fac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28589 (0x6fad)

lri $AR1,    #0x6fad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28590 (0x6fae)

lri $AR1,    #0x6fae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28591 (0x6faf)

lri $AR1,    #0x6faf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28592 (0x6fb0)

lri $AR1,    #0x6fb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28593 (0x6fb1)

lri $AR1,    #0x6fb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28594 (0x6fb2)

lri $AR1,    #0x6fb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28595 (0x6fb3)

lri $AR1,    #0x6fb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28596 (0x6fb4)

lri $AR1,    #0x6fb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28597 (0x6fb5)

lri $AR1,    #0x6fb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28598 (0x6fb6)

lri $AR1,    #0x6fb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28599 (0x6fb7)

lri $AR1,    #0x6fb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28600 (0x6fb8)

lri $AR1,    #0x6fb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28601 (0x6fb9)

lri $AR1,    #0x6fb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28602 (0x6fba)

lri $AR1,    #0x6fba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28603 (0x6fbb)

lri $AR1,    #0x6fbb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28604 (0x6fbc)

lri $AR1,    #0x6fbc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28605 (0x6fbd)

lri $AR1,    #0x6fbd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28606 (0x6fbe)

lri $AR1,    #0x6fbe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28607 (0x6fbf)

lri $AR1,    #0x6fbf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28608 (0x6fc0)

lri $AR1,    #0x6fc0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28609 (0x6fc1)

lri $AR1,    #0x6fc1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28610 (0x6fc2)

lri $AR1,    #0x6fc2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28611 (0x6fc3)

lri $AR1,    #0x6fc3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28612 (0x6fc4)

lri $AR1,    #0x6fc4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28613 (0x6fc5)

lri $AR1,    #0x6fc5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28614 (0x6fc6)

lri $AR1,    #0x6fc6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28615 (0x6fc7)

lri $AR1,    #0x6fc7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28616 (0x6fc8)

lri $AR1,    #0x6fc8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28617 (0x6fc9)

lri $AR1,    #0x6fc9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28618 (0x6fca)

lri $AR1,    #0x6fca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28619 (0x6fcb)

lri $AR1,    #0x6fcb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28620 (0x6fcc)

lri $AR1,    #0x6fcc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28621 (0x6fcd)

lri $AR1,    #0x6fcd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28622 (0x6fce)

lri $AR1,    #0x6fce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28623 (0x6fcf)

lri $AR1,    #0x6fcf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28624 (0x6fd0)

lri $AR1,    #0x6fd0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28625 (0x6fd1)

lri $AR1,    #0x6fd1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28626 (0x6fd2)

lri $AR1,    #0x6fd2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28627 (0x6fd3)

lri $AR1,    #0x6fd3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28628 (0x6fd4)

lri $AR1,    #0x6fd4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28629 (0x6fd5)

lri $AR1,    #0x6fd5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28630 (0x6fd6)

lri $AR1,    #0x6fd6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28631 (0x6fd7)

lri $AR1,    #0x6fd7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28632 (0x6fd8)

lri $AR1,    #0x6fd8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28633 (0x6fd9)

lri $AR1,    #0x6fd9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28634 (0x6fda)

lri $AR1,    #0x6fda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28635 (0x6fdb)

lri $AR1,    #0x6fdb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28636 (0x6fdc)

lri $AR1,    #0x6fdc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28637 (0x6fdd)

lri $AR1,    #0x6fdd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28638 (0x6fde)

lri $AR1,    #0x6fde
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28639 (0x6fdf)

lri $AR1,    #0x6fdf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28640 (0x6fe0)

lri $AR1,    #0x6fe0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28641 (0x6fe1)

lri $AR1,    #0x6fe1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28642 (0x6fe2)

lri $AR1,    #0x6fe2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28643 (0x6fe3)

lri $AR1,    #0x6fe3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28644 (0x6fe4)

lri $AR1,    #0x6fe4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28645 (0x6fe5)

lri $AR1,    #0x6fe5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28646 (0x6fe6)

lri $AR1,    #0x6fe6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28647 (0x6fe7)

lri $AR1,    #0x6fe7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28648 (0x6fe8)

lri $AR1,    #0x6fe8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28649 (0x6fe9)

lri $AR1,    #0x6fe9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28650 (0x6fea)

lri $AR1,    #0x6fea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28651 (0x6feb)

lri $AR1,    #0x6feb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28652 (0x6fec)

lri $AR1,    #0x6fec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28653 (0x6fed)

lri $AR1,    #0x6fed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28654 (0x6fee)

lri $AR1,    #0x6fee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28655 (0x6fef)

lri $AR1,    #0x6fef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28656 (0x6ff0)

lri $AR1,    #0x6ff0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28657 (0x6ff1)

lri $AR1,    #0x6ff1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28658 (0x6ff2)

lri $AR1,    #0x6ff2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28659 (0x6ff3)

lri $AR1,    #0x6ff3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28660 (0x6ff4)

lri $AR1,    #0x6ff4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28661 (0x6ff5)

lri $AR1,    #0x6ff5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28662 (0x6ff6)

lri $AR1,    #0x6ff6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28663 (0x6ff7)

lri $AR1,    #0x6ff7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28664 (0x6ff8)

lri $AR1,    #0x6ff8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28665 (0x6ff9)

lri $AR1,    #0x6ff9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28666 (0x6ffa)

lri $AR1,    #0x6ffa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28667 (0x6ffb)

lri $AR1,    #0x6ffb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28668 (0x6ffc)

lri $AR1,    #0x6ffc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28669 (0x6ffd)

lri $AR1,    #0x6ffd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28670 (0x6ffe)

lri $AR1,    #0x6ffe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28671 (0x6fff)

lri $AR1,    #0x6fff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 28672 (0x7000)

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

