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

lri $AR1,    #0x76be
lri $IX1,    #0x430a
lri $WR1,    #0x9a8b
cw 0x15
call send_back  ; 38230 (0x9556)

lri $AR1,    #0xb08e
lri $IX1,    #0x1aa6
lri $WR1,    #0x1ac2
cw 0x15
call send_back  ; 38231 (0x9557)

lri $AR1,    #0x5227
lri $IX1,    #0x2e0a
lri $WR1,    #0x8a8d
cw 0x15
call send_back  ; 38232 (0x9558)

lri $AR1,    #0x3eff
lri $IX1,    #0x8f14
lri $WR1,    #0xf764
cw 0x15
call send_back  ; 38233 (0x9559)

lri $AR1,    #0x32b2
lri $IX1,    #0x461e
lri $WR1,    #0x7f53
cw 0x15
call send_back  ; 38234 (0x955a)

lri $AR1,    #0x64ab
lri $IX1,    #0x08a8
lri $WR1,    #0x7587
cw 0x15
call send_back  ; 38235 (0x955b)

lri $AR1,    #0x4fb1
lri $IX1,    #0x00a8
lri $WR1,    #0xa4ca
cw 0x15
call send_back  ; 38236 (0x955c)

lri $AR1,    #0xda3b
lri $IX1,    #0x6136
lri $WR1,    #0x85f2
cw 0x15
call send_back  ; 38237 (0x955d)

lri $AR1,    #0x8bd0
lri $IX1,    #0x99ac
lri $WR1,    #0x7dd1
cw 0x15
call send_back  ; 38238 (0x955e)

lri $AR1,    #0x7f47
lri $IX1,    #0x5902
lri $WR1,    #0x57c2
cw 0x15
call send_back  ; 38239 (0x955f)

lri $AR1,    #0xb92a
lri $IX1,    #0x5f88
lri $WR1,    #0x9758
cw 0x15
call send_back  ; 38240 (0x9560)

lri $AR1,    #0x5527
lri $IX1,    #0x75b6
lri $WR1,    #0x4549
cw 0x15
call send_back  ; 38241 (0x9561)

lri $AR1,    #0x7cc3
lri $IX1,    #0xe336
lri $WR1,    #0xe911
cw 0x15
call send_back  ; 38242 (0x9562)

lri $AR1,    #0x2d33
lri $IX1,    #0x91e2
lri $WR1,    #0x527e
cw 0x15
call send_back  ; 38243 (0x9563)

lri $AR1,    #0x599a
lri $IX1,    #0xc4f2
lri $WR1,    #0x8b90
cw 0x15
call send_back  ; 38244 (0x9564)

lri $AR1,    #0xd290
lri $IX1,    #0x14e8
lri $WR1,    #0x24de
cw 0x15
call send_back  ; 38245 (0x9565)

lri $AR1,    #0x6b2d
lri $IX1,    #0x5588
lri $WR1,    #0x6bf7
cw 0x15
call send_back  ; 38246 (0x9566)

lri $AR1,    #0x7777
lri $IX1,    #0x4b80
lri $WR1,    #0x5cdb
cw 0x15
call send_back  ; 38247 (0x9567)

lri $AR1,    #0x577f
lri $IX1,    #0xc3f6
lri $WR1,    #0xa51f
cw 0x15
call send_back  ; 38248 (0x9568)

lri $AR1,    #0x2dfb
lri $IX1,    #0xd8a6
lri $WR1,    #0xb8bf
cw 0x15
call send_back  ; 38249 (0x9569)

lri $AR1,    #0x80a7
lri $IX1,    #0x0fb6
lri $WR1,    #0xa63d
cw 0x15
call send_back  ; 38250 (0x956a)

lri $AR1,    #0xb453
lri $IX1,    #0xb718
lri $WR1,    #0xe915
cw 0x15
call send_back  ; 38251 (0x956b)

lri $AR1,    #0x7dd0
lri $IX1,    #0x776c
lri $WR1,    #0x4f0e
cw 0x15
call send_back  ; 38252 (0x956c)

lri $AR1,    #0xdca2
lri $IX1,    #0xc34e
lri $WR1,    #0x7e90
cw 0x15
call send_back  ; 38253 (0x956d)

lri $AR1,    #0x63c4
lri $IX1,    #0x9c1c
lri $WR1,    #0xa977
cw 0x15
call send_back  ; 38254 (0x956e)

lri $AR1,    #0xd840
lri $IX1,    #0x45f0
lri $WR1,    #0x597a
cw 0x15
call send_back  ; 38255 (0x956f)

lri $AR1,    #0xe4f9
lri $IX1,    #0x10f0
lri $WR1,    #0x68ba
cw 0x15
call send_back  ; 38256 (0x9570)

lri $AR1,    #0xae7b
lri $IX1,    #0x76cc
lri $WR1,    #0x8290
cw 0x15
call send_back  ; 38257 (0x9571)

lri $AR1,    #0x510f
lri $IX1,    #0x8f60
lri $WR1,    #0x5611
cw 0x15
call send_back  ; 38258 (0x9572)

lri $AR1,    #0xa6ed
lri $IX1,    #0x7056
lri $WR1,    #0x5575
cw 0x15
call send_back  ; 38259 (0x9573)

lri $AR1,    #0x7be2
lri $IX1,    #0x87ee
lri $WR1,    #0x52dc
cw 0x15
call send_back  ; 38260 (0x9574)

lri $AR1,    #0x6f33
lri $IX1,    #0x8b92
lri $WR1,    #0xe492
cw 0x15
call send_back  ; 38261 (0x9575)

lri $AR1,    #0x9409
lri $IX1,    #0x4768
lri $WR1,    #0x984c
cw 0x15
call send_back  ; 38262 (0x9576)

lri $AR1,    #0x4443
lri $IX1,    #0x9c9e
lri $WR1,    #0x7e87
cw 0x15
call send_back  ; 38263 (0x9577)

lri $AR1,    #0x70e9
lri $IX1,    #0x6894
lri $WR1,    #0xdc85
cw 0x15
call send_back  ; 38264 (0x9578)

lri $AR1,    #0xe72c
lri $IX1,    #0x079a
lri $WR1,    #0x3d06
cw 0x15
call send_back  ; 38265 (0x9579)

lri $AR1,    #0x602e
lri $IX1,    #0xca6e
lri $WR1,    #0x8546
cw 0x15
call send_back  ; 38266 (0x957a)

lri $AR1,    #0xa562
lri $IX1,    #0x262a
lri $WR1,    #0x8548
cw 0x15
call send_back  ; 38267 (0x957b)

lri $AR1,    #0x7ae3
lri $IX1,    #0xc2dc
lri $WR1,    #0x9018
cw 0x15
call send_back  ; 38268 (0x957c)

lri $AR1,    #0x3c83
lri $IX1,    #0xf566
lri $WR1,    #0xe1f0
cw 0x15
call send_back  ; 38269 (0x957d)

lri $AR1,    #0x89ef
lri $IX1,    #0xc5ea
lri $WR1,    #0x57f0
cw 0x15
call send_back  ; 38270 (0x957e)

lri $AR1,    #0xe1a3
lri $IX1,    #0x845c
lri $WR1,    #0x1e6c
cw 0x15
call send_back  ; 38271 (0x957f)

lri $AR1,    #0x8220
lri $IX1,    #0x3982
lri $WR1,    #0xe057
cw 0x15
call send_back  ; 38272 (0x9580)

lri $AR1,    #0xb40d
lri $IX1,    #0x1afe
lri $WR1,    #0x8beb
cw 0x15
call send_back  ; 38273 (0x9581)

lri $AR1,    #0x9fb5
lri $IX1,    #0xada0
lri $WR1,    #0x4e16
cw 0x15
call send_back  ; 38274 (0x9582)

lri $AR1,    #0xe396
lri $IX1,    #0x91a2
lri $WR1,    #0x57ba
cw 0x15
call send_back  ; 38275 (0x9583)

lri $AR1,    #0xa965
lri $IX1,    #0x3110
lri $WR1,    #0xb559
cw 0x15
call send_back  ; 38276 (0x9584)

lri $AR1,    #0xd257
lri $IX1,    #0xd0f4
lri $WR1,    #0x5b30
cw 0x15
call send_back  ; 38277 (0x9585)

lri $AR1,    #0x62e5
lri $IX1,    #0xfa9c
lri $WR1,    #0x655c
cw 0x15
call send_back  ; 38278 (0x9586)

lri $AR1,    #0x7a02
lri $IX1,    #0xf274
lri $WR1,    #0x4d15
cw 0x15
call send_back  ; 38279 (0x9587)

lri $AR1,    #0x36f1
lri $IX1,    #0x1ed4
lri $WR1,    #0x598d
cw 0x15
call send_back  ; 38280 (0x9588)

lri $AR1,    #0x5ca3
lri $IX1,    #0xf964
lri $WR1,    #0xbc89
cw 0x15
call send_back  ; 38281 (0x9589)

lri $AR1,    #0xa0d7
lri $IX1,    #0x8a34
lri $WR1,    #0x783c
cw 0x15
call send_back  ; 38282 (0x958a)

lri $AR1,    #0x48e8
lri $IX1,    #0x9c4e
lri $WR1,    #0x3d74
cw 0x15
call send_back  ; 38283 (0x958b)

lri $AR1,    #0x5d7a
lri $IX1,    #0xf7e8
lri $WR1,    #0xc6ba
cw 0x15
call send_back  ; 38284 (0x958c)

lri $AR1,    #0xb9ed
lri $IX1,    #0x16ee
lri $WR1,    #0x2e5e
cw 0x15
call send_back  ; 38285 (0x958d)

lri $AR1,    #0x6bde
lri $IX1,    #0x1d02
lri $WR1,    #0xbb09
cw 0x15
call send_back  ; 38286 (0x958e)

lri $AR1,    #0x9a81
lri $IX1,    #0x7cb6
lri $WR1,    #0x7fe9
cw 0x15
call send_back  ; 38287 (0x958f)

lri $AR1,    #0xe52e
lri $IX1,    #0xc02c
lri $WR1,    #0x52ff
cw 0x15
call send_back  ; 38288 (0x9590)

lri $AR1,    #0xb3ed
lri $IX1,    #0x83bc
lri $WR1,    #0x65ab
cw 0x15
call send_back  ; 38289 (0x9591)

lri $AR1,    #0xb445
lri $IX1,    #0xf5e8
lri $WR1,    #0x98f0
cw 0x15
call send_back  ; 38290 (0x9592)

lri $AR1,    #0x903d
lri $IX1,    #0x403a
lri $WR1,    #0x589e
cw 0x15
call send_back  ; 38291 (0x9593)

lri $AR1,    #0x34b4
lri $IX1,    #0x3944
lri $WR1,    #0x3dd5
cw 0x15
call send_back  ; 38292 (0x9594)

lri $AR1,    #0x980a
lri $IX1,    #0xc880
lri $WR1,    #0x5305
cw 0x15
call send_back  ; 38293 (0x9595)

lri $AR1,    #0x414d
lri $IX1,    #0x9914
lri $WR1,    #0x70f3
cw 0x15
call send_back  ; 38294 (0x9596)

lri $AR1,    #0x33c3
lri $IX1,    #0x396e
lri $WR1,    #0xadd4
cw 0x15
call send_back  ; 38295 (0x9597)

lri $AR1,    #0xba2a
lri $IX1,    #0xb1a4
lri $WR1,    #0x9d09
cw 0x15
call send_back  ; 38296 (0x9598)

lri $AR1,    #0x386d
lri $IX1,    #0x1372
lri $WR1,    #0x8799
cw 0x15
call send_back  ; 38297 (0x9599)

lri $AR1,    #0x8a32
lri $IX1,    #0xaafa
lri $WR1,    #0x32ee
cw 0x15
call send_back  ; 38298 (0x959a)

lri $AR1,    #0x67f5
lri $IX1,    #0x67f4
lri $WR1,    #0x9ce4
cw 0x15
call send_back  ; 38299 (0x959b)

lri $AR1,    #0x3425
lri $IX1,    #0xf382
lri $WR1,    #0xa9c3
cw 0x15
call send_back  ; 38300 (0x959c)

lri $AR1,    #0x4cf1
lri $IX1,    #0xcf56
lri $WR1,    #0x7a2e
cw 0x15
call send_back  ; 38301 (0x959d)

lri $AR1,    #0xef24
lri $IX1,    #0xef54
lri $WR1,    #0x5c94
cw 0x15
call send_back  ; 38302 (0x959e)

lri $AR1,    #0xb9ea
lri $IX1,    #0x9f6e
lri $WR1,    #0x6f40
cw 0x15
call send_back  ; 38303 (0x959f)

lri $AR1,    #0xdab5
lri $IX1,    #0x53de
lri $WR1,    #0x6d83
cw 0x15
call send_back  ; 38304 (0x95a0)

lri $AR1,    #0x3428
lri $IX1,    #0x5a76
lri $WR1,    #0x2c1f
cw 0x15
call send_back  ; 38305 (0x95a1)

lri $AR1,    #0x524f
lri $IX1,    #0x6826
lri $WR1,    #0x5670
cw 0x15
call send_back  ; 38306 (0x95a2)

lri $AR1,    #0x11f2
lri $IX1,    #0xce8a
lri $WR1,    #0x6f70
cw 0x15
call send_back  ; 38307 (0x95a3)

lri $AR1,    #0xe85f
lri $IX1,    #0xe180
lri $WR1,    #0x4f20
cw 0x15
call send_back  ; 38308 (0x95a4)

lri $AR1,    #0x1461
lri $IX1,    #0xdda2
lri $WR1,    #0x2e63
cw 0x15
call send_back  ; 38309 (0x95a5)

lri $AR1,    #0x90d4
lri $IX1,    #0x94be
lri $WR1,    #0xb0e5
cw 0x15
call send_back  ; 38310 (0x95a6)

lri $AR1,    #0x4498
lri $IX1,    #0x6600
lri $WR1,    #0x9e16
cw 0x15
call send_back  ; 38311 (0x95a7)

lri $AR1,    #0x8322
lri $IX1,    #0xb3f6
lri $WR1,    #0x7fc8
cw 0x15
call send_back  ; 38312 (0x95a8)

lri $AR1,    #0x5c9e
lri $IX1,    #0x4334
lri $WR1,    #0x8686
cw 0x15
call send_back  ; 38313 (0x95a9)

lri $AR1,    #0x5bce
lri $IX1,    #0xd0ae
lri $WR1,    #0xc12f
cw 0x15
call send_back  ; 38314 (0x95aa)

lri $AR1,    #0x8398
lri $IX1,    #0xdf8c
lri $WR1,    #0xc6ec
cw 0x15
call send_back  ; 38315 (0x95ab)

lri $AR1,    #0x8575
lri $IX1,    #0x5a9a
lri $WR1,    #0xc804
cw 0x15
call send_back  ; 38316 (0x95ac)

lri $AR1,    #0xa59c
lri $IX1,    #0x4e0e
lri $WR1,    #0x73ae
cw 0x15
call send_back  ; 38317 (0x95ad)

lri $AR1,    #0x7150
lri $IX1,    #0xd2d2
lri $WR1,    #0x9e60
cw 0x15
call send_back  ; 38318 (0x95ae)

lri $AR1,    #0xaeee
lri $IX1,    #0x64f4
lri $WR1,    #0x75c2
cw 0x15
call send_back  ; 38319 (0x95af)

lri $AR1,    #0xa743
lri $IX1,    #0x6b8a
lri $WR1,    #0x34b2
cw 0x15
call send_back  ; 38320 (0x95b0)

lri $AR1,    #0x72d0
lri $IX1,    #0xd09c
lri $WR1,    #0x9397
cw 0x15
call send_back  ; 38321 (0x95b1)

lri $AR1,    #0x3562
lri $IX1,    #0x4c4e
lri $WR1,    #0x7e65
cw 0x15
call send_back  ; 38322 (0x95b2)

lri $AR1,    #0x85c8
lri $IX1,    #0x9706
lri $WR1,    #0xcb81
cw 0x15
call send_back  ; 38323 (0x95b3)

lri $AR1,    #0x86f6
lri $IX1,    #0x32b0
lri $WR1,    #0x240b
cw 0x15
call send_back  ; 38324 (0x95b4)

lri $AR1,    #0x5366
lri $IX1,    #0x03cc
lri $WR1,    #0x6798
cw 0x15
call send_back  ; 38325 (0x95b5)

lri $AR1,    #0xab08
lri $IX1,    #0xa78c
lri $WR1,    #0x7300
cw 0x15
call send_back  ; 38326 (0x95b6)

lri $AR1,    #0x378f
lri $IX1,    #0x7498
lri $WR1,    #0xb32b
cw 0x15
call send_back  ; 38327 (0x95b7)

lri $AR1,    #0x926b
lri $IX1,    #0x80b8
lri $WR1,    #0xb29b
cw 0x15
call send_back  ; 38328 (0x95b8)

lri $AR1,    #0x6342
lri $IX1,    #0xfe1a
lri $WR1,    #0x399e
cw 0x15
call send_back  ; 38329 (0x95b9)

lri $AR1,    #0x4d3d
lri $IX1,    #0xe742
lri $WR1,    #0x86cc
cw 0x15
call send_back  ; 38330 (0x95ba)

lri $AR1,    #0x54e3
lri $IX1,    #0x6186
lri $WR1,    #0xf6da
cw 0x15
call send_back  ; 38331 (0x95bb)

lri $AR1,    #0x4ff7
lri $IX1,    #0x9a1e
lri $WR1,    #0x084c
cw 0x15
call send_back  ; 38332 (0x95bc)

lri $AR1,    #0x2c01
lri $IX1,    #0x4a88
lri $WR1,    #0x612d
cw 0x15
call send_back  ; 38333 (0x95bd)

lri $AR1,    #0x47f1
lri $IX1,    #0xa56a
lri $WR1,    #0x3a3e
cw 0x15
call send_back  ; 38334 (0x95be)

lri $AR1,    #0xa09d
lri $IX1,    #0x4db8
lri $WR1,    #0xb4be
cw 0x15
call send_back  ; 38335 (0x95bf)

lri $AR1,    #0x876a
lri $IX1,    #0x4620
lri $WR1,    #0x855d
cw 0x15
call send_back  ; 38336 (0x95c0)

lri $AR1,    #0x65f5
lri $IX1,    #0x9f9e
lri $WR1,    #0x6864
cw 0x15
call send_back  ; 38337 (0x95c1)

lri $AR1,    #0x9110
lri $IX1,    #0x324a
lri $WR1,    #0xe09f
cw 0x15
call send_back  ; 38338 (0x95c2)

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