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

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

lri $AR1,    #0x4000
lri $IX1,    #0x1581
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5506 (0x1582)

lri $AR1,    #0x4000
lri $IX1,    #0x1582
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5507 (0x1583)

lri $AR1,    #0x4000
lri $IX1,    #0x1583
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5508 (0x1584)

lri $AR1,    #0x4000
lri $IX1,    #0x1584
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5509 (0x1585)

lri $AR1,    #0x4000
lri $IX1,    #0x1585
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5510 (0x1586)

lri $AR1,    #0x4000
lri $IX1,    #0x1586
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5511 (0x1587)

lri $AR1,    #0x4000
lri $IX1,    #0x1587
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5512 (0x1588)

lri $AR1,    #0x4000
lri $IX1,    #0x1588
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5513 (0x1589)

lri $AR1,    #0x4000
lri $IX1,    #0x1589
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5514 (0x158a)

lri $AR1,    #0x4000
lri $IX1,    #0x158a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5515 (0x158b)

lri $AR1,    #0x4000
lri $IX1,    #0x158b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5516 (0x158c)

lri $AR1,    #0x4000
lri $IX1,    #0x158c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5517 (0x158d)

lri $AR1,    #0x4000
lri $IX1,    #0x158d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5518 (0x158e)

lri $AR1,    #0x4000
lri $IX1,    #0x158e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5519 (0x158f)

lri $AR1,    #0x4000
lri $IX1,    #0x158f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5520 (0x1590)

lri $AR1,    #0x4000
lri $IX1,    #0x1590
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5521 (0x1591)

lri $AR1,    #0x4000
lri $IX1,    #0x1591
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5522 (0x1592)

lri $AR1,    #0x4000
lri $IX1,    #0x1592
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5523 (0x1593)

lri $AR1,    #0x4000
lri $IX1,    #0x1593
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5524 (0x1594)

lri $AR1,    #0x4000
lri $IX1,    #0x1594
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5525 (0x1595)

lri $AR1,    #0x4000
lri $IX1,    #0x1595
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5526 (0x1596)

lri $AR1,    #0x4000
lri $IX1,    #0x1596
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5527 (0x1597)

lri $AR1,    #0x4000
lri $IX1,    #0x1597
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5528 (0x1598)

lri $AR1,    #0x4000
lri $IX1,    #0x1598
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5529 (0x1599)

lri $AR1,    #0x4000
lri $IX1,    #0x1599
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5530 (0x159a)

lri $AR1,    #0x4000
lri $IX1,    #0x159a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5531 (0x159b)

lri $AR1,    #0x4000
lri $IX1,    #0x159b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5532 (0x159c)

lri $AR1,    #0x4000
lri $IX1,    #0x159c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5533 (0x159d)

lri $AR1,    #0x4000
lri $IX1,    #0x159d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5534 (0x159e)

lri $AR1,    #0x4000
lri $IX1,    #0x159e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5535 (0x159f)

lri $AR1,    #0x4000
lri $IX1,    #0x159f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5536 (0x15a0)

lri $AR1,    #0x4000
lri $IX1,    #0x15a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5537 (0x15a1)

lri $AR1,    #0x4000
lri $IX1,    #0x15a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5538 (0x15a2)

lri $AR1,    #0x4000
lri $IX1,    #0x15a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5539 (0x15a3)

lri $AR1,    #0x4000
lri $IX1,    #0x15a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5540 (0x15a4)

lri $AR1,    #0x4000
lri $IX1,    #0x15a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5541 (0x15a5)

lri $AR1,    #0x4000
lri $IX1,    #0x15a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5542 (0x15a6)

lri $AR1,    #0x4000
lri $IX1,    #0x15a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5543 (0x15a7)

lri $AR1,    #0x4000
lri $IX1,    #0x15a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5544 (0x15a8)

lri $AR1,    #0x4000
lri $IX1,    #0x15a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5545 (0x15a9)

lri $AR1,    #0x4000
lri $IX1,    #0x15a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5546 (0x15aa)

lri $AR1,    #0x4000
lri $IX1,    #0x15aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5547 (0x15ab)

lri $AR1,    #0x4000
lri $IX1,    #0x15ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5548 (0x15ac)

lri $AR1,    #0x4000
lri $IX1,    #0x15ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5549 (0x15ad)

lri $AR1,    #0x4000
lri $IX1,    #0x15ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5550 (0x15ae)

lri $AR1,    #0x4000
lri $IX1,    #0x15ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5551 (0x15af)

lri $AR1,    #0x4000
lri $IX1,    #0x15af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5552 (0x15b0)

lri $AR1,    #0x4000
lri $IX1,    #0x15b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5553 (0x15b1)

lri $AR1,    #0x4000
lri $IX1,    #0x15b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5554 (0x15b2)

lri $AR1,    #0x4000
lri $IX1,    #0x15b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5555 (0x15b3)

lri $AR1,    #0x4000
lri $IX1,    #0x15b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5556 (0x15b4)

lri $AR1,    #0x4000
lri $IX1,    #0x15b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5557 (0x15b5)

lri $AR1,    #0x4000
lri $IX1,    #0x15b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5558 (0x15b6)

lri $AR1,    #0x4000
lri $IX1,    #0x15b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5559 (0x15b7)

lri $AR1,    #0x4000
lri $IX1,    #0x15b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5560 (0x15b8)

lri $AR1,    #0x4000
lri $IX1,    #0x15b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5561 (0x15b9)

lri $AR1,    #0x4000
lri $IX1,    #0x15b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5562 (0x15ba)

lri $AR1,    #0x4000
lri $IX1,    #0x15ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5563 (0x15bb)

lri $AR1,    #0x4000
lri $IX1,    #0x15bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5564 (0x15bc)

lri $AR1,    #0x4000
lri $IX1,    #0x15bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5565 (0x15bd)

lri $AR1,    #0x4000
lri $IX1,    #0x15bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5566 (0x15be)

lri $AR1,    #0x4000
lri $IX1,    #0x15be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5567 (0x15bf)

lri $AR1,    #0x4000
lri $IX1,    #0x15bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5568 (0x15c0)

lri $AR1,    #0x4000
lri $IX1,    #0x15c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5569 (0x15c1)

lri $AR1,    #0x4000
lri $IX1,    #0x15c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5570 (0x15c2)

lri $AR1,    #0x4000
lri $IX1,    #0x15c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5571 (0x15c3)

lri $AR1,    #0x4000
lri $IX1,    #0x15c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5572 (0x15c4)

lri $AR1,    #0x4000
lri $IX1,    #0x15c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5573 (0x15c5)

lri $AR1,    #0x4000
lri $IX1,    #0x15c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5574 (0x15c6)

lri $AR1,    #0x4000
lri $IX1,    #0x15c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5575 (0x15c7)

lri $AR1,    #0x4000
lri $IX1,    #0x15c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5576 (0x15c8)

lri $AR1,    #0x4000
lri $IX1,    #0x15c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5577 (0x15c9)

lri $AR1,    #0x4000
lri $IX1,    #0x15c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5578 (0x15ca)

lri $AR1,    #0x4000
lri $IX1,    #0x15ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5579 (0x15cb)

lri $AR1,    #0x4000
lri $IX1,    #0x15cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5580 (0x15cc)

lri $AR1,    #0x4000
lri $IX1,    #0x15cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5581 (0x15cd)

lri $AR1,    #0x4000
lri $IX1,    #0x15cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5582 (0x15ce)

lri $AR1,    #0x4000
lri $IX1,    #0x15ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5583 (0x15cf)

lri $AR1,    #0x4000
lri $IX1,    #0x15cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5584 (0x15d0)

lri $AR1,    #0x4000
lri $IX1,    #0x15d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5585 (0x15d1)

lri $AR1,    #0x4000
lri $IX1,    #0x15d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5586 (0x15d2)

lri $AR1,    #0x4000
lri $IX1,    #0x15d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5587 (0x15d3)

lri $AR1,    #0x4000
lri $IX1,    #0x15d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5588 (0x15d4)

lri $AR1,    #0x4000
lri $IX1,    #0x15d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5589 (0x15d5)

lri $AR1,    #0x4000
lri $IX1,    #0x15d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5590 (0x15d6)

lri $AR1,    #0x4000
lri $IX1,    #0x15d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5591 (0x15d7)

lri $AR1,    #0x4000
lri $IX1,    #0x15d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5592 (0x15d8)

lri $AR1,    #0x4000
lri $IX1,    #0x15d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5593 (0x15d9)

lri $AR1,    #0x4000
lri $IX1,    #0x15d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5594 (0x15da)

lri $AR1,    #0x4000
lri $IX1,    #0x15da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5595 (0x15db)

lri $AR1,    #0x4000
lri $IX1,    #0x15db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5596 (0x15dc)

lri $AR1,    #0x4000
lri $IX1,    #0x15dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5597 (0x15dd)

lri $AR1,    #0x4000
lri $IX1,    #0x15dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5598 (0x15de)

lri $AR1,    #0x4000
lri $IX1,    #0x15de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5599 (0x15df)

lri $AR1,    #0x4000
lri $IX1,    #0x15df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5600 (0x15e0)

lri $AR1,    #0x4000
lri $IX1,    #0x15e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5601 (0x15e1)

lri $AR1,    #0x4000
lri $IX1,    #0x15e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5602 (0x15e2)

lri $AR1,    #0x4000
lri $IX1,    #0x15e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5603 (0x15e3)

lri $AR1,    #0x4000
lri $IX1,    #0x15e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5604 (0x15e4)

lri $AR1,    #0x4000
lri $IX1,    #0x15e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5605 (0x15e5)

lri $AR1,    #0x4000
lri $IX1,    #0x15e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5606 (0x15e6)

lri $AR1,    #0x4000
lri $IX1,    #0x15e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5607 (0x15e7)

lri $AR1,    #0x4000
lri $IX1,    #0x15e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5608 (0x15e8)

lri $AR1,    #0x4000
lri $IX1,    #0x15e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5609 (0x15e9)

lri $AR1,    #0x4000
lri $IX1,    #0x15e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5610 (0x15ea)

lri $AR1,    #0x4000
lri $IX1,    #0x15ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5611 (0x15eb)

lri $AR1,    #0x4000
lri $IX1,    #0x15eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5612 (0x15ec)

lri $AR1,    #0x4000
lri $IX1,    #0x15ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5613 (0x15ed)

lri $AR1,    #0x4000
lri $IX1,    #0x15ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5614 (0x15ee)

lri $AR1,    #0x4000
lri $IX1,    #0x15ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5615 (0x15ef)

lri $AR1,    #0x4000
lri $IX1,    #0x15ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5616 (0x15f0)

lri $AR1,    #0x4000
lri $IX1,    #0x15f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5617 (0x15f1)

lri $AR1,    #0x4000
lri $IX1,    #0x15f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5618 (0x15f2)

lri $AR1,    #0x4000
lri $IX1,    #0x15f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5619 (0x15f3)

lri $AR1,    #0x4000
lri $IX1,    #0x15f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5620 (0x15f4)

lri $AR1,    #0x4000
lri $IX1,    #0x15f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5621 (0x15f5)

lri $AR1,    #0x4000
lri $IX1,    #0x15f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5622 (0x15f6)

lri $AR1,    #0x4000
lri $IX1,    #0x15f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5623 (0x15f7)

lri $AR1,    #0x4000
lri $IX1,    #0x15f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5624 (0x15f8)

lri $AR1,    #0x4000
lri $IX1,    #0x15f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5625 (0x15f9)

lri $AR1,    #0x4000
lri $IX1,    #0x15f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5626 (0x15fa)

lri $AR1,    #0x4000
lri $IX1,    #0x15fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5627 (0x15fb)

lri $AR1,    #0x4000
lri $IX1,    #0x15fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5628 (0x15fc)

lri $AR1,    #0x4000
lri $IX1,    #0x15fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5629 (0x15fd)

lri $AR1,    #0x4000
lri $IX1,    #0x15fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5630 (0x15fe)

lri $AR1,    #0x4000
lri $IX1,    #0x15fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5631 (0x15ff)

lri $AR1,    #0x4000
lri $IX1,    #0x15ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5632 (0x1600)

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

