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

lri $AR1,    #0x8cd1
lri $IX1,    #0x64b0
lri $WR1,    #0x3344
cw 0x15
call send_back  ; 26543 (0x67af)

lri $AR1,    #0x5462
lri $IX1,    #0xb6a4
lri $WR1,    #0x87cc
cw 0x15
call send_back  ; 26544 (0x67b0)

lri $AR1,    #0x6dee
lri $IX1,    #0x3e40
lri $WR1,    #0xf5d3
cw 0x15
call send_back  ; 26545 (0x67b1)

lri $AR1,    #0x64f1
lri $IX1,    #0xae7a
lri $WR1,    #0xb9bd
cw 0x15
call send_back  ; 26546 (0x67b2)

lri $AR1,    #0x9469
lri $IX1,    #0x7a0a
lri $WR1,    #0xb8de
cw 0x15
call send_back  ; 26547 (0x67b3)

lri $AR1,    #0xcbfc
lri $IX1,    #0x30aa
lri $WR1,    #0xa5c7
cw 0x15
call send_back  ; 26548 (0x67b4)

lri $AR1,    #0x6753
lri $IX1,    #0x8c2a
lri $WR1,    #0xbfff
cw 0x15
call send_back  ; 26549 (0x67b5)

lri $AR1,    #0xc80e
lri $IX1,    #0x1a8a
lri $WR1,    #0x16cb
cw 0x15
call send_back  ; 26550 (0x67b6)

lri $AR1,    #0x860f
lri $IX1,    #0x72c4
lri $WR1,    #0xb803
cw 0x15
call send_back  ; 26551 (0x67b7)

lri $AR1,    #0x8177
lri $IX1,    #0x4e74
lri $WR1,    #0x799b
cw 0x15
call send_back  ; 26552 (0x67b8)

lri $AR1,    #0xad1e
lri $IX1,    #0xdb10
lri $WR1,    #0x75d0
cw 0x15
call send_back  ; 26553 (0x67b9)

lri $AR1,    #0xc7d9
lri $IX1,    #0x39f2
lri $WR1,    #0x3fab
cw 0x15
call send_back  ; 26554 (0x67ba)

lri $AR1,    #0x2e62
lri $IX1,    #0x96bc
lri $WR1,    #0x26cd
cw 0x15
call send_back  ; 26555 (0x67bb)

lri $AR1,    #0x572b
lri $IX1,    #0x987a
lri $WR1,    #0x772f
cw 0x15
call send_back  ; 26556 (0x67bc)

lri $AR1,    #0x44ec
lri $IX1,    #0x59f6
lri $WR1,    #0x5acb
cw 0x15
call send_back  ; 26557 (0x67bd)

lri $AR1,    #0xac44
lri $IX1,    #0xaaac
lri $WR1,    #0xc0cf
cw 0x15
call send_back  ; 26558 (0x67be)

lri $AR1,    #0x8c3b
lri $IX1,    #0x39d8
lri $WR1,    #0xcf6b
cw 0x15
call send_back  ; 26559 (0x67bf)

lri $AR1,    #0x70e4
lri $IX1,    #0x99fc
lri $WR1,    #0x4ac3
cw 0x15
call send_back  ; 26560 (0x67c0)

lri $AR1,    #0x6310
lri $IX1,    #0xe366
lri $WR1,    #0x650c
cw 0x15
call send_back  ; 26561 (0x67c1)

lri $AR1,    #0x873a
lri $IX1,    #0x40fc
lri $WR1,    #0x7983
cw 0x15
call send_back  ; 26562 (0x67c2)

lri $AR1,    #0x81aa
lri $IX1,    #0x0304
lri $WR1,    #0xa529
cw 0x15
call send_back  ; 26563 (0x67c3)

lri $AR1,    #0x3ceb
lri $IX1,    #0x1002
lri $WR1,    #0xe5ed
cw 0x15
call send_back  ; 26564 (0x67c4)

lri $AR1,    #0x8b96
lri $IX1,    #0xd470
lri $WR1,    #0x424a
cw 0x15
call send_back  ; 26565 (0x67c5)

lri $AR1,    #0xad9c
lri $IX1,    #0x466e
lri $WR1,    #0x58eb
cw 0x15
call send_back  ; 26566 (0x67c6)

lri $AR1,    #0x64f6
lri $IX1,    #0x5336
lri $WR1,    #0x7966
cw 0x15
call send_back  ; 26567 (0x67c7)

lri $AR1,    #0xdcfc
lri $IX1,    #0x385c
lri $WR1,    #0x6c9d
cw 0x15
call send_back  ; 26568 (0x67c8)

lri $AR1,    #0x9344
lri $IX1,    #0x03ae
lri $WR1,    #0x3cd2
cw 0x15
call send_back  ; 26569 (0x67c9)

lri $AR1,    #0x9045
lri $IX1,    #0xd8d8
lri $WR1,    #0x7b02
cw 0x15
call send_back  ; 26570 (0x67ca)

lri $AR1,    #0x71a0
lri $IX1,    #0xcc6e
lri $WR1,    #0x909d
cw 0x15
call send_back  ; 26571 (0x67cb)

lri $AR1,    #0x6f4d
lri $IX1,    #0x40a0
lri $WR1,    #0x821a
cw 0x15
call send_back  ; 26572 (0x67cc)

lri $AR1,    #0x8095
lri $IX1,    #0xd844
lri $WR1,    #0x8087
cw 0x15
call send_back  ; 26573 (0x67cd)

lri $AR1,    #0x7507
lri $IX1,    #0x6954
lri $WR1,    #0xa59a
cw 0x15
call send_back  ; 26574 (0x67ce)

lri $AR1,    #0x9961
lri $IX1,    #0xf8ae
lri $WR1,    #0x975e
cw 0x15
call send_back  ; 26575 (0x67cf)

lri $AR1,    #0xb78f
lri $IX1,    #0xd52e
lri $WR1,    #0x7605
cw 0x15
call send_back  ; 26576 (0x67d0)

lri $AR1,    #0x4cbd
lri $IX1,    #0x80d8
lri $WR1,    #0xbfe9
cw 0x15
call send_back  ; 26577 (0x67d1)

lri $AR1,    #0x8fad
lri $IX1,    #0x5b44
lri $WR1,    #0xa55f
cw 0x15
call send_back  ; 26578 (0x67d2)

lri $AR1,    #0xb528
lri $IX1,    #0x1108
lri $WR1,    #0x7752
cw 0x15
call send_back  ; 26579 (0x67d3)

lri $AR1,    #0xa7e5
lri $IX1,    #0xd030
lri $WR1,    #0x5152
cw 0x15
call send_back  ; 26580 (0x67d4)

lri $AR1,    #0x84aa
lri $IX1,    #0x4a9e
lri $WR1,    #0xb90d
cw 0x15
call send_back  ; 26581 (0x67d5)

lri $AR1,    #0x7af9
lri $IX1,    #0xc356
lri $WR1,    #0x8ad5
cw 0x15
call send_back  ; 26582 (0x67d6)

lri $AR1,    #0x961f
lri $IX1,    #0xe48e
lri $WR1,    #0x8c3c
cw 0x15
call send_back  ; 26583 (0x67d7)

lri $AR1,    #0x49f0
lri $IX1,    #0x0894
lri $WR1,    #0x4353
cw 0x15
call send_back  ; 26584 (0x67d8)

lri $AR1,    #0xc9ff
lri $IX1,    #0x1850
lri $WR1,    #0x9a9f
cw 0x15
call send_back  ; 26585 (0x67d9)

lri $AR1,    #0x91a4
lri $IX1,    #0x467e
lri $WR1,    #0x4756
cw 0x15
call send_back  ; 26586 (0x67da)

lri $AR1,    #0x76a4
lri $IX1,    #0xdf60
lri $WR1,    #0x38f3
cw 0x15
call send_back  ; 26587 (0x67db)

lri $AR1,    #0x87c4
lri $IX1,    #0x4112
lri $WR1,    #0x6eae
cw 0x15
call send_back  ; 26588 (0x67dc)

lri $AR1,    #0x3417
lri $IX1,    #0xf930
lri $WR1,    #0x48e5
cw 0x15
call send_back  ; 26589 (0x67dd)

lri $AR1,    #0xa760
lri $IX1,    #0x18f6
lri $WR1,    #0x2a16
cw 0x15
call send_back  ; 26590 (0x67de)

lri $AR1,    #0x4b51
lri $IX1,    #0x31a4
lri $WR1,    #0x5c6a
cw 0x15
call send_back  ; 26591 (0x67df)

lri $AR1,    #0x54f1
lri $IX1,    #0x372a
lri $WR1,    #0x9662
cw 0x15
call send_back  ; 26592 (0x67e0)

lri $AR1,    #0x9108
lri $IX1,    #0xe006
lri $WR1,    #0x82bb
cw 0x15
call send_back  ; 26593 (0x67e1)

lri $AR1,    #0xa1da
lri $IX1,    #0x1d44
lri $WR1,    #0x3d20
cw 0x15
call send_back  ; 26594 (0x67e2)

lri $AR1,    #0x73f6
lri $IX1,    #0x1686
lri $WR1,    #0x26aa
cw 0x15
call send_back  ; 26595 (0x67e3)

lri $AR1,    #0x377c
lri $IX1,    #0xd224
lri $WR1,    #0x2ac7
cw 0x15
call send_back  ; 26596 (0x67e4)

lri $AR1,    #0x869e
lri $IX1,    #0x7a26
lri $WR1,    #0x6698
cw 0x15
call send_back  ; 26597 (0x67e5)

lri $AR1,    #0xf1b2
lri $IX1,    #0x2332
lri $WR1,    #0x8258
cw 0x15
call send_back  ; 26598 (0x67e6)

lri $AR1,    #0x4c9b
lri $IX1,    #0x3b3c
lri $WR1,    #0x4dd4
cw 0x15
call send_back  ; 26599 (0x67e7)

lri $AR1,    #0xb0e3
lri $IX1,    #0x720e
lri $WR1,    #0xb68b
cw 0x15
call send_back  ; 26600 (0x67e8)

lri $AR1,    #0x935e
lri $IX1,    #0x2666
lri $WR1,    #0xd789
cw 0x15
call send_back  ; 26601 (0x67e9)

lri $AR1,    #0x6b83
lri $IX1,    #0x46d4
lri $WR1,    #0x9078
cw 0x15
call send_back  ; 26602 (0x67ea)

lri $AR1,    #0x9e7f
lri $IX1,    #0x4604
lri $WR1,    #0xa321
cw 0x15
call send_back  ; 26603 (0x67eb)

lri $AR1,    #0x871e
lri $IX1,    #0x5ec2
lri $WR1,    #0xabb7
cw 0x15
call send_back  ; 26604 (0x67ec)

lri $AR1,    #0x6f82
lri $IX1,    #0x0c2c
lri $WR1,    #0x4232
cw 0x15
call send_back  ; 26605 (0x67ed)

lri $AR1,    #0x80e0
lri $IX1,    #0x6f84
lri $WR1,    #0x9014
cw 0x15
call send_back  ; 26606 (0x67ee)

lri $AR1,    #0x711c
lri $IX1,    #0x7d26
lri $WR1,    #0x07e2
cw 0x15
call send_back  ; 26607 (0x67ef)

lri $AR1,    #0x6d9b
lri $IX1,    #0x56e0
lri $WR1,    #0x10aa
cw 0x15
call send_back  ; 26608 (0x67f0)

lri $AR1,    #0xce00
lri $IX1,    #0x5260
lri $WR1,    #0xc1d1
cw 0x15
call send_back  ; 26609 (0x67f1)

lri $AR1,    #0xd951
lri $IX1,    #0xeeea
lri $WR1,    #0x1897
cw 0x15
call send_back  ; 26610 (0x67f2)

lri $AR1,    #0xbb22
lri $IX1,    #0x8dee
lri $WR1,    #0xc280
cw 0x15
call send_back  ; 26611 (0x67f3)

lri $AR1,    #0x8e3e
lri $IX1,    #0x3ecc
lri $WR1,    #0x0d1a
cw 0x15
call send_back  ; 26612 (0x67f4)

lri $AR1,    #0x7d84
lri $IX1,    #0x7674
lri $WR1,    #0xa53b
cw 0x15
call send_back  ; 26613 (0x67f5)

lri $AR1,    #0xcb5a
lri $IX1,    #0x3ff0
lri $WR1,    #0x6d44
cw 0x15
call send_back  ; 26614 (0x67f6)

lri $AR1,    #0x737a
lri $IX1,    #0x73b0
lri $WR1,    #0xb37e
cw 0x15
call send_back  ; 26615 (0x67f7)

lri $AR1,    #0x7267
lri $IX1,    #0xefba
lri $WR1,    #0xd718
cw 0x15
call send_back  ; 26616 (0x67f8)

lri $AR1,    #0x6972
lri $IX1,    #0xc362
lri $WR1,    #0x53de
cw 0x15
call send_back  ; 26617 (0x67f9)

lri $AR1,    #0x3575
lri $IX1,    #0xe5c8
lri $WR1,    #0x9a37
cw 0x15
call send_back  ; 26618 (0x67fa)

lri $AR1,    #0x8242
lri $IX1,    #0x7ecc
lri $WR1,    #0x6a74
cw 0x15
call send_back  ; 26619 (0x67fb)

lri $AR1,    #0xcbed
lri $IX1,    #0x26a0
lri $WR1,    #0x8009
cw 0x15
call send_back  ; 26620 (0x67fc)

lri $AR1,    #0x7ae6
lri $IX1,    #0xe8aa
lri $WR1,    #0x92c0
cw 0x15
call send_back  ; 26621 (0x67fd)

lri $AR1,    #0xb715
lri $IX1,    #0x6aee
lri $WR1,    #0xf163
cw 0x15
call send_back  ; 26622 (0x67fe)

lri $AR1,    #0x91d3
lri $IX1,    #0x7ba8
lri $WR1,    #0x1b13
cw 0x15
call send_back  ; 26623 (0x67ff)

lri $AR1,    #0x1e1d
lri $IX1,    #0x933e
lri $WR1,    #0xa1ae
cw 0x15
call send_back  ; 26624 (0x6800)

lri $AR1,    #0x59b5
lri $IX1,    #0xb158
lri $WR1,    #0x297b
cw 0x15
call send_back  ; 26625 (0x6801)

lri $AR1,    #0xc9a3
lri $IX1,    #0x8028
lri $WR1,    #0x6793
cw 0x15
call send_back  ; 26626 (0x6802)

lri $AR1,    #0xbfbe
lri $IX1,    #0xf9b0
lri $WR1,    #0x7225
cw 0x15
call send_back  ; 26627 (0x6803)

lri $AR1,    #0x46bc
lri $IX1,    #0x071a
lri $WR1,    #0x6b1d
cw 0x15
call send_back  ; 26628 (0x6804)

lri $AR1,    #0x8d6b
lri $IX1,    #0xdafc
lri $WR1,    #0x6747
cw 0x15
call send_back  ; 26629 (0x6805)

lri $AR1,    #0x3980
lri $IX1,    #0x3b80
lri $WR1,    #0x516a
cw 0x15
call send_back  ; 26630 (0x6806)

lri $AR1,    #0xadcb
lri $IX1,    #0xb25a
lri $WR1,    #0x4a8a
cw 0x15
call send_back  ; 26631 (0x6807)

lri $AR1,    #0x670b
lri $IX1,    #0xc486
lri $WR1,    #0x8dc8
cw 0x15
call send_back  ; 26632 (0x6808)

lri $AR1,    #0x7e4b
lri $IX1,    #0x0cb0
lri $WR1,    #0x87f1
cw 0x15
call send_back  ; 26633 (0x6809)

lri $AR1,    #0x7f09
lri $IX1,    #0x774a
lri $WR1,    #0x8064
cw 0x15
call send_back  ; 26634 (0x680a)

lri $AR1,    #0x72fa
lri $IX1,    #0x1024
lri $WR1,    #0x423e
cw 0x15
call send_back  ; 26635 (0x680b)

lri $AR1,    #0xacbf
lri $IX1,    #0xed9a
lri $WR1,    #0x8a73
cw 0x15
call send_back  ; 26636 (0x680c)

lri $AR1,    #0x5653
lri $IX1,    #0xee18
lri $WR1,    #0x78dd
cw 0x15
call send_back  ; 26637 (0x680d)

lri $AR1,    #0x778f
lri $IX1,    #0x5124
lri $WR1,    #0x3fd4
cw 0x15
call send_back  ; 26638 (0x680e)

lri $AR1,    #0x6c84
lri $IX1,    #0xd596
lri $WR1,    #0xaf4f
cw 0x15
call send_back  ; 26639 (0x680f)

lri $AR1,    #0x7b06
lri $IX1,    #0x1334
lri $WR1,    #0x5e3d
cw 0x15
call send_back  ; 26640 (0x6810)

lri $AR1,    #0x4237
lri $IX1,    #0x5e5a
lri $WR1,    #0x7e0a
cw 0x15
call send_back  ; 26641 (0x6811)

lri $AR1,    #0x7e5d
lri $IX1,    #0xc8ee
lri $WR1,    #0xb1e5
cw 0x15
call send_back  ; 26642 (0x6812)

lri $AR1,    #0xeed9
lri $IX1,    #0xe43c
lri $WR1,    #0x74e8
cw 0x15
call send_back  ; 26643 (0x6813)

lri $AR1,    #0x7387
lri $IX1,    #0xe3fc
lri $WR1,    #0x8fa1
cw 0x15
call send_back  ; 26644 (0x6814)

lri $AR1,    #0x9262
lri $IX1,    #0xcb2a
lri $WR1,    #0x370c
cw 0x15
call send_back  ; 26645 (0x6815)

lri $AR1,    #0x65b4
lri $IX1,    #0x7fd4
lri $WR1,    #0x8c99
cw 0x15
call send_back  ; 26646 (0x6816)

lri $AR1,    #0xd6a0
lri $IX1,    #0x23aa
lri $WR1,    #0xb84a
cw 0x15
call send_back  ; 26647 (0x6817)

lri $AR1,    #0xdf5f
lri $IX1,    #0xfb64
lri $WR1,    #0x9b6a
cw 0x15
call send_back  ; 26648 (0x6818)

lri $AR1,    #0x3bf9
lri $IX1,    #0xa7c2
lri $WR1,    #0x8410
cw 0x15
call send_back  ; 26649 (0x6819)

lri $AR1,    #0xcfcf
lri $IX1,    #0x974e
lri $WR1,    #0x36ce
cw 0x15
call send_back  ; 26650 (0x681a)

lri $AR1,    #0x79ba
lri $IX1,    #0x8880
lri $WR1,    #0x75cd
cw 0x15
call send_back  ; 26651 (0x681b)

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