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

lri $AR1,    #0x0040
lri $IX1,    #0x1dde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7647 (0x1ddf)

lri $AR1,    #0x0040
lri $IX1,    #0x1ddf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7648 (0x1de0)

lri $AR1,    #0x0040
lri $IX1,    #0x1de0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7649 (0x1de1)

lri $AR1,    #0x0040
lri $IX1,    #0x1de1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7650 (0x1de2)

lri $AR1,    #0x0040
lri $IX1,    #0x1de2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7651 (0x1de3)

lri $AR1,    #0x0040
lri $IX1,    #0x1de3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7652 (0x1de4)

lri $AR1,    #0x0040
lri $IX1,    #0x1de4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7653 (0x1de5)

lri $AR1,    #0x0040
lri $IX1,    #0x1de5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7654 (0x1de6)

lri $AR1,    #0x0040
lri $IX1,    #0x1de6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7655 (0x1de7)

lri $AR1,    #0x0040
lri $IX1,    #0x1de7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7656 (0x1de8)

lri $AR1,    #0x0040
lri $IX1,    #0x1de8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7657 (0x1de9)

lri $AR1,    #0x0040
lri $IX1,    #0x1de9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7658 (0x1dea)

lri $AR1,    #0x0040
lri $IX1,    #0x1dea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7659 (0x1deb)

lri $AR1,    #0x0040
lri $IX1,    #0x1deb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7660 (0x1dec)

lri $AR1,    #0x0040
lri $IX1,    #0x1dec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7661 (0x1ded)

lri $AR1,    #0x0040
lri $IX1,    #0x1ded
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7662 (0x1dee)

lri $AR1,    #0x0040
lri $IX1,    #0x1dee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7663 (0x1def)

lri $AR1,    #0x0040
lri $IX1,    #0x1def
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7664 (0x1df0)

lri $AR1,    #0x0040
lri $IX1,    #0x1df0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7665 (0x1df1)

lri $AR1,    #0x0040
lri $IX1,    #0x1df1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7666 (0x1df2)

lri $AR1,    #0x0040
lri $IX1,    #0x1df2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7667 (0x1df3)

lri $AR1,    #0x0040
lri $IX1,    #0x1df3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7668 (0x1df4)

lri $AR1,    #0x0040
lri $IX1,    #0x1df4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7669 (0x1df5)

lri $AR1,    #0x0040
lri $IX1,    #0x1df5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7670 (0x1df6)

lri $AR1,    #0x0040
lri $IX1,    #0x1df6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7671 (0x1df7)

lri $AR1,    #0x0040
lri $IX1,    #0x1df7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7672 (0x1df8)

lri $AR1,    #0x0040
lri $IX1,    #0x1df8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7673 (0x1df9)

lri $AR1,    #0x0040
lri $IX1,    #0x1df9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7674 (0x1dfa)

lri $AR1,    #0x0040
lri $IX1,    #0x1dfa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7675 (0x1dfb)

lri $AR1,    #0x0040
lri $IX1,    #0x1dfb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7676 (0x1dfc)

lri $AR1,    #0x0040
lri $IX1,    #0x1dfc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7677 (0x1dfd)

lri $AR1,    #0x0040
lri $IX1,    #0x1dfd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7678 (0x1dfe)

lri $AR1,    #0x0040
lri $IX1,    #0x1dfe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7679 (0x1dff)

lri $AR1,    #0x0040
lri $IX1,    #0x1dff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7680 (0x1e00)

lri $AR1,    #0x0040
lri $IX1,    #0x1e00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7681 (0x1e01)

lri $AR1,    #0x0040
lri $IX1,    #0x1e01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7682 (0x1e02)

lri $AR1,    #0x0040
lri $IX1,    #0x1e02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7683 (0x1e03)

lri $AR1,    #0x0040
lri $IX1,    #0x1e03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7684 (0x1e04)

lri $AR1,    #0x0040
lri $IX1,    #0x1e04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7685 (0x1e05)

lri $AR1,    #0x0040
lri $IX1,    #0x1e05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7686 (0x1e06)

lri $AR1,    #0x0040
lri $IX1,    #0x1e06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7687 (0x1e07)

lri $AR1,    #0x0040
lri $IX1,    #0x1e07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7688 (0x1e08)

lri $AR1,    #0x0040
lri $IX1,    #0x1e08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7689 (0x1e09)

lri $AR1,    #0x0040
lri $IX1,    #0x1e09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7690 (0x1e0a)

lri $AR1,    #0x0040
lri $IX1,    #0x1e0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7691 (0x1e0b)

lri $AR1,    #0x0040
lri $IX1,    #0x1e0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7692 (0x1e0c)

lri $AR1,    #0x0040
lri $IX1,    #0x1e0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7693 (0x1e0d)

lri $AR1,    #0x0040
lri $IX1,    #0x1e0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7694 (0x1e0e)

lri $AR1,    #0x0040
lri $IX1,    #0x1e0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7695 (0x1e0f)

lri $AR1,    #0x0040
lri $IX1,    #0x1e0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7696 (0x1e10)

lri $AR1,    #0x0040
lri $IX1,    #0x1e10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7697 (0x1e11)

lri $AR1,    #0x0040
lri $IX1,    #0x1e11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7698 (0x1e12)

lri $AR1,    #0x0040
lri $IX1,    #0x1e12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7699 (0x1e13)

lri $AR1,    #0x0040
lri $IX1,    #0x1e13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7700 (0x1e14)

lri $AR1,    #0x0040
lri $IX1,    #0x1e14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7701 (0x1e15)

lri $AR1,    #0x0040
lri $IX1,    #0x1e15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7702 (0x1e16)

lri $AR1,    #0x0040
lri $IX1,    #0x1e16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7703 (0x1e17)

lri $AR1,    #0x0040
lri $IX1,    #0x1e17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7704 (0x1e18)

lri $AR1,    #0x0040
lri $IX1,    #0x1e18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7705 (0x1e19)

lri $AR1,    #0x0040
lri $IX1,    #0x1e19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7706 (0x1e1a)

lri $AR1,    #0x0040
lri $IX1,    #0x1e1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7707 (0x1e1b)

lri $AR1,    #0x0040
lri $IX1,    #0x1e1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7708 (0x1e1c)

lri $AR1,    #0x0040
lri $IX1,    #0x1e1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7709 (0x1e1d)

lri $AR1,    #0x0040
lri $IX1,    #0x1e1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7710 (0x1e1e)

lri $AR1,    #0x0040
lri $IX1,    #0x1e1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7711 (0x1e1f)

lri $AR1,    #0x0040
lri $IX1,    #0x1e1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7712 (0x1e20)

lri $AR1,    #0x0040
lri $IX1,    #0x1e20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7713 (0x1e21)

lri $AR1,    #0x0040
lri $IX1,    #0x1e21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7714 (0x1e22)

lri $AR1,    #0x0040
lri $IX1,    #0x1e22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7715 (0x1e23)

lri $AR1,    #0x0040
lri $IX1,    #0x1e23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7716 (0x1e24)

lri $AR1,    #0x0040
lri $IX1,    #0x1e24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7717 (0x1e25)

lri $AR1,    #0x0040
lri $IX1,    #0x1e25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7718 (0x1e26)

lri $AR1,    #0x0040
lri $IX1,    #0x1e26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7719 (0x1e27)

lri $AR1,    #0x0040
lri $IX1,    #0x1e27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7720 (0x1e28)

lri $AR1,    #0x0040
lri $IX1,    #0x1e28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7721 (0x1e29)

lri $AR1,    #0x0040
lri $IX1,    #0x1e29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7722 (0x1e2a)

lri $AR1,    #0x0040
lri $IX1,    #0x1e2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7723 (0x1e2b)

lri $AR1,    #0x0040
lri $IX1,    #0x1e2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7724 (0x1e2c)

lri $AR1,    #0x0040
lri $IX1,    #0x1e2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7725 (0x1e2d)

lri $AR1,    #0x0040
lri $IX1,    #0x1e2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7726 (0x1e2e)

lri $AR1,    #0x0040
lri $IX1,    #0x1e2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7727 (0x1e2f)

lri $AR1,    #0x0040
lri $IX1,    #0x1e2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7728 (0x1e30)

lri $AR1,    #0x0040
lri $IX1,    #0x1e30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7729 (0x1e31)

lri $AR1,    #0x0040
lri $IX1,    #0x1e31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7730 (0x1e32)

lri $AR1,    #0x0040
lri $IX1,    #0x1e32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7731 (0x1e33)

lri $AR1,    #0x0040
lri $IX1,    #0x1e33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7732 (0x1e34)

lri $AR1,    #0x0040
lri $IX1,    #0x1e34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7733 (0x1e35)

lri $AR1,    #0x0040
lri $IX1,    #0x1e35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7734 (0x1e36)

lri $AR1,    #0x0040
lri $IX1,    #0x1e36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7735 (0x1e37)

lri $AR1,    #0x0040
lri $IX1,    #0x1e37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7736 (0x1e38)

lri $AR1,    #0x0040
lri $IX1,    #0x1e38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7737 (0x1e39)

lri $AR1,    #0x0040
lri $IX1,    #0x1e39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7738 (0x1e3a)

lri $AR1,    #0x0040
lri $IX1,    #0x1e3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7739 (0x1e3b)

lri $AR1,    #0x0040
lri $IX1,    #0x1e3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7740 (0x1e3c)

lri $AR1,    #0x0040
lri $IX1,    #0x1e3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7741 (0x1e3d)

lri $AR1,    #0x0040
lri $IX1,    #0x1e3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7742 (0x1e3e)

lri $AR1,    #0x0040
lri $IX1,    #0x1e3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7743 (0x1e3f)

lri $AR1,    #0x0040
lri $IX1,    #0x1e3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7744 (0x1e40)

lri $AR1,    #0x0040
lri $IX1,    #0x1e40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7745 (0x1e41)

lri $AR1,    #0x0040
lri $IX1,    #0x1e41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7746 (0x1e42)

lri $AR1,    #0x0040
lri $IX1,    #0x1e42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7747 (0x1e43)

lri $AR1,    #0x0040
lri $IX1,    #0x1e43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7748 (0x1e44)

lri $AR1,    #0x0040
lri $IX1,    #0x1e44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7749 (0x1e45)

lri $AR1,    #0x0040
lri $IX1,    #0x1e45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7750 (0x1e46)

lri $AR1,    #0x0040
lri $IX1,    #0x1e46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7751 (0x1e47)

lri $AR1,    #0x0040
lri $IX1,    #0x1e47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7752 (0x1e48)

lri $AR1,    #0x0040
lri $IX1,    #0x1e48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7753 (0x1e49)

lri $AR1,    #0x0040
lri $IX1,    #0x1e49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7754 (0x1e4a)

lri $AR1,    #0x0040
lri $IX1,    #0x1e4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7755 (0x1e4b)

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