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

lri $AR1,    #0x4000
lri $IX1,    #0x2180
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8577 (0x2181)

lri $AR1,    #0x4000
lri $IX1,    #0x2181
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8578 (0x2182)

lri $AR1,    #0x4000
lri $IX1,    #0x2182
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8579 (0x2183)

lri $AR1,    #0x4000
lri $IX1,    #0x2183
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8580 (0x2184)

lri $AR1,    #0x4000
lri $IX1,    #0x2184
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8581 (0x2185)

lri $AR1,    #0x4000
lri $IX1,    #0x2185
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8582 (0x2186)

lri $AR1,    #0x4000
lri $IX1,    #0x2186
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8583 (0x2187)

lri $AR1,    #0x4000
lri $IX1,    #0x2187
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8584 (0x2188)

lri $AR1,    #0x4000
lri $IX1,    #0x2188
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8585 (0x2189)

lri $AR1,    #0x4000
lri $IX1,    #0x2189
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8586 (0x218a)

lri $AR1,    #0x4000
lri $IX1,    #0x218a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8587 (0x218b)

lri $AR1,    #0x4000
lri $IX1,    #0x218b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8588 (0x218c)

lri $AR1,    #0x4000
lri $IX1,    #0x218c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8589 (0x218d)

lri $AR1,    #0x4000
lri $IX1,    #0x218d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8590 (0x218e)

lri $AR1,    #0x4000
lri $IX1,    #0x218e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8591 (0x218f)

lri $AR1,    #0x4000
lri $IX1,    #0x218f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8592 (0x2190)

lri $AR1,    #0x4000
lri $IX1,    #0x2190
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8593 (0x2191)

lri $AR1,    #0x4000
lri $IX1,    #0x2191
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8594 (0x2192)

lri $AR1,    #0x4000
lri $IX1,    #0x2192
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8595 (0x2193)

lri $AR1,    #0x4000
lri $IX1,    #0x2193
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8596 (0x2194)

lri $AR1,    #0x4000
lri $IX1,    #0x2194
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8597 (0x2195)

lri $AR1,    #0x4000
lri $IX1,    #0x2195
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8598 (0x2196)

lri $AR1,    #0x4000
lri $IX1,    #0x2196
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8599 (0x2197)

lri $AR1,    #0x4000
lri $IX1,    #0x2197
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8600 (0x2198)

lri $AR1,    #0x4000
lri $IX1,    #0x2198
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8601 (0x2199)

lri $AR1,    #0x4000
lri $IX1,    #0x2199
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8602 (0x219a)

lri $AR1,    #0x4000
lri $IX1,    #0x219a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8603 (0x219b)

lri $AR1,    #0x4000
lri $IX1,    #0x219b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8604 (0x219c)

lri $AR1,    #0x4000
lri $IX1,    #0x219c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8605 (0x219d)

lri $AR1,    #0x4000
lri $IX1,    #0x219d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8606 (0x219e)

lri $AR1,    #0x4000
lri $IX1,    #0x219e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8607 (0x219f)

lri $AR1,    #0x4000
lri $IX1,    #0x219f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8608 (0x21a0)

lri $AR1,    #0x4000
lri $IX1,    #0x21a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8609 (0x21a1)

lri $AR1,    #0x4000
lri $IX1,    #0x21a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8610 (0x21a2)

lri $AR1,    #0x4000
lri $IX1,    #0x21a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8611 (0x21a3)

lri $AR1,    #0x4000
lri $IX1,    #0x21a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8612 (0x21a4)

lri $AR1,    #0x4000
lri $IX1,    #0x21a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8613 (0x21a5)

lri $AR1,    #0x4000
lri $IX1,    #0x21a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8614 (0x21a6)

lri $AR1,    #0x4000
lri $IX1,    #0x21a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8615 (0x21a7)

lri $AR1,    #0x4000
lri $IX1,    #0x21a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8616 (0x21a8)

lri $AR1,    #0x4000
lri $IX1,    #0x21a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8617 (0x21a9)

lri $AR1,    #0x4000
lri $IX1,    #0x21a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8618 (0x21aa)

lri $AR1,    #0x4000
lri $IX1,    #0x21aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8619 (0x21ab)

lri $AR1,    #0x4000
lri $IX1,    #0x21ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8620 (0x21ac)

lri $AR1,    #0x4000
lri $IX1,    #0x21ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8621 (0x21ad)

lri $AR1,    #0x4000
lri $IX1,    #0x21ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8622 (0x21ae)

lri $AR1,    #0x4000
lri $IX1,    #0x21ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8623 (0x21af)

lri $AR1,    #0x4000
lri $IX1,    #0x21af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8624 (0x21b0)

lri $AR1,    #0x4000
lri $IX1,    #0x21b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8625 (0x21b1)

lri $AR1,    #0x4000
lri $IX1,    #0x21b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8626 (0x21b2)

lri $AR1,    #0x4000
lri $IX1,    #0x21b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8627 (0x21b3)

lri $AR1,    #0x4000
lri $IX1,    #0x21b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8628 (0x21b4)

lri $AR1,    #0x4000
lri $IX1,    #0x21b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8629 (0x21b5)

lri $AR1,    #0x4000
lri $IX1,    #0x21b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8630 (0x21b6)

lri $AR1,    #0x4000
lri $IX1,    #0x21b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8631 (0x21b7)

lri $AR1,    #0x4000
lri $IX1,    #0x21b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8632 (0x21b8)

lri $AR1,    #0x4000
lri $IX1,    #0x21b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8633 (0x21b9)

lri $AR1,    #0x4000
lri $IX1,    #0x21b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8634 (0x21ba)

lri $AR1,    #0x4000
lri $IX1,    #0x21ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8635 (0x21bb)

lri $AR1,    #0x4000
lri $IX1,    #0x21bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8636 (0x21bc)

lri $AR1,    #0x4000
lri $IX1,    #0x21bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8637 (0x21bd)

lri $AR1,    #0x4000
lri $IX1,    #0x21bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8638 (0x21be)

lri $AR1,    #0x4000
lri $IX1,    #0x21be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8639 (0x21bf)

lri $AR1,    #0x4000
lri $IX1,    #0x21bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8640 (0x21c0)

lri $AR1,    #0x4000
lri $IX1,    #0x21c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8641 (0x21c1)

lri $AR1,    #0x4000
lri $IX1,    #0x21c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8642 (0x21c2)

lri $AR1,    #0x4000
lri $IX1,    #0x21c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8643 (0x21c3)

lri $AR1,    #0x4000
lri $IX1,    #0x21c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8644 (0x21c4)

lri $AR1,    #0x4000
lri $IX1,    #0x21c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8645 (0x21c5)

lri $AR1,    #0x4000
lri $IX1,    #0x21c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8646 (0x21c6)

lri $AR1,    #0x4000
lri $IX1,    #0x21c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8647 (0x21c7)

lri $AR1,    #0x4000
lri $IX1,    #0x21c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8648 (0x21c8)

lri $AR1,    #0x4000
lri $IX1,    #0x21c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8649 (0x21c9)

lri $AR1,    #0x4000
lri $IX1,    #0x21c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8650 (0x21ca)

lri $AR1,    #0x4000
lri $IX1,    #0x21ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8651 (0x21cb)

lri $AR1,    #0x4000
lri $IX1,    #0x21cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8652 (0x21cc)

lri $AR1,    #0x4000
lri $IX1,    #0x21cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8653 (0x21cd)

lri $AR1,    #0x4000
lri $IX1,    #0x21cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8654 (0x21ce)

lri $AR1,    #0x4000
lri $IX1,    #0x21ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8655 (0x21cf)

lri $AR1,    #0x4000
lri $IX1,    #0x21cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8656 (0x21d0)

lri $AR1,    #0x4000
lri $IX1,    #0x21d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8657 (0x21d1)

lri $AR1,    #0x4000
lri $IX1,    #0x21d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8658 (0x21d2)

lri $AR1,    #0x4000
lri $IX1,    #0x21d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8659 (0x21d3)

lri $AR1,    #0x4000
lri $IX1,    #0x21d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8660 (0x21d4)

lri $AR1,    #0x4000
lri $IX1,    #0x21d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8661 (0x21d5)

lri $AR1,    #0x4000
lri $IX1,    #0x21d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8662 (0x21d6)

lri $AR1,    #0x4000
lri $IX1,    #0x21d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8663 (0x21d7)

lri $AR1,    #0x4000
lri $IX1,    #0x21d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8664 (0x21d8)

lri $AR1,    #0x4000
lri $IX1,    #0x21d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8665 (0x21d9)

lri $AR1,    #0x4000
lri $IX1,    #0x21d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8666 (0x21da)

lri $AR1,    #0x4000
lri $IX1,    #0x21da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8667 (0x21db)

lri $AR1,    #0x4000
lri $IX1,    #0x21db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8668 (0x21dc)

lri $AR1,    #0x4000
lri $IX1,    #0x21dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8669 (0x21dd)

lri $AR1,    #0x4000
lri $IX1,    #0x21dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8670 (0x21de)

lri $AR1,    #0x4000
lri $IX1,    #0x21de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8671 (0x21df)

lri $AR1,    #0x4000
lri $IX1,    #0x21df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8672 (0x21e0)

lri $AR1,    #0x4000
lri $IX1,    #0x21e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8673 (0x21e1)

lri $AR1,    #0x4000
lri $IX1,    #0x21e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8674 (0x21e2)

lri $AR1,    #0x4000
lri $IX1,    #0x21e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8675 (0x21e3)

lri $AR1,    #0x4000
lri $IX1,    #0x21e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8676 (0x21e4)

lri $AR1,    #0x4000
lri $IX1,    #0x21e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8677 (0x21e5)

lri $AR1,    #0x4000
lri $IX1,    #0x21e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8678 (0x21e6)

lri $AR1,    #0x4000
lri $IX1,    #0x21e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8679 (0x21e7)

lri $AR1,    #0x4000
lri $IX1,    #0x21e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8680 (0x21e8)

lri $AR1,    #0x4000
lri $IX1,    #0x21e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8681 (0x21e9)

lri $AR1,    #0x4000
lri $IX1,    #0x21e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8682 (0x21ea)

lri $AR1,    #0x4000
lri $IX1,    #0x21ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8683 (0x21eb)

lri $AR1,    #0x4000
lri $IX1,    #0x21eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8684 (0x21ec)

lri $AR1,    #0x4000
lri $IX1,    #0x21ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8685 (0x21ed)

lri $AR1,    #0x4000
lri $IX1,    #0x21ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8686 (0x21ee)

lri $AR1,    #0x4000
lri $IX1,    #0x21ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8687 (0x21ef)

lri $AR1,    #0x4000
lri $IX1,    #0x21ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8688 (0x21f0)

lri $AR1,    #0x4000
lri $IX1,    #0x21f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8689 (0x21f1)

lri $AR1,    #0x4000
lri $IX1,    #0x21f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8690 (0x21f2)

lri $AR1,    #0x4000
lri $IX1,    #0x21f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8691 (0x21f3)

lri $AR1,    #0x4000
lri $IX1,    #0x21f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8692 (0x21f4)

lri $AR1,    #0x4000
lri $IX1,    #0x21f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8693 (0x21f5)

lri $AR1,    #0x4000
lri $IX1,    #0x21f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8694 (0x21f6)

lri $AR1,    #0x4000
lri $IX1,    #0x21f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8695 (0x21f7)

lri $AR1,    #0x4000
lri $IX1,    #0x21f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8696 (0x21f8)

lri $AR1,    #0x4000
lri $IX1,    #0x21f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8697 (0x21f9)

lri $AR1,    #0x4000
lri $IX1,    #0x21f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8698 (0x21fa)

lri $AR1,    #0x4000
lri $IX1,    #0x21fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8699 (0x21fb)

lri $AR1,    #0x4000
lri $IX1,    #0x21fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8700 (0x21fc)

lri $AR1,    #0x4000
lri $IX1,    #0x21fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8701 (0x21fd)

lri $AR1,    #0x4000
lri $IX1,    #0x21fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8702 (0x21fe)

lri $AR1,    #0x4000
lri $IX1,    #0x21fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8703 (0x21ff)

lri $AR1,    #0x4000
lri $IX1,    #0x21ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8704 (0x2200)

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

