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

lri $AR1,    #0x58af
lri $IX1,    #0x949e
lri $WR1,    #0x3cef
cw 0x15
call send_back  ; 1421 (0x058d)

lri $AR1,    #0x439a
lri $IX1,    #0x35e8
lri $WR1,    #0x3f3c
cw 0x15
call send_back  ; 1422 (0x058e)

lri $AR1,    #0x6227
lri $IX1,    #0x6262
lri $WR1,    #0x6e6d
cw 0x15
call send_back  ; 1423 (0x058f)

lri $AR1,    #0x8e2e
lri $IX1,    #0x15ae
lri $WR1,    #0x7506
cw 0x15
call send_back  ; 1424 (0x0590)

lri $AR1,    #0x4636
lri $IX1,    #0x21a4
lri $WR1,    #0xa4e4
cw 0x15
call send_back  ; 1425 (0x0591)

lri $AR1,    #0x4a49
lri $IX1,    #0x0e46
lri $WR1,    #0x6b8b
cw 0x15
call send_back  ; 1426 (0x0592)

lri $AR1,    #0x72ea
lri $IX1,    #0xe29e
lri $WR1,    #0x4d4a
cw 0x15
call send_back  ; 1427 (0x0593)

lri $AR1,    #0x977c
lri $IX1,    #0x36c0
lri $WR1,    #0xa7c3
cw 0x15
call send_back  ; 1428 (0x0594)

lri $AR1,    #0x74dd
lri $IX1,    #0xf7a0
lri $WR1,    #0x95e5
cw 0x15
call send_back  ; 1429 (0x0595)

lri $AR1,    #0x5499
lri $IX1,    #0x79ea
lri $WR1,    #0x6cf6
cw 0x15
call send_back  ; 1430 (0x0596)

lri $AR1,    #0x1879
lri $IX1,    #0xf98c
lri $WR1,    #0x4ba9
cw 0x15
call send_back  ; 1431 (0x0597)

lri $AR1,    #0xa5ba
lri $IX1,    #0x9016
lri $WR1,    #0x79e0
cw 0x15
call send_back  ; 1432 (0x0598)

lri $AR1,    #0x56c7
lri $IX1,    #0x24ca
lri $WR1,    #0xc122
cw 0x15
call send_back  ; 1433 (0x0599)

lri $AR1,    #0x79c6
lri $IX1,    #0xfd48
lri $WR1,    #0xd35a
cw 0x15
call send_back  ; 1434 (0x059a)

lri $AR1,    #0x55b3
lri $IX1,    #0x86c8
lri $WR1,    #0xa6e2
cw 0x15
call send_back  ; 1435 (0x059b)

lri $AR1,    #0x977d
lri $IX1,    #0xcbec
lri $WR1,    #0x4482
cw 0x15
call send_back  ; 1436 (0x059c)

lri $AR1,    #0x43d2
lri $IX1,    #0xf3e6
lri $WR1,    #0x3d5e
cw 0x15
call send_back  ; 1437 (0x059d)

lri $AR1,    #0x3a00
lri $IX1,    #0x3c1a
lri $WR1,    #0xbc67
cw 0x15
call send_back  ; 1438 (0x059e)

lri $AR1,    #0xd7b0
lri $IX1,    #0x3dfa
lri $WR1,    #0xc864
cw 0x15
call send_back  ; 1439 (0x059f)

lri $AR1,    #0xc4d5
lri $IX1,    #0x1f40
lri $WR1,    #0xb12a
cw 0x15
call send_back  ; 1440 (0x05a0)

lri $AR1,    #0xba92
lri $IX1,    #0xa33e
lri $WR1,    #0x2bf7
cw 0x15
call send_back  ; 1441 (0x05a1)

lri $AR1,    #0x9772
lri $IX1,    #0x1866
lri $WR1,    #0xb0aa
cw 0x15
call send_back  ; 1442 (0x05a2)

lri $AR1,    #0x26c1
lri $IX1,    #0xedce
lri $WR1,    #0x9abd
cw 0x15
call send_back  ; 1443 (0x05a3)

lri $AR1,    #0x8847
lri $IX1,    #0x78da
lri $WR1,    #0x46af
cw 0x15
call send_back  ; 1444 (0x05a4)

lri $AR1,    #0x8152
lri $IX1,    #0x3ba2
lri $WR1,    #0xbde3
cw 0x15
call send_back  ; 1445 (0x05a5)

lri $AR1,    #0x8f40
lri $IX1,    #0xf174
lri $WR1,    #0x6088
cw 0x15
call send_back  ; 1446 (0x05a6)

lri $AR1,    #0x376d
lri $IX1,    #0xe6fc
lri $WR1,    #0x3e8c
cw 0x15
call send_back  ; 1447 (0x05a7)

lri $AR1,    #0xa7d2
lri $IX1,    #0xd048
lri $WR1,    #0x563f
cw 0x15
call send_back  ; 1448 (0x05a8)

lri $AR1,    #0xa717
lri $IX1,    #0x876c
lri $WR1,    #0x98af
cw 0x15
call send_back  ; 1449 (0x05a9)

lri $AR1,    #0x7282
lri $IX1,    #0x02dc
lri $WR1,    #0x4139
cw 0x15
call send_back  ; 1450 (0x05aa)

lri $AR1,    #0x5b77
lri $IX1,    #0x8340
lri $WR1,    #0x9f89
cw 0x15
call send_back  ; 1451 (0x05ab)

lri $AR1,    #0x9dec
lri $IX1,    #0x94e4
lri $WR1,    #0xc863
cw 0x15
call send_back  ; 1452 (0x05ac)

lri $AR1,    #0xe49e
lri $IX1,    #0x2980
lri $WR1,    #0x9b7e
cw 0x15
call send_back  ; 1453 (0x05ad)

lri $AR1,    #0x9f4b
lri $IX1,    #0xe378
lri $WR1,    #0x89d4
cw 0x15
call send_back  ; 1454 (0x05ae)

lri $AR1,    #0x92d4
lri $IX1,    #0xcc60
lri $WR1,    #0x6986
cw 0x15
call send_back  ; 1455 (0x05af)

lri $AR1,    #0xc284
lri $IX1,    #0x3ccc
lri $WR1,    #0x49f9
cw 0x15
call send_back  ; 1456 (0x05b0)

lri $AR1,    #0x5d5a
lri $IX1,    #0xd444
lri $WR1,    #0x8410
cw 0x15
call send_back  ; 1457 (0x05b1)

lri $AR1,    #0x99a6
lri $IX1,    #0x246c
lri $WR1,    #0x903f
cw 0x15
call send_back  ; 1458 (0x05b2)

lri $AR1,    #0x3cb6
lri $IX1,    #0x432a
lri $WR1,    #0x5d6d
cw 0x15
call send_back  ; 1459 (0x05b3)

lri $AR1,    #0x53fe
lri $IX1,    #0xf3ea
lri $WR1,    #0x5939
cw 0x15
call send_back  ; 1460 (0x05b4)

lri $AR1,    #0x4078
lri $IX1,    #0xa0ac
lri $WR1,    #0x73b9
cw 0x15
call send_back  ; 1461 (0x05b5)

lri $AR1,    #0x8494
lri $IX1,    #0x1022
lri $WR1,    #0x8643
cw 0x15
call send_back  ; 1462 (0x05b6)

lri $AR1,    #0x2885
lri $IX1,    #0xc674
lri $WR1,    #0x8640
cw 0x15
call send_back  ; 1463 (0x05b7)

lri $AR1,    #0x603a
lri $IX1,    #0x6aec
lri $WR1,    #0x32b2
cw 0x15
call send_back  ; 1464 (0x05b8)

lri $AR1,    #0x49dc
lri $IX1,    #0x8532
lri $WR1,    #0x5467
cw 0x15
call send_back  ; 1465 (0x05b9)

lri $AR1,    #0x7b11
lri $IX1,    #0x8950
lri $WR1,    #0x9677
cw 0x15
call send_back  ; 1466 (0x05ba)

lri $AR1,    #0x06e1
lri $IX1,    #0x9a1a
lri $WR1,    #0x4e16
cw 0x15
call send_back  ; 1467 (0x05bb)

lri $AR1,    #0x0d8f
lri $IX1,    #0xc648
lri $WR1,    #0x9e4b
cw 0x15
call send_back  ; 1468 (0x05bc)

lri $AR1,    #0x2322
lri $IX1,    #0xecd8
lri $WR1,    #0x9d9f
cw 0x15
call send_back  ; 1469 (0x05bd)

lri $AR1,    #0x490d
lri $IX1,    #0x09f2
lri $WR1,    #0x6150
cw 0x15
call send_back  ; 1470 (0x05be)

lri $AR1,    #0x3aa2
lri $IX1,    #0x8e04
lri $WR1,    #0xf322
cw 0x15
call send_back  ; 1471 (0x05bf)

lri $AR1,    #0x43c9
lri $IX1,    #0xad42
lri $WR1,    #0x9c44
cw 0x15
call send_back  ; 1472 (0x05c0)

lri $AR1,    #0xa4a0
lri $IX1,    #0x6e26
lri $WR1,    #0x797d
cw 0x15
call send_back  ; 1473 (0x05c1)

lri $AR1,    #0x8473
lri $IX1,    #0xc248
lri $WR1,    #0x5a1a
cw 0x15
call send_back  ; 1474 (0x05c2)

lri $AR1,    #0x89da
lri $IX1,    #0x4520
lri $WR1,    #0xdcad
cw 0x15
call send_back  ; 1475 (0x05c3)

lri $AR1,    #0xb530
lri $IX1,    #0x78de
lri $WR1,    #0x7233
cw 0x15
call send_back  ; 1476 (0x05c4)

lri $AR1,    #0x765f
lri $IX1,    #0xa22e
lri $WR1,    #0xc9b8
cw 0x15
call send_back  ; 1477 (0x05c5)

lri $AR1,    #0x8627
lri $IX1,    #0xd7e2
lri $WR1,    #0x83f7
cw 0x15
call send_back  ; 1478 (0x05c6)

lri $AR1,    #0xaecf
lri $IX1,    #0x9c62
lri $WR1,    #0xd017
cw 0x15
call send_back  ; 1479 (0x05c7)

lri $AR1,    #0xc782
lri $IX1,    #0x82f0
lri $WR1,    #0x9808
cw 0x15
call send_back  ; 1480 (0x05c8)

lri $AR1,    #0x9126
lri $IX1,    #0x1b8c
lri $WR1,    #0x8c9c
cw 0x15
call send_back  ; 1481 (0x05c9)

lri $AR1,    #0x4300
lri $IX1,    #0xc494
lri $WR1,    #0x8ee2
cw 0x15
call send_back  ; 1482 (0x05ca)

lri $AR1,    #0x4902
lri $IX1,    #0x31c8
lri $WR1,    #0x85da
cw 0x15
call send_back  ; 1483 (0x05cb)

lri $AR1,    #0xdcf5
lri $IX1,    #0x950a
lri $WR1,    #0x850b
cw 0x15
call send_back  ; 1484 (0x05cc)

lri $AR1,    #0x9f70
lri $IX1,    #0x7d60
lri $WR1,    #0x220f
cw 0x15
call send_back  ; 1485 (0x05cd)

lri $AR1,    #0x84d4
lri $IX1,    #0xd576
lri $WR1,    #0xd4b0
cw 0x15
call send_back  ; 1486 (0x05ce)

lri $AR1,    #0x2e2c
lri $IX1,    #0x0b58
lri $WR1,    #0x1e88
cw 0x15
call send_back  ; 1487 (0x05cf)

lri $AR1,    #0x7d38
lri $IX1,    #0x7790
lri $WR1,    #0x5cd9
cw 0x15
call send_back  ; 1488 (0x05d0)

lri $AR1,    #0x3e71
lri $IX1,    #0xb254
lri $WR1,    #0x708f
cw 0x15
call send_back  ; 1489 (0x05d1)

lri $AR1,    #0x836a
lri $IX1,    #0xc9ee
lri $WR1,    #0xb60a
cw 0x15
call send_back  ; 1490 (0x05d2)

lri $AR1,    #0x9b3d
lri $IX1,    #0x5e20
lri $WR1,    #0x77ca
cw 0x15
call send_back  ; 1491 (0x05d3)

lri $AR1,    #0x5e6f
lri $IX1,    #0xa0aa
lri $WR1,    #0x7c6c
cw 0x15
call send_back  ; 1492 (0x05d4)

lri $AR1,    #0x9f16
lri $IX1,    #0x439a
lri $WR1,    #0x6a2e
cw 0x15
call send_back  ; 1493 (0x05d5)

lri $AR1,    #0x5d87
lri $IX1,    #0x92a6
lri $WR1,    #0x5775
cw 0x15
call send_back  ; 1494 (0x05d6)

lri $AR1,    #0x455c
lri $IX1,    #0x7534
lri $WR1,    #0x6160
cw 0x15
call send_back  ; 1495 (0x05d7)

lri $AR1,    #0x4e3a
lri $IX1,    #0x0344
lri $WR1,    #0x6712
cw 0x15
call send_back  ; 1496 (0x05d8)

lri $AR1,    #0x8705
lri $IX1,    #0xcfea
lri $WR1,    #0x719d
cw 0x15
call send_back  ; 1497 (0x05d9)

lri $AR1,    #0xf1e3
lri $IX1,    #0x3096
lri $WR1,    #0xbe4b
cw 0x15
call send_back  ; 1498 (0x05da)

lri $AR1,    #0xcaeb
lri $IX1,    #0xb8b6
lri $WR1,    #0x3225
cw 0x15
call send_back  ; 1499 (0x05db)

lri $AR1,    #0x7ab0
lri $IX1,    #0xfe1a
lri $WR1,    #0x9371
cw 0x15
call send_back  ; 1500 (0x05dc)

lri $AR1,    #0x3196
lri $IX1,    #0xa28a
lri $WR1,    #0x1f20
cw 0x15
call send_back  ; 1501 (0x05dd)

lri $AR1,    #0x9831
lri $IX1,    #0xb3f4
lri $WR1,    #0xcdc0
cw 0x15
call send_back  ; 1502 (0x05de)

lri $AR1,    #0x8481
lri $IX1,    #0xd4c8
lri $WR1,    #0xbd09
cw 0x15
call send_back  ; 1503 (0x05df)

lri $AR1,    #0x9b5e
lri $IX1,    #0x6aa8
lri $WR1,    #0x988b
cw 0x15
call send_back  ; 1504 (0x05e0)

lri $AR1,    #0x90e0
lri $IX1,    #0x6a3e
lri $WR1,    #0x6594
cw 0x15
call send_back  ; 1505 (0x05e1)

lri $AR1,    #0xba1b
lri $IX1,    #0x5b48
lri $WR1,    #0xa3df
cw 0x15
call send_back  ; 1506 (0x05e2)

lri $AR1,    #0xb5ef
lri $IX1,    #0x009a
lri $WR1,    #0xa616
cw 0x15
call send_back  ; 1507 (0x05e3)

lri $AR1,    #0x7a4a
lri $IX1,    #0xcc38
lri $WR1,    #0x3ab5
cw 0x15
call send_back  ; 1508 (0x05e4)

lri $AR1,    #0x6eb0
lri $IX1,    #0x105c
lri $WR1,    #0x976d
cw 0x15
call send_back  ; 1509 (0x05e5)

lri $AR1,    #0x4c44
lri $IX1,    #0xd25e
lri $WR1,    #0xd68c
cw 0x15
call send_back  ; 1510 (0x05e6)

lri $AR1,    #0x9f3c
lri $IX1,    #0x655e
lri $WR1,    #0x176c
cw 0x15
call send_back  ; 1511 (0x05e7)

lri $AR1,    #0x5cf2
lri $IX1,    #0x9eda
lri $WR1,    #0x589e
cw 0x15
call send_back  ; 1512 (0x05e8)

lri $AR1,    #0xed88
lri $IX1,    #0xafbe
lri $WR1,    #0x4bbb
cw 0x15
call send_back  ; 1513 (0x05e9)

lri $AR1,    #0xa747
lri $IX1,    #0x9146
lri $WR1,    #0x9081
cw 0x15
call send_back  ; 1514 (0x05ea)

lri $AR1,    #0xedaa
lri $IX1,    #0xa556
lri $WR1,    #0x5646
cw 0x15
call send_back  ; 1515 (0x05eb)

lri $AR1,    #0xcd4e
lri $IX1,    #0xc666
lri $WR1,    #0x3850
cw 0x15
call send_back  ; 1516 (0x05ec)

lri $AR1,    #0x69a5
lri $IX1,    #0xabc2
lri $WR1,    #0xa322
cw 0x15
call send_back  ; 1517 (0x05ed)

lri $AR1,    #0x40b4
lri $IX1,    #0x5b60
lri $WR1,    #0x8e52
cw 0x15
call send_back  ; 1518 (0x05ee)

lri $AR1,    #0x8cb0
lri $IX1,    #0x82c6
lri $WR1,    #0x37f4
cw 0x15
call send_back  ; 1519 (0x05ef)

lri $AR1,    #0xc2cb
lri $IX1,    #0x1d78
lri $WR1,    #0x3427
cw 0x15
call send_back  ; 1520 (0x05f0)

lri $AR1,    #0x39fc
lri $IX1,    #0xe754
lri $WR1,    #0xecdd
cw 0x15
call send_back  ; 1521 (0x05f1)

lri $AR1,    #0x4417
lri $IX1,    #0xde4c
lri $WR1,    #0x7b6a
cw 0x15
call send_back  ; 1522 (0x05f2)

lri $AR1,    #0xd6ff
lri $IX1,    #0xa6fc
lri $WR1,    #0x76df
cw 0x15
call send_back  ; 1523 (0x05f3)

lri $AR1,    #0xab50
lri $IX1,    #0x247c
lri $WR1,    #0xc7dd
cw 0x15
call send_back  ; 1524 (0x05f4)

lri $AR1,    #0xd139
lri $IX1,    #0x1be8
lri $WR1,    #0x2bc5
cw 0x15
call send_back  ; 1525 (0x05f5)

lri $AR1,    #0x0bf1
lri $IX1,    #0x70f8
lri $WR1,    #0xaf0c
cw 0x15
call send_back  ; 1526 (0x05f6)

lri $AR1,    #0x277f
lri $IX1,    #0x894e
lri $WR1,    #0x678b
cw 0x15
call send_back  ; 1527 (0x05f7)

lri $AR1,    #0xd43a
lri $IX1,    #0xd0a2
lri $WR1,    #0x7d7f
cw 0x15
call send_back  ; 1528 (0x05f8)

lri $AR1,    #0x3ec0
lri $IX1,    #0x5074
lri $WR1,    #0x7b45
cw 0x15
call send_back  ; 1529 (0x05f9)

lri $AR1,    #0x7abd
lri $IX1,    #0xf296
lri $WR1,    #0xc955
cw 0x15
call send_back  ; 1530 (0x05fa)

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