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

lri $AR1,    #0x41c4
lri $IX1,    #0xf60a
lri $WR1,    #0x7f47
cw 0xd
call send_back  ; 22283 (0x570b)

lri $AR1,    #0xb057
lri $IX1,    #0x501a
lri $WR1,    #0xb930
cw 0xd
call send_back  ; 22284 (0x570c)

lri $AR1,    #0x7d51
lri $IX1,    #0xc06e
lri $WR1,    #0x6364
cw 0xd
call send_back  ; 22285 (0x570d)

lri $AR1,    #0xb5f2
lri $IX1,    #0xc82c
lri $WR1,    #0x7e3d
cw 0xd
call send_back  ; 22286 (0x570e)

lri $AR1,    #0x5b72
lri $IX1,    #0x06e2
lri $WR1,    #0x4e7f
cw 0xd
call send_back  ; 22287 (0x570f)

lri $AR1,    #0x428f
lri $IX1,    #0x7af4
lri $WR1,    #0xb89f
cw 0xd
call send_back  ; 22288 (0x5710)

lri $AR1,    #0xbd11
lri $IX1,    #0x27ec
lri $WR1,    #0x764e
cw 0xd
call send_back  ; 22289 (0x5711)

lri $AR1,    #0x87a8
lri $IX1,    #0x0f8e
lri $WR1,    #0x7fc9
cw 0xd
call send_back  ; 22290 (0x5712)

lri $AR1,    #0xc9dc
lri $IX1,    #0x59f6
lri $WR1,    #0xb3ee
cw 0xd
call send_back  ; 22291 (0x5713)

lri $AR1,    #0xbd70
lri $IX1,    #0x8c90
lri $WR1,    #0x3fd4
cw 0xd
call send_back  ; 22292 (0x5714)

lri $AR1,    #0x2e09
lri $IX1,    #0xa74c
lri $WR1,    #0x5fbf
cw 0xd
call send_back  ; 22293 (0x5715)

lri $AR1,    #0xd158
lri $IX1,    #0xcac4
lri $WR1,    #0x3128
cw 0xd
call send_back  ; 22294 (0x5716)

lri $AR1,    #0x5ba7
lri $IX1,    #0x89b0
lri $WR1,    #0xced6
cw 0xd
call send_back  ; 22295 (0x5717)

lri $AR1,    #0x8c18
lri $IX1,    #0x1b7c
lri $WR1,    #0xb5a0
cw 0xd
call send_back  ; 22296 (0x5718)

lri $AR1,    #0x975d
lri $IX1,    #0x2d54
lri $WR1,    #0xd9e1
cw 0xd
call send_back  ; 22297 (0x5719)

lri $AR1,    #0x373b
lri $IX1,    #0xea58
lri $WR1,    #0xc337
cw 0xd
call send_back  ; 22298 (0x571a)

lri $AR1,    #0x98b6
lri $IX1,    #0xe372
lri $WR1,    #0x5591
cw 0xd
call send_back  ; 22299 (0x571b)

lri $AR1,    #0xca1f
lri $IX1,    #0xa284
lri $WR1,    #0x842b
cw 0xd
call send_back  ; 22300 (0x571c)

lri $AR1,    #0x85e9
lri $IX1,    #0xcc44
lri $WR1,    #0x647d
cw 0xd
call send_back  ; 22301 (0x571d)

lri $AR1,    #0xa684
lri $IX1,    #0x9f8e
lri $WR1,    #0xd4a9
cw 0xd
call send_back  ; 22302 (0x571e)

lri $AR1,    #0x9321
lri $IX1,    #0x4096
lri $WR1,    #0x8a8e
cw 0xd
call send_back  ; 22303 (0x571f)

lri $AR1,    #0xec92
lri $IX1,    #0x71a6
lri $WR1,    #0x45f3
cw 0xd
call send_back  ; 22304 (0x5720)

lri $AR1,    #0x8d42
lri $IX1,    #0x02d0
lri $WR1,    #0x69eb
cw 0xd
call send_back  ; 22305 (0x5721)

lri $AR1,    #0x6e5f
lri $IX1,    #0x3d64
lri $WR1,    #0x4f09
cw 0xd
call send_back  ; 22306 (0x5722)

lri $AR1,    #0x9837
lri $IX1,    #0xbf72
lri $WR1,    #0x9159
cw 0xd
call send_back  ; 22307 (0x5723)

lri $AR1,    #0x4af8
lri $IX1,    #0x7f1a
lri $WR1,    #0xd2d0
cw 0xd
call send_back  ; 22308 (0x5724)

lri $AR1,    #0xe8b3
lri $IX1,    #0xe526
lri $WR1,    #0x4425
cw 0xd
call send_back  ; 22309 (0x5725)

lri $AR1,    #0x38eb
lri $IX1,    #0xf98e
lri $WR1,    #0x23bb
cw 0xd
call send_back  ; 22310 (0x5726)

lri $AR1,    #0x4181
lri $IX1,    #0x5c4a
lri $WR1,    #0xa391
cw 0xd
call send_back  ; 22311 (0x5727)

lri $AR1,    #0x884e
lri $IX1,    #0x1850
lri $WR1,    #0xacf1
cw 0xd
call send_back  ; 22312 (0x5728)

lri $AR1,    #0x7c42
lri $IX1,    #0x25f0
lri $WR1,    #0xa1b7
cw 0xd
call send_back  ; 22313 (0x5729)

lri $AR1,    #0x6445
lri $IX1,    #0x8d78
lri $WR1,    #0x68f9
cw 0xd
call send_back  ; 22314 (0x572a)

lri $AR1,    #0xe5be
lri $IX1,    #0x6a66
lri $WR1,    #0xa5f1
cw 0xd
call send_back  ; 22315 (0x572b)

lri $AR1,    #0xdc0b
lri $IX1,    #0x72f2
lri $WR1,    #0xcddd
cw 0xd
call send_back  ; 22316 (0x572c)

lri $AR1,    #0xb5aa
lri $IX1,    #0xff48
lri $WR1,    #0xcac5
cw 0xd
call send_back  ; 22317 (0x572d)

lri $AR1,    #0xbb7d
lri $IX1,    #0xb746
lri $WR1,    #0x56d6
cw 0xd
call send_back  ; 22318 (0x572e)

lri $AR1,    #0x69e9
lri $IX1,    #0xecfe
lri $WR1,    #0x9d49
cw 0xd
call send_back  ; 22319 (0x572f)

lri $AR1,    #0xbb1d
lri $IX1,    #0x1dde
lri $WR1,    #0xd373
cw 0xd
call send_back  ; 22320 (0x5730)

lri $AR1,    #0x4d5f
lri $IX1,    #0xfbc6
lri $WR1,    #0xc60e
cw 0xd
call send_back  ; 22321 (0x5731)

lri $AR1,    #0x8f9f
lri $IX1,    #0x9ad4
lri $WR1,    #0xa43f
cw 0xd
call send_back  ; 22322 (0x5732)

lri $AR1,    #0x7230
lri $IX1,    #0xd042
lri $WR1,    #0x8383
cw 0xd
call send_back  ; 22323 (0x5733)

lri $AR1,    #0x60ec
lri $IX1,    #0x522e
lri $WR1,    #0x8ceb
cw 0xd
call send_back  ; 22324 (0x5734)

lri $AR1,    #0x678e
lri $IX1,    #0x9f7a
lri $WR1,    #0x5de5
cw 0xd
call send_back  ; 22325 (0x5735)

lri $AR1,    #0x30ad
lri $IX1,    #0x02b6
lri $WR1,    #0x43f6
cw 0xd
call send_back  ; 22326 (0x5736)

lri $AR1,    #0x72fd
lri $IX1,    #0x0260
lri $WR1,    #0x7c9f
cw 0xd
call send_back  ; 22327 (0x5737)

lri $AR1,    #0x3853
lri $IX1,    #0x2432
lri $WR1,    #0x67d5
cw 0xd
call send_back  ; 22328 (0x5738)

lri $AR1,    #0x951b
lri $IX1,    #0xf0e6
lri $WR1,    #0x8538
cw 0xd
call send_back  ; 22329 (0x5739)

lri $AR1,    #0xc6a0
lri $IX1,    #0x813a
lri $WR1,    #0x8197
cw 0xd
call send_back  ; 22330 (0x573a)

lri $AR1,    #0x21ee
lri $IX1,    #0x6c78
lri $WR1,    #0xebb8
cw 0xd
call send_back  ; 22331 (0x573b)

lri $AR1,    #0xa4ab
lri $IX1,    #0x9472
lri $WR1,    #0xbd16
cw 0xd
call send_back  ; 22332 (0x573c)

lri $AR1,    #0xb4a4
lri $IX1,    #0xe20c
lri $WR1,    #0x1c8e
cw 0xd
call send_back  ; 22333 (0x573d)

lri $AR1,    #0x8a6c
lri $IX1,    #0x7162
lri $WR1,    #0x7e94
cw 0xd
call send_back  ; 22334 (0x573e)

lri $AR1,    #0x46dd
lri $IX1,    #0xcba6
lri $WR1,    #0x67fe
cw 0xd
call send_back  ; 22335 (0x573f)

lri $AR1,    #0xaac1
lri $IX1,    #0x80ae
lri $WR1,    #0x7def
cw 0xd
call send_back  ; 22336 (0x5740)

lri $AR1,    #0xb37a
lri $IX1,    #0x9962
lri $WR1,    #0x9703
cw 0xd
call send_back  ; 22337 (0x5741)

lri $AR1,    #0x5ef9
lri $IX1,    #0xd7ec
lri $WR1,    #0x8f3b
cw 0xd
call send_back  ; 22338 (0x5742)

lri $AR1,    #0x6cda
lri $IX1,    #0x69fa
lri $WR1,    #0x11bb
cw 0xd
call send_back  ; 22339 (0x5743)

lri $AR1,    #0x79dc
lri $IX1,    #0x74de
lri $WR1,    #0xc0f6
cw 0xd
call send_back  ; 22340 (0x5744)

lri $AR1,    #0xaeaa
lri $IX1,    #0x9ad4
lri $WR1,    #0x7f4c
cw 0xd
call send_back  ; 22341 (0x5745)

lri $AR1,    #0x4a2c
lri $IX1,    #0x244a
lri $WR1,    #0x77ab
cw 0xd
call send_back  ; 22342 (0x5746)

lri $AR1,    #0x732c
lri $IX1,    #0xb780
lri $WR1,    #0x474f
cw 0xd
call send_back  ; 22343 (0x5747)

lri $AR1,    #0xd4b8
lri $IX1,    #0x5c34
lri $WR1,    #0xaf1c
cw 0xd
call send_back  ; 22344 (0x5748)

lri $AR1,    #0xf3fa
lri $IX1,    #0xd0ca
lri $WR1,    #0x5cb7
cw 0xd
call send_back  ; 22345 (0x5749)

lri $AR1,    #0x4ddd
lri $IX1,    #0xd1ac
lri $WR1,    #0x88e4
cw 0xd
call send_back  ; 22346 (0x574a)

lri $AR1,    #0x7e55
lri $IX1,    #0xc33a
lri $WR1,    #0xba35
cw 0xd
call send_back  ; 22347 (0x574b)

lri $AR1,    #0xda8f
lri $IX1,    #0x1216
lri $WR1,    #0xd0a7
cw 0xd
call send_back  ; 22348 (0x574c)

lri $AR1,    #0xe2e6
lri $IX1,    #0x7520
lri $WR1,    #0x7828
cw 0xd
call send_back  ; 22349 (0x574d)

lri $AR1,    #0xa0e0
lri $IX1,    #0xe7f2
lri $WR1,    #0x9db5
cw 0xd
call send_back  ; 22350 (0x574e)

lri $AR1,    #0xc90b
lri $IX1,    #0x9420
lri $WR1,    #0x63fd
cw 0xd
call send_back  ; 22351 (0x574f)

lri $AR1,    #0xb00c
lri $IX1,    #0xd324
lri $WR1,    #0xba35
cw 0xd
call send_back  ; 22352 (0x5750)

lri $AR1,    #0xada1
lri $IX1,    #0xda30
lri $WR1,    #0x811d
cw 0xd
call send_back  ; 22353 (0x5751)

lri $AR1,    #0x47fe
lri $IX1,    #0x5cbc
lri $WR1,    #0x77cb
cw 0xd
call send_back  ; 22354 (0x5752)

lri $AR1,    #0x5541
lri $IX1,    #0x6228
lri $WR1,    #0xdb51
cw 0xd
call send_back  ; 22355 (0x5753)

lri $AR1,    #0x8857
lri $IX1,    #0x8e3a
lri $WR1,    #0x99c0
cw 0xd
call send_back  ; 22356 (0x5754)

lri $AR1,    #0x7a17
lri $IX1,    #0x13c6
lri $WR1,    #0x92ab
cw 0xd
call send_back  ; 22357 (0x5755)

lri $AR1,    #0x8ef9
lri $IX1,    #0x545c
lri $WR1,    #0x7cab
cw 0xd
call send_back  ; 22358 (0x5756)

lri $AR1,    #0x7d1e
lri $IX1,    #0xaf3a
lri $WR1,    #0x08f2
cw 0xd
call send_back  ; 22359 (0x5757)

lri $AR1,    #0x8e0e
lri $IX1,    #0x1564
lri $WR1,    #0x2396
cw 0xd
call send_back  ; 22360 (0x5758)

lri $AR1,    #0xe2ee
lri $IX1,    #0x8028
lri $WR1,    #0x9881
cw 0xd
call send_back  ; 22361 (0x5759)

lri $AR1,    #0x618c
lri $IX1,    #0x42de
lri $WR1,    #0x52ad
cw 0xd
call send_back  ; 22362 (0x575a)

lri $AR1,    #0x6402
lri $IX1,    #0x4038
lri $WR1,    #0x3cb9
cw 0xd
call send_back  ; 22363 (0x575b)

lri $AR1,    #0xac46
lri $IX1,    #0x2eec
lri $WR1,    #0x5f5f
cw 0xd
call send_back  ; 22364 (0x575c)

lri $AR1,    #0x5881
lri $IX1,    #0x3114
lri $WR1,    #0x93e2
cw 0xd
call send_back  ; 22365 (0x575d)

lri $AR1,    #0x846a
lri $IX1,    #0xed08
lri $WR1,    #0x5e06
cw 0xd
call send_back  ; 22366 (0x575e)

lri $AR1,    #0x4785
lri $IX1,    #0xf5fc
lri $WR1,    #0xa296
cw 0xd
call send_back  ; 22367 (0x575f)

lri $AR1,    #0xb78f
lri $IX1,    #0x8652
lri $WR1,    #0x5518
cw 0xd
call send_back  ; 22368 (0x5760)

lri $AR1,    #0x61e4
lri $IX1,    #0x34c2
lri $WR1,    #0x40ac
cw 0xd
call send_back  ; 22369 (0x5761)

lri $AR1,    #0x2e3b
lri $IX1,    #0x4956
lri $WR1,    #0x1dc2
cw 0xd
call send_back  ; 22370 (0x5762)

lri $AR1,    #0x3078
lri $IX1,    #0x865a
lri $WR1,    #0x9796
cw 0xd
call send_back  ; 22371 (0x5763)

lri $AR1,    #0x76ef
lri $IX1,    #0x7d50
lri $WR1,    #0x9a1a
cw 0xd
call send_back  ; 22372 (0x5764)

lri $AR1,    #0x3de5
lri $IX1,    #0xbee0
lri $WR1,    #0x9a54
cw 0xd
call send_back  ; 22373 (0x5765)

lri $AR1,    #0x80a5
lri $IX1,    #0x40fa
lri $WR1,    #0x68c3
cw 0xd
call send_back  ; 22374 (0x5766)

lri $AR1,    #0x83e3
lri $IX1,    #0x151c
lri $WR1,    #0x5ed7
cw 0xd
call send_back  ; 22375 (0x5767)

lri $AR1,    #0x8ce3
lri $IX1,    #0xdcd2
lri $WR1,    #0x3e14
cw 0xd
call send_back  ; 22376 (0x5768)

lri $AR1,    #0x6406
lri $IX1,    #0x3192
lri $WR1,    #0xc0e8
cw 0xd
call send_back  ; 22377 (0x5769)

lri $AR1,    #0x613d
lri $IX1,    #0x50e2
lri $WR1,    #0x8ac4
cw 0xd
call send_back  ; 22378 (0x576a)

lri $AR1,    #0x7406
lri $IX1,    #0xad04
lri $WR1,    #0xb693
cw 0xd
call send_back  ; 22379 (0x576b)

lri $AR1,    #0xc062
lri $IX1,    #0x6604
lri $WR1,    #0x980e
cw 0xd
call send_back  ; 22380 (0x576c)

lri $AR1,    #0xe585
lri $IX1,    #0x067a
lri $WR1,    #0x3e0c
cw 0xd
call send_back  ; 22381 (0x576d)

lri $AR1,    #0x329a
lri $IX1,    #0x0ab2
lri $WR1,    #0x4159
cw 0xd
call send_back  ; 22382 (0x576e)

lri $AR1,    #0xd15a
lri $IX1,    #0x98ca
lri $WR1,    #0x4d1b
cw 0xd
call send_back  ; 22383 (0x576f)

lri $AR1,    #0xa5da
lri $IX1,    #0x4346
lri $WR1,    #0x7365
cw 0xd
call send_back  ; 22384 (0x5770)

lri $AR1,    #0x2e56
lri $IX1,    #0x97aa
lri $WR1,    #0xa9ff
cw 0xd
call send_back  ; 22385 (0x5771)

lri $AR1,    #0x6d44
lri $IX1,    #0x75c8
lri $WR1,    #0x98ee
cw 0xd
call send_back  ; 22386 (0x5772)

lri $AR1,    #0x3b8e
lri $IX1,    #0x9c24
lri $WR1,    #0x95d9
cw 0xd
call send_back  ; 22387 (0x5773)

lri $AR1,    #0xa832
lri $IX1,    #0x5930
lri $WR1,    #0x9cd2
cw 0xd
call send_back  ; 22388 (0x5774)

lri $AR1,    #0xa624
lri $IX1,    #0xc8b2
lri $WR1,    #0x3095
cw 0xd
call send_back  ; 22389 (0x5775)

lri $AR1,    #0x98bd
lri $IX1,    #0x5034
lri $WR1,    #0xa9c4
cw 0xd
call send_back  ; 22390 (0x5776)

lri $AR1,    #0xb28b
lri $IX1,    #0x0cba
lri $WR1,    #0x7e4e
cw 0xd
call send_back  ; 22391 (0x5777)

lri $AR1,    #0x71c7
lri $IX1,    #0x7790
lri $WR1,    #0x4f65
cw 0xd
call send_back  ; 22392 (0x5778)

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