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

lri $AR1,    #0x5cc8
lri $IX1,    #0x5640
lri $WR1,    #0xcc44
cw 0x15
call send_back  ; 20754 (0x5112)

lri $AR1,    #0xbf2e
lri $IX1,    #0x1c9a
lri $WR1,    #0xa82a
cw 0x15
call send_back  ; 20755 (0x5113)

lri $AR1,    #0xa26d
lri $IX1,    #0x4b76
lri $WR1,    #0x71f4
cw 0x15
call send_back  ; 20756 (0x5114)

lri $AR1,    #0x851d
lri $IX1,    #0x3876
lri $WR1,    #0x4693
cw 0x15
call send_back  ; 20757 (0x5115)

lri $AR1,    #0xaa5b
lri $IX1,    #0xea10
lri $WR1,    #0x18b3
cw 0x15
call send_back  ; 20758 (0x5116)

lri $AR1,    #0x8a64
lri $IX1,    #0x8a1c
lri $WR1,    #0x98ca
cw 0x15
call send_back  ; 20759 (0x5117)

lri $AR1,    #0x5ac9
lri $IX1,    #0x573e
lri $WR1,    #0x85df
cw 0x15
call send_back  ; 20760 (0x5118)

lri $AR1,    #0x952b
lri $IX1,    #0x57da
lri $WR1,    #0xcefd
cw 0x15
call send_back  ; 20761 (0x5119)

lri $AR1,    #0xc2c2
lri $IX1,    #0x35e0
lri $WR1,    #0x5af1
cw 0x15
call send_back  ; 20762 (0x511a)

lri $AR1,    #0x467e
lri $IX1,    #0x9af8
lri $WR1,    #0x9d5b
cw 0x15
call send_back  ; 20763 (0x511b)

lri $AR1,    #0xc723
lri $IX1,    #0x414a
lri $WR1,    #0xb5a8
cw 0x15
call send_back  ; 20764 (0x511c)

lri $AR1,    #0x9613
lri $IX1,    #0xd5b8
lri $WR1,    #0x8dff
cw 0x15
call send_back  ; 20765 (0x511d)

lri $AR1,    #0xdf2e
lri $IX1,    #0xdc70
lri $WR1,    #0xadb2
cw 0x15
call send_back  ; 20766 (0x511e)

lri $AR1,    #0x7193
lri $IX1,    #0x29d0
lri $WR1,    #0x9450
cw 0x15
call send_back  ; 20767 (0x511f)

lri $AR1,    #0x6889
lri $IX1,    #0x4d9e
lri $WR1,    #0x57cf
cw 0x15
call send_back  ; 20768 (0x5120)

lri $AR1,    #0x4767
lri $IX1,    #0xa758
lri $WR1,    #0x49f5
cw 0x15
call send_back  ; 20769 (0x5121)

lri $AR1,    #0x9acb
lri $IX1,    #0xdebe
lri $WR1,    #0x7681
cw 0x15
call send_back  ; 20770 (0x5122)

lri $AR1,    #0xc4f5
lri $IX1,    #0x4c52
lri $WR1,    #0x3d32
cw 0x15
call send_back  ; 20771 (0x5123)

lri $AR1,    #0xa281
lri $IX1,    #0x9a00
lri $WR1,    #0x802b
cw 0x15
call send_back  ; 20772 (0x5124)

lri $AR1,    #0x9072
lri $IX1,    #0xac8e
lri $WR1,    #0xb8d5
cw 0x15
call send_back  ; 20773 (0x5125)

lri $AR1,    #0x6bbb
lri $IX1,    #0xdb1a
lri $WR1,    #0xa2c1
cw 0x15
call send_back  ; 20774 (0x5126)

lri $AR1,    #0x4629
lri $IX1,    #0xba34
lri $WR1,    #0xeda1
cw 0x15
call send_back  ; 20775 (0x5127)

lri $AR1,    #0xa40b
lri $IX1,    #0x6cfe
lri $WR1,    #0xeceb
cw 0x15
call send_back  ; 20776 (0x5128)

lri $AR1,    #0x813c
lri $IX1,    #0xa6b2
lri $WR1,    #0x652e
cw 0x15
call send_back  ; 20777 (0x5129)

lri $AR1,    #0x7c17
lri $IX1,    #0x6c14
lri $WR1,    #0x44ae
cw 0x15
call send_back  ; 20778 (0x512a)

lri $AR1,    #0x37f3
lri $IX1,    #0x5436
lri $WR1,    #0xa658
cw 0x15
call send_back  ; 20779 (0x512b)

lri $AR1,    #0x309b
lri $IX1,    #0xa4f2
lri $WR1,    #0x5396
cw 0x15
call send_back  ; 20780 (0x512c)

lri $AR1,    #0x337f
lri $IX1,    #0x4fa8
lri $WR1,    #0x7323
cw 0x15
call send_back  ; 20781 (0x512d)

lri $AR1,    #0x62f2
lri $IX1,    #0xa78c
lri $WR1,    #0x905b
cw 0x15
call send_back  ; 20782 (0x512e)

lri $AR1,    #0x6b49
lri $IX1,    #0xcb1c
lri $WR1,    #0x8826
cw 0x15
call send_back  ; 20783 (0x512f)

lri $AR1,    #0x4920
lri $IX1,    #0x46fa
lri $WR1,    #0x8e0c
cw 0x15
call send_back  ; 20784 (0x5130)

lri $AR1,    #0x8bb0
lri $IX1,    #0x90d6
lri $WR1,    #0xc572
cw 0x15
call send_back  ; 20785 (0x5131)

lri $AR1,    #0x3d57
lri $IX1,    #0xbda4
lri $WR1,    #0xb8b3
cw 0x15
call send_back  ; 20786 (0x5132)

lri $AR1,    #0x705a
lri $IX1,    #0x66b4
lri $WR1,    #0xa8f8
cw 0x15
call send_back  ; 20787 (0x5133)

lri $AR1,    #0x3501
lri $IX1,    #0x2dfe
lri $WR1,    #0xa782
cw 0x15
call send_back  ; 20788 (0x5134)

lri $AR1,    #0x59fa
lri $IX1,    #0xda30
lri $WR1,    #0x8270
cw 0x15
call send_back  ; 20789 (0x5135)

lri $AR1,    #0xa748
lri $IX1,    #0xb7c6
lri $WR1,    #0xac79
cw 0x15
call send_back  ; 20790 (0x5136)

lri $AR1,    #0xa792
lri $IX1,    #0xecd4
lri $WR1,    #0xc8cb
cw 0x15
call send_back  ; 20791 (0x5137)

lri $AR1,    #0x6b1c
lri $IX1,    #0xd9b0
lri $WR1,    #0x498b
cw 0x15
call send_back  ; 20792 (0x5138)

lri $AR1,    #0x5b42
lri $IX1,    #0x9930
lri $WR1,    #0x790c
cw 0x15
call send_back  ; 20793 (0x5139)

lri $AR1,    #0x14be
lri $IX1,    #0x57a8
lri $WR1,    #0xb349
cw 0x15
call send_back  ; 20794 (0x513a)

lri $AR1,    #0x328e
lri $IX1,    #0xa858
lri $WR1,    #0x66ba
cw 0x15
call send_back  ; 20795 (0x513b)

lri $AR1,    #0x5ac7
lri $IX1,    #0x5d84
lri $WR1,    #0x890c
cw 0x15
call send_back  ; 20796 (0x513c)

lri $AR1,    #0x9a25
lri $IX1,    #0xcfd6
lri $WR1,    #0x65c8
cw 0x15
call send_back  ; 20797 (0x513d)

lri $AR1,    #0x8aad
lri $IX1,    #0x1644
lri $WR1,    #0x6a96
cw 0x15
call send_back  ; 20798 (0x513e)

lri $AR1,    #0x4528
lri $IX1,    #0x9028
lri $WR1,    #0xb5f8
cw 0x15
call send_back  ; 20799 (0x513f)

lri $AR1,    #0x94d0
lri $IX1,    #0x6fbe
lri $WR1,    #0x9343
cw 0x15
call send_back  ; 20800 (0x5140)

lri $AR1,    #0x2ff6
lri $IX1,    #0xcbae
lri $WR1,    #0x17c4
cw 0x15
call send_back  ; 20801 (0x5141)

lri $AR1,    #0x37fe
lri $IX1,    #0x42e0
lri $WR1,    #0x22aa
cw 0x15
call send_back  ; 20802 (0x5142)

lri $AR1,    #0x5670
lri $IX1,    #0x8e30
lri $WR1,    #0x72cb
cw 0x15
call send_back  ; 20803 (0x5143)

lri $AR1,    #0x547d
lri $IX1,    #0x9862
lri $WR1,    #0x3aca
cw 0x15
call send_back  ; 20804 (0x5144)

lri $AR1,    #0x65c2
lri $IX1,    #0xfcca
lri $WR1,    #0xf5b4
cw 0x15
call send_back  ; 20805 (0x5145)

lri $AR1,    #0x6e93
lri $IX1,    #0x4206
lri $WR1,    #0x9baa
cw 0x15
call send_back  ; 20806 (0x5146)

lri $AR1,    #0x31ad
lri $IX1,    #0xe668
lri $WR1,    #0x9797
cw 0x15
call send_back  ; 20807 (0x5147)

lri $AR1,    #0x688d
lri $IX1,    #0x8042
lri $WR1,    #0x648e
cw 0x15
call send_back  ; 20808 (0x5148)

lri $AR1,    #0xb54d
lri $IX1,    #0xecc0
lri $WR1,    #0x62e5
cw 0x15
call send_back  ; 20809 (0x5149)

lri $AR1,    #0x7c48
lri $IX1,    #0xec8a
lri $WR1,    #0xa291
cw 0x15
call send_back  ; 20810 (0x514a)

lri $AR1,    #0x6761
lri $IX1,    #0xbdcc
lri $WR1,    #0x71d4
cw 0x15
call send_back  ; 20811 (0x514b)

lri $AR1,    #0x7c36
lri $IX1,    #0x5ff6
lri $WR1,    #0xd4d7
cw 0x15
call send_back  ; 20812 (0x514c)

lri $AR1,    #0xaa13
lri $IX1,    #0x55b6
lri $WR1,    #0x843e
cw 0x15
call send_back  ; 20813 (0x514d)

lri $AR1,    #0xe3ed
lri $IX1,    #0x0e88
lri $WR1,    #0x8e32
cw 0x15
call send_back  ; 20814 (0x514e)

lri $AR1,    #0x9e43
lri $IX1,    #0xc162
lri $WR1,    #0x1713
cw 0x15
call send_back  ; 20815 (0x514f)

lri $AR1,    #0x4026
lri $IX1,    #0x8edc
lri $WR1,    #0xdc46
cw 0x15
call send_back  ; 20816 (0x5150)

lri $AR1,    #0xa248
lri $IX1,    #0x5954
lri $WR1,    #0xe53b
cw 0x15
call send_back  ; 20817 (0x5151)

lri $AR1,    #0x764e
lri $IX1,    #0x0662
lri $WR1,    #0x1c37
cw 0x15
call send_back  ; 20818 (0x5152)

lri $AR1,    #0x4443
lri $IX1,    #0xed38
lri $WR1,    #0xb9fe
cw 0x15
call send_back  ; 20819 (0x5153)

lri $AR1,    #0x7385
lri $IX1,    #0x321c
lri $WR1,    #0x64cf
cw 0x15
call send_back  ; 20820 (0x5154)

lri $AR1,    #0x6fdb
lri $IX1,    #0xd7cc
lri $WR1,    #0x7cef
cw 0x15
call send_back  ; 20821 (0x5155)

lri $AR1,    #0xcb2d
lri $IX1,    #0x83c8
lri $WR1,    #0xae25
cw 0x15
call send_back  ; 20822 (0x5156)

lri $AR1,    #0x9f8b
lri $IX1,    #0x7362
lri $WR1,    #0x5f55
cw 0x15
call send_back  ; 20823 (0x5157)

lri $AR1,    #0x4cee
lri $IX1,    #0x0ba6
lri $WR1,    #0x5ec4
cw 0x15
call send_back  ; 20824 (0x5158)

lri $AR1,    #0x596d
lri $IX1,    #0xe6d6
lri $WR1,    #0x930c
cw 0x15
call send_back  ; 20825 (0x5159)

lri $AR1,    #0x9a43
lri $IX1,    #0x66aa
lri $WR1,    #0x6657
cw 0x15
call send_back  ; 20826 (0x515a)

lri $AR1,    #0x3f7a
lri $IX1,    #0xc302
lri $WR1,    #0x72f4
cw 0x15
call send_back  ; 20827 (0x515b)

lri $AR1,    #0x437a
lri $IX1,    #0x6934
lri $WR1,    #0x8dcb
cw 0x15
call send_back  ; 20828 (0x515c)

lri $AR1,    #0x7b5b
lri $IX1,    #0x68b6
lri $WR1,    #0x84d4
cw 0x15
call send_back  ; 20829 (0x515d)

lri $AR1,    #0x7443
lri $IX1,    #0xbe46
lri $WR1,    #0x24ff
cw 0x15
call send_back  ; 20830 (0x515e)

lri $AR1,    #0x4da8
lri $IX1,    #0xaf3a
lri $WR1,    #0xbcc9
cw 0x15
call send_back  ; 20831 (0x515f)

lri $AR1,    #0xb7b5
lri $IX1,    #0x3342
lri $WR1,    #0xb5e4
cw 0x15
call send_back  ; 20832 (0x5160)

lri $AR1,    #0x88b9
lri $IX1,    #0xc336
lri $WR1,    #0x6a25
cw 0x15
call send_back  ; 20833 (0x5161)

lri $AR1,    #0xdbd8
lri $IX1,    #0xe81e
lri $WR1,    #0x652a
cw 0x15
call send_back  ; 20834 (0x5162)

lri $AR1,    #0x3ee6
lri $IX1,    #0xb638
lri $WR1,    #0xb5de
cw 0x15
call send_back  ; 20835 (0x5163)

lri $AR1,    #0x7ca8
lri $IX1,    #0x1c1a
lri $WR1,    #0x2865
cw 0x15
call send_back  ; 20836 (0x5164)

lri $AR1,    #0x6c54
lri $IX1,    #0xb6a6
lri $WR1,    #0x1a74
cw 0x15
call send_back  ; 20837 (0x5165)

lri $AR1,    #0x3ea3
lri $IX1,    #0xcefe
lri $WR1,    #0x79b9
cw 0x15
call send_back  ; 20838 (0x5166)

lri $AR1,    #0x643c
lri $IX1,    #0x6834
lri $WR1,    #0xbd56
cw 0x15
call send_back  ; 20839 (0x5167)

lri $AR1,    #0xc0d0
lri $IX1,    #0xeecc
lri $WR1,    #0x30fe
cw 0x15
call send_back  ; 20840 (0x5168)

lri $AR1,    #0x49b1
lri $IX1,    #0x54e0
lri $WR1,    #0x91ce
cw 0x15
call send_back  ; 20841 (0x5169)

lri $AR1,    #0x4e3f
lri $IX1,    #0x49fa
lri $WR1,    #0x2a69
cw 0x15
call send_back  ; 20842 (0x516a)

lri $AR1,    #0x5bea
lri $IX1,    #0xee6a
lri $WR1,    #0xad69
cw 0x15
call send_back  ; 20843 (0x516b)

lri $AR1,    #0x5721
lri $IX1,    #0xfe2e
lri $WR1,    #0xe2b7
cw 0x15
call send_back  ; 20844 (0x516c)

lri $AR1,    #0x5e0a
lri $IX1,    #0x1846
lri $WR1,    #0xb5da
cw 0x15
call send_back  ; 20845 (0x516d)

lri $AR1,    #0xb93f
lri $IX1,    #0x9b6e
lri $WR1,    #0xb0ce
cw 0x15
call send_back  ; 20846 (0x516e)

lri $AR1,    #0x6268
lri $IX1,    #0xb21e
lri $WR1,    #0x5068
cw 0x15
call send_back  ; 20847 (0x516f)

lri $AR1,    #0x600d
lri $IX1,    #0xb3e2
lri $WR1,    #0xc4ee
cw 0x15
call send_back  ; 20848 (0x5170)

lri $AR1,    #0xc156
lri $IX1,    #0x1ac2
lri $WR1,    #0x7ad3
cw 0x15
call send_back  ; 20849 (0x5171)

lri $AR1,    #0xc42c
lri $IX1,    #0x1000
lri $WR1,    #0x9551
cw 0x15
call send_back  ; 20850 (0x5172)

lri $AR1,    #0x8368
lri $IX1,    #0x23a2
lri $WR1,    #0x35be
cw 0x15
call send_back  ; 20851 (0x5173)

lri $AR1,    #0xd278
lri $IX1,    #0x3f4e
lri $WR1,    #0x605a
cw 0x15
call send_back  ; 20852 (0x5174)

lri $AR1,    #0x873f
lri $IX1,    #0x6cc8
lri $WR1,    #0xe891
cw 0x15
call send_back  ; 20853 (0x5175)

lri $AR1,    #0xc288
lri $IX1,    #0xbd96
lri $WR1,    #0x6c37
cw 0x15
call send_back  ; 20854 (0x5176)

lri $AR1,    #0xaad0
lri $IX1,    #0xa14a
lri $WR1,    #0x66e9
cw 0x15
call send_back  ; 20855 (0x5177)

lri $AR1,    #0x64c0
lri $IX1,    #0x64a2
lri $WR1,    #0xac0b
cw 0x15
call send_back  ; 20856 (0x5178)

lri $AR1,    #0xc02a
lri $IX1,    #0x8c4e
lri $WR1,    #0x7f7e
cw 0x15
call send_back  ; 20857 (0x5179)

lri $AR1,    #0x6fcf
lri $IX1,    #0x626a
lri $WR1,    #0x729a
cw 0x15
call send_back  ; 20858 (0x517a)

lri $AR1,    #0x95c1
lri $IX1,    #0x7e72
lri $WR1,    #0x7c85
cw 0x15
call send_back  ; 20859 (0x517b)

lri $AR1,    #0x55bc
lri $IX1,    #0x6bd6
lri $WR1,    #0x5a69
cw 0x15
call send_back  ; 20860 (0x517c)

lri $AR1,    #0x5a33
lri $IX1,    #0xfbd6
lri $WR1,    #0x7da1
cw 0x15
call send_back  ; 20861 (0x517d)

lri $AR1,    #0xa871
lri $IX1,    #0x63f4
lri $WR1,    #0x8b6e
cw 0x15
call send_back  ; 20862 (0x517e)

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