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

lri $AR1,    #0x191e
lri $IX1,    #0x991c
lri $WR1,    #0xfd52
cw 0xd
call send_back  ; 5377 (0x1501)

lri $AR1,    #0x187c
lri $IX1,    #0x9280
lri $WR1,    #0x5956
cw 0xd
call send_back  ; 5378 (0x1502)

lri $AR1,    #0x2008
lri $IX1,    #0xccc0
lri $WR1,    #0x4d12
cw 0xd
call send_back  ; 5379 (0x1503)

lri $AR1,    #0x1e0e
lri $IX1,    #0x8522
lri $WR1,    #0xd22a
cw 0xd
call send_back  ; 5380 (0x1504)

lri $AR1,    #0xb31e
lri $IX1,    #0x4b78
lri $WR1,    #0x96a4
cw 0xd
call send_back  ; 5381 (0x1505)

lri $AR1,    #0xa6da
lri $IX1,    #0x95ee
lri $WR1,    #0x0aea
cw 0xd
call send_back  ; 5382 (0x1506)

lri $AR1,    #0x8136
lri $IX1,    #0x4af0
lri $WR1,    #0xe2c2
cw 0xd
call send_back  ; 5383 (0x1507)

lri $AR1,    #0x4bb6
lri $IX1,    #0xd17a
lri $WR1,    #0x88b0
cw 0xd
call send_back  ; 5384 (0x1508)

lri $AR1,    #0x6a64
lri $IX1,    #0x8ca0
lri $WR1,    #0xb7c4
cw 0xd
call send_back  ; 5385 (0x1509)

lri $AR1,    #0x4934
lri $IX1,    #0x832e
lri $WR1,    #0x15c0
cw 0xd
call send_back  ; 5386 (0x150a)

lri $AR1,    #0xfa70
lri $IX1,    #0xdd8e
lri $WR1,    #0xcd8e
cw 0xd
call send_back  ; 5387 (0x150b)

lri $AR1,    #0xcae8
lri $IX1,    #0x1ea4
lri $WR1,    #0xa46a
cw 0xd
call send_back  ; 5388 (0x150c)

lri $AR1,    #0xe310
lri $IX1,    #0x3e92
lri $WR1,    #0xcf96
cw 0xd
call send_back  ; 5389 (0x150d)

lri $AR1,    #0xf446
lri $IX1,    #0x37e8
lri $WR1,    #0x2d42
cw 0xd
call send_back  ; 5390 (0x150e)

lri $AR1,    #0x0c58
lri $IX1,    #0xb20a
lri $WR1,    #0xf6fa
cw 0xd
call send_back  ; 5391 (0x150f)

lri $AR1,    #0x0972
lri $IX1,    #0x241e
lri $WR1,    #0x7c3a
cw 0xd
call send_back  ; 5392 (0x1510)

lri $AR1,    #0x205e
lri $IX1,    #0xbff4
lri $WR1,    #0x090a
cw 0xd
call send_back  ; 5393 (0x1511)

lri $AR1,    #0xd296
lri $IX1,    #0xb26a
lri $WR1,    #0x5ce6
cw 0xd
call send_back  ; 5394 (0x1512)

lri $AR1,    #0x016c
lri $IX1,    #0x224c
lri $WR1,    #0x253e
cw 0xd
call send_back  ; 5395 (0x1513)

lri $AR1,    #0xb90e
lri $IX1,    #0x3f8e
lri $WR1,    #0x1e96
cw 0xd
call send_back  ; 5396 (0x1514)

lri $AR1,    #0x00c4
lri $IX1,    #0xd7c6
lri $WR1,    #0x6802
cw 0xd
call send_back  ; 5397 (0x1515)

lri $AR1,    #0x4dec
lri $IX1,    #0xd540
lri $WR1,    #0x1d68
cw 0xd
call send_back  ; 5398 (0x1516)

lri $AR1,    #0x8e5e
lri $IX1,    #0x339e
lri $WR1,    #0x5e54
cw 0xd
call send_back  ; 5399 (0x1517)

lri $AR1,    #0x062c
lri $IX1,    #0xb08e
lri $WR1,    #0xfe0c
cw 0xd
call send_back  ; 5400 (0x1518)

lri $AR1,    #0x1888
lri $IX1,    #0x859e
lri $WR1,    #0x389a
cw 0xd
call send_back  ; 5401 (0x1519)

lri $AR1,    #0x2142
lri $IX1,    #0x1150
lri $WR1,    #0xb67a
cw 0xd
call send_back  ; 5402 (0x151a)

lri $AR1,    #0x8cea
lri $IX1,    #0xc62a
lri $WR1,    #0x399a
cw 0xd
call send_back  ; 5403 (0x151b)

lri $AR1,    #0x031a
lri $IX1,    #0x3710
lri $WR1,    #0x7628
cw 0xd
call send_back  ; 5404 (0x151c)

lri $AR1,    #0x02d0
lri $IX1,    #0x6e5c
lri $WR1,    #0xa910
cw 0xd
call send_back  ; 5405 (0x151d)

lri $AR1,    #0xeb4e
lri $IX1,    #0x8e68
lri $WR1,    #0x250a
cw 0xd
call send_back  ; 5406 (0x151e)

lri $AR1,    #0x292e
lri $IX1,    #0x6cf8
lri $WR1,    #0x37dc
cw 0xd
call send_back  ; 5407 (0x151f)

lri $AR1,    #0xffc6
lri $IX1,    #0xec2a
lri $WR1,    #0xa102
cw 0xd
call send_back  ; 5408 (0x1520)

lri $AR1,    #0xc148
lri $IX1,    #0x1d68
lri $WR1,    #0xe612
cw 0xd
call send_back  ; 5409 (0x1521)

lri $AR1,    #0x3964
lri $IX1,    #0xea60
lri $WR1,    #0x3df2
cw 0xd
call send_back  ; 5410 (0x1522)

lri $AR1,    #0x5984
lri $IX1,    #0x665c
lri $WR1,    #0xba00
cw 0xd
call send_back  ; 5411 (0x1523)

lri $AR1,    #0x05f0
lri $IX1,    #0xad7c
lri $WR1,    #0x7522
cw 0xd
call send_back  ; 5412 (0x1524)

lri $AR1,    #0x4230
lri $IX1,    #0xd262
lri $WR1,    #0x9194
cw 0xd
call send_back  ; 5413 (0x1525)

lri $AR1,    #0x82fc
lri $IX1,    #0x26b2
lri $WR1,    #0x452a
cw 0xd
call send_back  ; 5414 (0x1526)

lri $AR1,    #0xf8d6
lri $IX1,    #0xacf6
lri $WR1,    #0xae06
cw 0xd
call send_back  ; 5415 (0x1527)

lri $AR1,    #0x31e6
lri $IX1,    #0xf2fa
lri $WR1,    #0xa404
cw 0xd
call send_back  ; 5416 (0x1528)

lri $AR1,    #0xa4f2
lri $IX1,    #0x1366
lri $WR1,    #0xec34
cw 0xd
call send_back  ; 5417 (0x1529)

lri $AR1,    #0x0da8
lri $IX1,    #0xdc88
lri $WR1,    #0xb18c
cw 0xd
call send_back  ; 5418 (0x152a)

lri $AR1,    #0x5b7a
lri $IX1,    #0x9922
lri $WR1,    #0x8ab6
cw 0xd
call send_back  ; 5419 (0x152b)

lri $AR1,    #0x1fba
lri $IX1,    #0x674e
lri $WR1,    #0x310c
cw 0xd
call send_back  ; 5420 (0x152c)

lri $AR1,    #0x5542
lri $IX1,    #0xbbb2
lri $WR1,    #0x8904
cw 0xd
call send_back  ; 5421 (0x152d)

lri $AR1,    #0x318c
lri $IX1,    #0x4f60
lri $WR1,    #0x5506
cw 0xd
call send_back  ; 5422 (0x152e)

lri $AR1,    #0xb68a
lri $IX1,    #0x0af8
lri $WR1,    #0xb1aa
cw 0xd
call send_back  ; 5423 (0x152f)

lri $AR1,    #0x24fc
lri $IX1,    #0x1aae
lri $WR1,    #0x38fe
cw 0xd
call send_back  ; 5424 (0x1530)

lri $AR1,    #0x94b6
lri $IX1,    #0xbef4
lri $WR1,    #0xe3ee
cw 0xd
call send_back  ; 5425 (0x1531)

lri $AR1,    #0xf64e
lri $IX1,    #0x761a
lri $WR1,    #0xa152
cw 0xd
call send_back  ; 5426 (0x1532)

lri $AR1,    #0x31b6
lri $IX1,    #0x94c0
lri $WR1,    #0xcfec
cw 0xd
call send_back  ; 5427 (0x1533)

lri $AR1,    #0x8eee
lri $IX1,    #0xa82e
lri $WR1,    #0xe1f8
cw 0xd
call send_back  ; 5428 (0x1534)

lri $AR1,    #0x8ad6
lri $IX1,    #0x58ec
lri $WR1,    #0xb282
cw 0xd
call send_back  ; 5429 (0x1535)

lri $AR1,    #0x809c
lri $IX1,    #0x9298
lri $WR1,    #0x412e
cw 0xd
call send_back  ; 5430 (0x1536)

lri $AR1,    #0xfba6
lri $IX1,    #0x9de8
lri $WR1,    #0x550c
cw 0xd
call send_back  ; 5431 (0x1537)

lri $AR1,    #0x9d40
lri $IX1,    #0x25a0
lri $WR1,    #0xebe8
cw 0xd
call send_back  ; 5432 (0x1538)

lri $AR1,    #0x73b8
lri $IX1,    #0xe1b4
lri $WR1,    #0x4756
cw 0xd
call send_back  ; 5433 (0x1539)

lri $AR1,    #0x4816
lri $IX1,    #0x6fd0
lri $WR1,    #0xbe14
cw 0xd
call send_back  ; 5434 (0x153a)

lri $AR1,    #0x38c8
lri $IX1,    #0xf682
lri $WR1,    #0x98b8
cw 0xd
call send_back  ; 5435 (0x153b)

lri $AR1,    #0x7146
lri $IX1,    #0x35e8
lri $WR1,    #0xd982
cw 0xd
call send_back  ; 5436 (0x153c)

lri $AR1,    #0x051c
lri $IX1,    #0xfe74
lri $WR1,    #0xdfd6
cw 0xd
call send_back  ; 5437 (0x153d)

lri $AR1,    #0x8dd0
lri $IX1,    #0xde68
lri $WR1,    #0x6a74
cw 0xd
call send_back  ; 5438 (0x153e)

lri $AR1,    #0x24b0
lri $IX1,    #0xd338
lri $WR1,    #0xc6d6
cw 0xd
call send_back  ; 5439 (0x153f)

lri $AR1,    #0xa9b2
lri $IX1,    #0x15d2
lri $WR1,    #0x29be
cw 0xd
call send_back  ; 5440 (0x1540)

lri $AR1,    #0xa1fe
lri $IX1,    #0x6696
lri $WR1,    #0x34a6
cw 0xd
call send_back  ; 5441 (0x1541)

lri $AR1,    #0x0b46
lri $IX1,    #0x87cc
lri $WR1,    #0x486a
cw 0xd
call send_back  ; 5442 (0x1542)

lri $AR1,    #0x3de8
lri $IX1,    #0xa9c0
lri $WR1,    #0x2a1a
cw 0xd
call send_back  ; 5443 (0x1543)

lri $AR1,    #0xe2c8
lri $IX1,    #0xfb6e
lri $WR1,    #0x99ca
cw 0xd
call send_back  ; 5444 (0x1544)

lri $AR1,    #0x74b0
lri $IX1,    #0xf57e
lri $WR1,    #0x2472
cw 0xd
call send_back  ; 5445 (0x1545)

lri $AR1,    #0x51d8
lri $IX1,    #0xafc8
lri $WR1,    #0x24f4
cw 0xd
call send_back  ; 5446 (0x1546)

lri $AR1,    #0xd454
lri $IX1,    #0xe5e0
lri $WR1,    #0xed1e
cw 0xd
call send_back  ; 5447 (0x1547)

lri $AR1,    #0xd31a
lri $IX1,    #0x9fea
lri $WR1,    #0xe786
cw 0xd
call send_back  ; 5448 (0x1548)

lri $AR1,    #0x0774
lri $IX1,    #0x40ca
lri $WR1,    #0xd146
cw 0xd
call send_back  ; 5449 (0x1549)

lri $AR1,    #0xd2b6
lri $IX1,    #0xfc9a
lri $WR1,    #0x9fb2
cw 0xd
call send_back  ; 5450 (0x154a)

lri $AR1,    #0xd1f8
lri $IX1,    #0xeed8
lri $WR1,    #0xe9f8
cw 0xd
call send_back  ; 5451 (0x154b)

lri $AR1,    #0x3cbe
lri $IX1,    #0x4be0
lri $WR1,    #0x0c7a
cw 0xd
call send_back  ; 5452 (0x154c)

lri $AR1,    #0x7392
lri $IX1,    #0x6b00
lri $WR1,    #0x086c
cw 0xd
call send_back  ; 5453 (0x154d)

lri $AR1,    #0x0768
lri $IX1,    #0xdd94
lri $WR1,    #0x5712
cw 0xd
call send_back  ; 5454 (0x154e)

lri $AR1,    #0x1666
lri $IX1,    #0x7564
lri $WR1,    #0xa05a
cw 0xd
call send_back  ; 5455 (0x154f)

lri $AR1,    #0x6b08
lri $IX1,    #0x3e3a
lri $WR1,    #0x694e
cw 0xd
call send_back  ; 5456 (0x1550)

lri $AR1,    #0xbef2
lri $IX1,    #0x6acc
lri $WR1,    #0x4cc0
cw 0xd
call send_back  ; 5457 (0x1551)

lri $AR1,    #0xb2ba
lri $IX1,    #0xa82c
lri $WR1,    #0xf114
cw 0xd
call send_back  ; 5458 (0x1552)

lri $AR1,    #0x3c82
lri $IX1,    #0x8230
lri $WR1,    #0xea20
cw 0xd
call send_back  ; 5459 (0x1553)

lri $AR1,    #0x74bc
lri $IX1,    #0xc582
lri $WR1,    #0xd9c2
cw 0xd
call send_back  ; 5460 (0x1554)

lri $AR1,    #0x8030
lri $IX1,    #0x7eba
lri $WR1,    #0x5b88
cw 0xd
call send_back  ; 5461 (0x1555)

lri $AR1,    #0xb23e
lri $IX1,    #0x0398
lri $WR1,    #0x387a
cw 0xd
call send_back  ; 5462 (0x1556)

lri $AR1,    #0x22e4
lri $IX1,    #0x3cce
lri $WR1,    #0x8670
cw 0xd
call send_back  ; 5463 (0x1557)

lri $AR1,    #0xfad2
lri $IX1,    #0xe3bc
lri $WR1,    #0x292a
cw 0xd
call send_back  ; 5464 (0x1558)

lri $AR1,    #0x6138
lri $IX1,    #0x0562
lri $WR1,    #0x83ca
cw 0xd
call send_back  ; 5465 (0x1559)

lri $AR1,    #0x5838
lri $IX1,    #0xbade
lri $WR1,    #0x0680
cw 0xd
call send_back  ; 5466 (0x155a)

lri $AR1,    #0x0eb4
lri $IX1,    #0xe334
lri $WR1,    #0x134a
cw 0xd
call send_back  ; 5467 (0x155b)

lri $AR1,    #0x9b9e
lri $IX1,    #0xd4c0
lri $WR1,    #0xdf60
cw 0xd
call send_back  ; 5468 (0x155c)

lri $AR1,    #0x985c
lri $IX1,    #0x7232
lri $WR1,    #0xa82c
cw 0xd
call send_back  ; 5469 (0x155d)

lri $AR1,    #0xc620
lri $IX1,    #0x8d7e
lri $WR1,    #0x311e
cw 0xd
call send_back  ; 5470 (0x155e)

lri $AR1,    #0xc0f4
lri $IX1,    #0xe9ae
lri $WR1,    #0x8da8
cw 0xd
call send_back  ; 5471 (0x155f)

lri $AR1,    #0xd298
lri $IX1,    #0x4f0e
lri $WR1,    #0xde3c
cw 0xd
call send_back  ; 5472 (0x1560)

lri $AR1,    #0xefec
lri $IX1,    #0x9696
lri $WR1,    #0x4342
cw 0xd
call send_back  ; 5473 (0x1561)

lri $AR1,    #0x3f96
lri $IX1,    #0x1672
lri $WR1,    #0x35b0
cw 0xd
call send_back  ; 5474 (0x1562)

lri $AR1,    #0x5666
lri $IX1,    #0xbb5a
lri $WR1,    #0xf014
cw 0xd
call send_back  ; 5475 (0x1563)

lri $AR1,    #0x7c88
lri $IX1,    #0xd72e
lri $WR1,    #0xc792
cw 0xd
call send_back  ; 5476 (0x1564)

lri $AR1,    #0x744e
lri $IX1,    #0xf7ba
lri $WR1,    #0x466c
cw 0xd
call send_back  ; 5477 (0x1565)

lri $AR1,    #0xeddc
lri $IX1,    #0x61de
lri $WR1,    #0xd83a
cw 0xd
call send_back  ; 5478 (0x1566)

lri $AR1,    #0x49e0
lri $IX1,    #0x1320
lri $WR1,    #0x07b8
cw 0xd
call send_back  ; 5479 (0x1567)

lri $AR1,    #0xb844
lri $IX1,    #0xfd7c
lri $WR1,    #0xa3a6
cw 0xd
call send_back  ; 5480 (0x1568)

lri $AR1,    #0x609c
lri $IX1,    #0x68bc
lri $WR1,    #0x2b2a
cw 0xd
call send_back  ; 5481 (0x1569)

lri $AR1,    #0x0bca
lri $IX1,    #0x4914
lri $WR1,    #0x6f20
cw 0xd
call send_back  ; 5482 (0x156a)

lri $AR1,    #0x711c
lri $IX1,    #0x6522
lri $WR1,    #0x1804
cw 0xd
call send_back  ; 5483 (0x156b)

lri $AR1,    #0x5be6
lri $IX1,    #0xde8a
lri $WR1,    #0xc022
cw 0xd
call send_back  ; 5484 (0x156c)

lri $AR1,    #0x61ae
lri $IX1,    #0xa16a
lri $WR1,    #0x0efc
cw 0xd
call send_back  ; 5485 (0x156d)

lri $AR1,    #0xf248
lri $IX1,    #0x2d38
lri $WR1,    #0x1354
cw 0xd
call send_back  ; 5486 (0x156e)

lri $AR1,    #0x4c1e
lri $IX1,    #0x50c2
lri $WR1,    #0x64ba
cw 0xd
call send_back  ; 5487 (0x156f)

lri $AR1,    #0xb684
lri $IX1,    #0xbdf4
lri $WR1,    #0x3f96
cw 0xd
call send_back  ; 5488 (0x1570)

lri $AR1,    #0xc7be
lri $IX1,    #0x0972
lri $WR1,    #0x31b2
cw 0xd
call send_back  ; 5489 (0x1571)

lri $AR1,    #0xfd4a
lri $IX1,    #0x2854
lri $WR1,    #0x6d1a
cw 0xd
call send_back  ; 5490 (0x1572)

lri $AR1,    #0x7efe
lri $IX1,    #0x9310
lri $WR1,    #0x3a8a
cw 0xd
call send_back  ; 5491 (0x1573)

lri $AR1,    #0xd66a
lri $IX1,    #0x13b8
lri $WR1,    #0x5164
cw 0xd
call send_back  ; 5492 (0x1574)

lri $AR1,    #0xbe82
lri $IX1,    #0x7020
lri $WR1,    #0xae42
cw 0xd
call send_back  ; 5493 (0x1575)

lri $AR1,    #0xc142
lri $IX1,    #0x4cf0
lri $WR1,    #0x5538
cw 0xd
call send_back  ; 5494 (0x1576)

lri $AR1,    #0xce4a
lri $IX1,    #0x71c2
lri $WR1,    #0x8e2e
cw 0xd
call send_back  ; 5495 (0x1577)

lri $AR1,    #0x0bd0
lri $IX1,    #0xe40e
lri $WR1,    #0x8a44
cw 0xd
call send_back  ; 5496 (0x1578)

lri $AR1,    #0x23b4
lri $IX1,    #0xe898
lri $WR1,    #0xc62c
cw 0xd
call send_back  ; 5497 (0x1579)

lri $AR1,    #0x891a
lri $IX1,    #0x0c2e
lri $WR1,    #0x02ae
cw 0xd
call send_back  ; 5498 (0x157a)

lri $AR1,    #0x75da
lri $IX1,    #0x16b0
lri $WR1,    #0xc9fc
cw 0xd
call send_back  ; 5499 (0x157b)

lri $AR1,    #0xe012
lri $IX1,    #0xb9c4
lri $WR1,    #0x5530
cw 0xd
call send_back  ; 5500 (0x157c)

lri $AR1,    #0x143e
lri $IX1,    #0x8284
lri $WR1,    #0x9744
cw 0xd
call send_back  ; 5501 (0x157d)

lri $AR1,    #0x94ae
lri $IX1,    #0x5a5a
lri $WR1,    #0xfcf6
cw 0xd
call send_back  ; 5502 (0x157e)

lri $AR1,    #0x322a
lri $IX1,    #0xd3ce
lri $WR1,    #0xe202
cw 0xd
call send_back  ; 5503 (0x157f)

lri $AR1,    #0x3968
lri $IX1,    #0x1b10
lri $WR1,    #0xf4ea
cw 0xd
call send_back  ; 5504 (0x1580)

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

