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

lri $AR1,    #0x4000
lri $IX1,    #0x1500
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5377 (0x1501)

lri $AR1,    #0x4000
lri $IX1,    #0x1501
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5378 (0x1502)

lri $AR1,    #0x4000
lri $IX1,    #0x1502
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5379 (0x1503)

lri $AR1,    #0x4000
lri $IX1,    #0x1503
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5380 (0x1504)

lri $AR1,    #0x4000
lri $IX1,    #0x1504
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5381 (0x1505)

lri $AR1,    #0x4000
lri $IX1,    #0x1505
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5382 (0x1506)

lri $AR1,    #0x4000
lri $IX1,    #0x1506
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5383 (0x1507)

lri $AR1,    #0x4000
lri $IX1,    #0x1507
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5384 (0x1508)

lri $AR1,    #0x4000
lri $IX1,    #0x1508
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5385 (0x1509)

lri $AR1,    #0x4000
lri $IX1,    #0x1509
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5386 (0x150a)

lri $AR1,    #0x4000
lri $IX1,    #0x150a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5387 (0x150b)

lri $AR1,    #0x4000
lri $IX1,    #0x150b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5388 (0x150c)

lri $AR1,    #0x4000
lri $IX1,    #0x150c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5389 (0x150d)

lri $AR1,    #0x4000
lri $IX1,    #0x150d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5390 (0x150e)

lri $AR1,    #0x4000
lri $IX1,    #0x150e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5391 (0x150f)

lri $AR1,    #0x4000
lri $IX1,    #0x150f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5392 (0x1510)

lri $AR1,    #0x4000
lri $IX1,    #0x1510
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5393 (0x1511)

lri $AR1,    #0x4000
lri $IX1,    #0x1511
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5394 (0x1512)

lri $AR1,    #0x4000
lri $IX1,    #0x1512
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5395 (0x1513)

lri $AR1,    #0x4000
lri $IX1,    #0x1513
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5396 (0x1514)

lri $AR1,    #0x4000
lri $IX1,    #0x1514
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5397 (0x1515)

lri $AR1,    #0x4000
lri $IX1,    #0x1515
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5398 (0x1516)

lri $AR1,    #0x4000
lri $IX1,    #0x1516
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5399 (0x1517)

lri $AR1,    #0x4000
lri $IX1,    #0x1517
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5400 (0x1518)

lri $AR1,    #0x4000
lri $IX1,    #0x1518
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5401 (0x1519)

lri $AR1,    #0x4000
lri $IX1,    #0x1519
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5402 (0x151a)

lri $AR1,    #0x4000
lri $IX1,    #0x151a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5403 (0x151b)

lri $AR1,    #0x4000
lri $IX1,    #0x151b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5404 (0x151c)

lri $AR1,    #0x4000
lri $IX1,    #0x151c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5405 (0x151d)

lri $AR1,    #0x4000
lri $IX1,    #0x151d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5406 (0x151e)

lri $AR1,    #0x4000
lri $IX1,    #0x151e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5407 (0x151f)

lri $AR1,    #0x4000
lri $IX1,    #0x151f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5408 (0x1520)

lri $AR1,    #0x4000
lri $IX1,    #0x1520
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5409 (0x1521)

lri $AR1,    #0x4000
lri $IX1,    #0x1521
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5410 (0x1522)

lri $AR1,    #0x4000
lri $IX1,    #0x1522
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5411 (0x1523)

lri $AR1,    #0x4000
lri $IX1,    #0x1523
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5412 (0x1524)

lri $AR1,    #0x4000
lri $IX1,    #0x1524
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5413 (0x1525)

lri $AR1,    #0x4000
lri $IX1,    #0x1525
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5414 (0x1526)

lri $AR1,    #0x4000
lri $IX1,    #0x1526
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5415 (0x1527)

lri $AR1,    #0x4000
lri $IX1,    #0x1527
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5416 (0x1528)

lri $AR1,    #0x4000
lri $IX1,    #0x1528
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5417 (0x1529)

lri $AR1,    #0x4000
lri $IX1,    #0x1529
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5418 (0x152a)

lri $AR1,    #0x4000
lri $IX1,    #0x152a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5419 (0x152b)

lri $AR1,    #0x4000
lri $IX1,    #0x152b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5420 (0x152c)

lri $AR1,    #0x4000
lri $IX1,    #0x152c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5421 (0x152d)

lri $AR1,    #0x4000
lri $IX1,    #0x152d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5422 (0x152e)

lri $AR1,    #0x4000
lri $IX1,    #0x152e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5423 (0x152f)

lri $AR1,    #0x4000
lri $IX1,    #0x152f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5424 (0x1530)

lri $AR1,    #0x4000
lri $IX1,    #0x1530
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5425 (0x1531)

lri $AR1,    #0x4000
lri $IX1,    #0x1531
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5426 (0x1532)

lri $AR1,    #0x4000
lri $IX1,    #0x1532
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5427 (0x1533)

lri $AR1,    #0x4000
lri $IX1,    #0x1533
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5428 (0x1534)

lri $AR1,    #0x4000
lri $IX1,    #0x1534
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5429 (0x1535)

lri $AR1,    #0x4000
lri $IX1,    #0x1535
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5430 (0x1536)

lri $AR1,    #0x4000
lri $IX1,    #0x1536
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5431 (0x1537)

lri $AR1,    #0x4000
lri $IX1,    #0x1537
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5432 (0x1538)

lri $AR1,    #0x4000
lri $IX1,    #0x1538
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5433 (0x1539)

lri $AR1,    #0x4000
lri $IX1,    #0x1539
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5434 (0x153a)

lri $AR1,    #0x4000
lri $IX1,    #0x153a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5435 (0x153b)

lri $AR1,    #0x4000
lri $IX1,    #0x153b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5436 (0x153c)

lri $AR1,    #0x4000
lri $IX1,    #0x153c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5437 (0x153d)

lri $AR1,    #0x4000
lri $IX1,    #0x153d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5438 (0x153e)

lri $AR1,    #0x4000
lri $IX1,    #0x153e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5439 (0x153f)

lri $AR1,    #0x4000
lri $IX1,    #0x153f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5440 (0x1540)

lri $AR1,    #0x4000
lri $IX1,    #0x1540
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5441 (0x1541)

lri $AR1,    #0x4000
lri $IX1,    #0x1541
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5442 (0x1542)

lri $AR1,    #0x4000
lri $IX1,    #0x1542
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5443 (0x1543)

lri $AR1,    #0x4000
lri $IX1,    #0x1543
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5444 (0x1544)

lri $AR1,    #0x4000
lri $IX1,    #0x1544
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5445 (0x1545)

lri $AR1,    #0x4000
lri $IX1,    #0x1545
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5446 (0x1546)

lri $AR1,    #0x4000
lri $IX1,    #0x1546
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5447 (0x1547)

lri $AR1,    #0x4000
lri $IX1,    #0x1547
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5448 (0x1548)

lri $AR1,    #0x4000
lri $IX1,    #0x1548
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5449 (0x1549)

lri $AR1,    #0x4000
lri $IX1,    #0x1549
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5450 (0x154a)

lri $AR1,    #0x4000
lri $IX1,    #0x154a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5451 (0x154b)

lri $AR1,    #0x4000
lri $IX1,    #0x154b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5452 (0x154c)

lri $AR1,    #0x4000
lri $IX1,    #0x154c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5453 (0x154d)

lri $AR1,    #0x4000
lri $IX1,    #0x154d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5454 (0x154e)

lri $AR1,    #0x4000
lri $IX1,    #0x154e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5455 (0x154f)

lri $AR1,    #0x4000
lri $IX1,    #0x154f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5456 (0x1550)

lri $AR1,    #0x4000
lri $IX1,    #0x1550
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5457 (0x1551)

lri $AR1,    #0x4000
lri $IX1,    #0x1551
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5458 (0x1552)

lri $AR1,    #0x4000
lri $IX1,    #0x1552
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5459 (0x1553)

lri $AR1,    #0x4000
lri $IX1,    #0x1553
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5460 (0x1554)

lri $AR1,    #0x4000
lri $IX1,    #0x1554
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5461 (0x1555)

lri $AR1,    #0x4000
lri $IX1,    #0x1555
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5462 (0x1556)

lri $AR1,    #0x4000
lri $IX1,    #0x1556
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5463 (0x1557)

lri $AR1,    #0x4000
lri $IX1,    #0x1557
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5464 (0x1558)

lri $AR1,    #0x4000
lri $IX1,    #0x1558
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5465 (0x1559)

lri $AR1,    #0x4000
lri $IX1,    #0x1559
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5466 (0x155a)

lri $AR1,    #0x4000
lri $IX1,    #0x155a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5467 (0x155b)

lri $AR1,    #0x4000
lri $IX1,    #0x155b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5468 (0x155c)

lri $AR1,    #0x4000
lri $IX1,    #0x155c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5469 (0x155d)

lri $AR1,    #0x4000
lri $IX1,    #0x155d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5470 (0x155e)

lri $AR1,    #0x4000
lri $IX1,    #0x155e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5471 (0x155f)

lri $AR1,    #0x4000
lri $IX1,    #0x155f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5472 (0x1560)

lri $AR1,    #0x4000
lri $IX1,    #0x1560
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5473 (0x1561)

lri $AR1,    #0x4000
lri $IX1,    #0x1561
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5474 (0x1562)

lri $AR1,    #0x4000
lri $IX1,    #0x1562
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5475 (0x1563)

lri $AR1,    #0x4000
lri $IX1,    #0x1563
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5476 (0x1564)

lri $AR1,    #0x4000
lri $IX1,    #0x1564
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5477 (0x1565)

lri $AR1,    #0x4000
lri $IX1,    #0x1565
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5478 (0x1566)

lri $AR1,    #0x4000
lri $IX1,    #0x1566
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5479 (0x1567)

lri $AR1,    #0x4000
lri $IX1,    #0x1567
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5480 (0x1568)

lri $AR1,    #0x4000
lri $IX1,    #0x1568
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5481 (0x1569)

lri $AR1,    #0x4000
lri $IX1,    #0x1569
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5482 (0x156a)

lri $AR1,    #0x4000
lri $IX1,    #0x156a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5483 (0x156b)

lri $AR1,    #0x4000
lri $IX1,    #0x156b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5484 (0x156c)

lri $AR1,    #0x4000
lri $IX1,    #0x156c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5485 (0x156d)

lri $AR1,    #0x4000
lri $IX1,    #0x156d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5486 (0x156e)

lri $AR1,    #0x4000
lri $IX1,    #0x156e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5487 (0x156f)

lri $AR1,    #0x4000
lri $IX1,    #0x156f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5488 (0x1570)

lri $AR1,    #0x4000
lri $IX1,    #0x1570
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5489 (0x1571)

lri $AR1,    #0x4000
lri $IX1,    #0x1571
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5490 (0x1572)

lri $AR1,    #0x4000
lri $IX1,    #0x1572
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5491 (0x1573)

lri $AR1,    #0x4000
lri $IX1,    #0x1573
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5492 (0x1574)

lri $AR1,    #0x4000
lri $IX1,    #0x1574
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5493 (0x1575)

lri $AR1,    #0x4000
lri $IX1,    #0x1575
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5494 (0x1576)

lri $AR1,    #0x4000
lri $IX1,    #0x1576
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5495 (0x1577)

lri $AR1,    #0x4000
lri $IX1,    #0x1577
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5496 (0x1578)

lri $AR1,    #0x4000
lri $IX1,    #0x1578
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5497 (0x1579)

lri $AR1,    #0x4000
lri $IX1,    #0x1579
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5498 (0x157a)

lri $AR1,    #0x4000
lri $IX1,    #0x157a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5499 (0x157b)

lri $AR1,    #0x4000
lri $IX1,    #0x157b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5500 (0x157c)

lri $AR1,    #0x4000
lri $IX1,    #0x157c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5501 (0x157d)

lri $AR1,    #0x4000
lri $IX1,    #0x157d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5502 (0x157e)

lri $AR1,    #0x4000
lri $IX1,    #0x157e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5503 (0x157f)

lri $AR1,    #0x4000
lri $IX1,    #0x157f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5504 (0x1580)

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

