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

lri $AR1,    #0xc7c2
lri $IX1,    #0x175a
lri $WR1,    #0x9414
cw 0xd
call send_back  ; 5505 (0x1581)

lri $AR1,    #0x0fc2
lri $IX1,    #0xaa06
lri $WR1,    #0x8ab2
cw 0xd
call send_back  ; 5506 (0x1582)

lri $AR1,    #0xd42c
lri $IX1,    #0xc79c
lri $WR1,    #0x469a
cw 0xd
call send_back  ; 5507 (0x1583)

lri $AR1,    #0xe320
lri $IX1,    #0xd0e6
lri $WR1,    #0x0dea
cw 0xd
call send_back  ; 5508 (0x1584)

lri $AR1,    #0xd2be
lri $IX1,    #0xe408
lri $WR1,    #0x96b2
cw 0xd
call send_back  ; 5509 (0x1585)

lri $AR1,    #0x397c
lri $IX1,    #0x55a6
lri $WR1,    #0xd4ec
cw 0xd
call send_back  ; 5510 (0x1586)

lri $AR1,    #0xb7aa
lri $IX1,    #0xda22
lri $WR1,    #0xcd86
cw 0xd
call send_back  ; 5511 (0x1587)

lri $AR1,    #0x3254
lri $IX1,    #0xd8dc
lri $WR1,    #0x30d2
cw 0xd
call send_back  ; 5512 (0x1588)

lri $AR1,    #0x6718
lri $IX1,    #0x2730
lri $WR1,    #0xe612
cw 0xd
call send_back  ; 5513 (0x1589)

lri $AR1,    #0xb456
lri $IX1,    #0x8fa4
lri $WR1,    #0x76c8
cw 0xd
call send_back  ; 5514 (0x158a)

lri $AR1,    #0xf414
lri $IX1,    #0x8a6e
lri $WR1,    #0x298a
cw 0xd
call send_back  ; 5515 (0x158b)

lri $AR1,    #0xff20
lri $IX1,    #0x5978
lri $WR1,    #0x5d78
cw 0xd
call send_back  ; 5516 (0x158c)

lri $AR1,    #0xab44
lri $IX1,    #0x7be2
lri $WR1,    #0x05e6
cw 0xd
call send_back  ; 5517 (0x158d)

lri $AR1,    #0x76a0
lri $IX1,    #0x70f8
lri $WR1,    #0xb1be
cw 0xd
call send_back  ; 5518 (0x158e)

lri $AR1,    #0x9fe0
lri $IX1,    #0x8480
lri $WR1,    #0x0878
cw 0xd
call send_back  ; 5519 (0x158f)

lri $AR1,    #0xaa62
lri $IX1,    #0x7108
lri $WR1,    #0xf648
cw 0xd
call send_back  ; 5520 (0x1590)

lri $AR1,    #0xbfce
lri $IX1,    #0x28d2
lri $WR1,    #0xa8f2
cw 0xd
call send_back  ; 5521 (0x1591)

lri $AR1,    #0x536e
lri $IX1,    #0x3e3e
lri $WR1,    #0xfe56
cw 0xd
call send_back  ; 5522 (0x1592)

lri $AR1,    #0xfe5a
lri $IX1,    #0x77cc
lri $WR1,    #0x6fda
cw 0xd
call send_back  ; 5523 (0x1593)

lri $AR1,    #0x67e8
lri $IX1,    #0x3700
lri $WR1,    #0x1c4e
cw 0xd
call send_back  ; 5524 (0x1594)

lri $AR1,    #0x8b7a
lri $IX1,    #0x1c10
lri $WR1,    #0x9de0
cw 0xd
call send_back  ; 5525 (0x1595)

lri $AR1,    #0x9418
lri $IX1,    #0x7b54
lri $WR1,    #0x3158
cw 0xd
call send_back  ; 5526 (0x1596)

lri $AR1,    #0xf006
lri $IX1,    #0x2630
lri $WR1,    #0x6ff8
cw 0xd
call send_back  ; 5527 (0x1597)

lri $AR1,    #0x852c
lri $IX1,    #0xc7cc
lri $WR1,    #0xeba2
cw 0xd
call send_back  ; 5528 (0x1598)

lri $AR1,    #0xe5de
lri $IX1,    #0xcb44
lri $WR1,    #0x0ea6
cw 0xd
call send_back  ; 5529 (0x1599)

lri $AR1,    #0x9a2c
lri $IX1,    #0xe56e
lri $WR1,    #0xed8c
cw 0xd
call send_back  ; 5530 (0x159a)

lri $AR1,    #0x7d6e
lri $IX1,    #0x2366
lri $WR1,    #0xc580
cw 0xd
call send_back  ; 5531 (0x159b)

lri $AR1,    #0xe490
lri $IX1,    #0xb32a
lri $WR1,    #0x9066
cw 0xd
call send_back  ; 5532 (0x159c)

lri $AR1,    #0x3874
lri $IX1,    #0xb05c
lri $WR1,    #0xea4a
cw 0xd
call send_back  ; 5533 (0x159d)

lri $AR1,    #0x01ec
lri $IX1,    #0xebaa
lri $WR1,    #0x99ee
cw 0xd
call send_back  ; 5534 (0x159e)

lri $AR1,    #0xd484
lri $IX1,    #0x3d06
lri $WR1,    #0x8192
cw 0xd
call send_back  ; 5535 (0x159f)

lri $AR1,    #0x6510
lri $IX1,    #0xa506
lri $WR1,    #0xac3c
cw 0xd
call send_back  ; 5536 (0x15a0)

lri $AR1,    #0x2e34
lri $IX1,    #0x9ad2
lri $WR1,    #0xd14e
cw 0xd
call send_back  ; 5537 (0x15a1)

lri $AR1,    #0x3d3c
lri $IX1,    #0xbe34
lri $WR1,    #0x9462
cw 0xd
call send_back  ; 5538 (0x15a2)

lri $AR1,    #0x906c
lri $IX1,    #0x02f2
lri $WR1,    #0x505e
cw 0xd
call send_back  ; 5539 (0x15a3)

lri $AR1,    #0x6e7e
lri $IX1,    #0xa0ca
lri $WR1,    #0x0442
cw 0xd
call send_back  ; 5540 (0x15a4)

lri $AR1,    #0x89ac
lri $IX1,    #0x8d56
lri $WR1,    #0x5c74
cw 0xd
call send_back  ; 5541 (0x15a5)

lri $AR1,    #0x1f26
lri $IX1,    #0x8bd0
lri $WR1,    #0xd8f8
cw 0xd
call send_back  ; 5542 (0x15a6)

lri $AR1,    #0xa3e4
lri $IX1,    #0x6858
lri $WR1,    #0x763a
cw 0xd
call send_back  ; 5543 (0x15a7)

lri $AR1,    #0x5a38
lri $IX1,    #0xa740
lri $WR1,    #0xef7e
cw 0xd
call send_back  ; 5544 (0x15a8)

lri $AR1,    #0xb99c
lri $IX1,    #0x6012
lri $WR1,    #0x162c
cw 0xd
call send_back  ; 5545 (0x15a9)

lri $AR1,    #0x4fcc
lri $IX1,    #0x05fe
lri $WR1,    #0xd598
cw 0xd
call send_back  ; 5546 (0x15aa)

lri $AR1,    #0xbe10
lri $IX1,    #0xf52a
lri $WR1,    #0x1b38
cw 0xd
call send_back  ; 5547 (0x15ab)

lri $AR1,    #0xf05e
lri $IX1,    #0x1ede
lri $WR1,    #0x7dea
cw 0xd
call send_back  ; 5548 (0x15ac)

lri $AR1,    #0x4406
lri $IX1,    #0xdf56
lri $WR1,    #0xfe58
cw 0xd
call send_back  ; 5549 (0x15ad)

lri $AR1,    #0x20de
lri $IX1,    #0xc386
lri $WR1,    #0xa240
cw 0xd
call send_back  ; 5550 (0x15ae)

lri $AR1,    #0x81dc
lri $IX1,    #0x800c
lri $WR1,    #0xfd46
cw 0xd
call send_back  ; 5551 (0x15af)

lri $AR1,    #0xb192
lri $IX1,    #0xd6aa
lri $WR1,    #0xcfd6
cw 0xd
call send_back  ; 5552 (0x15b0)

lri $AR1,    #0x9fce
lri $IX1,    #0x9edc
lri $WR1,    #0xf0b0
cw 0xd
call send_back  ; 5553 (0x15b1)

lri $AR1,    #0xba96
lri $IX1,    #0x999c
lri $WR1,    #0x55b6
cw 0xd
call send_back  ; 5554 (0x15b2)

lri $AR1,    #0x67c8
lri $IX1,    #0xe8d8
lri $WR1,    #0x20be
cw 0xd
call send_back  ; 5555 (0x15b3)

lri $AR1,    #0x2524
lri $IX1,    #0xfb8a
lri $WR1,    #0x95f0
cw 0xd
call send_back  ; 5556 (0x15b4)

lri $AR1,    #0x94ca
lri $IX1,    #0x397a
lri $WR1,    #0xc594
cw 0xd
call send_back  ; 5557 (0x15b5)

lri $AR1,    #0x1932
lri $IX1,    #0x8372
lri $WR1,    #0xaecc
cw 0xd
call send_back  ; 5558 (0x15b6)

lri $AR1,    #0xa248
lri $IX1,    #0xcb8a
lri $WR1,    #0x977e
cw 0xd
call send_back  ; 5559 (0x15b7)

lri $AR1,    #0xe3d4
lri $IX1,    #0xd820
lri $WR1,    #0x31b8
cw 0xd
call send_back  ; 5560 (0x15b8)

lri $AR1,    #0xba66
lri $IX1,    #0x3556
lri $WR1,    #0x856c
cw 0xd
call send_back  ; 5561 (0x15b9)

lri $AR1,    #0xd2e0
lri $IX1,    #0x304c
lri $WR1,    #0xca0c
cw 0xd
call send_back  ; 5562 (0x15ba)

lri $AR1,    #0xdca0
lri $IX1,    #0xa3c6
lri $WR1,    #0xf686
cw 0xd
call send_back  ; 5563 (0x15bb)

lri $AR1,    #0x970a
lri $IX1,    #0xb71c
lri $WR1,    #0x6e70
cw 0xd
call send_back  ; 5564 (0x15bc)

lri $AR1,    #0x2cae
lri $IX1,    #0x44aa
lri $WR1,    #0x8672
cw 0xd
call send_back  ; 5565 (0x15bd)

lri $AR1,    #0x1e46
lri $IX1,    #0xd022
lri $WR1,    #0x1bf4
cw 0xd
call send_back  ; 5566 (0x15be)

lri $AR1,    #0x2c30
lri $IX1,    #0x58c4
lri $WR1,    #0x920c
cw 0xd
call send_back  ; 5567 (0x15bf)

lri $AR1,    #0xa482
lri $IX1,    #0xc020
lri $WR1,    #0x4aa0
cw 0xd
call send_back  ; 5568 (0x15c0)

lri $AR1,    #0x0fee
lri $IX1,    #0x1aec
lri $WR1,    #0xcd1c
cw 0xd
call send_back  ; 5569 (0x15c1)

lri $AR1,    #0x1170
lri $IX1,    #0x36ae
lri $WR1,    #0x67b0
cw 0xd
call send_back  ; 5570 (0x15c2)

lri $AR1,    #0x0c54
lri $IX1,    #0xa9ce
lri $WR1,    #0x1810
cw 0xd
call send_back  ; 5571 (0x15c3)

lri $AR1,    #0xbe94
lri $IX1,    #0x2708
lri $WR1,    #0xca0a
cw 0xd
call send_back  ; 5572 (0x15c4)

lri $AR1,    #0xfacc
lri $IX1,    #0x8e96
lri $WR1,    #0x86e4
cw 0xd
call send_back  ; 5573 (0x15c5)

lri $AR1,    #0x914a
lri $IX1,    #0xed0c
lri $WR1,    #0xea50
cw 0xd
call send_back  ; 5574 (0x15c6)

lri $AR1,    #0xbcbc
lri $IX1,    #0x7334
lri $WR1,    #0xa17e
cw 0xd
call send_back  ; 5575 (0x15c7)

lri $AR1,    #0x10e0
lri $IX1,    #0x85d2
lri $WR1,    #0x4818
cw 0xd
call send_back  ; 5576 (0x15c8)

lri $AR1,    #0xded4
lri $IX1,    #0x3f52
lri $WR1,    #0xf7a8
cw 0xd
call send_back  ; 5577 (0x15c9)

lri $AR1,    #0xe998
lri $IX1,    #0x49ce
lri $WR1,    #0x7282
cw 0xd
call send_back  ; 5578 (0x15ca)

lri $AR1,    #0xda42
lri $IX1,    #0x43ca
lri $WR1,    #0xd1c2
cw 0xd
call send_back  ; 5579 (0x15cb)

lri $AR1,    #0x4190
lri $IX1,    #0xb8ea
lri $WR1,    #0x42e8
cw 0xd
call send_back  ; 5580 (0x15cc)

lri $AR1,    #0x87a4
lri $IX1,    #0x78b8
lri $WR1,    #0xb182
cw 0xd
call send_back  ; 5581 (0x15cd)

lri $AR1,    #0x8572
lri $IX1,    #0x2792
lri $WR1,    #0x9cc8
cw 0xd
call send_back  ; 5582 (0x15ce)

lri $AR1,    #0x8a42
lri $IX1,    #0x3ada
lri $WR1,    #0x1cd6
cw 0xd
call send_back  ; 5583 (0x15cf)

lri $AR1,    #0xff02
lri $IX1,    #0x160a
lri $WR1,    #0x16ac
cw 0xd
call send_back  ; 5584 (0x15d0)

lri $AR1,    #0x486e
lri $IX1,    #0x8982
lri $WR1,    #0x6f1c
cw 0xd
call send_back  ; 5585 (0x15d1)

lri $AR1,    #0xc034
lri $IX1,    #0x521e
lri $WR1,    #0xec2c
cw 0xd
call send_back  ; 5586 (0x15d2)

lri $AR1,    #0x1076
lri $IX1,    #0xa6a2
lri $WR1,    #0xcbe8
cw 0xd
call send_back  ; 5587 (0x15d3)

lri $AR1,    #0x520e
lri $IX1,    #0x5588
lri $WR1,    #0xa1ba
cw 0xd
call send_back  ; 5588 (0x15d4)

lri $AR1,    #0xf024
lri $IX1,    #0x474c
lri $WR1,    #0x688c
cw 0xd
call send_back  ; 5589 (0x15d5)

lri $AR1,    #0x46fc
lri $IX1,    #0x41f8
lri $WR1,    #0xf784
cw 0xd
call send_back  ; 5590 (0x15d6)

lri $AR1,    #0x2742
lri $IX1,    #0x5b42
lri $WR1,    #0xd870
cw 0xd
call send_back  ; 5591 (0x15d7)

lri $AR1,    #0x6cba
lri $IX1,    #0x063c
lri $WR1,    #0x48f2
cw 0xd
call send_back  ; 5592 (0x15d8)

lri $AR1,    #0x9bfc
lri $IX1,    #0xf6c0
lri $WR1,    #0x7aac
cw 0xd
call send_back  ; 5593 (0x15d9)

lri $AR1,    #0x02a2
lri $IX1,    #0x3e7a
lri $WR1,    #0x631c
cw 0xd
call send_back  ; 5594 (0x15da)

lri $AR1,    #0xf29e
lri $IX1,    #0x3a42
lri $WR1,    #0x35be
cw 0xd
call send_back  ; 5595 (0x15db)

lri $AR1,    #0x2d6e
lri $IX1,    #0xe3ce
lri $WR1,    #0x54be
cw 0xd
call send_back  ; 5596 (0x15dc)

lri $AR1,    #0x809c
lri $IX1,    #0x505c
lri $WR1,    #0xf8ec
cw 0xd
call send_back  ; 5597 (0x15dd)

lri $AR1,    #0x022e
lri $IX1,    #0x7e6e
lri $WR1,    #0xdefa
cw 0xd
call send_back  ; 5598 (0x15de)

lri $AR1,    #0xe55e
lri $IX1,    #0xe27c
lri $WR1,    #0xa11c
cw 0xd
call send_back  ; 5599 (0x15df)

lri $AR1,    #0x0eac
lri $IX1,    #0xe78e
lri $WR1,    #0x1e88
cw 0xd
call send_back  ; 5600 (0x15e0)

lri $AR1,    #0x41a4
lri $IX1,    #0xd99a
lri $WR1,    #0x81b4
cw 0xd
call send_back  ; 5601 (0x15e1)

lri $AR1,    #0x5dd0
lri $IX1,    #0x5f24
lri $WR1,    #0xe18a
cw 0xd
call send_back  ; 5602 (0x15e2)

lri $AR1,    #0x7114
lri $IX1,    #0x00a0
lri $WR1,    #0x9060
cw 0xd
call send_back  ; 5603 (0x15e3)

lri $AR1,    #0xbb50
lri $IX1,    #0x6bd2
lri $WR1,    #0x06b2
cw 0xd
call send_back  ; 5604 (0x15e4)

lri $AR1,    #0xefca
lri $IX1,    #0x4ab8
lri $WR1,    #0xad32
cw 0xd
call send_back  ; 5605 (0x15e5)

lri $AR1,    #0x8a58
lri $IX1,    #0x4a0a
lri $WR1,    #0x56e4
cw 0xd
call send_back  ; 5606 (0x15e6)

lri $AR1,    #0xd862
lri $IX1,    #0x3824
lri $WR1,    #0x5708
cw 0xd
call send_back  ; 5607 (0x15e7)

lri $AR1,    #0xff40
lri $IX1,    #0x39c6
lri $WR1,    #0xab12
cw 0xd
call send_back  ; 5608 (0x15e8)

lri $AR1,    #0x4574
lri $IX1,    #0x38e2
lri $WR1,    #0xeeb8
cw 0xd
call send_back  ; 5609 (0x15e9)

lri $AR1,    #0x152e
lri $IX1,    #0x60c6
lri $WR1,    #0xfc76
cw 0xd
call send_back  ; 5610 (0x15ea)

lri $AR1,    #0xfbd8
lri $IX1,    #0x1cbc
lri $WR1,    #0x19d4
cw 0xd
call send_back  ; 5611 (0x15eb)

lri $AR1,    #0x4ca4
lri $IX1,    #0xd9ce
lri $WR1,    #0x55e2
cw 0xd
call send_back  ; 5612 (0x15ec)

lri $AR1,    #0x39ce
lri $IX1,    #0xbcf6
lri $WR1,    #0x8096
cw 0xd
call send_back  ; 5613 (0x15ed)

lri $AR1,    #0x40cc
lri $IX1,    #0x87cc
lri $WR1,    #0xa146
cw 0xd
call send_back  ; 5614 (0x15ee)

lri $AR1,    #0x7944
lri $IX1,    #0x3458
lri $WR1,    #0xa8d4
cw 0xd
call send_back  ; 5615 (0x15ef)

lri $AR1,    #0x8da2
lri $IX1,    #0xfe54
lri $WR1,    #0x1d3e
cw 0xd
call send_back  ; 5616 (0x15f0)

lri $AR1,    #0x8262
lri $IX1,    #0x4eb4
lri $WR1,    #0xb268
cw 0xd
call send_back  ; 5617 (0x15f1)

lri $AR1,    #0x79b4
lri $IX1,    #0xe774
lri $WR1,    #0x02a8
cw 0xd
call send_back  ; 5618 (0x15f2)

lri $AR1,    #0xf594
lri $IX1,    #0x7998
lri $WR1,    #0xd80a
cw 0xd
call send_back  ; 5619 (0x15f3)

lri $AR1,    #0x7a98
lri $IX1,    #0x6128
lri $WR1,    #0xab1e
cw 0xd
call send_back  ; 5620 (0x15f4)

lri $AR1,    #0x1b34
lri $IX1,    #0x8c78
lri $WR1,    #0x71fa
cw 0xd
call send_back  ; 5621 (0x15f5)

lri $AR1,    #0x1be8
lri $IX1,    #0x7b98
lri $WR1,    #0x7d6e
cw 0xd
call send_back  ; 5622 (0x15f6)

lri $AR1,    #0xe922
lri $IX1,    #0x56c6
lri $WR1,    #0x6e7e
cw 0xd
call send_back  ; 5623 (0x15f7)

lri $AR1,    #0x2cce
lri $IX1,    #0xeb52
lri $WR1,    #0x25c4
cw 0xd
call send_back  ; 5624 (0x15f8)

lri $AR1,    #0x6d50
lri $IX1,    #0x2772
lri $WR1,    #0x6696
cw 0xd
call send_back  ; 5625 (0x15f9)

lri $AR1,    #0x80e6
lri $IX1,    #0xc9a8
lri $WR1,    #0x4bae
cw 0xd
call send_back  ; 5626 (0x15fa)

lri $AR1,    #0xc698
lri $IX1,    #0x9146
lri $WR1,    #0x43d8
cw 0xd
call send_back  ; 5627 (0x15fb)

lri $AR1,    #0x25ae
lri $IX1,    #0x7f6e
lri $WR1,    #0x30c0
cw 0xd
call send_back  ; 5628 (0x15fc)

lri $AR1,    #0x2bee
lri $IX1,    #0xac62
lri $WR1,    #0x76e6
cw 0xd
call send_back  ; 5629 (0x15fd)

lri $AR1,    #0xce16
lri $IX1,    #0x5540
lri $WR1,    #0x86ee
cw 0xd
call send_back  ; 5630 (0x15fe)

lri $AR1,    #0xd43e
lri $IX1,    #0x1d9c
lri $WR1,    #0xa472
cw 0xd
call send_back  ; 5631 (0x15ff)

lri $AR1,    #0x8280
lri $IX1,    #0x3e82
lri $WR1,    #0x7e60
cw 0xd
call send_back  ; 5632 (0x1600)

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

