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

lri $AR1,    #0x7825
lri $IX1,    #0x2f5e
lri $WR1,    #0xc1c2
cw 0xd
call send_back  ; 26652 (0x681c)

lri $AR1,    #0xb9d9
lri $IX1,    #0xfc1c
lri $WR1,    #0xcadc
cw 0xd
call send_back  ; 26653 (0x681d)

lri $AR1,    #0xe7e0
lri $IX1,    #0x4fee
lri $WR1,    #0x4536
cw 0xd
call send_back  ; 26654 (0x681e)

lri $AR1,    #0x7840
lri $IX1,    #0xc49c
lri $WR1,    #0x75e5
cw 0xd
call send_back  ; 26655 (0x681f)

lri $AR1,    #0x90e8
lri $IX1,    #0x3a4c
lri $WR1,    #0xb329
cw 0xd
call send_back  ; 26656 (0x6820)

lri $AR1,    #0x4d95
lri $IX1,    #0xbd28
lri $WR1,    #0x9bcd
cw 0xd
call send_back  ; 26657 (0x6821)

lri $AR1,    #0x7b11
lri $IX1,    #0xf6d6
lri $WR1,    #0x575b
cw 0xd
call send_back  ; 26658 (0x6822)

lri $AR1,    #0x6d82
lri $IX1,    #0x1ffe
lri $WR1,    #0xa219
cw 0xd
call send_back  ; 26659 (0x6823)

lri $AR1,    #0x9f2d
lri $IX1,    #0xa99c
lri $WR1,    #0x9d73
cw 0xd
call send_back  ; 26660 (0x6824)

lri $AR1,    #0xa07b
lri $IX1,    #0x0d8e
lri $WR1,    #0xb6d8
cw 0xd
call send_back  ; 26661 (0x6825)

lri $AR1,    #0x7186
lri $IX1,    #0x4124
lri $WR1,    #0x54a2
cw 0xd
call send_back  ; 26662 (0x6826)

lri $AR1,    #0x8107
lri $IX1,    #0x03f0
lri $WR1,    #0x3a0b
cw 0xd
call send_back  ; 26663 (0x6827)

lri $AR1,    #0xa3f2
lri $IX1,    #0x98be
lri $WR1,    #0x18d1
cw 0xd
call send_back  ; 26664 (0x6828)

lri $AR1,    #0xc48c
lri $IX1,    #0x3df6
lri $WR1,    #0x708b
cw 0xd
call send_back  ; 26665 (0x6829)

lri $AR1,    #0xa757
lri $IX1,    #0xd640
lri $WR1,    #0x8945
cw 0xd
call send_back  ; 26666 (0x682a)

lri $AR1,    #0x5791
lri $IX1,    #0x81b2
lri $WR1,    #0x6874
cw 0xd
call send_back  ; 26667 (0x682b)

lri $AR1,    #0x74af
lri $IX1,    #0x4b5a
lri $WR1,    #0x74ca
cw 0xd
call send_back  ; 26668 (0x682c)

lri $AR1,    #0x9588
lri $IX1,    #0x667e
lri $WR1,    #0x770a
cw 0xd
call send_back  ; 26669 (0x682d)

lri $AR1,    #0xa596
lri $IX1,    #0xa252
lri $WR1,    #0x2359
cw 0xd
call send_back  ; 26670 (0x682e)

lri $AR1,    #0x6417
lri $IX1,    #0x9a82
lri $WR1,    #0xb826
cw 0xd
call send_back  ; 26671 (0x682f)

lri $AR1,    #0x6451
lri $IX1,    #0x9e52
lri $WR1,    #0x653e
cw 0xd
call send_back  ; 26672 (0x6830)

lri $AR1,    #0x79e1
lri $IX1,    #0x2fbc
lri $WR1,    #0x7714
cw 0xd
call send_back  ; 26673 (0x6831)

lri $AR1,    #0xbb50
lri $IX1,    #0x3734
lri $WR1,    #0x8fc7
cw 0xd
call send_back  ; 26674 (0x6832)

lri $AR1,    #0x98ca
lri $IX1,    #0x788e
lri $WR1,    #0x6909
cw 0xd
call send_back  ; 26675 (0x6833)

lri $AR1,    #0xcc3e
lri $IX1,    #0x58be
lri $WR1,    #0x8f64
cw 0xd
call send_back  ; 26676 (0x6834)

lri $AR1,    #0x83c4
lri $IX1,    #0x7bbe
lri $WR1,    #0xa0fd
cw 0xd
call send_back  ; 26677 (0x6835)

lri $AR1,    #0x7685
lri $IX1,    #0x0d7a
lri $WR1,    #0xb754
cw 0xd
call send_back  ; 26678 (0x6836)

lri $AR1,    #0x7812
lri $IX1,    #0x8804
lri $WR1,    #0xa51f
cw 0xd
call send_back  ; 26679 (0x6837)

lri $AR1,    #0x7555
lri $IX1,    #0x5cee
lri $WR1,    #0x76cb
cw 0xd
call send_back  ; 26680 (0x6838)

lri $AR1,    #0x7214
lri $IX1,    #0xef0c
lri $WR1,    #0x8db2
cw 0xd
call send_back  ; 26681 (0x6839)

lri $AR1,    #0x7d30
lri $IX1,    #0xa570
lri $WR1,    #0x9b9a
cw 0xd
call send_back  ; 26682 (0x683a)

lri $AR1,    #0x858e
lri $IX1,    #0x7004
lri $WR1,    #0x1580
cw 0xd
call send_back  ; 26683 (0x683b)

lri $AR1,    #0x60ed
lri $IX1,    #0xb96a
lri $WR1,    #0x4a59
cw 0xd
call send_back  ; 26684 (0x683c)

lri $AR1,    #0x9170
lri $IX1,    #0x59a0
lri $WR1,    #0x83ba
cw 0xd
call send_back  ; 26685 (0x683d)

lri $AR1,    #0xc643
lri $IX1,    #0x881c
lri $WR1,    #0x540d
cw 0xd
call send_back  ; 26686 (0x683e)

lri $AR1,    #0x1719
lri $IX1,    #0xeba8
lri $WR1,    #0xd760
cw 0xd
call send_back  ; 26687 (0x683f)

lri $AR1,    #0x71d2
lri $IX1,    #0x99f0
lri $WR1,    #0x914f
cw 0xd
call send_back  ; 26688 (0x6840)

lri $AR1,    #0x7d29
lri $IX1,    #0xfff6
lri $WR1,    #0x9c30
cw 0xd
call send_back  ; 26689 (0x6841)

lri $AR1,    #0x32a9
lri $IX1,    #0x283a
lri $WR1,    #0x6af9
cw 0xd
call send_back  ; 26690 (0x6842)

lri $AR1,    #0x85c1
lri $IX1,    #0x8304
lri $WR1,    #0xd107
cw 0xd
call send_back  ; 26691 (0x6843)

lri $AR1,    #0xf54c
lri $IX1,    #0x187c
lri $WR1,    #0x3845
cw 0xd
call send_back  ; 26692 (0x6844)

lri $AR1,    #0x404d
lri $IX1,    #0xc3f6
lri $WR1,    #0xc7ca
cw 0xd
call send_back  ; 26693 (0x6845)

lri $AR1,    #0x8642
lri $IX1,    #0xa33c
lri $WR1,    #0x9a7f
cw 0xd
call send_back  ; 26694 (0x6846)

lri $AR1,    #0xbecf
lri $IX1,    #0x2420
lri $WR1,    #0x66d4
cw 0xd
call send_back  ; 26695 (0x6847)

lri $AR1,    #0x8c18
lri $IX1,    #0xee3c
lri $WR1,    #0x7e28
cw 0xd
call send_back  ; 26696 (0x6848)

lri $AR1,    #0x56a1
lri $IX1,    #0x2e0c
lri $WR1,    #0xb3d7
cw 0xd
call send_back  ; 26697 (0x6849)

lri $AR1,    #0xc0eb
lri $IX1,    #0x6250
lri $WR1,    #0x699c
cw 0xd
call send_back  ; 26698 (0x684a)

lri $AR1,    #0x34c3
lri $IX1,    #0x9c02
lri $WR1,    #0x9043
cw 0xd
call send_back  ; 26699 (0x684b)

lri $AR1,    #0xf36e
lri $IX1,    #0x049a
lri $WR1,    #0x4140
cw 0xd
call send_back  ; 26700 (0x684c)

lri $AR1,    #0x8da0
lri $IX1,    #0x5612
lri $WR1,    #0x8f39
cw 0xd
call send_back  ; 26701 (0x684d)

lri $AR1,    #0xd775
lri $IX1,    #0x9b5a
lri $WR1,    #0x2923
cw 0xd
call send_back  ; 26702 (0x684e)

lri $AR1,    #0xb055
lri $IX1,    #0xefa0
lri $WR1,    #0x4ce5
cw 0xd
call send_back  ; 26703 (0x684f)

lri $AR1,    #0xadfb
lri $IX1,    #0xe636
lri $WR1,    #0xac2d
cw 0xd
call send_back  ; 26704 (0x6850)

lri $AR1,    #0x457e
lri $IX1,    #0xac62
lri $WR1,    #0xaf70
cw 0xd
call send_back  ; 26705 (0x6851)

lri $AR1,    #0x4caa
lri $IX1,    #0xb1f8
lri $WR1,    #0x50bf
cw 0xd
call send_back  ; 26706 (0x6852)

lri $AR1,    #0x8177
lri $IX1,    #0x94f0
lri $WR1,    #0x7963
cw 0xd
call send_back  ; 26707 (0x6853)

lri $AR1,    #0x8ce5
lri $IX1,    #0x0fe6
lri $WR1,    #0x42e5
cw 0xd
call send_back  ; 26708 (0x6854)

lri $AR1,    #0x9228
lri $IX1,    #0xa2c8
lri $WR1,    #0x9590
cw 0xd
call send_back  ; 26709 (0x6855)

lri $AR1,    #0xaa4d
lri $IX1,    #0x787c
lri $WR1,    #0xbbf4
cw 0xd
call send_back  ; 26710 (0x6856)

lri $AR1,    #0x104f
lri $IX1,    #0x8bd8
lri $WR1,    #0x847d
cw 0xd
call send_back  ; 26711 (0x6857)

lri $AR1,    #0x98cc
lri $IX1,    #0x21ba
lri $WR1,    #0x4fb8
cw 0xd
call send_back  ; 26712 (0x6858)

lri $AR1,    #0xbc43
lri $IX1,    #0x3588
lri $WR1,    #0x5347
cw 0xd
call send_back  ; 26713 (0x6859)

lri $AR1,    #0x5a18
lri $IX1,    #0x50f2
lri $WR1,    #0x471c
cw 0xd
call send_back  ; 26714 (0x685a)

lri $AR1,    #0x4e3e
lri $IX1,    #0x573e
lri $WR1,    #0x840d
cw 0xd
call send_back  ; 26715 (0x685b)

lri $AR1,    #0x5ac4
lri $IX1,    #0xeffe
lri $WR1,    #0xb04e
cw 0xd
call send_back  ; 26716 (0x685c)

lri $AR1,    #0xa229
lri $IX1,    #0x5466
lri $WR1,    #0x4fd9
cw 0xd
call send_back  ; 26717 (0x685d)

lri $AR1,    #0x5ebd
lri $IX1,    #0x2e1e
lri $WR1,    #0xcc6b
cw 0xd
call send_back  ; 26718 (0x685e)

lri $AR1,    #0x86dd
lri $IX1,    #0xd5fa
lri $WR1,    #0xaa05
cw 0xd
call send_back  ; 26719 (0x685f)

lri $AR1,    #0x855c
lri $IX1,    #0x7430
lri $WR1,    #0x82a4
cw 0xd
call send_back  ; 26720 (0x6860)

lri $AR1,    #0xf8f0
lri $IX1,    #0x2b92
lri $WR1,    #0x6d25
cw 0xd
call send_back  ; 26721 (0x6861)

lri $AR1,    #0x6ce7
lri $IX1,    #0x7480
lri $WR1,    #0x80ec
cw 0xd
call send_back  ; 26722 (0x6862)

lri $AR1,    #0x90fb
lri $IX1,    #0xfbe0
lri $WR1,    #0x996e
cw 0xd
call send_back  ; 26723 (0x6863)

lri $AR1,    #0x7d9b
lri $IX1,    #0x9e08
lri $WR1,    #0x3215
cw 0xd
call send_back  ; 26724 (0x6864)

lri $AR1,    #0x6d64
lri $IX1,    #0x4cc0
lri $WR1,    #0x8c9f
cw 0xd
call send_back  ; 26725 (0x6865)

lri $AR1,    #0x6436
lri $IX1,    #0xbb48
lri $WR1,    #0xb182
cw 0xd
call send_back  ; 26726 (0x6866)

lri $AR1,    #0xdfa2
lri $IX1,    #0x6aba
lri $WR1,    #0x9b68
cw 0xd
call send_back  ; 26727 (0x6867)

lri $AR1,    #0xc3ff
lri $IX1,    #0x0478
lri $WR1,    #0x644c
cw 0xd
call send_back  ; 26728 (0x6868)

lri $AR1,    #0xa509
lri $IX1,    #0xb812
lri $WR1,    #0xf454
cw 0xd
call send_back  ; 26729 (0x6869)

lri $AR1,    #0xa847
lri $IX1,    #0x6d64
lri $WR1,    #0x5fe9
cw 0xd
call send_back  ; 26730 (0x686a)

lri $AR1,    #0x7311
lri $IX1,    #0xeb48
lri $WR1,    #0x342d
cw 0xd
call send_back  ; 26731 (0x686b)

lri $AR1,    #0x3d7d
lri $IX1,    #0x76a6
lri $WR1,    #0x4653
cw 0xd
call send_back  ; 26732 (0x686c)

lri $AR1,    #0x1f1b
lri $IX1,    #0xc528
lri $WR1,    #0x93ea
cw 0xd
call send_back  ; 26733 (0x686d)

lri $AR1,    #0xd9ab
lri $IX1,    #0x4a78
lri $WR1,    #0x3fb3
cw 0xd
call send_back  ; 26734 (0x686e)

lri $AR1,    #0xa9bf
lri $IX1,    #0xc646
lri $WR1,    #0x980f
cw 0xd
call send_back  ; 26735 (0x686f)

lri $AR1,    #0x5c85
lri $IX1,    #0x6cf2
lri $WR1,    #0xb988
cw 0xd
call send_back  ; 26736 (0x6870)

lri $AR1,    #0x758f
lri $IX1,    #0xec18
lri $WR1,    #0xa99d
cw 0xd
call send_back  ; 26737 (0x6871)

lri $AR1,    #0x6eed
lri $IX1,    #0xc7e0
lri $WR1,    #0x934e
cw 0xd
call send_back  ; 26738 (0x6872)

lri $AR1,    #0x715f
lri $IX1,    #0xfd68
lri $WR1,    #0x8077
cw 0xd
call send_back  ; 26739 (0x6873)

lri $AR1,    #0xa9fc
lri $IX1,    #0x59f8
lri $WR1,    #0x60a3
cw 0xd
call send_back  ; 26740 (0x6874)

lri $AR1,    #0x7e10
lri $IX1,    #0x6e70
lri $WR1,    #0xc745
cw 0xd
call send_back  ; 26741 (0x6875)

lri $AR1,    #0xad8e
lri $IX1,    #0x51b0
lri $WR1,    #0x68fa
cw 0xd
call send_back  ; 26742 (0x6876)

lri $AR1,    #0xd7d8
lri $IX1,    #0x6454
lri $WR1,    #0x60e5
cw 0xd
call send_back  ; 26743 (0x6877)

lri $AR1,    #0xae41
lri $IX1,    #0xdb84
lri $WR1,    #0x8cb3
cw 0xd
call send_back  ; 26744 (0x6878)

lri $AR1,    #0x4b04
lri $IX1,    #0xe036
lri $WR1,    #0x374d
cw 0xd
call send_back  ; 26745 (0x6879)

lri $AR1,    #0x8309
lri $IX1,    #0x6bb6
lri $WR1,    #0xb7d3
cw 0xd
call send_back  ; 26746 (0x687a)

lri $AR1,    #0x7c4a
lri $IX1,    #0x99b0
lri $WR1,    #0x7bf4
cw 0xd
call send_back  ; 26747 (0x687b)

lri $AR1,    #0x3a2a
lri $IX1,    #0xcba0
lri $WR1,    #0x8a1f
cw 0xd
call send_back  ; 26748 (0x687c)

lri $AR1,    #0x8c86
lri $IX1,    #0x90ea
lri $WR1,    #0xc1ba
cw 0xd
call send_back  ; 26749 (0x687d)

lri $AR1,    #0x3dd0
lri $IX1,    #0xb274
lri $WR1,    #0x5cce
cw 0xd
call send_back  ; 26750 (0x687e)

lri $AR1,    #0x600d
lri $IX1,    #0xe014
lri $WR1,    #0xd853
cw 0xd
call send_back  ; 26751 (0x687f)

lri $AR1,    #0x9006
lri $IX1,    #0x318c
lri $WR1,    #0xcda8
cw 0xd
call send_back  ; 26752 (0x6880)

lri $AR1,    #0xd16b
lri $IX1,    #0xd480
lri $WR1,    #0x512b
cw 0xd
call send_back  ; 26753 (0x6881)

lri $AR1,    #0x264c
lri $IX1,    #0xbc28
lri $WR1,    #0x77b4
cw 0xd
call send_back  ; 26754 (0x6882)

lri $AR1,    #0x97b2
lri $IX1,    #0xd714
lri $WR1,    #0x95ce
cw 0xd
call send_back  ; 26755 (0x6883)

lri $AR1,    #0xec99
lri $IX1,    #0x12c0
lri $WR1,    #0x8162
cw 0xd
call send_back  ; 26756 (0x6884)

lri $AR1,    #0x283e
lri $IX1,    #0x2c68
lri $WR1,    #0x77d4
cw 0xd
call send_back  ; 26757 (0x6885)

lri $AR1,    #0x77e2
lri $IX1,    #0xd9c6
lri $WR1,    #0xa82a
cw 0xd
call send_back  ; 26758 (0x6886)

lri $AR1,    #0x5c00
lri $IX1,    #0x143a
lri $WR1,    #0xa244
cw 0xd
call send_back  ; 26759 (0x6887)

lri $AR1,    #0x7024
lri $IX1,    #0x23ee
lri $WR1,    #0xf1be
cw 0xd
call send_back  ; 26760 (0x6888)

lri $AR1,    #0x2045
lri $IX1,    #0x5086
lri $WR1,    #0x5482
cw 0xd
call send_back  ; 26761 (0x6889)

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