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

lri $AR1,    #0xac27
lri $IX1,    #0xae9c
lri $WR1,    #0x2dda
cw 0xd
call send_back  ; 22611 (0x5853)

lri $AR1,    #0xed5f
lri $IX1,    #0x91ac
lri $WR1,    #0x830d
cw 0xd
call send_back  ; 22612 (0x5854)

lri $AR1,    #0xcedc
lri $IX1,    #0x4698
lri $WR1,    #0x139b
cw 0xd
call send_back  ; 22613 (0x5855)

lri $AR1,    #0x382b
lri $IX1,    #0x3ac6
lri $WR1,    #0x6291
cw 0xd
call send_back  ; 22614 (0x5856)

lri $AR1,    #0x6ec7
lri $IX1,    #0xc78e
lri $WR1,    #0xa2db
cw 0xd
call send_back  ; 22615 (0x5857)

lri $AR1,    #0xadce
lri $IX1,    #0x4c4a
lri $WR1,    #0x6589
cw 0xd
call send_back  ; 22616 (0x5858)

lri $AR1,    #0x503f
lri $IX1,    #0x3ae2
lri $WR1,    #0x7cba
cw 0xd
call send_back  ; 22617 (0x5859)

lri $AR1,    #0xb3fe
lri $IX1,    #0x8f86
lri $WR1,    #0x48e1
cw 0xd
call send_back  ; 22618 (0x585a)

lri $AR1,    #0x6f7e
lri $IX1,    #0x3bfc
lri $WR1,    #0x7754
cw 0xd
call send_back  ; 22619 (0x585b)

lri $AR1,    #0x5b4d
lri $IX1,    #0x3256
lri $WR1,    #0xcec6
cw 0xd
call send_back  ; 22620 (0x585c)

lri $AR1,    #0xac6c
lri $IX1,    #0xd246
lri $WR1,    #0x5fb4
cw 0xd
call send_back  ; 22621 (0x585d)

lri $AR1,    #0xcbab
lri $IX1,    #0x67fa
lri $WR1,    #0xac58
cw 0xd
call send_back  ; 22622 (0x585e)

lri $AR1,    #0x19e5
lri $IX1,    #0x0ac0
lri $WR1,    #0x7d34
cw 0xd
call send_back  ; 22623 (0x585f)

lri $AR1,    #0xc86e
lri $IX1,    #0x5d50
lri $WR1,    #0x7cc6
cw 0xd
call send_back  ; 22624 (0x5860)

lri $AR1,    #0x387c
lri $IX1,    #0x58fc
lri $WR1,    #0xbe68
cw 0xd
call send_back  ; 22625 (0x5861)

lri $AR1,    #0x53dc
lri $IX1,    #0x48a2
lri $WR1,    #0x6200
cw 0xd
call send_back  ; 22626 (0x5862)

lri $AR1,    #0xe4cb
lri $IX1,    #0x47ae
lri $WR1,    #0x7784
cw 0xd
call send_back  ; 22627 (0x5863)

lri $AR1,    #0x7a34
lri $IX1,    #0xdcf0
lri $WR1,    #0x7add
cw 0xd
call send_back  ; 22628 (0x5864)

lri $AR1,    #0x4138
lri $IX1,    #0x80b0
lri $WR1,    #0x1a49
cw 0xd
call send_back  ; 22629 (0x5865)

lri $AR1,    #0xcc35
lri $IX1,    #0xe8b4
lri $WR1,    #0x56be
cw 0xd
call send_back  ; 22630 (0x5866)

lri $AR1,    #0x633a
lri $IX1,    #0xb490
lri $WR1,    #0xcf67
cw 0xd
call send_back  ; 22631 (0x5867)

lri $AR1,    #0x9120
lri $IX1,    #0x6828
lri $WR1,    #0x8ebd
cw 0xd
call send_back  ; 22632 (0x5868)

lri $AR1,    #0x8c24
lri $IX1,    #0x698c
lri $WR1,    #0x5967
cw 0xd
call send_back  ; 22633 (0x5869)

lri $AR1,    #0x384e
lri $IX1,    #0xd316
lri $WR1,    #0xac4d
cw 0xd
call send_back  ; 22634 (0x586a)

lri $AR1,    #0x3570
lri $IX1,    #0x3a26
lri $WR1,    #0x2914
cw 0xd
call send_back  ; 22635 (0x586b)

lri $AR1,    #0x9227
lri $IX1,    #0xee1e
lri $WR1,    #0x856b
cw 0xd
call send_back  ; 22636 (0x586c)

lri $AR1,    #0xb87f
lri $IX1,    #0x8b28
lri $WR1,    #0x8b64
cw 0xd
call send_back  ; 22637 (0x586d)

lri $AR1,    #0x58b9
lri $IX1,    #0xe772
lri $WR1,    #0xb640
cw 0xd
call send_back  ; 22638 (0x586e)

lri $AR1,    #0x59e7
lri $IX1,    #0x412c
lri $WR1,    #0x58de
cw 0xd
call send_back  ; 22639 (0x586f)

lri $AR1,    #0x8fb7
lri $IX1,    #0x0732
lri $WR1,    #0x6049
cw 0xd
call send_back  ; 22640 (0x5870)

lri $AR1,    #0x803b
lri $IX1,    #0x7da0
lri $WR1,    #0x8e81
cw 0xd
call send_back  ; 22641 (0x5871)

lri $AR1,    #0x4403
lri $IX1,    #0xbb24
lri $WR1,    #0x5702
cw 0xd
call send_back  ; 22642 (0x5872)

lri $AR1,    #0x5e4f
lri $IX1,    #0xeb56
lri $WR1,    #0xb82d
cw 0xd
call send_back  ; 22643 (0x5873)

lri $AR1,    #0xb2b6
lri $IX1,    #0x4600
lri $WR1,    #0x620d
cw 0xd
call send_back  ; 22644 (0x5874)

lri $AR1,    #0x5904
lri $IX1,    #0xa280
lri $WR1,    #0x9490
cw 0xd
call send_back  ; 22645 (0x5875)

lri $AR1,    #0x5fac
lri $IX1,    #0xda3c
lri $WR1,    #0xbcd6
cw 0xd
call send_back  ; 22646 (0x5876)

lri $AR1,    #0x7090
lri $IX1,    #0x2c4a
lri $WR1,    #0x5a84
cw 0xd
call send_back  ; 22647 (0x5877)

lri $AR1,    #0xa383
lri $IX1,    #0x6854
lri $WR1,    #0x7bc4
cw 0xd
call send_back  ; 22648 (0x5878)

lri $AR1,    #0x7540
lri $IX1,    #0xadd0
lri $WR1,    #0x8800
cw 0xd
call send_back  ; 22649 (0x5879)

lri $AR1,    #0x392e
lri $IX1,    #0xe88a
lri $WR1,    #0x7ed8
cw 0xd
call send_back  ; 22650 (0x587a)

lri $AR1,    #0xcfc9
lri $IX1,    #0xc2ae
lri $WR1,    #0xa27a
cw 0xd
call send_back  ; 22651 (0x587b)

lri $AR1,    #0xd2f4
lri $IX1,    #0x6838
lri $WR1,    #0x99d8
cw 0xd
call send_back  ; 22652 (0x587c)

lri $AR1,    #0xa50a
lri $IX1,    #0x0f0a
lri $WR1,    #0x50d6
cw 0xd
call send_back  ; 22653 (0x587d)

lri $AR1,    #0x3efd
lri $IX1,    #0xa290
lri $WR1,    #0x99fb
cw 0xd
call send_back  ; 22654 (0x587e)

lri $AR1,    #0x9d54
lri $IX1,    #0x111a
lri $WR1,    #0xb6c2
cw 0xd
call send_back  ; 22655 (0x587f)

lri $AR1,    #0xa357
lri $IX1,    #0x6cec
lri $WR1,    #0xd108
cw 0xd
call send_back  ; 22656 (0x5880)

lri $AR1,    #0x1737
lri $IX1,    #0x3a2a
lri $WR1,    #0x79ae
cw 0xd
call send_back  ; 22657 (0x5881)

lri $AR1,    #0xd983
lri $IX1,    #0xbe8c
lri $WR1,    #0x4e09
cw 0xd
call send_back  ; 22658 (0x5882)

lri $AR1,    #0x8dc2
lri $IX1,    #0xd722
lri $WR1,    #0xd725
cw 0xd
call send_back  ; 22659 (0x5883)

lri $AR1,    #0x7174
lri $IX1,    #0x9be8
lri $WR1,    #0xeb6a
cw 0xd
call send_back  ; 22660 (0x5884)

lri $AR1,    #0x7a52
lri $IX1,    #0xd098
lri $WR1,    #0xb4be
cw 0xd
call send_back  ; 22661 (0x5885)

lri $AR1,    #0xe420
lri $IX1,    #0xad72
lri $WR1,    #0x5aa7
cw 0xd
call send_back  ; 22662 (0x5886)

lri $AR1,    #0x79d8
lri $IX1,    #0xca50
lri $WR1,    #0x9183
cw 0xd
call send_back  ; 22663 (0x5887)

lri $AR1,    #0x7d86
lri $IX1,    #0xc9de
lri $WR1,    #0xd56f
cw 0xd
call send_back  ; 22664 (0x5888)

lri $AR1,    #0x7da0
lri $IX1,    #0xaa40
lri $WR1,    #0xc0d5
cw 0xd
call send_back  ; 22665 (0x5889)

lri $AR1,    #0x8631
lri $IX1,    #0x3bee
lri $WR1,    #0x1c50
cw 0xd
call send_back  ; 22666 (0x588a)

lri $AR1,    #0x4f99
lri $IX1,    #0x0f24
lri $WR1,    #0x56d7
cw 0xd
call send_back  ; 22667 (0x588b)

lri $AR1,    #0x3445
lri $IX1,    #0x0bb4
lri $WR1,    #0x6add
cw 0xd
call send_back  ; 22668 (0x588c)

lri $AR1,    #0x321e
lri $IX1,    #0xbe7c
lri $WR1,    #0xae56
cw 0xd
call send_back  ; 22669 (0x588d)

lri $AR1,    #0x6c07
lri $IX1,    #0x1362
lri $WR1,    #0x8956
cw 0xd
call send_back  ; 22670 (0x588e)

lri $AR1,    #0x633d
lri $IX1,    #0x921a
lri $WR1,    #0x7031
cw 0xd
call send_back  ; 22671 (0x588f)

lri $AR1,    #0x57e0
lri $IX1,    #0x278c
lri $WR1,    #0x23d2
cw 0xd
call send_back  ; 22672 (0x5890)

lri $AR1,    #0x4b7f
lri $IX1,    #0xed26
lri $WR1,    #0x8440
cw 0xd
call send_back  ; 22673 (0x5891)

lri $AR1,    #0x5fec
lri $IX1,    #0x1aee
lri $WR1,    #0x0ee5
cw 0xd
call send_back  ; 22674 (0x5892)

lri $AR1,    #0xa033
lri $IX1,    #0x40a6
lri $WR1,    #0xd3ba
cw 0xd
call send_back  ; 22675 (0x5893)

lri $AR1,    #0x88fd
lri $IX1,    #0xe5bc
lri $WR1,    #0xa1c8
cw 0xd
call send_back  ; 22676 (0x5894)

lri $AR1,    #0x4130
lri $IX1,    #0xa788
lri $WR1,    #0x4526
cw 0xd
call send_back  ; 22677 (0x5895)

lri $AR1,    #0x4323
lri $IX1,    #0xb864
lri $WR1,    #0xce01
cw 0xd
call send_back  ; 22678 (0x5896)

lri $AR1,    #0x9a24
lri $IX1,    #0x222e
lri $WR1,    #0xd9b6
cw 0xd
call send_back  ; 22679 (0x5897)

lri $AR1,    #0xafb8
lri $IX1,    #0x41d8
lri $WR1,    #0x9c8d
cw 0xd
call send_back  ; 22680 (0x5898)

lri $AR1,    #0x4f55
lri $IX1,    #0x796c
lri $WR1,    #0xd437
cw 0xd
call send_back  ; 22681 (0x5899)

lri $AR1,    #0x66e6
lri $IX1,    #0xf152
lri $WR1,    #0x3885
cw 0xd
call send_back  ; 22682 (0x589a)

lri $AR1,    #0x7df0
lri $IX1,    #0x5118
lri $WR1,    #0x517a
cw 0xd
call send_back  ; 22683 (0x589b)

lri $AR1,    #0x44ab
lri $IX1,    #0x7ba4
lri $WR1,    #0x2f48
cw 0xd
call send_back  ; 22684 (0x589c)

lri $AR1,    #0xd7ca
lri $IX1,    #0x720e
lri $WR1,    #0xba38
cw 0xd
call send_back  ; 22685 (0x589d)

lri $AR1,    #0x4567
lri $IX1,    #0x6bfa
lri $WR1,    #0x8e23
cw 0xd
call send_back  ; 22686 (0x589e)

lri $AR1,    #0x62af
lri $IX1,    #0xd3bc
lri $WR1,    #0xf67a
cw 0xd
call send_back  ; 22687 (0x589f)

lri $AR1,    #0x79e1
lri $IX1,    #0x0822
lri $WR1,    #0x8578
cw 0xd
call send_back  ; 22688 (0x58a0)

lri $AR1,    #0xa324
lri $IX1,    #0x6d26
lri $WR1,    #0xca86
cw 0xd
call send_back  ; 22689 (0x58a1)

lri $AR1,    #0x1acf
lri $IX1,    #0x505a
lri $WR1,    #0xb967
cw 0xd
call send_back  ; 22690 (0x58a2)

lri $AR1,    #0xfab3
lri $IX1,    #0x556e
lri $WR1,    #0x453f
cw 0xd
call send_back  ; 22691 (0x58a3)

lri $AR1,    #0x43e1
lri $IX1,    #0x628c
lri $WR1,    #0x67f5
cw 0xd
call send_back  ; 22692 (0x58a4)

lri $AR1,    #0x81af
lri $IX1,    #0x3be0
lri $WR1,    #0x2815
cw 0xd
call send_back  ; 22693 (0x58a5)

lri $AR1,    #0x5e43
lri $IX1,    #0x0924
lri $WR1,    #0x8cb4
cw 0xd
call send_back  ; 22694 (0x58a6)

lri $AR1,    #0x2483
lri $IX1,    #0xbf76
lri $WR1,    #0x3069
cw 0xd
call send_back  ; 22695 (0x58a7)

lri $AR1,    #0x42ab
lri $IX1,    #0xbd50
lri $WR1,    #0xa9ee
cw 0xd
call send_back  ; 22696 (0x58a8)

lri $AR1,    #0xcc6f
lri $IX1,    #0xade4
lri $WR1,    #0x2a75
cw 0xd
call send_back  ; 22697 (0x58a9)

lri $AR1,    #0x9adc
lri $IX1,    #0xe4c8
lri $WR1,    #0x5f46
cw 0xd
call send_back  ; 22698 (0x58aa)

lri $AR1,    #0xdbde
lri $IX1,    #0xb21a
lri $WR1,    #0x35b3
cw 0xd
call send_back  ; 22699 (0x58ab)

lri $AR1,    #0x8ab3
lri $IX1,    #0x9316
lri $WR1,    #0x75ea
cw 0xd
call send_back  ; 22700 (0x58ac)

lri $AR1,    #0xc620
lri $IX1,    #0x7a50
lri $WR1,    #0xa2ca
cw 0xd
call send_back  ; 22701 (0x58ad)

lri $AR1,    #0xa8ac
lri $IX1,    #0x9666
lri $WR1,    #0x0a31
cw 0xd
call send_back  ; 22702 (0x58ae)

lri $AR1,    #0x8abe
lri $IX1,    #0xdd90
lri $WR1,    #0xd2ee
cw 0xd
call send_back  ; 22703 (0x58af)

lri $AR1,    #0x4de9
lri $IX1,    #0x17c0
lri $WR1,    #0x7ac9
cw 0xd
call send_back  ; 22704 (0x58b0)

lri $AR1,    #0xdc37
lri $IX1,    #0x08ba
lri $WR1,    #0x80d0
cw 0xd
call send_back  ; 22705 (0x58b1)

lri $AR1,    #0x45bd
lri $IX1,    #0x96de
lri $WR1,    #0xc55e
cw 0xd
call send_back  ; 22706 (0x58b2)

lri $AR1,    #0xba52
lri $IX1,    #0x3b0c
lri $WR1,    #0x5b01
cw 0xd
call send_back  ; 22707 (0x58b3)

lri $AR1,    #0x64b2
lri $IX1,    #0x8966
lri $WR1,    #0x78c2
cw 0xd
call send_back  ; 22708 (0x58b4)

lri $AR1,    #0xc7e0
lri $IX1,    #0x1a30
lri $WR1,    #0x57de
cw 0xd
call send_back  ; 22709 (0x58b5)

lri $AR1,    #0x8f12
lri $IX1,    #0x65c0
lri $WR1,    #0x6492
cw 0xd
call send_back  ; 22710 (0x58b6)

lri $AR1,    #0xa404
lri $IX1,    #0x25ba
lri $WR1,    #0x2af1
cw 0xd
call send_back  ; 22711 (0x58b7)

lri $AR1,    #0x36ed
lri $IX1,    #0x6158
lri $WR1,    #0x2e62
cw 0xd
call send_back  ; 22712 (0x58b8)

lri $AR1,    #0x8efe
lri $IX1,    #0x5238
lri $WR1,    #0x43e0
cw 0xd
call send_back  ; 22713 (0x58b9)

lri $AR1,    #0x59a5
lri $IX1,    #0xaa5e
lri $WR1,    #0x7466
cw 0xd
call send_back  ; 22714 (0x58ba)

lri $AR1,    #0xa272
lri $IX1,    #0x53ba
lri $WR1,    #0xbed3
cw 0xd
call send_back  ; 22715 (0x58bb)

lri $AR1,    #0x84f0
lri $IX1,    #0x651c
lri $WR1,    #0xa595
cw 0xd
call send_back  ; 22716 (0x58bc)

lri $AR1,    #0x652f
lri $IX1,    #0x9fd2
lri $WR1,    #0xae5b
cw 0xd
call send_back  ; 22717 (0x58bd)

lri $AR1,    #0x6b68
lri $IX1,    #0x34b6
lri $WR1,    #0xb751
cw 0xd
call send_back  ; 22718 (0x58be)

lri $AR1,    #0x8276
lri $IX1,    #0xaf26
lri $WR1,    #0xa6db
cw 0xd
call send_back  ; 22719 (0x58bf)

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