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

lri $AR1,    #0xf44c
lri $IX1,    #0x1308
lri $WR1,    #0x9db8
cw 0xd
call send_back  ; 5463 (0x1557)

lri $AR1,    #0x4a35
lri $IX1,    #0xf674
lri $WR1,    #0x4913
cw 0xd
call send_back  ; 5464 (0x1558)

lri $AR1,    #0x2edd
lri $IX1,    #0xebba
lri $WR1,    #0xd2fa
cw 0xd
call send_back  ; 5465 (0x1559)

lri $AR1,    #0x51e0
lri $IX1,    #0x7e80
lri $WR1,    #0x9d79
cw 0xd
call send_back  ; 5466 (0x155a)

lri $AR1,    #0xbea9
lri $IX1,    #0x6d46
lri $WR1,    #0x9fbd
cw 0xd
call send_back  ; 5467 (0x155b)

lri $AR1,    #0xa3ff
lri $IX1,    #0xe216
lri $WR1,    #0xa890
cw 0xd
call send_back  ; 5468 (0x155c)

lri $AR1,    #0x7c59
lri $IX1,    #0xddd8
lri $WR1,    #0x94c8
cw 0xd
call send_back  ; 5469 (0x155d)

lri $AR1,    #0x433e
lri $IX1,    #0x0532
lri $WR1,    #0x8d37
cw 0xd
call send_back  ; 5470 (0x155e)

lri $AR1,    #0xe785
lri $IX1,    #0x9d2c
lri $WR1,    #0x8138
cw 0xd
call send_back  ; 5471 (0x155f)

lri $AR1,    #0xa1b8
lri $IX1,    #0xb976
lri $WR1,    #0x785e
cw 0xd
call send_back  ; 5472 (0x1560)

lri $AR1,    #0xa185
lri $IX1,    #0x4598
lri $WR1,    #0x5f5f
cw 0xd
call send_back  ; 5473 (0x1561)

lri $AR1,    #0x8471
lri $IX1,    #0x8de8
lri $WR1,    #0x81b7
cw 0xd
call send_back  ; 5474 (0x1562)

lri $AR1,    #0x9bb1
lri $IX1,    #0x1c8c
lri $WR1,    #0x5334
cw 0xd
call send_back  ; 5475 (0x1563)

lri $AR1,    #0x8e68
lri $IX1,    #0x024c
lri $WR1,    #0x61d6
cw 0xd
call send_back  ; 5476 (0x1564)

lri $AR1,    #0x412e
lri $IX1,    #0xdaa6
lri $WR1,    #0x2234
cw 0xd
call send_back  ; 5477 (0x1565)

lri $AR1,    #0x7b1b
lri $IX1,    #0xe5d6
lri $WR1,    #0xa5dd
cw 0xd
call send_back  ; 5478 (0x1566)

lri $AR1,    #0x6435
lri $IX1,    #0x532e
lri $WR1,    #0x0cd1
cw 0xd
call send_back  ; 5479 (0x1567)

lri $AR1,    #0x908d
lri $IX1,    #0x2988
lri $WR1,    #0x88a5
cw 0xd
call send_back  ; 5480 (0x1568)

lri $AR1,    #0xb6d9
lri $IX1,    #0x0328
lri $WR1,    #0x7155
cw 0xd
call send_back  ; 5481 (0x1569)

lri $AR1,    #0x50d5
lri $IX1,    #0xede8
lri $WR1,    #0x9963
cw 0xd
call send_back  ; 5482 (0x156a)

lri $AR1,    #0x9751
lri $IX1,    #0x0fd6
lri $WR1,    #0xa04b
cw 0xd
call send_back  ; 5483 (0x156b)

lri $AR1,    #0x731e
lri $IX1,    #0x1452
lri $WR1,    #0xd7d4
cw 0xd
call send_back  ; 5484 (0x156c)

lri $AR1,    #0x77c0
lri $IX1,    #0xbcc0
lri $WR1,    #0xca66
cw 0xd
call send_back  ; 5485 (0x156d)

lri $AR1,    #0xac32
lri $IX1,    #0x1bc2
lri $WR1,    #0xeddd
cw 0xd
call send_back  ; 5486 (0x156e)

lri $AR1,    #0xa97e
lri $IX1,    #0xe13e
lri $WR1,    #0x6ff0
cw 0xd
call send_back  ; 5487 (0x156f)

lri $AR1,    #0x4e87
lri $IX1,    #0x910e
lri $WR1,    #0xaec0
cw 0xd
call send_back  ; 5488 (0x1570)

lri $AR1,    #0x53d9
lri $IX1,    #0x6582
lri $WR1,    #0x39a6
cw 0xd
call send_back  ; 5489 (0x1571)

lri $AR1,    #0x49bd
lri $IX1,    #0xdabe
lri $WR1,    #0x83b7
cw 0xd
call send_back  ; 5490 (0x1572)

lri $AR1,    #0x5e6b
lri $IX1,    #0x4f18
lri $WR1,    #0x232b
cw 0xd
call send_back  ; 5491 (0x1573)

lri $AR1,    #0x91b0
lri $IX1,    #0xa850
lri $WR1,    #0x6e22
cw 0xd
call send_back  ; 5492 (0x1574)

lri $AR1,    #0x96d1
lri $IX1,    #0x64fc
lri $WR1,    #0x5ee8
cw 0xd
call send_back  ; 5493 (0x1575)

lri $AR1,    #0x74f7
lri $IX1,    #0xccf6
lri $WR1,    #0xc732
cw 0xd
call send_back  ; 5494 (0x1576)

lri $AR1,    #0x5a01
lri $IX1,    #0xf310
lri $WR1,    #0xdb7d
cw 0xd
call send_back  ; 5495 (0x1577)

lri $AR1,    #0x6af7
lri $IX1,    #0xcdea
lri $WR1,    #0xe50b
cw 0xd
call send_back  ; 5496 (0x1578)

lri $AR1,    #0x890a
lri $IX1,    #0xb534
lri $WR1,    #0xd29c
cw 0xd
call send_back  ; 5497 (0x1579)

lri $AR1,    #0x615c
lri $IX1,    #0xec30
lri $WR1,    #0x4d6c
cw 0xd
call send_back  ; 5498 (0x157a)

lri $AR1,    #0x9160
lri $IX1,    #0x71c4
lri $WR1,    #0xc97e
cw 0xd
call send_back  ; 5499 (0x157b)

lri $AR1,    #0x9131
lri $IX1,    #0xf1e2
lri $WR1,    #0x1dde
cw 0xd
call send_back  ; 5500 (0x157c)

lri $AR1,    #0xd0a1
lri $IX1,    #0x4ba8
lri $WR1,    #0xeac6
cw 0xd
call send_back  ; 5501 (0x157d)

lri $AR1,    #0x635d
lri $IX1,    #0x8af4
lri $WR1,    #0x5156
cw 0xd
call send_back  ; 5502 (0x157e)

lri $AR1,    #0x1be1
lri $IX1,    #0x53d2
lri $WR1,    #0xa1e2
cw 0xd
call send_back  ; 5503 (0x157f)

lri $AR1,    #0x6cae
lri $IX1,    #0x717c
lri $WR1,    #0x8b5d
cw 0xd
call send_back  ; 5504 (0x1580)

lri $AR1,    #0x326b
lri $IX1,    #0x6250
lri $WR1,    #0x6001
cw 0xd
call send_back  ; 5505 (0x1581)

lri $AR1,    #0x8963
lri $IX1,    #0x357e
lri $WR1,    #0x90bc
cw 0xd
call send_back  ; 5506 (0x1582)

lri $AR1,    #0x6414
lri $IX1,    #0xbecc
lri $WR1,    #0xf270
cw 0xd
call send_back  ; 5507 (0x1583)

lri $AR1,    #0xa033
lri $IX1,    #0xe82e
lri $WR1,    #0x959f
cw 0xd
call send_back  ; 5508 (0x1584)

lri $AR1,    #0x32f5
lri $IX1,    #0xa09a
lri $WR1,    #0x5286
cw 0xd
call send_back  ; 5509 (0x1585)

lri $AR1,    #0x94d3
lri $IX1,    #0x72c2
lri $WR1,    #0x8942
cw 0xd
call send_back  ; 5510 (0x1586)

lri $AR1,    #0xb8c0
lri $IX1,    #0x0e3a
lri $WR1,    #0xd70b
cw 0xd
call send_back  ; 5511 (0x1587)

lri $AR1,    #0x71ff
lri $IX1,    #0xe0aa
lri $WR1,    #0x8713
cw 0xd
call send_back  ; 5512 (0x1588)

lri $AR1,    #0x9781
lri $IX1,    #0x246a
lri $WR1,    #0xaf1f
cw 0xd
call send_back  ; 5513 (0x1589)

lri $AR1,    #0x5305
lri $IX1,    #0x656a
lri $WR1,    #0x9562
cw 0xd
call send_back  ; 5514 (0x158a)

lri $AR1,    #0xbde6
lri $IX1,    #0x4ca0
lri $WR1,    #0x8eaa
cw 0xd
call send_back  ; 5515 (0x158b)

lri $AR1,    #0x94c8
lri $IX1,    #0x65d6
lri $WR1,    #0x5980
cw 0xd
call send_back  ; 5516 (0x158c)

lri $AR1,    #0x470b
lri $IX1,    #0x6b20
lri $WR1,    #0x7434
cw 0xd
call send_back  ; 5517 (0x158d)

lri $AR1,    #0x564c
lri $IX1,    #0x4cdc
lri $WR1,    #0x696f
cw 0xd
call send_back  ; 5518 (0x158e)

lri $AR1,    #0xbdbf
lri $IX1,    #0x8c78
lri $WR1,    #0x705f
cw 0xd
call send_back  ; 5519 (0x158f)

lri $AR1,    #0xd0bc
lri $IX1,    #0x73d2
lri $WR1,    #0x6305
cw 0xd
call send_back  ; 5520 (0x1590)

lri $AR1,    #0x8b4b
lri $IX1,    #0x1a92
lri $WR1,    #0xd6c1
cw 0xd
call send_back  ; 5521 (0x1591)

lri $AR1,    #0x8ef3
lri $IX1,    #0xe636
lri $WR1,    #0x7096
cw 0xd
call send_back  ; 5522 (0x1592)

lri $AR1,    #0xd9bb
lri $IX1,    #0x2134
lri $WR1,    #0xc054
cw 0xd
call send_back  ; 5523 (0x1593)

lri $AR1,    #0x8c82
lri $IX1,    #0x48fa
lri $WR1,    #0x631b
cw 0xd
call send_back  ; 5524 (0x1594)

lri $AR1,    #0x31a8
lri $IX1,    #0xaa0e
lri $WR1,    #0xc75b
cw 0xd
call send_back  ; 5525 (0x1595)

lri $AR1,    #0xc43b
lri $IX1,    #0xad4a
lri $WR1,    #0x89d9
cw 0xd
call send_back  ; 5526 (0x1596)

lri $AR1,    #0x9b81
lri $IX1,    #0xb840
lri $WR1,    #0xe4ca
cw 0xd
call send_back  ; 5527 (0x1597)

lri $AR1,    #0xb638
lri $IX1,    #0x96da
lri $WR1,    #0x6f8f
cw 0xd
call send_back  ; 5528 (0x1598)

lri $AR1,    #0x8c4b
lri $IX1,    #0xeb5c
lri $WR1,    #0xd72f
cw 0xd
call send_back  ; 5529 (0x1599)

lri $AR1,    #0x6d60
lri $IX1,    #0xfda4
lri $WR1,    #0x2514
cw 0xd
call send_back  ; 5530 (0x159a)

lri $AR1,    #0x65f3
lri $IX1,    #0x51fa
lri $WR1,    #0x7b1a
cw 0xd
call send_back  ; 5531 (0x159b)

lri $AR1,    #0x8c73
lri $IX1,    #0x933c
lri $WR1,    #0xc189
cw 0xd
call send_back  ; 5532 (0x159c)

lri $AR1,    #0x530f
lri $IX1,    #0x73b8
lri $WR1,    #0x7d04
cw 0xd
call send_back  ; 5533 (0x159d)

lri $AR1,    #0x6a92
lri $IX1,    #0x138a
lri $WR1,    #0xbffa
cw 0xd
call send_back  ; 5534 (0x159e)

lri $AR1,    #0xc628
lri $IX1,    #0x1ac0
lri $WR1,    #0x4cb6
cw 0xd
call send_back  ; 5535 (0x159f)

lri $AR1,    #0x4743
lri $IX1,    #0xe920
lri $WR1,    #0x6289
cw 0xd
call send_back  ; 5536 (0x15a0)

lri $AR1,    #0x6486
lri $IX1,    #0xe4d8
lri $WR1,    #0x3a35
cw 0xd
call send_back  ; 5537 (0x15a1)

lri $AR1,    #0x1dfd
lri $IX1,    #0xecf8
lri $WR1,    #0x4316
cw 0xd
call send_back  ; 5538 (0x15a2)

lri $AR1,    #0xa470
lri $IX1,    #0x23e4
lri $WR1,    #0xa426
cw 0xd
call send_back  ; 5539 (0x15a3)

lri $AR1,    #0xa12d
lri $IX1,    #0x89be
lri $WR1,    #0x3966
cw 0xd
call send_back  ; 5540 (0x15a4)

lri $AR1,    #0xe6ff
lri $IX1,    #0x15ec
lri $WR1,    #0x9fb9
cw 0xd
call send_back  ; 5541 (0x15a5)

lri $AR1,    #0x64c2
lri $IX1,    #0x0aa0
lri $WR1,    #0x3ecb
cw 0xd
call send_back  ; 5542 (0x15a6)

lri $AR1,    #0x5556
lri $IX1,    #0xfcae
lri $WR1,    #0x820c
cw 0xd
call send_back  ; 5543 (0x15a7)

lri $AR1,    #0xc030
lri $IX1,    #0x5d88
lri $WR1,    #0x774e
cw 0xd
call send_back  ; 5544 (0x15a8)

lri $AR1,    #0x497c
lri $IX1,    #0x1c9a
lri $WR1,    #0xb31c
cw 0xd
call send_back  ; 5545 (0x15a9)

lri $AR1,    #0x6ffc
lri $IX1,    #0x10f0
lri $WR1,    #0x8855
cw 0xd
call send_back  ; 5546 (0x15aa)

lri $AR1,    #0x8a96
lri $IX1,    #0x2b62
lri $WR1,    #0xb222
cw 0xd
call send_back  ; 5547 (0x15ab)

lri $AR1,    #0x7ec3
lri $IX1,    #0xd524
lri $WR1,    #0x64ca
cw 0xd
call send_back  ; 5548 (0x15ac)

lri $AR1,    #0x24ba
lri $IX1,    #0x3600
lri $WR1,    #0xb384
cw 0xd
call send_back  ; 5549 (0x15ad)

lri $AR1,    #0x7dbe
lri $IX1,    #0x490c
lri $WR1,    #0x36c6
cw 0xd
call send_back  ; 5550 (0x15ae)

lri $AR1,    #0xa42c
lri $IX1,    #0x863a
lri $WR1,    #0x4038
cw 0xd
call send_back  ; 5551 (0x15af)

lri $AR1,    #0x94d1
lri $IX1,    #0x5a74
lri $WR1,    #0x0eb8
cw 0xd
call send_back  ; 5552 (0x15b0)

lri $AR1,    #0x7c2e
lri $IX1,    #0x8fb2
lri $WR1,    #0x3ead
cw 0xd
call send_back  ; 5553 (0x15b1)

lri $AR1,    #0x7210
lri $IX1,    #0x01d0
lri $WR1,    #0x800b
cw 0xd
call send_back  ; 5554 (0x15b2)

lri $AR1,    #0x6146
lri $IX1,    #0x6c68
lri $WR1,    #0x4d37
cw 0xd
call send_back  ; 5555 (0x15b3)

lri $AR1,    #0xa0c4
lri $IX1,    #0xa18e
lri $WR1,    #0x5351
cw 0xd
call send_back  ; 5556 (0x15b4)

lri $AR1,    #0xdf04
lri $IX1,    #0xf0c2
lri $WR1,    #0xd5ee
cw 0xd
call send_back  ; 5557 (0x15b5)

lri $AR1,    #0x4ff6
lri $IX1,    #0xd0d2
lri $WR1,    #0x75e6
cw 0xd
call send_back  ; 5558 (0x15b6)

lri $AR1,    #0xf14d
lri $IX1,    #0xdf16
lri $WR1,    #0x4421
cw 0xd
call send_back  ; 5559 (0x15b7)

lri $AR1,    #0x9079
lri $IX1,    #0xd9c6
lri $WR1,    #0x4f21
cw 0xd
call send_back  ; 5560 (0x15b8)

lri $AR1,    #0x6920
lri $IX1,    #0x42b4
lri $WR1,    #0x4334
cw 0xd
call send_back  ; 5561 (0x15b9)

lri $AR1,    #0x926b
lri $IX1,    #0xb35c
lri $WR1,    #0xa2f2
cw 0xd
call send_back  ; 5562 (0x15ba)

lri $AR1,    #0x64e1
lri $IX1,    #0x7a68
lri $WR1,    #0x6f10
cw 0xd
call send_back  ; 5563 (0x15bb)

lri $AR1,    #0x6a45
lri $IX1,    #0xbea0
lri $WR1,    #0xaa12
cw 0xd
call send_back  ; 5564 (0x15bc)

lri $AR1,    #0xa41f
lri $IX1,    #0xfa86
lri $WR1,    #0x5e03
cw 0xd
call send_back  ; 5565 (0x15bd)

lri $AR1,    #0xe55f
lri $IX1,    #0x0f74
lri $WR1,    #0x87a4
cw 0xd
call send_back  ; 5566 (0x15be)

lri $AR1,    #0x7edb
lri $IX1,    #0x4e76
lri $WR1,    #0x6c34
cw 0xd
call send_back  ; 5567 (0x15bf)

lri $AR1,    #0x75f8
lri $IX1,    #0x88de
lri $WR1,    #0x4463
cw 0xd
call send_back  ; 5568 (0x15c0)

lri $AR1,    #0xc853
lri $IX1,    #0x61b0
lri $WR1,    #0xb07a
cw 0xd
call send_back  ; 5569 (0x15c1)

lri $AR1,    #0x3ebe
lri $IX1,    #0x94d4
lri $WR1,    #0x7745
cw 0xd
call send_back  ; 5570 (0x15c2)

lri $AR1,    #0x654a
lri $IX1,    #0x9852
lri $WR1,    #0x82d6
cw 0xd
call send_back  ; 5571 (0x15c3)

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