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

lri $AR1,    #0xcd90
lri $IX1,    #0x4074
lri $WR1,    #0x6946
cw 0x5
call send_back  ; 1409 (0x0581)

lri $AR1,    #0x9eae
lri $IX1,    #0xd1c4
lri $WR1,    #0x95f6
cw 0x5
call send_back  ; 1410 (0x0582)

lri $AR1,    #0x2ae0
lri $IX1,    #0x5a00
lri $WR1,    #0xcbea
cw 0x5
call send_back  ; 1411 (0x0583)

lri $AR1,    #0x9dae
lri $IX1,    #0xc1bc
lri $WR1,    #0xd9e8
cw 0x5
call send_back  ; 1412 (0x0584)

lri $AR1,    #0x9340
lri $IX1,    #0x3500
lri $WR1,    #0xec4a
cw 0x5
call send_back  ; 1413 (0x0585)

lri $AR1,    #0x5f36
lri $IX1,    #0x70fc
lri $WR1,    #0xdd6e
cw 0x5
call send_back  ; 1414 (0x0586)

lri $AR1,    #0x8ea4
lri $IX1,    #0x83b6
lri $WR1,    #0x454e
cw 0x5
call send_back  ; 1415 (0x0587)

lri $AR1,    #0x6d80
lri $IX1,    #0x3fd8
lri $WR1,    #0xb260
cw 0x5
call send_back  ; 1416 (0x0588)

lri $AR1,    #0xbef2
lri $IX1,    #0x8a26
lri $WR1,    #0x7db0
cw 0x5
call send_back  ; 1417 (0x0589)

lri $AR1,    #0xabfe
lri $IX1,    #0x6d30
lri $WR1,    #0x90a8
cw 0x5
call send_back  ; 1418 (0x058a)

lri $AR1,    #0x8ef4
lri $IX1,    #0x004e
lri $WR1,    #0xf466
cw 0x5
call send_back  ; 1419 (0x058b)

lri $AR1,    #0x190a
lri $IX1,    #0x9c3a
lri $WR1,    #0xe3b4
cw 0x5
call send_back  ; 1420 (0x058c)

lri $AR1,    #0x2d12
lri $IX1,    #0xb8f6
lri $WR1,    #0x072a
cw 0x5
call send_back  ; 1421 (0x058d)

lri $AR1,    #0x4956
lri $IX1,    #0x7558
lri $WR1,    #0x2f1c
cw 0x5
call send_back  ; 1422 (0x058e)

lri $AR1,    #0x8844
lri $IX1,    #0xa9ce
lri $WR1,    #0xfd0a
cw 0x5
call send_back  ; 1423 (0x058f)

lri $AR1,    #0x9f2a
lri $IX1,    #0x1b30
lri $WR1,    #0x5e52
cw 0x5
call send_back  ; 1424 (0x0590)

lri $AR1,    #0x5432
lri $IX1,    #0x0624
lri $WR1,    #0x417a
cw 0x5
call send_back  ; 1425 (0x0591)

lri $AR1,    #0xf852
lri $IX1,    #0x0414
lri $WR1,    #0x8f52
cw 0x5
call send_back  ; 1426 (0x0592)

lri $AR1,    #0xa3e6
lri $IX1,    #0x7daa
lri $WR1,    #0x7ac2
cw 0x5
call send_back  ; 1427 (0x0593)

lri $AR1,    #0xf1ae
lri $IX1,    #0x9a2e
lri $WR1,    #0xf146
cw 0x5
call send_back  ; 1428 (0x0594)

lri $AR1,    #0x1114
lri $IX1,    #0x7dc0
lri $WR1,    #0xa150
cw 0x5
call send_back  ; 1429 (0x0595)

lri $AR1,    #0x104a
lri $IX1,    #0x7340
lri $WR1,    #0x0412
cw 0x5
call send_back  ; 1430 (0x0596)

lri $AR1,    #0x4858
lri $IX1,    #0xabbc
lri $WR1,    #0x33d8
cw 0x5
call send_back  ; 1431 (0x0597)

lri $AR1,    #0x3c10
lri $IX1,    #0x9b9e
lri $WR1,    #0x86a8
cw 0x5
call send_back  ; 1432 (0x0598)

lri $AR1,    #0xd150
lri $IX1,    #0xd372
lri $WR1,    #0x969c
cw 0x5
call send_back  ; 1433 (0x0599)

lri $AR1,    #0x20cc
lri $IX1,    #0xf610
lri $WR1,    #0xce24
cw 0x5
call send_back  ; 1434 (0x059a)

lri $AR1,    #0xa426
lri $IX1,    #0x55c0
lri $WR1,    #0x3af6
cw 0x5
call send_back  ; 1435 (0x059b)

lri $AR1,    #0x5eb2
lri $IX1,    #0xb544
lri $WR1,    #0x389a
cw 0x5
call send_back  ; 1436 (0x059c)

lri $AR1,    #0x345c
lri $IX1,    #0xdf28
lri $WR1,    #0xf666
cw 0x5
call send_back  ; 1437 (0x059d)

lri $AR1,    #0x1418
lri $IX1,    #0x11a2
lri $WR1,    #0x1284
cw 0x5
call send_back  ; 1438 (0x059e)

lri $AR1,    #0xab40
lri $IX1,    #0xf74c
lri $WR1,    #0x973e
cw 0x5
call send_back  ; 1439 (0x059f)

lri $AR1,    #0x5690
lri $IX1,    #0x3904
lri $WR1,    #0xb6be
cw 0x5
call send_back  ; 1440 (0x05a0)

lri $AR1,    #0xbb30
lri $IX1,    #0xee5c
lri $WR1,    #0xe72e
cw 0x5
call send_back  ; 1441 (0x05a1)

lri $AR1,    #0xca16
lri $IX1,    #0xac22
lri $WR1,    #0x0d16
cw 0x5
call send_back  ; 1442 (0x05a2)

lri $AR1,    #0x5ed0
lri $IX1,    #0xee46
lri $WR1,    #0x8ade
cw 0x5
call send_back  ; 1443 (0x05a3)

lri $AR1,    #0xc97c
lri $IX1,    #0x7050
lri $WR1,    #0xf430
cw 0x5
call send_back  ; 1444 (0x05a4)

lri $AR1,    #0x9e60
lri $IX1,    #0xa1be
lri $WR1,    #0x27bc
cw 0x5
call send_back  ; 1445 (0x05a5)

lri $AR1,    #0xa3ce
lri $IX1,    #0x4a56
lri $WR1,    #0xb7ec
cw 0x5
call send_back  ; 1446 (0x05a6)

lri $AR1,    #0xb78e
lri $IX1,    #0x1bdc
lri $WR1,    #0x9030
cw 0x5
call send_back  ; 1447 (0x05a7)

lri $AR1,    #0x6ed4
lri $IX1,    #0x41ea
lri $WR1,    #0x95fc
cw 0x5
call send_back  ; 1448 (0x05a8)

lri $AR1,    #0x62a4
lri $IX1,    #0x8f78
lri $WR1,    #0x087a
cw 0x5
call send_back  ; 1449 (0x05a9)

lri $AR1,    #0xf762
lri $IX1,    #0x93b8
lri $WR1,    #0x9ee8
cw 0x5
call send_back  ; 1450 (0x05aa)

lri $AR1,    #0x0aa0
lri $IX1,    #0x15fc
lri $WR1,    #0xa544
cw 0x5
call send_back  ; 1451 (0x05ab)

lri $AR1,    #0x8cb8
lri $IX1,    #0x9a50
lri $WR1,    #0x1a14
cw 0x5
call send_back  ; 1452 (0x05ac)

lri $AR1,    #0x4404
lri $IX1,    #0x61da
lri $WR1,    #0xef4c
cw 0x5
call send_back  ; 1453 (0x05ad)

lri $AR1,    #0xe482
lri $IX1,    #0xb516
lri $WR1,    #0x180e
cw 0x5
call send_back  ; 1454 (0x05ae)

lri $AR1,    #0x40f2
lri $IX1,    #0xe14c
lri $WR1,    #0xfe0a
cw 0x5
call send_back  ; 1455 (0x05af)

lri $AR1,    #0x41ca
lri $IX1,    #0x6e82
lri $WR1,    #0x2ece
cw 0x5
call send_back  ; 1456 (0x05b0)

lri $AR1,    #0x0f62
lri $IX1,    #0xaa9e
lri $WR1,    #0xbde8
cw 0x5
call send_back  ; 1457 (0x05b1)

lri $AR1,    #0x816a
lri $IX1,    #0xb9a4
lri $WR1,    #0x9822
cw 0x5
call send_back  ; 1458 (0x05b2)

lri $AR1,    #0xb902
lri $IX1,    #0xaba4
lri $WR1,    #0xb4d6
cw 0x5
call send_back  ; 1459 (0x05b3)

lri $AR1,    #0xd35a
lri $IX1,    #0xb168
lri $WR1,    #0x32d8
cw 0x5
call send_back  ; 1460 (0x05b4)

lri $AR1,    #0x8296
lri $IX1,    #0x229a
lri $WR1,    #0xf2b4
cw 0x5
call send_back  ; 1461 (0x05b5)

lri $AR1,    #0xd852
lri $IX1,    #0x728e
lri $WR1,    #0x5bf6
cw 0x5
call send_back  ; 1462 (0x05b6)

lri $AR1,    #0x2b4a
lri $IX1,    #0x7f06
lri $WR1,    #0x918e
cw 0x5
call send_back  ; 1463 (0x05b7)

lri $AR1,    #0xb828
lri $IX1,    #0x13a4
lri $WR1,    #0x55ac
cw 0x5
call send_back  ; 1464 (0x05b8)

lri $AR1,    #0xcb08
lri $IX1,    #0x8df4
lri $WR1,    #0xdc10
cw 0x5
call send_back  ; 1465 (0x05b9)

lri $AR1,    #0xad6e
lri $IX1,    #0x051e
lri $WR1,    #0x1e14
cw 0x5
call send_back  ; 1466 (0x05ba)

lri $AR1,    #0x6908
lri $IX1,    #0x6510
lri $WR1,    #0x7f2c
cw 0x5
call send_back  ; 1467 (0x05bb)

lri $AR1,    #0x979c
lri $IX1,    #0xe5e6
lri $WR1,    #0x5092
cw 0x5
call send_back  ; 1468 (0x05bc)

lri $AR1,    #0x3ac6
lri $IX1,    #0xfce6
lri $WR1,    #0xb63e
cw 0x5
call send_back  ; 1469 (0x05bd)

lri $AR1,    #0x8562
lri $IX1,    #0xb74a
lri $WR1,    #0x10fa
cw 0x5
call send_back  ; 1470 (0x05be)

lri $AR1,    #0x4d9c
lri $IX1,    #0xf2fc
lri $WR1,    #0xc7e6
cw 0x5
call send_back  ; 1471 (0x05bf)

lri $AR1,    #0xf572
lri $IX1,    #0xf5ce
lri $WR1,    #0x3012
cw 0x5
call send_back  ; 1472 (0x05c0)

lri $AR1,    #0xcc1c
lri $IX1,    #0xa0e6
lri $WR1,    #0x0bae
cw 0x5
call send_back  ; 1473 (0x05c1)

lri $AR1,    #0xe43a
lri $IX1,    #0x12cc
lri $WR1,    #0xd5d4
cw 0x5
call send_back  ; 1474 (0x05c2)

lri $AR1,    #0xba66
lri $IX1,    #0xb612
lri $WR1,    #0xafc0
cw 0x5
call send_back  ; 1475 (0x05c3)

lri $AR1,    #0xc202
lri $IX1,    #0xbd3e
lri $WR1,    #0x25e8
cw 0x5
call send_back  ; 1476 (0x05c4)

lri $AR1,    #0x8bae
lri $IX1,    #0xee6e
lri $WR1,    #0x2fdc
cw 0x5
call send_back  ; 1477 (0x05c5)

lri $AR1,    #0x3ce2
lri $IX1,    #0xf6c2
lri $WR1,    #0xa7b2
cw 0x5
call send_back  ; 1478 (0x05c6)

lri $AR1,    #0xf516
lri $IX1,    #0x78a8
lri $WR1,    #0x85a6
cw 0x5
call send_back  ; 1479 (0x05c7)

lri $AR1,    #0x86ee
lri $IX1,    #0xbc2e
lri $WR1,    #0xdb86
cw 0x5
call send_back  ; 1480 (0x05c8)

lri $AR1,    #0x810e
lri $IX1,    #0x4328
lri $WR1,    #0x2ca6
cw 0x5
call send_back  ; 1481 (0x05c9)

lri $AR1,    #0x8920
lri $IX1,    #0xafb8
lri $WR1,    #0x7342
cw 0x5
call send_back  ; 1482 (0x05ca)

lri $AR1,    #0x4082
lri $IX1,    #0xd78c
lri $WR1,    #0xc2fe
cw 0x5
call send_back  ; 1483 (0x05cb)

lri $AR1,    #0x685a
lri $IX1,    #0x550c
lri $WR1,    #0x3d02
cw 0x5
call send_back  ; 1484 (0x05cc)

lri $AR1,    #0x2dd2
lri $IX1,    #0xc8ac
lri $WR1,    #0xfa26
cw 0x5
call send_back  ; 1485 (0x05cd)

lri $AR1,    #0x0206
lri $IX1,    #0xae52
lri $WR1,    #0x1306
cw 0x5
call send_back  ; 1486 (0x05ce)

lri $AR1,    #0x0808
lri $IX1,    #0x200a
lri $WR1,    #0x51c8
cw 0x5
call send_back  ; 1487 (0x05cf)

lri $AR1,    #0xb2aa
lri $IX1,    #0x0390
lri $WR1,    #0x3496
cw 0x5
call send_back  ; 1488 (0x05d0)

lri $AR1,    #0x3b34
lri $IX1,    #0xcbb4
lri $WR1,    #0x5906
cw 0x5
call send_back  ; 1489 (0x05d1)

lri $AR1,    #0xf0f6
lri $IX1,    #0xf454
lri $WR1,    #0x6808
cw 0x5
call send_back  ; 1490 (0x05d2)

lri $AR1,    #0x7560
lri $IX1,    #0xee5e
lri $WR1,    #0x9132
cw 0x5
call send_back  ; 1491 (0x05d3)

lri $AR1,    #0x2cb4
lri $IX1,    #0x4616
lri $WR1,    #0x4e92
cw 0x5
call send_back  ; 1492 (0x05d4)

lri $AR1,    #0x6e1e
lri $IX1,    #0x3fdc
lri $WR1,    #0x275c
cw 0x5
call send_back  ; 1493 (0x05d5)

lri $AR1,    #0x110e
lri $IX1,    #0xd044
lri $WR1,    #0x871e
cw 0x5
call send_back  ; 1494 (0x05d6)

lri $AR1,    #0xc8f4
lri $IX1,    #0x84ae
lri $WR1,    #0x30ae
cw 0x5
call send_back  ; 1495 (0x05d7)

lri $AR1,    #0xe67e
lri $IX1,    #0x1170
lri $WR1,    #0xbdd8
cw 0x5
call send_back  ; 1496 (0x05d8)

lri $AR1,    #0x79cc
lri $IX1,    #0xa7d0
lri $WR1,    #0x8800
cw 0x5
call send_back  ; 1497 (0x05d9)

lri $AR1,    #0x7922
lri $IX1,    #0xff7c
lri $WR1,    #0xb294
cw 0x5
call send_back  ; 1498 (0x05da)

lri $AR1,    #0x4cb4
lri $IX1,    #0x527a
lri $WR1,    #0x7992
cw 0x5
call send_back  ; 1499 (0x05db)

lri $AR1,    #0xbc70
lri $IX1,    #0x2748
lri $WR1,    #0xb8d0
cw 0x5
call send_back  ; 1500 (0x05dc)

lri $AR1,    #0xc8e2
lri $IX1,    #0x1a08
lri $WR1,    #0xb468
cw 0x5
call send_back  ; 1501 (0x05dd)

lri $AR1,    #0x863c
lri $IX1,    #0xcec6
lri $WR1,    #0x5870
cw 0x5
call send_back  ; 1502 (0x05de)

lri $AR1,    #0x397c
lri $IX1,    #0xa4a4
lri $WR1,    #0x1f26
cw 0x5
call send_back  ; 1503 (0x05df)

lri $AR1,    #0x470c
lri $IX1,    #0x26ee
lri $WR1,    #0xa6e8
cw 0x5
call send_back  ; 1504 (0x05e0)

lri $AR1,    #0xd500
lri $IX1,    #0x9a04
lri $WR1,    #0xd0f4
cw 0x5
call send_back  ; 1505 (0x05e1)

lri $AR1,    #0xbe8c
lri $IX1,    #0x5172
lri $WR1,    #0xcd1e
cw 0x5
call send_back  ; 1506 (0x05e2)

lri $AR1,    #0x66d6
lri $IX1,    #0xf5d6
lri $WR1,    #0x2d40
cw 0x5
call send_back  ; 1507 (0x05e3)

lri $AR1,    #0x6f2e
lri $IX1,    #0xb0b6
lri $WR1,    #0x1680
cw 0x5
call send_back  ; 1508 (0x05e4)

lri $AR1,    #0x24dc
lri $IX1,    #0x7e00
lri $WR1,    #0x9bd8
cw 0x5
call send_back  ; 1509 (0x05e5)

lri $AR1,    #0x24e0
lri $IX1,    #0x46ee
lri $WR1,    #0xfab6
cw 0x5
call send_back  ; 1510 (0x05e6)

lri $AR1,    #0x1d6c
lri $IX1,    #0xd786
lri $WR1,    #0x2d60
cw 0x5
call send_back  ; 1511 (0x05e7)

lri $AR1,    #0x5ebc
lri $IX1,    #0x73d2
lri $WR1,    #0xf36e
cw 0x5
call send_back  ; 1512 (0x05e8)

lri $AR1,    #0x88dc
lri $IX1,    #0x1928
lri $WR1,    #0x4e66
cw 0x5
call send_back  ; 1513 (0x05e9)

lri $AR1,    #0xf4a4
lri $IX1,    #0xc6e0
lri $WR1,    #0xbca6
cw 0x5
call send_back  ; 1514 (0x05ea)

lri $AR1,    #0xe3c8
lri $IX1,    #0xeb6c
lri $WR1,    #0x1a40
cw 0x5
call send_back  ; 1515 (0x05eb)

lri $AR1,    #0x05de
lri $IX1,    #0x7ea0
lri $WR1,    #0xf5ec
cw 0x5
call send_back  ; 1516 (0x05ec)

lri $AR1,    #0xae2c
lri $IX1,    #0x625a
lri $WR1,    #0x88e8
cw 0x5
call send_back  ; 1517 (0x05ed)

lri $AR1,    #0x3e50
lri $IX1,    #0x4bbc
lri $WR1,    #0x1ff4
cw 0x5
call send_back  ; 1518 (0x05ee)

lri $AR1,    #0x9dba
lri $IX1,    #0xe578
lri $WR1,    #0x39f6
cw 0x5
call send_back  ; 1519 (0x05ef)

lri $AR1,    #0xecba
lri $IX1,    #0xa98c
lri $WR1,    #0xc218
cw 0x5
call send_back  ; 1520 (0x05f0)

lri $AR1,    #0xa056
lri $IX1,    #0xcf56
lri $WR1,    #0xa102
cw 0x5
call send_back  ; 1521 (0x05f1)

lri $AR1,    #0x5c66
lri $IX1,    #0x33da
lri $WR1,    #0x3ff4
cw 0x5
call send_back  ; 1522 (0x05f2)

lri $AR1,    #0xd630
lri $IX1,    #0x0e46
lri $WR1,    #0x7682
cw 0x5
call send_back  ; 1523 (0x05f3)

lri $AR1,    #0x89ae
lri $IX1,    #0x7466
lri $WR1,    #0xafe4
cw 0x5
call send_back  ; 1524 (0x05f4)

lri $AR1,    #0x515e
lri $IX1,    #0x1c78
lri $WR1,    #0x2a78
cw 0x5
call send_back  ; 1525 (0x05f5)

lri $AR1,    #0xb8ea
lri $IX1,    #0x5114
lri $WR1,    #0xf778
cw 0x5
call send_back  ; 1526 (0x05f6)

lri $AR1,    #0x8b84
lri $IX1,    #0x3e20
lri $WR1,    #0x4cec
cw 0x5
call send_back  ; 1527 (0x05f7)

lri $AR1,    #0xd402
lri $IX1,    #0x2e36
lri $WR1,    #0xb398
cw 0x5
call send_back  ; 1528 (0x05f8)

lri $AR1,    #0xc050
lri $IX1,    #0x38f0
lri $WR1,    #0x129c
cw 0x5
call send_back  ; 1529 (0x05f9)

lri $AR1,    #0xdb54
lri $IX1,    #0x9eda
lri $WR1,    #0x1e96
cw 0x5
call send_back  ; 1530 (0x05fa)

lri $AR1,    #0x5660
lri $IX1,    #0xc870
lri $WR1,    #0xeadc
cw 0x5
call send_back  ; 1531 (0x05fb)

lri $AR1,    #0x4b20
lri $IX1,    #0xbf98
lri $WR1,    #0x5ec2
cw 0x5
call send_back  ; 1532 (0x05fc)

lri $AR1,    #0xd664
lri $IX1,    #0x0f80
lri $WR1,    #0x2610
cw 0x5
call send_back  ; 1533 (0x05fd)

lri $AR1,    #0x3712
lri $IX1,    #0xb6c8
lri $WR1,    #0x8cd4
cw 0x5
call send_back  ; 1534 (0x05fe)

lri $AR1,    #0x430c
lri $IX1,    #0x4fb4
lri $WR1,    #0x92ae
cw 0x5
call send_back  ; 1535 (0x05ff)

lri $AR1,    #0x2a50
lri $IX1,    #0xef92
lri $WR1,    #0x71b0
cw 0x5
call send_back  ; 1536 (0x0600)

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

