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

lri $AR1,    #0x4081
lri $IX1,    #0x4272
lri $WR1,    #0x254a
cw 0xd
call send_back  ; 55706 (0xd99a)

lri $AR1,    #0xa006
lri $IX1,    #0xbc46
lri $WR1,    #0x21d7
cw 0xd
call send_back  ; 55707 (0xd99b)

lri $AR1,    #0x803c
lri $IX1,    #0xf3e8
lri $WR1,    #0x8422
cw 0xd
call send_back  ; 55708 (0xd99c)

lri $AR1,    #0x90b1
lri $IX1,    #0x840a
lri $WR1,    #0x57ac
cw 0xd
call send_back  ; 55709 (0xd99d)

lri $AR1,    #0xc891
lri $IX1,    #0x4626
lri $WR1,    #0x42c6
cw 0xd
call send_back  ; 55710 (0xd99e)

lri $AR1,    #0x8269
lri $IX1,    #0xc4aa
lri $WR1,    #0xa099
cw 0xd
call send_back  ; 55711 (0xd99f)

lri $AR1,    #0x800a
lri $IX1,    #0x02ba
lri $WR1,    #0x8658
cw 0xd
call send_back  ; 55712 (0xd9a0)

lri $AR1,    #0xa976
lri $IX1,    #0xa2ea
lri $WR1,    #0x37a4
cw 0xd
call send_back  ; 55713 (0xd9a1)

lri $AR1,    #0x591a
lri $IX1,    #0x71a2
lri $WR1,    #0x9bb8
cw 0xd
call send_back  ; 55714 (0xd9a2)

lri $AR1,    #0x9b20
lri $IX1,    #0x87ac
lri $WR1,    #0x3670
cw 0xd
call send_back  ; 55715 (0xd9a3)

lri $AR1,    #0x4d32
lri $IX1,    #0x7c88
lri $WR1,    #0x5dab
cw 0xd
call send_back  ; 55716 (0xd9a4)

lri $AR1,    #0x677d
lri $IX1,    #0x57fc
lri $WR1,    #0xbd2d
cw 0xd
call send_back  ; 55717 (0xd9a5)

lri $AR1,    #0xc73e
lri $IX1,    #0xfd98
lri $WR1,    #0x1883
cw 0xd
call send_back  ; 55718 (0xd9a6)

lri $AR1,    #0x76b2
lri $IX1,    #0x8c94
lri $WR1,    #0x7bfb
cw 0xd
call send_back  ; 55719 (0xd9a7)

lri $AR1,    #0x85b3
lri $IX1,    #0x81be
lri $WR1,    #0x9349
cw 0xd
call send_back  ; 55720 (0xd9a8)

lri $AR1,    #0x71c8
lri $IX1,    #0x30e6
lri $WR1,    #0x05d6
cw 0xd
call send_back  ; 55721 (0xd9a9)

lri $AR1,    #0x3c15
lri $IX1,    #0x4676
lri $WR1,    #0x6663
cw 0xd
call send_back  ; 55722 (0xd9aa)

lri $AR1,    #0x7ee2
lri $IX1,    #0x51a6
lri $WR1,    #0x54f7
cw 0xd
call send_back  ; 55723 (0xd9ab)

lri $AR1,    #0x7c02
lri $IX1,    #0xbb0a
lri $WR1,    #0xc7bb
cw 0xd
call send_back  ; 55724 (0xd9ac)

lri $AR1,    #0x9914
lri $IX1,    #0xe2ca
lri $WR1,    #0xe8c3
cw 0xd
call send_back  ; 55725 (0xd9ad)

lri $AR1,    #0x6db5
lri $IX1,    #0x4d60
lri $WR1,    #0x746a
cw 0xd
call send_back  ; 55726 (0xd9ae)

lri $AR1,    #0x4ba5
lri $IX1,    #0xa51c
lri $WR1,    #0x6533
cw 0xd
call send_back  ; 55727 (0xd9af)

lri $AR1,    #0xe010
lri $IX1,    #0xca46
lri $WR1,    #0x5fdf
cw 0xd
call send_back  ; 55728 (0xd9b0)

lri $AR1,    #0x98d6
lri $IX1,    #0x133c
lri $WR1,    #0x9bb3
cw 0xd
call send_back  ; 55729 (0xd9b1)

lri $AR1,    #0xb826
lri $IX1,    #0x1932
lri $WR1,    #0x5085
cw 0xd
call send_back  ; 55730 (0xd9b2)

lri $AR1,    #0x542d
lri $IX1,    #0xde28
lri $WR1,    #0x6598
cw 0xd
call send_back  ; 55731 (0xd9b3)

lri $AR1,    #0x4840
lri $IX1,    #0x9b90
lri $WR1,    #0x91ed
cw 0xd
call send_back  ; 55732 (0xd9b4)

lri $AR1,    #0xb83a
lri $IX1,    #0x0148
lri $WR1,    #0xb7fb
cw 0xd
call send_back  ; 55733 (0xd9b5)

lri $AR1,    #0x966a
lri $IX1,    #0xf782
lri $WR1,    #0x6476
cw 0xd
call send_back  ; 55734 (0xd9b6)

lri $AR1,    #0x7fe3
lri $IX1,    #0xf5f4
lri $WR1,    #0xd929
cw 0xd
call send_back  ; 55735 (0xd9b7)

lri $AR1,    #0x9a73
lri $IX1,    #0x9634
lri $WR1,    #0x5274
cw 0xd
call send_back  ; 55736 (0xd9b8)

lri $AR1,    #0x4b24
lri $IX1,    #0x0e78
lri $WR1,    #0x9f86
cw 0xd
call send_back  ; 55737 (0xd9b9)

lri $AR1,    #0x7b7c
lri $IX1,    #0x9d9a
lri $WR1,    #0x92d8
cw 0xd
call send_back  ; 55738 (0xd9ba)

lri $AR1,    #0x9764
lri $IX1,    #0x80a4
lri $WR1,    #0xa1fd
cw 0xd
call send_back  ; 55739 (0xd9bb)

lri $AR1,    #0x54fe
lri $IX1,    #0xadbc
lri $WR1,    #0xa15b
cw 0xd
call send_back  ; 55740 (0xd9bc)

lri $AR1,    #0x9331
lri $IX1,    #0x27ca
lri $WR1,    #0xc1dc
cw 0xd
call send_back  ; 55741 (0xd9bd)

lri $AR1,    #0x8b4e
lri $IX1,    #0x2980
lri $WR1,    #0x3420
cw 0xd
call send_back  ; 55742 (0xd9be)

lri $AR1,    #0x158c
lri $IX1,    #0x8650
lri $WR1,    #0x7647
cw 0xd
call send_back  ; 55743 (0xd9bf)

lri $AR1,    #0xb7ae
lri $IX1,    #0x52ea
lri $WR1,    #0xb6e2
cw 0xd
call send_back  ; 55744 (0xd9c0)

lri $AR1,    #0x80b3
lri $IX1,    #0x0eb0
lri $WR1,    #0xc119
cw 0xd
call send_back  ; 55745 (0xd9c1)

lri $AR1,    #0xb3cb
lri $IX1,    #0x02ee
lri $WR1,    #0x7397
cw 0xd
call send_back  ; 55746 (0xd9c2)

lri $AR1,    #0x5869
lri $IX1,    #0x3c0a
lri $WR1,    #0xb54f
cw 0xd
call send_back  ; 55747 (0xd9c3)

lri $AR1,    #0xcccc
lri $IX1,    #0x44b2
lri $WR1,    #0x909f
cw 0xd
call send_back  ; 55748 (0xd9c4)

lri $AR1,    #0x53ba
lri $IX1,    #0x821e
lri $WR1,    #0x76f1
cw 0xd
call send_back  ; 55749 (0xd9c5)

lri $AR1,    #0xa5d4
lri $IX1,    #0x9c5a
lri $WR1,    #0x8c62
cw 0xd
call send_back  ; 55750 (0xd9c6)

lri $AR1,    #0x3244
lri $IX1,    #0x9cde
lri $WR1,    #0x1c78
cw 0xd
call send_back  ; 55751 (0xd9c7)

lri $AR1,    #0x5213
lri $IX1,    #0x4148
lri $WR1,    #0x5e82
cw 0xd
call send_back  ; 55752 (0xd9c8)

lri $AR1,    #0x9d06
lri $IX1,    #0x4776
lri $WR1,    #0x59b3
cw 0xd
call send_back  ; 55753 (0xd9c9)

lri $AR1,    #0xae44
lri $IX1,    #0x13f0
lri $WR1,    #0x667c
cw 0xd
call send_back  ; 55754 (0xd9ca)

lri $AR1,    #0x5a9d
lri $IX1,    #0xe2ce
lri $WR1,    #0x5c39
cw 0xd
call send_back  ; 55755 (0xd9cb)

lri $AR1,    #0x81bc
lri $IX1,    #0x9712
lri $WR1,    #0x4fd3
cw 0xd
call send_back  ; 55756 (0xd9cc)

lri $AR1,    #0x9f16
lri $IX1,    #0x1398
lri $WR1,    #0x4145
cw 0xd
call send_back  ; 55757 (0xd9cd)

lri $AR1,    #0x6eed
lri $IX1,    #0xb494
lri $WR1,    #0x93b7
cw 0xd
call send_back  ; 55758 (0xd9ce)

lri $AR1,    #0x3f2d
lri $IX1,    #0xdfd4
lri $WR1,    #0x8d25
cw 0xd
call send_back  ; 55759 (0xd9cf)

lri $AR1,    #0xbb74
lri $IX1,    #0x95b2
lri $WR1,    #0x402f
cw 0xd
call send_back  ; 55760 (0xd9d0)

lri $AR1,    #0x8f1e
lri $IX1,    #0x53da
lri $WR1,    #0x0c22
cw 0xd
call send_back  ; 55761 (0xd9d1)

lri $AR1,    #0x779a
lri $IX1,    #0x56e2
lri $WR1,    #0x2cbf
cw 0xd
call send_back  ; 55762 (0xd9d2)

lri $AR1,    #0xb4e4
lri $IX1,    #0x36e2
lri $WR1,    #0x84e4
cw 0xd
call send_back  ; 55763 (0xd9d3)

lri $AR1,    #0x8d62
lri $IX1,    #0xdf00
lri $WR1,    #0x4490
cw 0xd
call send_back  ; 55764 (0xd9d4)

lri $AR1,    #0xb609
lri $IX1,    #0xd70c
lri $WR1,    #0xa460
cw 0xd
call send_back  ; 55765 (0xd9d5)

lri $AR1,    #0x3f0d
lri $IX1,    #0xa22e
lri $WR1,    #0x8e18
cw 0xd
call send_back  ; 55766 (0xd9d6)

lri $AR1,    #0x88e9
lri $IX1,    #0x74e2
lri $WR1,    #0x8b39
cw 0xd
call send_back  ; 55767 (0xd9d7)

lri $AR1,    #0x9d23
lri $IX1,    #0x980c
lri $WR1,    #0x9844
cw 0xd
call send_back  ; 55768 (0xd9d8)

lri $AR1,    #0x717d
lri $IX1,    #0x5670
lri $WR1,    #0x64ad
cw 0xd
call send_back  ; 55769 (0xd9d9)

lri $AR1,    #0x7bff
lri $IX1,    #0x2d86
lri $WR1,    #0x751c
cw 0xd
call send_back  ; 55770 (0xd9da)

lri $AR1,    #0xf19e
lri $IX1,    #0x09b8
lri $WR1,    #0x6efb
cw 0xd
call send_back  ; 55771 (0xd9db)

lri $AR1,    #0x70cf
lri $IX1,    #0x7a1c
lri $WR1,    #0x69f1
cw 0xd
call send_back  ; 55772 (0xd9dc)

lri $AR1,    #0x94d5
lri $IX1,    #0xdec8
lri $WR1,    #0xdd4e
cw 0xd
call send_back  ; 55773 (0xd9dd)

lri $AR1,    #0x5e22
lri $IX1,    #0x80ac
lri $WR1,    #0x7cff
cw 0xd
call send_back  ; 55774 (0xd9de)

lri $AR1,    #0x5f9a
lri $IX1,    #0x213c
lri $WR1,    #0x7b1e
cw 0xd
call send_back  ; 55775 (0xd9df)

lri $AR1,    #0x97f2
lri $IX1,    #0xc3b4
lri $WR1,    #0x8899
cw 0xd
call send_back  ; 55776 (0xd9e0)

lri $AR1,    #0xaa24
lri $IX1,    #0x1948
lri $WR1,    #0x7920
cw 0xd
call send_back  ; 55777 (0xd9e1)

lri $AR1,    #0xa724
lri $IX1,    #0xf51e
lri $WR1,    #0x7bcc
cw 0xd
call send_back  ; 55778 (0xd9e2)

lri $AR1,    #0xaeae
lri $IX1,    #0x5c40
lri $WR1,    #0xcba8
cw 0xd
call send_back  ; 55779 (0xd9e3)

lri $AR1,    #0x3495
lri $IX1,    #0x0988
lri $WR1,    #0x7091
cw 0xd
call send_back  ; 55780 (0xd9e4)

lri $AR1,    #0x933a
lri $IX1,    #0x74a0
lri $WR1,    #0x8297
cw 0xd
call send_back  ; 55781 (0xd9e5)

lri $AR1,    #0x23a2
lri $IX1,    #0x770e
lri $WR1,    #0xbf67
cw 0xd
call send_back  ; 55782 (0xd9e6)

lri $AR1,    #0xb6e1
lri $IX1,    #0x6992
lri $WR1,    #0x82bd
cw 0xd
call send_back  ; 55783 (0xd9e7)

lri $AR1,    #0x6434
lri $IX1,    #0xe78e
lri $WR1,    #0x3888
cw 0xd
call send_back  ; 55784 (0xd9e8)

lri $AR1,    #0x8a99
lri $IX1,    #0x2df6
lri $WR1,    #0x88c2
cw 0xd
call send_back  ; 55785 (0xd9e9)

lri $AR1,    #0x843b
lri $IX1,    #0x266c
lri $WR1,    #0xaa8a
cw 0xd
call send_back  ; 55786 (0xd9ea)

lri $AR1,    #0x3d75
lri $IX1,    #0x7ef0
lri $WR1,    #0xdd95
cw 0xd
call send_back  ; 55787 (0xd9eb)

lri $AR1,    #0x88c5
lri $IX1,    #0x91e8
lri $WR1,    #0x5e88
cw 0xd
call send_back  ; 55788 (0xd9ec)

lri $AR1,    #0x847c
lri $IX1,    #0x39e6
lri $WR1,    #0xa447
cw 0xd
call send_back  ; 55789 (0xd9ed)

lri $AR1,    #0x967e
lri $IX1,    #0xd7da
lri $WR1,    #0x31c9
cw 0xd
call send_back  ; 55790 (0xd9ee)

lri $AR1,    #0x45e1
lri $IX1,    #0xb214
lri $WR1,    #0xa980
cw 0xd
call send_back  ; 55791 (0xd9ef)

lri $AR1,    #0x71b8
lri $IX1,    #0x45fa
lri $WR1,    #0x74ed
cw 0xd
call send_back  ; 55792 (0xd9f0)

lri $AR1,    #0x6fd8
lri $IX1,    #0x0d8a
lri $WR1,    #0x1c62
cw 0xd
call send_back  ; 55793 (0xd9f1)

lri $AR1,    #0xddf7
lri $IX1,    #0x75b2
lri $WR1,    #0xb88f
cw 0xd
call send_back  ; 55794 (0xd9f2)

lri $AR1,    #0x42d6
lri $IX1,    #0x31b4
lri $WR1,    #0x98ea
cw 0xd
call send_back  ; 55795 (0xd9f3)

lri $AR1,    #0x64f3
lri $IX1,    #0x9b5c
lri $WR1,    #0xaf71
cw 0xd
call send_back  ; 55796 (0xd9f4)

lri $AR1,    #0x575c
lri $IX1,    #0x476e
lri $WR1,    #0x6be6
cw 0xd
call send_back  ; 55797 (0xd9f5)

lri $AR1,    #0x8d26
lri $IX1,    #0x410c
lri $WR1,    #0xce20
cw 0xd
call send_back  ; 55798 (0xd9f6)

lri $AR1,    #0xa73c
lri $IX1,    #0x5e7a
lri $WR1,    #0x7852
cw 0xd
call send_back  ; 55799 (0xd9f7)

lri $AR1,    #0x87d3
lri $IX1,    #0xb4de
lri $WR1,    #0x5021
cw 0xd
call send_back  ; 55800 (0xd9f8)

lri $AR1,    #0x6268
lri $IX1,    #0x3898
lri $WR1,    #0xa645
cw 0xd
call send_back  ; 55801 (0xd9f9)

lri $AR1,    #0x5e89
lri $IX1,    #0xf2b4
lri $WR1,    #0xca95
cw 0xd
call send_back  ; 55802 (0xd9fa)

lri $AR1,    #0x5733
lri $IX1,    #0xc404
lri $WR1,    #0xc354
cw 0xd
call send_back  ; 55803 (0xd9fb)

lri $AR1,    #0xa830
lri $IX1,    #0x5188
lri $WR1,    #0x7465
cw 0xd
call send_back  ; 55804 (0xd9fc)

lri $AR1,    #0xb61b
lri $IX1,    #0x4d86
lri $WR1,    #0xbc81
cw 0xd
call send_back  ; 55805 (0xd9fd)

lri $AR1,    #0x4d8f
lri $IX1,    #0xbc2c
lri $WR1,    #0x4be4
cw 0xd
call send_back  ; 55806 (0xd9fe)

lri $AR1,    #0x7914
lri $IX1,    #0xf1f0
lri $WR1,    #0x999e
cw 0xd
call send_back  ; 55807 (0xd9ff)

lri $AR1,    #0x6556
lri $IX1,    #0xbd98
lri $WR1,    #0xc1fd
cw 0xd
call send_back  ; 55808 (0xda00)

lri $AR1,    #0xb64a
lri $IX1,    #0x5730
lri $WR1,    #0xa237
cw 0xd
call send_back  ; 55809 (0xda01)

lri $AR1,    #0xafa3
lri $IX1,    #0x28b2
lri $WR1,    #0x92d7
cw 0xd
call send_back  ; 55810 (0xda02)

lri $AR1,    #0xa66d
lri $IX1,    #0x34ce
lri $WR1,    #0x13fb
cw 0xd
call send_back  ; 55811 (0xda03)

lri $AR1,    #0x390d
lri $IX1,    #0xa38a
lri $WR1,    #0x7400
cw 0xd
call send_back  ; 55812 (0xda04)

lri $AR1,    #0x267e
lri $IX1,    #0xb402
lri $WR1,    #0x529e
cw 0xd
call send_back  ; 55813 (0xda05)

lri $AR1,    #0xad28
lri $IX1,    #0xde38
lri $WR1,    #0xc012
cw 0xd
call send_back  ; 55814 (0xda06)

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