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

lri $AR1,    #0x4000
lri $IX1,    #0x5080
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20609 (0x5081)

lri $AR1,    #0x4000
lri $IX1,    #0x5081
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20610 (0x5082)

lri $AR1,    #0x4000
lri $IX1,    #0x5082
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20611 (0x5083)

lri $AR1,    #0x4000
lri $IX1,    #0x5083
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20612 (0x5084)

lri $AR1,    #0x4000
lri $IX1,    #0x5084
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20613 (0x5085)

lri $AR1,    #0x4000
lri $IX1,    #0x5085
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20614 (0x5086)

lri $AR1,    #0x4000
lri $IX1,    #0x5086
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20615 (0x5087)

lri $AR1,    #0x4000
lri $IX1,    #0x5087
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20616 (0x5088)

lri $AR1,    #0x4000
lri $IX1,    #0x5088
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20617 (0x5089)

lri $AR1,    #0x4000
lri $IX1,    #0x5089
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20618 (0x508a)

lri $AR1,    #0x4000
lri $IX1,    #0x508a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20619 (0x508b)

lri $AR1,    #0x4000
lri $IX1,    #0x508b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20620 (0x508c)

lri $AR1,    #0x4000
lri $IX1,    #0x508c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20621 (0x508d)

lri $AR1,    #0x4000
lri $IX1,    #0x508d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20622 (0x508e)

lri $AR1,    #0x4000
lri $IX1,    #0x508e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20623 (0x508f)

lri $AR1,    #0x4000
lri $IX1,    #0x508f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20624 (0x5090)

lri $AR1,    #0x4000
lri $IX1,    #0x5090
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20625 (0x5091)

lri $AR1,    #0x4000
lri $IX1,    #0x5091
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20626 (0x5092)

lri $AR1,    #0x4000
lri $IX1,    #0x5092
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20627 (0x5093)

lri $AR1,    #0x4000
lri $IX1,    #0x5093
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20628 (0x5094)

lri $AR1,    #0x4000
lri $IX1,    #0x5094
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20629 (0x5095)

lri $AR1,    #0x4000
lri $IX1,    #0x5095
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20630 (0x5096)

lri $AR1,    #0x4000
lri $IX1,    #0x5096
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20631 (0x5097)

lri $AR1,    #0x4000
lri $IX1,    #0x5097
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20632 (0x5098)

lri $AR1,    #0x4000
lri $IX1,    #0x5098
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20633 (0x5099)

lri $AR1,    #0x4000
lri $IX1,    #0x5099
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20634 (0x509a)

lri $AR1,    #0x4000
lri $IX1,    #0x509a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20635 (0x509b)

lri $AR1,    #0x4000
lri $IX1,    #0x509b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20636 (0x509c)

lri $AR1,    #0x4000
lri $IX1,    #0x509c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20637 (0x509d)

lri $AR1,    #0x4000
lri $IX1,    #0x509d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20638 (0x509e)

lri $AR1,    #0x4000
lri $IX1,    #0x509e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20639 (0x509f)

lri $AR1,    #0x4000
lri $IX1,    #0x509f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20640 (0x50a0)

lri $AR1,    #0x4000
lri $IX1,    #0x50a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20641 (0x50a1)

lri $AR1,    #0x4000
lri $IX1,    #0x50a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20642 (0x50a2)

lri $AR1,    #0x4000
lri $IX1,    #0x50a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20643 (0x50a3)

lri $AR1,    #0x4000
lri $IX1,    #0x50a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20644 (0x50a4)

lri $AR1,    #0x4000
lri $IX1,    #0x50a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20645 (0x50a5)

lri $AR1,    #0x4000
lri $IX1,    #0x50a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20646 (0x50a6)

lri $AR1,    #0x4000
lri $IX1,    #0x50a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20647 (0x50a7)

lri $AR1,    #0x4000
lri $IX1,    #0x50a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20648 (0x50a8)

lri $AR1,    #0x4000
lri $IX1,    #0x50a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20649 (0x50a9)

lri $AR1,    #0x4000
lri $IX1,    #0x50a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20650 (0x50aa)

lri $AR1,    #0x4000
lri $IX1,    #0x50aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20651 (0x50ab)

lri $AR1,    #0x4000
lri $IX1,    #0x50ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20652 (0x50ac)

lri $AR1,    #0x4000
lri $IX1,    #0x50ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20653 (0x50ad)

lri $AR1,    #0x4000
lri $IX1,    #0x50ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20654 (0x50ae)

lri $AR1,    #0x4000
lri $IX1,    #0x50ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20655 (0x50af)

lri $AR1,    #0x4000
lri $IX1,    #0x50af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20656 (0x50b0)

lri $AR1,    #0x4000
lri $IX1,    #0x50b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20657 (0x50b1)

lri $AR1,    #0x4000
lri $IX1,    #0x50b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20658 (0x50b2)

lri $AR1,    #0x4000
lri $IX1,    #0x50b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20659 (0x50b3)

lri $AR1,    #0x4000
lri $IX1,    #0x50b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20660 (0x50b4)

lri $AR1,    #0x4000
lri $IX1,    #0x50b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20661 (0x50b5)

lri $AR1,    #0x4000
lri $IX1,    #0x50b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20662 (0x50b6)

lri $AR1,    #0x4000
lri $IX1,    #0x50b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20663 (0x50b7)

lri $AR1,    #0x4000
lri $IX1,    #0x50b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20664 (0x50b8)

lri $AR1,    #0x4000
lri $IX1,    #0x50b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20665 (0x50b9)

lri $AR1,    #0x4000
lri $IX1,    #0x50b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20666 (0x50ba)

lri $AR1,    #0x4000
lri $IX1,    #0x50ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20667 (0x50bb)

lri $AR1,    #0x4000
lri $IX1,    #0x50bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20668 (0x50bc)

lri $AR1,    #0x4000
lri $IX1,    #0x50bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20669 (0x50bd)

lri $AR1,    #0x4000
lri $IX1,    #0x50bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20670 (0x50be)

lri $AR1,    #0x4000
lri $IX1,    #0x50be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20671 (0x50bf)

lri $AR1,    #0x4000
lri $IX1,    #0x50bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20672 (0x50c0)

lri $AR1,    #0x4000
lri $IX1,    #0x50c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20673 (0x50c1)

lri $AR1,    #0x4000
lri $IX1,    #0x50c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20674 (0x50c2)

lri $AR1,    #0x4000
lri $IX1,    #0x50c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20675 (0x50c3)

lri $AR1,    #0x4000
lri $IX1,    #0x50c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20676 (0x50c4)

lri $AR1,    #0x4000
lri $IX1,    #0x50c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20677 (0x50c5)

lri $AR1,    #0x4000
lri $IX1,    #0x50c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20678 (0x50c6)

lri $AR1,    #0x4000
lri $IX1,    #0x50c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20679 (0x50c7)

lri $AR1,    #0x4000
lri $IX1,    #0x50c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20680 (0x50c8)

lri $AR1,    #0x4000
lri $IX1,    #0x50c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20681 (0x50c9)

lri $AR1,    #0x4000
lri $IX1,    #0x50c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20682 (0x50ca)

lri $AR1,    #0x4000
lri $IX1,    #0x50ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20683 (0x50cb)

lri $AR1,    #0x4000
lri $IX1,    #0x50cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20684 (0x50cc)

lri $AR1,    #0x4000
lri $IX1,    #0x50cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20685 (0x50cd)

lri $AR1,    #0x4000
lri $IX1,    #0x50cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20686 (0x50ce)

lri $AR1,    #0x4000
lri $IX1,    #0x50ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20687 (0x50cf)

lri $AR1,    #0x4000
lri $IX1,    #0x50cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20688 (0x50d0)

lri $AR1,    #0x4000
lri $IX1,    #0x50d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20689 (0x50d1)

lri $AR1,    #0x4000
lri $IX1,    #0x50d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20690 (0x50d2)

lri $AR1,    #0x4000
lri $IX1,    #0x50d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20691 (0x50d3)

lri $AR1,    #0x4000
lri $IX1,    #0x50d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20692 (0x50d4)

lri $AR1,    #0x4000
lri $IX1,    #0x50d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20693 (0x50d5)

lri $AR1,    #0x4000
lri $IX1,    #0x50d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20694 (0x50d6)

lri $AR1,    #0x4000
lri $IX1,    #0x50d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20695 (0x50d7)

lri $AR1,    #0x4000
lri $IX1,    #0x50d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20696 (0x50d8)

lri $AR1,    #0x4000
lri $IX1,    #0x50d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20697 (0x50d9)

lri $AR1,    #0x4000
lri $IX1,    #0x50d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20698 (0x50da)

lri $AR1,    #0x4000
lri $IX1,    #0x50da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20699 (0x50db)

lri $AR1,    #0x4000
lri $IX1,    #0x50db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20700 (0x50dc)

lri $AR1,    #0x4000
lri $IX1,    #0x50dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20701 (0x50dd)

lri $AR1,    #0x4000
lri $IX1,    #0x50dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20702 (0x50de)

lri $AR1,    #0x4000
lri $IX1,    #0x50de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20703 (0x50df)

lri $AR1,    #0x4000
lri $IX1,    #0x50df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20704 (0x50e0)

lri $AR1,    #0x4000
lri $IX1,    #0x50e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20705 (0x50e1)

lri $AR1,    #0x4000
lri $IX1,    #0x50e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20706 (0x50e2)

lri $AR1,    #0x4000
lri $IX1,    #0x50e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20707 (0x50e3)

lri $AR1,    #0x4000
lri $IX1,    #0x50e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20708 (0x50e4)

lri $AR1,    #0x4000
lri $IX1,    #0x50e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20709 (0x50e5)

lri $AR1,    #0x4000
lri $IX1,    #0x50e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20710 (0x50e6)

lri $AR1,    #0x4000
lri $IX1,    #0x50e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20711 (0x50e7)

lri $AR1,    #0x4000
lri $IX1,    #0x50e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20712 (0x50e8)

lri $AR1,    #0x4000
lri $IX1,    #0x50e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20713 (0x50e9)

lri $AR1,    #0x4000
lri $IX1,    #0x50e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20714 (0x50ea)

lri $AR1,    #0x4000
lri $IX1,    #0x50ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20715 (0x50eb)

lri $AR1,    #0x4000
lri $IX1,    #0x50eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20716 (0x50ec)

lri $AR1,    #0x4000
lri $IX1,    #0x50ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20717 (0x50ed)

lri $AR1,    #0x4000
lri $IX1,    #0x50ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20718 (0x50ee)

lri $AR1,    #0x4000
lri $IX1,    #0x50ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20719 (0x50ef)

lri $AR1,    #0x4000
lri $IX1,    #0x50ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20720 (0x50f0)

lri $AR1,    #0x4000
lri $IX1,    #0x50f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20721 (0x50f1)

lri $AR1,    #0x4000
lri $IX1,    #0x50f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20722 (0x50f2)

lri $AR1,    #0x4000
lri $IX1,    #0x50f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20723 (0x50f3)

lri $AR1,    #0x4000
lri $IX1,    #0x50f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20724 (0x50f4)

lri $AR1,    #0x4000
lri $IX1,    #0x50f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20725 (0x50f5)

lri $AR1,    #0x4000
lri $IX1,    #0x50f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20726 (0x50f6)

lri $AR1,    #0x4000
lri $IX1,    #0x50f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20727 (0x50f7)

lri $AR1,    #0x4000
lri $IX1,    #0x50f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20728 (0x50f8)

lri $AR1,    #0x4000
lri $IX1,    #0x50f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20729 (0x50f9)

lri $AR1,    #0x4000
lri $IX1,    #0x50f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20730 (0x50fa)

lri $AR1,    #0x4000
lri $IX1,    #0x50fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20731 (0x50fb)

lri $AR1,    #0x4000
lri $IX1,    #0x50fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20732 (0x50fc)

lri $AR1,    #0x4000
lri $IX1,    #0x50fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20733 (0x50fd)

lri $AR1,    #0x4000
lri $IX1,    #0x50fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20734 (0x50fe)

lri $AR1,    #0x4000
lri $IX1,    #0x50fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20735 (0x50ff)

lri $AR1,    #0x4000
lri $IX1,    #0x50ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 20736 (0x5100)

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

