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

lri $AR1,    #0x75bd
lri $IX1,    #0xda22
lri $WR1,    #0x6463
cw 0xd
call send_back  ; 18133 (0x46d5)

lri $AR1,    #0x9872
lri $IX1,    #0xbd46
lri $WR1,    #0xaad8
cw 0xd
call send_back  ; 18134 (0x46d6)

lri $AR1,    #0xa6d5
lri $IX1,    #0xcb78
lri $WR1,    #0x9c40
cw 0xd
call send_back  ; 18135 (0x46d7)

lri $AR1,    #0x9024
lri $IX1,    #0x1114
lri $WR1,    #0x9ab2
cw 0xd
call send_back  ; 18136 (0x46d8)

lri $AR1,    #0xb316
lri $IX1,    #0xb998
lri $WR1,    #0x637b
cw 0xd
call send_back  ; 18137 (0x46d9)

lri $AR1,    #0xafee
lri $IX1,    #0x6e72
lri $WR1,    #0x275b
cw 0xd
call send_back  ; 18138 (0x46da)

lri $AR1,    #0xb518
lri $IX1,    #0x9148
lri $WR1,    #0x5c15
cw 0xd
call send_back  ; 18139 (0x46db)

lri $AR1,    #0x87c0
lri $IX1,    #0xbda2
lri $WR1,    #0xa3e6
cw 0xd
call send_back  ; 18140 (0x46dc)

lri $AR1,    #0xc523
lri $IX1,    #0x1552
lri $WR1,    #0x60f7
cw 0xd
call send_back  ; 18141 (0x46dd)

lri $AR1,    #0x48eb
lri $IX1,    #0xc63e
lri $WR1,    #0xc84e
cw 0xd
call send_back  ; 18142 (0x46de)

lri $AR1,    #0x2871
lri $IX1,    #0xd814
lri $WR1,    #0x695b
cw 0xd
call send_back  ; 18143 (0x46df)

lri $AR1,    #0xaa26
lri $IX1,    #0x8386
lri $WR1,    #0x04a5
cw 0xd
call send_back  ; 18144 (0x46e0)

lri $AR1,    #0x6bf8
lri $IX1,    #0xfc84
lri $WR1,    #0x95b4
cw 0xd
call send_back  ; 18145 (0x46e1)

lri $AR1,    #0x6b16
lri $IX1,    #0x9426
lri $WR1,    #0x81bb
cw 0xd
call send_back  ; 18146 (0x46e2)

lri $AR1,    #0x32b3
lri $IX1,    #0x46b4
lri $WR1,    #0x4e19
cw 0xd
call send_back  ; 18147 (0x46e3)

lri $AR1,    #0x7f59
lri $IX1,    #0x0d7a
lri $WR1,    #0x7745
cw 0xd
call send_back  ; 18148 (0x46e4)

lri $AR1,    #0x7f63
lri $IX1,    #0x83de
lri $WR1,    #0x5a28
cw 0xd
call send_back  ; 18149 (0x46e5)

lri $AR1,    #0x690e
lri $IX1,    #0x7a5c
lri $WR1,    #0x7f85
cw 0xd
call send_back  ; 18150 (0x46e6)

lri $AR1,    #0x41e4
lri $IX1,    #0xd1ec
lri $WR1,    #0xda72
cw 0xd
call send_back  ; 18151 (0x46e7)

lri $AR1,    #0x4ada
lri $IX1,    #0x4d6c
lri $WR1,    #0x9074
cw 0xd
call send_back  ; 18152 (0x46e8)

lri $AR1,    #0x6fe7
lri $IX1,    #0xce84
lri $WR1,    #0x8b5f
cw 0xd
call send_back  ; 18153 (0x46e9)

lri $AR1,    #0xb96f
lri $IX1,    #0x8ed0
lri $WR1,    #0x4268
cw 0xd
call send_back  ; 18154 (0x46ea)

lri $AR1,    #0x7145
lri $IX1,    #0x3584
lri $WR1,    #0x399d
cw 0xd
call send_back  ; 18155 (0x46eb)

lri $AR1,    #0x549c
lri $IX1,    #0x0d84
lri $WR1,    #0x8c3b
cw 0xd
call send_back  ; 18156 (0x46ec)

lri $AR1,    #0xa7c1
lri $IX1,    #0xf716
lri $WR1,    #0x4fff
cw 0xd
call send_back  ; 18157 (0x46ed)

lri $AR1,    #0xafcc
lri $IX1,    #0xdc22
lri $WR1,    #0x9cf6
cw 0xd
call send_back  ; 18158 (0x46ee)

lri $AR1,    #0x5a4e
lri $IX1,    #0x4d34
lri $WR1,    #0xe6ec
cw 0xd
call send_back  ; 18159 (0x46ef)

lri $AR1,    #0x9211
lri $IX1,    #0x6124
lri $WR1,    #0x7af8
cw 0xd
call send_back  ; 18160 (0x46f0)

lri $AR1,    #0x4be2
lri $IX1,    #0xd8ac
lri $WR1,    #0xbd45
cw 0xd
call send_back  ; 18161 (0x46f1)

lri $AR1,    #0x95ae
lri $IX1,    #0xc2b2
lri $WR1,    #0x909b
cw 0xd
call send_back  ; 18162 (0x46f2)

lri $AR1,    #0xc5b1
lri $IX1,    #0x4dae
lri $WR1,    #0x82ca
cw 0xd
call send_back  ; 18163 (0x46f3)

lri $AR1,    #0xaf1d
lri $IX1,    #0xf5e4
lri $WR1,    #0x4e62
cw 0xd
call send_back  ; 18164 (0x46f4)

lri $AR1,    #0x5cfb
lri $IX1,    #0xb7d0
lri $WR1,    #0x5c05
cw 0xd
call send_back  ; 18165 (0x46f5)

lri $AR1,    #0xa398
lri $IX1,    #0x3990
lri $WR1,    #0x8a9c
cw 0xd
call send_back  ; 18166 (0x46f6)

lri $AR1,    #0xbc54
lri $IX1,    #0xdd9c
lri $WR1,    #0x87b5
cw 0xd
call send_back  ; 18167 (0x46f7)

lri $AR1,    #0x771f
lri $IX1,    #0x4492
lri $WR1,    #0xc68b
cw 0xd
call send_back  ; 18168 (0x46f8)

lri $AR1,    #0x386e
lri $IX1,    #0xcb8c
lri $WR1,    #0x8daf
cw 0xd
call send_back  ; 18169 (0x46f9)

lri $AR1,    #0x5a03
lri $IX1,    #0xef8e
lri $WR1,    #0x8111
cw 0xd
call send_back  ; 18170 (0x46fa)

lri $AR1,    #0x7859
lri $IX1,    #0x0ea0
lri $WR1,    #0x5f4a
cw 0xd
call send_back  ; 18171 (0x46fb)

lri $AR1,    #0x9ded
lri $IX1,    #0xa23a
lri $WR1,    #0xbed7
cw 0xd
call send_back  ; 18172 (0x46fc)

lri $AR1,    #0x7956
lri $IX1,    #0xa65c
lri $WR1,    #0x5146
cw 0xd
call send_back  ; 18173 (0x46fd)

lri $AR1,    #0x3a63
lri $IX1,    #0x4c2a
lri $WR1,    #0x6fef
cw 0xd
call send_back  ; 18174 (0x46fe)

lri $AR1,    #0x3617
lri $IX1,    #0x3654
lri $WR1,    #0xd738
cw 0xd
call send_back  ; 18175 (0x46ff)

lri $AR1,    #0xe8d5
lri $IX1,    #0x3118
lri $WR1,    #0xdb06
cw 0xd
call send_back  ; 18176 (0x4700)

lri $AR1,    #0xb98a
lri $IX1,    #0x7f36
lri $WR1,    #0x6868
cw 0xd
call send_back  ; 18177 (0x4701)

lri $AR1,    #0x6021
lri $IX1,    #0x50a6
lri $WR1,    #0xb601
cw 0xd
call send_back  ; 18178 (0x4702)

lri $AR1,    #0x651e
lri $IX1,    #0xa74e
lri $WR1,    #0x7648
cw 0xd
call send_back  ; 18179 (0x4703)

lri $AR1,    #0x379d
lri $IX1,    #0xb1a8
lri $WR1,    #0x9430
cw 0xd
call send_back  ; 18180 (0x4704)

lri $AR1,    #0xb293
lri $IX1,    #0x5a8c
lri $WR1,    #0xdc4c
cw 0xd
call send_back  ; 18181 (0x4705)

lri $AR1,    #0xf99f
lri $IX1,    #0x58f2
lri $WR1,    #0xd1ec
cw 0xd
call send_back  ; 18182 (0x4706)

lri $AR1,    #0x3938
lri $IX1,    #0x4a14
lri $WR1,    #0xb15c
cw 0xd
call send_back  ; 18183 (0x4707)

lri $AR1,    #0x6d84
lri $IX1,    #0x3398
lri $WR1,    #0x25c4
cw 0xd
call send_back  ; 18184 (0x4708)

lri $AR1,    #0xbeb9
lri $IX1,    #0x1340
lri $WR1,    #0x62bb
cw 0xd
call send_back  ; 18185 (0x4709)

lri $AR1,    #0xa139
lri $IX1,    #0xbcbc
lri $WR1,    #0x7f28
cw 0xd
call send_back  ; 18186 (0x470a)

lri $AR1,    #0x9b64
lri $IX1,    #0x1628
lri $WR1,    #0x806e
cw 0xd
call send_back  ; 18187 (0x470b)

lri $AR1,    #0xba41
lri $IX1,    #0xa6d2
lri $WR1,    #0xda89
cw 0xd
call send_back  ; 18188 (0x470c)

lri $AR1,    #0xb9f5
lri $IX1,    #0x43b0
lri $WR1,    #0xa31f
cw 0xd
call send_back  ; 18189 (0x470d)

lri $AR1,    #0x1640
lri $IX1,    #0x5068
lri $WR1,    #0xb30a
cw 0xd
call send_back  ; 18190 (0x470e)

lri $AR1,    #0x7ada
lri $IX1,    #0x6b08
lri $WR1,    #0x538d
cw 0xd
call send_back  ; 18191 (0x470f)

lri $AR1,    #0xc300
lri $IX1,    #0x4c74
lri $WR1,    #0xb99f
cw 0xd
call send_back  ; 18192 (0x4710)

lri $AR1,    #0x42fd
lri $IX1,    #0x0eb6
lri $WR1,    #0x5b72
cw 0xd
call send_back  ; 18193 (0x4711)

lri $AR1,    #0xd5fe
lri $IX1,    #0xc612
lri $WR1,    #0x79bd
cw 0xd
call send_back  ; 18194 (0x4712)

lri $AR1,    #0x7e0b
lri $IX1,    #0x4924
lri $WR1,    #0x67e4
cw 0xd
call send_back  ; 18195 (0x4713)

lri $AR1,    #0xab69
lri $IX1,    #0x07d8
lri $WR1,    #0x937d
cw 0xd
call send_back  ; 18196 (0x4714)

lri $AR1,    #0x5c3d
lri $IX1,    #0xc89e
lri $WR1,    #0xe549
cw 0xd
call send_back  ; 18197 (0x4715)

lri $AR1,    #0x94b5
lri $IX1,    #0xee90
lri $WR1,    #0x3345
cw 0xd
call send_back  ; 18198 (0x4716)

lri $AR1,    #0x939f
lri $IX1,    #0x6ae4
lri $WR1,    #0x7cb5
cw 0xd
call send_back  ; 18199 (0x4717)

lri $AR1,    #0x7e9a
lri $IX1,    #0x8f8c
lri $WR1,    #0x6ef1
cw 0xd
call send_back  ; 18200 (0x4718)

lri $AR1,    #0x6cd9
lri $IX1,    #0x802e
lri $WR1,    #0x9ad5
cw 0xd
call send_back  ; 18201 (0x4719)

lri $AR1,    #0x96a1
lri $IX1,    #0xda6c
lri $WR1,    #0x307b
cw 0xd
call send_back  ; 18202 (0x471a)

lri $AR1,    #0x6376
lri $IX1,    #0x3db0
lri $WR1,    #0x6857
cw 0xd
call send_back  ; 18203 (0x471b)

lri $AR1,    #0x7829
lri $IX1,    #0x7e5c
lri $WR1,    #0x5624
cw 0xd
call send_back  ; 18204 (0x471c)

lri $AR1,    #0xa1ac
lri $IX1,    #0x67a6
lri $WR1,    #0x9bd7
cw 0xd
call send_back  ; 18205 (0x471d)

lri $AR1,    #0x68f3
lri $IX1,    #0xdaea
lri $WR1,    #0xb016
cw 0xd
call send_back  ; 18206 (0x471e)

lri $AR1,    #0x9fa8
lri $IX1,    #0xbadc
lri $WR1,    #0x8d3d
cw 0xd
call send_back  ; 18207 (0x471f)

lri $AR1,    #0x2d24
lri $IX1,    #0x4446
lri $WR1,    #0x8394
cw 0xd
call send_back  ; 18208 (0x4720)

lri $AR1,    #0xae4e
lri $IX1,    #0x1dba
lri $WR1,    #0x72ae
cw 0xd
call send_back  ; 18209 (0x4721)

lri $AR1,    #0x7ad4
lri $IX1,    #0x6308
lri $WR1,    #0xbb9e
cw 0xd
call send_back  ; 18210 (0x4722)

lri $AR1,    #0xb586
lri $IX1,    #0x20be
lri $WR1,    #0x2ef0
cw 0xd
call send_back  ; 18211 (0x4723)

lri $AR1,    #0x9512
lri $IX1,    #0xf782
lri $WR1,    #0x6f19
cw 0xd
call send_back  ; 18212 (0x4724)

lri $AR1,    #0x6e07
lri $IX1,    #0xd698
lri $WR1,    #0x9950
cw 0xd
call send_back  ; 18213 (0x4725)

lri $AR1,    #0x9669
lri $IX1,    #0xc87a
lri $WR1,    #0x6477
cw 0xd
call send_back  ; 18214 (0x4726)

lri $AR1,    #0x5e98
lri $IX1,    #0x8ba0
lri $WR1,    #0x2710
cw 0xd
call send_back  ; 18215 (0x4727)

lri $AR1,    #0x72ef
lri $IX1,    #0x0580
lri $WR1,    #0x3ae1
cw 0xd
call send_back  ; 18216 (0x4728)

lri $AR1,    #0xe4de
lri $IX1,    #0x64ea
lri $WR1,    #0x5e4a
cw 0xd
call send_back  ; 18217 (0x4729)

lri $AR1,    #0xb9ca
lri $IX1,    #0xe4ac
lri $WR1,    #0x60dd
cw 0xd
call send_back  ; 18218 (0x472a)

lri $AR1,    #0x919f
lri $IX1,    #0x6ec4
lri $WR1,    #0x7a58
cw 0xd
call send_back  ; 18219 (0x472b)

lri $AR1,    #0x9e35
lri $IX1,    #0xc3ea
lri $WR1,    #0x8076
cw 0xd
call send_back  ; 18220 (0x472c)

lri $AR1,    #0xa08e
lri $IX1,    #0x22ca
lri $WR1,    #0xa9c0
cw 0xd
call send_back  ; 18221 (0x472d)

lri $AR1,    #0xd00b
lri $IX1,    #0x95c2
lri $WR1,    #0x88e3
cw 0xd
call send_back  ; 18222 (0x472e)

lri $AR1,    #0xd391
lri $IX1,    #0xed64
lri $WR1,    #0x4d98
cw 0xd
call send_back  ; 18223 (0x472f)

lri $AR1,    #0xabcf
lri $IX1,    #0xe19e
lri $WR1,    #0xfdb4
cw 0xd
call send_back  ; 18224 (0x4730)

lri $AR1,    #0x798b
lri $IX1,    #0xbad0
lri $WR1,    #0x2270
cw 0xd
call send_back  ; 18225 (0x4731)

lri $AR1,    #0x4a35
lri $IX1,    #0x1f98
lri $WR1,    #0xb373
cw 0xd
call send_back  ; 18226 (0x4732)

lri $AR1,    #0x68a1
lri $IX1,    #0x13b0
lri $WR1,    #0xbab9
cw 0xd
call send_back  ; 18227 (0x4733)

lri $AR1,    #0x7726
lri $IX1,    #0xb7b6
lri $WR1,    #0xa1d4
cw 0xd
call send_back  ; 18228 (0x4734)

lri $AR1,    #0x3402
lri $IX1,    #0xd10c
lri $WR1,    #0xb2af
cw 0xd
call send_back  ; 18229 (0x4735)

lri $AR1,    #0x984a
lri $IX1,    #0x6cc2
lri $WR1,    #0xf353
cw 0xd
call send_back  ; 18230 (0x4736)

lri $AR1,    #0x6534
lri $IX1,    #0xefd6
lri $WR1,    #0x85be
cw 0xd
call send_back  ; 18231 (0x4737)

lri $AR1,    #0x8b15
lri $IX1,    #0x7a82
lri $WR1,    #0x7a65
cw 0xd
call send_back  ; 18232 (0x4738)

lri $AR1,    #0x80d8
lri $IX1,    #0x8c00
lri $WR1,    #0x6d6b
cw 0xd
call send_back  ; 18233 (0x4739)

lri $AR1,    #0x8246
lri $IX1,    #0x2f8c
lri $WR1,    #0xb41c
cw 0xd
call send_back  ; 18234 (0x473a)

lri $AR1,    #0x9eee
lri $IX1,    #0x8af6
lri $WR1,    #0xb1be
cw 0xd
call send_back  ; 18235 (0x473b)

lri $AR1,    #0x6af5
lri $IX1,    #0x4a8a
lri $WR1,    #0x804f
cw 0xd
call send_back  ; 18236 (0x473c)

lri $AR1,    #0x5ea7
lri $IX1,    #0xfdae
lri $WR1,    #0x5329
cw 0xd
call send_back  ; 18237 (0x473d)

lri $AR1,    #0x611a
lri $IX1,    #0xe2fe
lri $WR1,    #0xb741
cw 0xd
call send_back  ; 18238 (0x473e)

lri $AR1,    #0x7da5
lri $IX1,    #0xc22c
lri $WR1,    #0x75ed
cw 0xd
call send_back  ; 18239 (0x473f)

lri $AR1,    #0x3b92
lri $IX1,    #0x258e
lri $WR1,    #0x44d0
cw 0xd
call send_back  ; 18240 (0x4740)

lri $AR1,    #0x5ac6
lri $IX1,    #0x6c8c
lri $WR1,    #0xf706
cw 0xd
call send_back  ; 18241 (0x4741)

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