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

lri $AR1,    #0x4c80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19585 (0x4c81)

lri $AR1,    #0x4c81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19586 (0x4c82)

lri $AR1,    #0x4c82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19587 (0x4c83)

lri $AR1,    #0x4c83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19588 (0x4c84)

lri $AR1,    #0x4c84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19589 (0x4c85)

lri $AR1,    #0x4c85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19590 (0x4c86)

lri $AR1,    #0x4c86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19591 (0x4c87)

lri $AR1,    #0x4c87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19592 (0x4c88)

lri $AR1,    #0x4c88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19593 (0x4c89)

lri $AR1,    #0x4c89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19594 (0x4c8a)

lri $AR1,    #0x4c8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19595 (0x4c8b)

lri $AR1,    #0x4c8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19596 (0x4c8c)

lri $AR1,    #0x4c8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19597 (0x4c8d)

lri $AR1,    #0x4c8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19598 (0x4c8e)

lri $AR1,    #0x4c8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19599 (0x4c8f)

lri $AR1,    #0x4c8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19600 (0x4c90)

lri $AR1,    #0x4c90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19601 (0x4c91)

lri $AR1,    #0x4c91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19602 (0x4c92)

lri $AR1,    #0x4c92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19603 (0x4c93)

lri $AR1,    #0x4c93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19604 (0x4c94)

lri $AR1,    #0x4c94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19605 (0x4c95)

lri $AR1,    #0x4c95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19606 (0x4c96)

lri $AR1,    #0x4c96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19607 (0x4c97)

lri $AR1,    #0x4c97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19608 (0x4c98)

lri $AR1,    #0x4c98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19609 (0x4c99)

lri $AR1,    #0x4c99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19610 (0x4c9a)

lri $AR1,    #0x4c9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19611 (0x4c9b)

lri $AR1,    #0x4c9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19612 (0x4c9c)

lri $AR1,    #0x4c9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19613 (0x4c9d)

lri $AR1,    #0x4c9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19614 (0x4c9e)

lri $AR1,    #0x4c9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19615 (0x4c9f)

lri $AR1,    #0x4c9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19616 (0x4ca0)

lri $AR1,    #0x4ca0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19617 (0x4ca1)

lri $AR1,    #0x4ca1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19618 (0x4ca2)

lri $AR1,    #0x4ca2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19619 (0x4ca3)

lri $AR1,    #0x4ca3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19620 (0x4ca4)

lri $AR1,    #0x4ca4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19621 (0x4ca5)

lri $AR1,    #0x4ca5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19622 (0x4ca6)

lri $AR1,    #0x4ca6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19623 (0x4ca7)

lri $AR1,    #0x4ca7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19624 (0x4ca8)

lri $AR1,    #0x4ca8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19625 (0x4ca9)

lri $AR1,    #0x4ca9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19626 (0x4caa)

lri $AR1,    #0x4caa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19627 (0x4cab)

lri $AR1,    #0x4cab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19628 (0x4cac)

lri $AR1,    #0x4cac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19629 (0x4cad)

lri $AR1,    #0x4cad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19630 (0x4cae)

lri $AR1,    #0x4cae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19631 (0x4caf)

lri $AR1,    #0x4caf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19632 (0x4cb0)

lri $AR1,    #0x4cb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19633 (0x4cb1)

lri $AR1,    #0x4cb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19634 (0x4cb2)

lri $AR1,    #0x4cb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19635 (0x4cb3)

lri $AR1,    #0x4cb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19636 (0x4cb4)

lri $AR1,    #0x4cb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19637 (0x4cb5)

lri $AR1,    #0x4cb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19638 (0x4cb6)

lri $AR1,    #0x4cb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19639 (0x4cb7)

lri $AR1,    #0x4cb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19640 (0x4cb8)

lri $AR1,    #0x4cb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19641 (0x4cb9)

lri $AR1,    #0x4cb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19642 (0x4cba)

lri $AR1,    #0x4cba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19643 (0x4cbb)

lri $AR1,    #0x4cbb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19644 (0x4cbc)

lri $AR1,    #0x4cbc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19645 (0x4cbd)

lri $AR1,    #0x4cbd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19646 (0x4cbe)

lri $AR1,    #0x4cbe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19647 (0x4cbf)

lri $AR1,    #0x4cbf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19648 (0x4cc0)

lri $AR1,    #0x4cc0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19649 (0x4cc1)

lri $AR1,    #0x4cc1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19650 (0x4cc2)

lri $AR1,    #0x4cc2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19651 (0x4cc3)

lri $AR1,    #0x4cc3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19652 (0x4cc4)

lri $AR1,    #0x4cc4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19653 (0x4cc5)

lri $AR1,    #0x4cc5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19654 (0x4cc6)

lri $AR1,    #0x4cc6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19655 (0x4cc7)

lri $AR1,    #0x4cc7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19656 (0x4cc8)

lri $AR1,    #0x4cc8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19657 (0x4cc9)

lri $AR1,    #0x4cc9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19658 (0x4cca)

lri $AR1,    #0x4cca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19659 (0x4ccb)

lri $AR1,    #0x4ccb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19660 (0x4ccc)

lri $AR1,    #0x4ccc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19661 (0x4ccd)

lri $AR1,    #0x4ccd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19662 (0x4cce)

lri $AR1,    #0x4cce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19663 (0x4ccf)

lri $AR1,    #0x4ccf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19664 (0x4cd0)

lri $AR1,    #0x4cd0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19665 (0x4cd1)

lri $AR1,    #0x4cd1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19666 (0x4cd2)

lri $AR1,    #0x4cd2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19667 (0x4cd3)

lri $AR1,    #0x4cd3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19668 (0x4cd4)

lri $AR1,    #0x4cd4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19669 (0x4cd5)

lri $AR1,    #0x4cd5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19670 (0x4cd6)

lri $AR1,    #0x4cd6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19671 (0x4cd7)

lri $AR1,    #0x4cd7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19672 (0x4cd8)

lri $AR1,    #0x4cd8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19673 (0x4cd9)

lri $AR1,    #0x4cd9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19674 (0x4cda)

lri $AR1,    #0x4cda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19675 (0x4cdb)

lri $AR1,    #0x4cdb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19676 (0x4cdc)

lri $AR1,    #0x4cdc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19677 (0x4cdd)

lri $AR1,    #0x4cdd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19678 (0x4cde)

lri $AR1,    #0x4cde
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19679 (0x4cdf)

lri $AR1,    #0x4cdf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19680 (0x4ce0)

lri $AR1,    #0x4ce0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19681 (0x4ce1)

lri $AR1,    #0x4ce1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19682 (0x4ce2)

lri $AR1,    #0x4ce2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19683 (0x4ce3)

lri $AR1,    #0x4ce3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19684 (0x4ce4)

lri $AR1,    #0x4ce4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19685 (0x4ce5)

lri $AR1,    #0x4ce5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19686 (0x4ce6)

lri $AR1,    #0x4ce6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19687 (0x4ce7)

lri $AR1,    #0x4ce7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19688 (0x4ce8)

lri $AR1,    #0x4ce8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19689 (0x4ce9)

lri $AR1,    #0x4ce9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19690 (0x4cea)

lri $AR1,    #0x4cea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19691 (0x4ceb)

lri $AR1,    #0x4ceb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19692 (0x4cec)

lri $AR1,    #0x4cec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19693 (0x4ced)

lri $AR1,    #0x4ced
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19694 (0x4cee)

lri $AR1,    #0x4cee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19695 (0x4cef)

lri $AR1,    #0x4cef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19696 (0x4cf0)

lri $AR1,    #0x4cf0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19697 (0x4cf1)

lri $AR1,    #0x4cf1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19698 (0x4cf2)

lri $AR1,    #0x4cf2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19699 (0x4cf3)

lri $AR1,    #0x4cf3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19700 (0x4cf4)

lri $AR1,    #0x4cf4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19701 (0x4cf5)

lri $AR1,    #0x4cf5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19702 (0x4cf6)

lri $AR1,    #0x4cf6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19703 (0x4cf7)

lri $AR1,    #0x4cf7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19704 (0x4cf8)

lri $AR1,    #0x4cf8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19705 (0x4cf9)

lri $AR1,    #0x4cf9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19706 (0x4cfa)

lri $AR1,    #0x4cfa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19707 (0x4cfb)

lri $AR1,    #0x4cfb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19708 (0x4cfc)

lri $AR1,    #0x4cfc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19709 (0x4cfd)

lri $AR1,    #0x4cfd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19710 (0x4cfe)

lri $AR1,    #0x4cfe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19711 (0x4cff)

lri $AR1,    #0x4cff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 19712 (0x4d00)

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

