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

lri $AR1,    #0x33ea
lri $IX1,    #0x9f6c
lri $WR1,    #0xc41e
cw 0xd
call send_back  ; 9832 (0x2668)

lri $AR1,    #0xba1c
lri $IX1,    #0x5de8
lri $WR1,    #0xa801
cw 0xd
call send_back  ; 9833 (0x2669)

lri $AR1,    #0xc020
lri $IX1,    #0x74a8
lri $WR1,    #0xafc9
cw 0xd
call send_back  ; 9834 (0x266a)

lri $AR1,    #0x349b
lri $IX1,    #0xde5a
lri $WR1,    #0x6d25
cw 0xd
call send_back  ; 9835 (0x266b)

lri $AR1,    #0x947a
lri $IX1,    #0xeb34
lri $WR1,    #0x3359
cw 0xd
call send_back  ; 9836 (0x266c)

lri $AR1,    #0xeb96
lri $IX1,    #0x07ae
lri $WR1,    #0x7b84
cw 0xd
call send_back  ; 9837 (0x266d)

lri $AR1,    #0xb385
lri $IX1,    #0xbdc6
lri $WR1,    #0x4578
cw 0xd
call send_back  ; 9838 (0x266e)

lri $AR1,    #0x1823
lri $IX1,    #0xd6fa
lri $WR1,    #0x6224
cw 0xd
call send_back  ; 9839 (0x266f)

lri $AR1,    #0x6172
lri $IX1,    #0xf8fa
lri $WR1,    #0xba24
cw 0xd
call send_back  ; 9840 (0x2670)

lri $AR1,    #0xcd54
lri $IX1,    #0xfe30
lri $WR1,    #0xec85
cw 0xd
call send_back  ; 9841 (0x2671)

lri $AR1,    #0x63a7
lri $IX1,    #0x8716
lri $WR1,    #0x6f57
cw 0xd
call send_back  ; 9842 (0x2672)

lri $AR1,    #0xa27c
lri $IX1,    #0xb09c
lri $WR1,    #0x8d09
cw 0xd
call send_back  ; 9843 (0x2673)

lri $AR1,    #0xa7ba
lri $IX1,    #0x5f58
lri $WR1,    #0x8f34
cw 0xd
call send_back  ; 9844 (0x2674)

lri $AR1,    #0x98fe
lri $IX1,    #0x06f8
lri $WR1,    #0x80d9
cw 0xd
call send_back  ; 9845 (0x2675)

lri $AR1,    #0xda08
lri $IX1,    #0x20b0
lri $WR1,    #0x8fa8
cw 0xd
call send_back  ; 9846 (0x2676)

lri $AR1,    #0x858e
lri $IX1,    #0x82ea
lri $WR1,    #0x9554
cw 0xd
call send_back  ; 9847 (0x2677)

lri $AR1,    #0x73b1
lri $IX1,    #0x601c
lri $WR1,    #0x9799
cw 0xd
call send_back  ; 9848 (0x2678)

lri $AR1,    #0x44fb
lri $IX1,    #0xba10
lri $WR1,    #0x76ee
cw 0xd
call send_back  ; 9849 (0x2679)

lri $AR1,    #0xc824
lri $IX1,    #0x7260
lri $WR1,    #0x7186
cw 0xd
call send_back  ; 9850 (0x267a)

lri $AR1,    #0x8478
lri $IX1,    #0xb086
lri $WR1,    #0x71a0
cw 0xd
call send_back  ; 9851 (0x267b)

lri $AR1,    #0x9a2b
lri $IX1,    #0xf952
lri $WR1,    #0xb3b9
cw 0xd
call send_back  ; 9852 (0x267c)

lri $AR1,    #0x6565
lri $IX1,    #0xeaf4
lri $WR1,    #0x8ac9
cw 0xd
call send_back  ; 9853 (0x267d)

lri $AR1,    #0x406c
lri $IX1,    #0xfca8
lri $WR1,    #0xc5e6
cw 0xd
call send_back  ; 9854 (0x267e)

lri $AR1,    #0xc495
lri $IX1,    #0xc00c
lri $WR1,    #0x5c9c
cw 0xd
call send_back  ; 9855 (0x267f)

lri $AR1,    #0x6177
lri $IX1,    #0xd636
lri $WR1,    #0x6c56
cw 0xd
call send_back  ; 9856 (0x2680)

lri $AR1,    #0x6d14
lri $IX1,    #0xf19c
lri $WR1,    #0x9b07
cw 0xd
call send_back  ; 9857 (0x2681)

lri $AR1,    #0x4f4b
lri $IX1,    #0xb9c4
lri $WR1,    #0x8092
cw 0xd
call send_back  ; 9858 (0x2682)

lri $AR1,    #0xfe72
lri $IX1,    #0x150e
lri $WR1,    #0xaa14
cw 0xd
call send_back  ; 9859 (0x2683)

lri $AR1,    #0x8a5b
lri $IX1,    #0x2044
lri $WR1,    #0x7f86
cw 0xd
call send_back  ; 9860 (0x2684)

lri $AR1,    #0x4e8f
lri $IX1,    #0xd374
lri $WR1,    #0x2ddc
cw 0xd
call send_back  ; 9861 (0x2685)

lri $AR1,    #0xf421
lri $IX1,    #0xdeaa
lri $WR1,    #0x952d
cw 0xd
call send_back  ; 9862 (0x2686)

lri $AR1,    #0x8eda
lri $IX1,    #0x8914
lri $WR1,    #0xfbe8
cw 0xd
call send_back  ; 9863 (0x2687)

lri $AR1,    #0xb917
lri $IX1,    #0x302c
lri $WR1,    #0xcdb7
cw 0xd
call send_back  ; 9864 (0x2688)

lri $AR1,    #0x7d1f
lri $IX1,    #0x4c64
lri $WR1,    #0x5617
cw 0xd
call send_back  ; 9865 (0x2689)

lri $AR1,    #0x7a4b
lri $IX1,    #0x7c06
lri $WR1,    #0x9432
cw 0xd
call send_back  ; 9866 (0x268a)

lri $AR1,    #0x67cc
lri $IX1,    #0xe4a0
lri $WR1,    #0x5710
cw 0xd
call send_back  ; 9867 (0x268b)

lri $AR1,    #0x3e60
lri $IX1,    #0x1ed2
lri $WR1,    #0x26b2
cw 0xd
call send_back  ; 9868 (0x268c)

lri $AR1,    #0xcdbd
lri $IX1,    #0xb7ca
lri $WR1,    #0x781e
cw 0xd
call send_back  ; 9869 (0x268d)

lri $AR1,    #0xb21a
lri $IX1,    #0xff3e
lri $WR1,    #0xa7f6
cw 0xd
call send_back  ; 9870 (0x268e)

lri $AR1,    #0xe181
lri $IX1,    #0x3830
lri $WR1,    #0x989f
cw 0xd
call send_back  ; 9871 (0x268f)

lri $AR1,    #0xc064
lri $IX1,    #0x365c
lri $WR1,    #0x7695
cw 0xd
call send_back  ; 9872 (0x2690)

lri $AR1,    #0x3820
lri $IX1,    #0xd97c
lri $WR1,    #0x6eec
cw 0xd
call send_back  ; 9873 (0x2691)

lri $AR1,    #0x89d8
lri $IX1,    #0x936a
lri $WR1,    #0x71a2
cw 0xd
call send_back  ; 9874 (0x2692)

lri $AR1,    #0x6b68
lri $IX1,    #0x1534
lri $WR1,    #0x4abe
cw 0xd
call send_back  ; 9875 (0x2693)

lri $AR1,    #0x43c9
lri $IX1,    #0x431c
lri $WR1,    #0x52d7
cw 0xd
call send_back  ; 9876 (0x2694)

lri $AR1,    #0x77b2
lri $IX1,    #0x86c8
lri $WR1,    #0x9118
cw 0xd
call send_back  ; 9877 (0x2695)

lri $AR1,    #0x86c8
lri $IX1,    #0x6262
lri $WR1,    #0x463b
cw 0xd
call send_back  ; 9878 (0x2696)

lri $AR1,    #0x9d2a
lri $IX1,    #0xa716
lri $WR1,    #0x59ae
cw 0xd
call send_back  ; 9879 (0x2697)

lri $AR1,    #0x94ad
lri $IX1,    #0xc4a8
lri $WR1,    #0xe749
cw 0xd
call send_back  ; 9880 (0x2698)

lri $AR1,    #0x8c98
lri $IX1,    #0x2f74
lri $WR1,    #0x95cd
cw 0xd
call send_back  ; 9881 (0x2699)

lri $AR1,    #0x9e24
lri $IX1,    #0xb5b0
lri $WR1,    #0x4b9c
cw 0xd
call send_back  ; 9882 (0x269a)

lri $AR1,    #0xa7a7
lri $IX1,    #0xac38
lri $WR1,    #0xa8c7
cw 0xd
call send_back  ; 9883 (0x269b)

lri $AR1,    #0x8fa8
lri $IX1,    #0xfec6
lri $WR1,    #0xc311
cw 0xd
call send_back  ; 9884 (0x269c)

lri $AR1,    #0x9caf
lri $IX1,    #0x46c0
lri $WR1,    #0xd9d3
cw 0xd
call send_back  ; 9885 (0x269d)

lri $AR1,    #0x6e1d
lri $IX1,    #0xf798
lri $WR1,    #0x7576
cw 0xd
call send_back  ; 9886 (0x269e)

lri $AR1,    #0xa5f8
lri $IX1,    #0x4ef6
lri $WR1,    #0x877d
cw 0xd
call send_back  ; 9887 (0x269f)

lri $AR1,    #0x4ac8
lri $IX1,    #0xea76
lri $WR1,    #0x85af
cw 0xd
call send_back  ; 9888 (0x26a0)

lri $AR1,    #0x3489
lri $IX1,    #0x8c60
lri $WR1,    #0x8486
cw 0xd
call send_back  ; 9889 (0x26a1)

lri $AR1,    #0x56df
lri $IX1,    #0x941a
lri $WR1,    #0x6258
cw 0xd
call send_back  ; 9890 (0x26a2)

lri $AR1,    #0x4e6c
lri $IX1,    #0xdea0
lri $WR1,    #0x8656
cw 0xd
call send_back  ; 9891 (0x26a3)

lri $AR1,    #0x1e92
lri $IX1,    #0x06f0
lri $WR1,    #0x6bf9
cw 0xd
call send_back  ; 9892 (0x26a4)

lri $AR1,    #0x6875
lri $IX1,    #0x3584
lri $WR1,    #0x8cdb
cw 0xd
call send_back  ; 9893 (0x26a5)

lri $AR1,    #0x738d
lri $IX1,    #0xb9e6
lri $WR1,    #0x98a2
cw 0xd
call send_back  ; 9894 (0x26a6)

lri $AR1,    #0x838d
lri $IX1,    #0x6882
lri $WR1,    #0x2bf5
cw 0xd
call send_back  ; 9895 (0x26a7)

lri $AR1,    #0x8f04
lri $IX1,    #0x0aa6
lri $WR1,    #0xbd1f
cw 0xd
call send_back  ; 9896 (0x26a8)

lri $AR1,    #0xd576
lri $IX1,    #0xf5d0
lri $WR1,    #0x9e60
cw 0xd
call send_back  ; 9897 (0x26a9)

lri $AR1,    #0x733e
lri $IX1,    #0xfb68
lri $WR1,    #0xa392
cw 0xd
call send_back  ; 9898 (0x26aa)

lri $AR1,    #0xc519
lri $IX1,    #0x30de
lri $WR1,    #0x8a15
cw 0xd
call send_back  ; 9899 (0x26ab)

lri $AR1,    #0x9496
lri $IX1,    #0x743c
lri $WR1,    #0x17a7
cw 0xd
call send_back  ; 9900 (0x26ac)

lri $AR1,    #0x8248
lri $IX1,    #0xe866
lri $WR1,    #0xde39
cw 0xd
call send_back  ; 9901 (0x26ad)

lri $AR1,    #0x5207
lri $IX1,    #0xcfc8
lri $WR1,    #0x9039
cw 0xd
call send_back  ; 9902 (0x26ae)

lri $AR1,    #0x810a
lri $IX1,    #0x0bee
lri $WR1,    #0xb284
cw 0xd
call send_back  ; 9903 (0x26af)

lri $AR1,    #0x4535
lri $IX1,    #0xfb98
lri $WR1,    #0x9e74
cw 0xd
call send_back  ; 9904 (0x26b0)

lri $AR1,    #0xa060
lri $IX1,    #0x58d8
lri $WR1,    #0x9025
cw 0xd
call send_back  ; 9905 (0x26b1)

lri $AR1,    #0x71f1
lri $IX1,    #0xf3e0
lri $WR1,    #0xca83
cw 0xd
call send_back  ; 9906 (0x26b2)

lri $AR1,    #0xc48f
lri $IX1,    #0x96e4
lri $WR1,    #0x8c2d
cw 0xd
call send_back  ; 9907 (0x26b3)

lri $AR1,    #0x5d47
lri $IX1,    #0xe2ce
lri $WR1,    #0x85b9
cw 0xd
call send_back  ; 9908 (0x26b4)

lri $AR1,    #0x2ce9
lri $IX1,    #0x6c38
lri $WR1,    #0x9b77
cw 0xd
call send_back  ; 9909 (0x26b5)

lri $AR1,    #0x13ff
lri $IX1,    #0xab46
lri $WR1,    #0x5a34
cw 0xd
call send_back  ; 9910 (0x26b6)

lri $AR1,    #0x4d12
lri $IX1,    #0x50ea
lri $WR1,    #0x8811
cw 0xd
call send_back  ; 9911 (0x26b7)

lri $AR1,    #0xa8ab
lri $IX1,    #0x2730
lri $WR1,    #0x8007
cw 0xd
call send_back  ; 9912 (0x26b8)

lri $AR1,    #0xf1c9
lri $IX1,    #0xaa08
lri $WR1,    #0x701e
cw 0xd
call send_back  ; 9913 (0x26b9)

lri $AR1,    #0xb12b
lri $IX1,    #0xe144
lri $WR1,    #0x7fe6
cw 0xd
call send_back  ; 9914 (0x26ba)

lri $AR1,    #0x7932
lri $IX1,    #0x9422
lri $WR1,    #0xb648
cw 0xd
call send_back  ; 9915 (0x26bb)

lri $AR1,    #0x4bb6
lri $IX1,    #0x9246
lri $WR1,    #0x8b46
cw 0xd
call send_back  ; 9916 (0x26bc)

lri $AR1,    #0x669b
lri $IX1,    #0x654a
lri $WR1,    #0x4ba0
cw 0xd
call send_back  ; 9917 (0x26bd)

lri $AR1,    #0x3366
lri $IX1,    #0x29de
lri $WR1,    #0xb20d
cw 0xd
call send_back  ; 9918 (0x26be)

lri $AR1,    #0x99c6
lri $IX1,    #0x6ea8
lri $WR1,    #0xbb05
cw 0xd
call send_back  ; 9919 (0x26bf)

lri $AR1,    #0xec38
lri $IX1,    #0xaad0
lri $WR1,    #0x9db4
cw 0xd
call send_back  ; 9920 (0x26c0)

lri $AR1,    #0x71b3
lri $IX1,    #0x0574
lri $WR1,    #0x5e17
cw 0xd
call send_back  ; 9921 (0x26c1)

lri $AR1,    #0x8e9d
lri $IX1,    #0xa2d2
lri $WR1,    #0x79f3
cw 0xd
call send_back  ; 9922 (0x26c2)

lri $AR1,    #0xa2e2
lri $IX1,    #0x5b8c
lri $WR1,    #0x2391
cw 0xd
call send_back  ; 9923 (0x26c3)

lri $AR1,    #0x3a78
lri $IX1,    #0x85c8
lri $WR1,    #0xb2e8
cw 0xd
call send_back  ; 9924 (0x26c4)

lri $AR1,    #0x891e
lri $IX1,    #0x2f72
lri $WR1,    #0x4f3c
cw 0xd
call send_back  ; 9925 (0x26c5)

lri $AR1,    #0xb9b0
lri $IX1,    #0xb492
lri $WR1,    #0xb0bd
cw 0xd
call send_back  ; 9926 (0x26c6)

lri $AR1,    #0xbcca
lri $IX1,    #0xdbda
lri $WR1,    #0x1b4e
cw 0xd
call send_back  ; 9927 (0x26c7)

lri $AR1,    #0x5a31
lri $IX1,    #0x775a
lri $WR1,    #0xb8d3
cw 0xd
call send_back  ; 9928 (0x26c8)

lri $AR1,    #0x33a1
lri $IX1,    #0xceac
lri $WR1,    #0xa35a
cw 0xd
call send_back  ; 9929 (0x26c9)

lri $AR1,    #0x8779
lri $IX1,    #0xb34e
lri $WR1,    #0x1c67
cw 0xd
call send_back  ; 9930 (0x26ca)

lri $AR1,    #0x3501
lri $IX1,    #0xef94
lri $WR1,    #0x80b2
cw 0xd
call send_back  ; 9931 (0x26cb)

lri $AR1,    #0xab9c
lri $IX1,    #0xa3f2
lri $WR1,    #0xdcbb
cw 0xd
call send_back  ; 9932 (0x26cc)

lri $AR1,    #0x69b6
lri $IX1,    #0xfe00
lri $WR1,    #0x8056
cw 0xd
call send_back  ; 9933 (0x26cd)

lri $AR1,    #0xdfcb
lri $IX1,    #0x5fe8
lri $WR1,    #0x6cc2
cw 0xd
call send_back  ; 9934 (0x26ce)

lri $AR1,    #0x4f3e
lri $IX1,    #0x6eb2
lri $WR1,    #0x5a52
cw 0xd
call send_back  ; 9935 (0x26cf)

lri $AR1,    #0x7465
lri $IX1,    #0x7130
lri $WR1,    #0xb83f
cw 0xd
call send_back  ; 9936 (0x26d0)

lri $AR1,    #0x5693
lri $IX1,    #0xd0c4
lri $WR1,    #0x52ae
cw 0xd
call send_back  ; 9937 (0x26d1)

lri $AR1,    #0xd872
lri $IX1,    #0x48fc
lri $WR1,    #0x9879
cw 0xd
call send_back  ; 9938 (0x26d2)

lri $AR1,    #0xf672
lri $IX1,    #0x422a
lri $WR1,    #0xabd5
cw 0xd
call send_back  ; 9939 (0x26d3)

lri $AR1,    #0x68b4
lri $IX1,    #0xd6ea
lri $WR1,    #0xde57
cw 0xd
call send_back  ; 9940 (0x26d4)

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