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

lri $AR1,    #0x4000
lri $IX1,    #0x9e80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40577 (0x9e81)

lri $AR1,    #0x4000
lri $IX1,    #0x9e81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40578 (0x9e82)

lri $AR1,    #0x4000
lri $IX1,    #0x9e82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40579 (0x9e83)

lri $AR1,    #0x4000
lri $IX1,    #0x9e83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40580 (0x9e84)

lri $AR1,    #0x4000
lri $IX1,    #0x9e84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40581 (0x9e85)

lri $AR1,    #0x4000
lri $IX1,    #0x9e85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40582 (0x9e86)

lri $AR1,    #0x4000
lri $IX1,    #0x9e86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40583 (0x9e87)

lri $AR1,    #0x4000
lri $IX1,    #0x9e87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40584 (0x9e88)

lri $AR1,    #0x4000
lri $IX1,    #0x9e88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40585 (0x9e89)

lri $AR1,    #0x4000
lri $IX1,    #0x9e89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40586 (0x9e8a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40587 (0x9e8b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40588 (0x9e8c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40589 (0x9e8d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40590 (0x9e8e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40591 (0x9e8f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40592 (0x9e90)

lri $AR1,    #0x4000
lri $IX1,    #0x9e90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40593 (0x9e91)

lri $AR1,    #0x4000
lri $IX1,    #0x9e91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40594 (0x9e92)

lri $AR1,    #0x4000
lri $IX1,    #0x9e92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40595 (0x9e93)

lri $AR1,    #0x4000
lri $IX1,    #0x9e93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40596 (0x9e94)

lri $AR1,    #0x4000
lri $IX1,    #0x9e94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40597 (0x9e95)

lri $AR1,    #0x4000
lri $IX1,    #0x9e95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40598 (0x9e96)

lri $AR1,    #0x4000
lri $IX1,    #0x9e96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40599 (0x9e97)

lri $AR1,    #0x4000
lri $IX1,    #0x9e97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40600 (0x9e98)

lri $AR1,    #0x4000
lri $IX1,    #0x9e98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40601 (0x9e99)

lri $AR1,    #0x4000
lri $IX1,    #0x9e99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40602 (0x9e9a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40603 (0x9e9b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40604 (0x9e9c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40605 (0x9e9d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40606 (0x9e9e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40607 (0x9e9f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40608 (0x9ea0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40609 (0x9ea1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40610 (0x9ea2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40611 (0x9ea3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40612 (0x9ea4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40613 (0x9ea5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40614 (0x9ea6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40615 (0x9ea7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40616 (0x9ea8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40617 (0x9ea9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ea9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40618 (0x9eaa)

lri $AR1,    #0x4000
lri $IX1,    #0x9eaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40619 (0x9eab)

lri $AR1,    #0x4000
lri $IX1,    #0x9eab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40620 (0x9eac)

lri $AR1,    #0x4000
lri $IX1,    #0x9eac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40621 (0x9ead)

lri $AR1,    #0x4000
lri $IX1,    #0x9ead
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40622 (0x9eae)

lri $AR1,    #0x4000
lri $IX1,    #0x9eae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40623 (0x9eaf)

lri $AR1,    #0x4000
lri $IX1,    #0x9eaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40624 (0x9eb0)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40625 (0x9eb1)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40626 (0x9eb2)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40627 (0x9eb3)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40628 (0x9eb4)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40629 (0x9eb5)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40630 (0x9eb6)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40631 (0x9eb7)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40632 (0x9eb8)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40633 (0x9eb9)

lri $AR1,    #0x4000
lri $IX1,    #0x9eb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40634 (0x9eba)

lri $AR1,    #0x4000
lri $IX1,    #0x9eba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40635 (0x9ebb)

lri $AR1,    #0x4000
lri $IX1,    #0x9ebb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40636 (0x9ebc)

lri $AR1,    #0x4000
lri $IX1,    #0x9ebc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40637 (0x9ebd)

lri $AR1,    #0x4000
lri $IX1,    #0x9ebd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40638 (0x9ebe)

lri $AR1,    #0x4000
lri $IX1,    #0x9ebe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40639 (0x9ebf)

lri $AR1,    #0x4000
lri $IX1,    #0x9ebf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40640 (0x9ec0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40641 (0x9ec1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40642 (0x9ec2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40643 (0x9ec3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40644 (0x9ec4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40645 (0x9ec5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40646 (0x9ec6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40647 (0x9ec7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40648 (0x9ec8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40649 (0x9ec9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ec9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40650 (0x9eca)

lri $AR1,    #0x4000
lri $IX1,    #0x9eca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40651 (0x9ecb)

lri $AR1,    #0x4000
lri $IX1,    #0x9ecb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40652 (0x9ecc)

lri $AR1,    #0x4000
lri $IX1,    #0x9ecc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40653 (0x9ecd)

lri $AR1,    #0x4000
lri $IX1,    #0x9ecd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40654 (0x9ece)

lri $AR1,    #0x4000
lri $IX1,    #0x9ece
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40655 (0x9ecf)

lri $AR1,    #0x4000
lri $IX1,    #0x9ecf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40656 (0x9ed0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40657 (0x9ed1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40658 (0x9ed2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40659 (0x9ed3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40660 (0x9ed4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40661 (0x9ed5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40662 (0x9ed6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40663 (0x9ed7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40664 (0x9ed8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40665 (0x9ed9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ed9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40666 (0x9eda)

lri $AR1,    #0x4000
lri $IX1,    #0x9eda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40667 (0x9edb)

lri $AR1,    #0x4000
lri $IX1,    #0x9edb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40668 (0x9edc)

lri $AR1,    #0x4000
lri $IX1,    #0x9edc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40669 (0x9edd)

lri $AR1,    #0x4000
lri $IX1,    #0x9edd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40670 (0x9ede)

lri $AR1,    #0x4000
lri $IX1,    #0x9ede
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40671 (0x9edf)

lri $AR1,    #0x4000
lri $IX1,    #0x9edf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40672 (0x9ee0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40673 (0x9ee1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40674 (0x9ee2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40675 (0x9ee3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40676 (0x9ee4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40677 (0x9ee5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40678 (0x9ee6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40679 (0x9ee7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40680 (0x9ee8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40681 (0x9ee9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ee9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40682 (0x9eea)

lri $AR1,    #0x4000
lri $IX1,    #0x9eea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40683 (0x9eeb)

lri $AR1,    #0x4000
lri $IX1,    #0x9eeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40684 (0x9eec)

lri $AR1,    #0x4000
lri $IX1,    #0x9eec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40685 (0x9eed)

lri $AR1,    #0x4000
lri $IX1,    #0x9eed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40686 (0x9eee)

lri $AR1,    #0x4000
lri $IX1,    #0x9eee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40687 (0x9eef)

lri $AR1,    #0x4000
lri $IX1,    #0x9eef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40688 (0x9ef0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40689 (0x9ef1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40690 (0x9ef2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40691 (0x9ef3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40692 (0x9ef4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40693 (0x9ef5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40694 (0x9ef6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40695 (0x9ef7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40696 (0x9ef8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40697 (0x9ef9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ef9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40698 (0x9efa)

lri $AR1,    #0x4000
lri $IX1,    #0x9efa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40699 (0x9efb)

lri $AR1,    #0x4000
lri $IX1,    #0x9efb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40700 (0x9efc)

lri $AR1,    #0x4000
lri $IX1,    #0x9efc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40701 (0x9efd)

lri $AR1,    #0x4000
lri $IX1,    #0x9efd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40702 (0x9efe)

lri $AR1,    #0x4000
lri $IX1,    #0x9efe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40703 (0x9eff)

lri $AR1,    #0x4000
lri $IX1,    #0x9eff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40704 (0x9f00)

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

