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

lri $AR1,    #0x7924
lri $IX1,    #0xfbc6
lri $WR1,    #0x5278
cw 0xd
call send_back  ; 9941 (0x26d5)

lri $AR1,    #0xae2d
lri $IX1,    #0x0bde
lri $WR1,    #0x9a11
cw 0xd
call send_back  ; 9942 (0x26d6)

lri $AR1,    #0xcdc6
lri $IX1,    #0x7ce4
lri $WR1,    #0x2afd
cw 0xd
call send_back  ; 9943 (0x26d7)

lri $AR1,    #0x9427
lri $IX1,    #0x9034
lri $WR1,    #0x4853
cw 0xd
call send_back  ; 9944 (0x26d8)

lri $AR1,    #0xa50d
lri $IX1,    #0x5e4c
lri $WR1,    #0x6861
cw 0xd
call send_back  ; 9945 (0x26d9)

lri $AR1,    #0x1db9
lri $IX1,    #0x759a
lri $WR1,    #0x8ce6
cw 0xd
call send_back  ; 9946 (0x26da)

lri $AR1,    #0xa197
lri $IX1,    #0x54c2
lri $WR1,    #0x54a3
cw 0xd
call send_back  ; 9947 (0x26db)

lri $AR1,    #0xa2d4
lri $IX1,    #0x2c52
lri $WR1,    #0xa2d8
cw 0xd
call send_back  ; 9948 (0x26dc)

lri $AR1,    #0x63ab
lri $IX1,    #0x6b16
lri $WR1,    #0x72ad
cw 0xd
call send_back  ; 9949 (0x26dd)

lri $AR1,    #0x9cc6
lri $IX1,    #0x83f6
lri $WR1,    #0xaa27
cw 0xd
call send_back  ; 9950 (0x26de)

lri $AR1,    #0x3881
lri $IX1,    #0xfba0
lri $WR1,    #0x61b8
cw 0xd
call send_back  ; 9951 (0x26df)

lri $AR1,    #0x8a49
lri $IX1,    #0xffc6
lri $WR1,    #0x7ae7
cw 0xd
call send_back  ; 9952 (0x26e0)

lri $AR1,    #0xb511
lri $IX1,    #0x7158
lri $WR1,    #0x6a3a
cw 0xd
call send_back  ; 9953 (0x26e1)

lri $AR1,    #0x7301
lri $IX1,    #0x466e
lri $WR1,    #0xa5e4
cw 0xd
call send_back  ; 9954 (0x26e2)

lri $AR1,    #0x8452
lri $IX1,    #0x584e
lri $WR1,    #0x9c47
cw 0xd
call send_back  ; 9955 (0x26e3)

lri $AR1,    #0x928d
lri $IX1,    #0xf54a
lri $WR1,    #0x4ad7
cw 0xd
call send_back  ; 9956 (0x26e4)

lri $AR1,    #0xb10b
lri $IX1,    #0xc5c0
lri $WR1,    #0xe77d
cw 0xd
call send_back  ; 9957 (0x26e5)

lri $AR1,    #0xb309
lri $IX1,    #0x9f34
lri $WR1,    #0x6bfe
cw 0xd
call send_back  ; 9958 (0x26e6)

lri $AR1,    #0xb313
lri $IX1,    #0x9f98
lri $WR1,    #0x146f
cw 0xd
call send_back  ; 9959 (0x26e7)

lri $AR1,    #0x3f1d
lri $IX1,    #0x3ecc
lri $WR1,    #0x6755
cw 0xd
call send_back  ; 9960 (0x26e8)

lri $AR1,    #0x881e
lri $IX1,    #0xcb78
lri $WR1,    #0x8785
cw 0xd
call send_back  ; 9961 (0x26e9)

lri $AR1,    #0x937b
lri $IX1,    #0xe438
lri $WR1,    #0x3d31
cw 0xd
call send_back  ; 9962 (0x26ea)

lri $AR1,    #0xa005
lri $IX1,    #0xcd40
lri $WR1,    #0xb56a
cw 0xd
call send_back  ; 9963 (0x26eb)

lri $AR1,    #0x17f1
lri $IX1,    #0xe674
lri $WR1,    #0x4c6c
cw 0xd
call send_back  ; 9964 (0x26ec)

lri $AR1,    #0x6488
lri $IX1,    #0xdd1a
lri $WR1,    #0xb0f4
cw 0xd
call send_back  ; 9965 (0x26ed)

lri $AR1,    #0xa7e8
lri $IX1,    #0x601a
lri $WR1,    #0x2c0f
cw 0xd
call send_back  ; 9966 (0x26ee)

lri $AR1,    #0xa49e
lri $IX1,    #0xfd00
lri $WR1,    #0xba8a
cw 0xd
call send_back  ; 9967 (0x26ef)

lri $AR1,    #0xd275
lri $IX1,    #0x3fa4
lri $WR1,    #0x4a7a
cw 0xd
call send_back  ; 9968 (0x26f0)

lri $AR1,    #0xab3a
lri $IX1,    #0x15be
lri $WR1,    #0xb90a
cw 0xd
call send_back  ; 9969 (0x26f1)

lri $AR1,    #0x79da
lri $IX1,    #0xb338
lri $WR1,    #0x7a05
cw 0xd
call send_back  ; 9970 (0x26f2)

lri $AR1,    #0xc990
lri $IX1,    #0xa388
lri $WR1,    #0x8437
cw 0xd
call send_back  ; 9971 (0x26f3)

lri $AR1,    #0x5a91
lri $IX1,    #0x37f4
lri $WR1,    #0x9335
cw 0xd
call send_back  ; 9972 (0x26f4)

lri $AR1,    #0x9ce2
lri $IX1,    #0xf9f4
lri $WR1,    #0xe89b
cw 0xd
call send_back  ; 9973 (0x26f5)

lri $AR1,    #0x81d4
lri $IX1,    #0x14a8
lri $WR1,    #0x5455
cw 0xd
call send_back  ; 9974 (0x26f6)

lri $AR1,    #0xd7c4
lri $IX1,    #0xa786
lri $WR1,    #0xccf3
cw 0xd
call send_back  ; 9975 (0x26f7)

lri $AR1,    #0x3ba3
lri $IX1,    #0x8832
lri $WR1,    #0xa6ac
cw 0xd
call send_back  ; 9976 (0x26f8)

lri $AR1,    #0x56e5
lri $IX1,    #0x00c0
lri $WR1,    #0xe114
cw 0xd
call send_back  ; 9977 (0x26f9)

lri $AR1,    #0x804e
lri $IX1,    #0x7334
lri $WR1,    #0x711a
cw 0xd
call send_back  ; 9978 (0x26fa)

lri $AR1,    #0x4958
lri $IX1,    #0x5a9c
lri $WR1,    #0x3e57
cw 0xd
call send_back  ; 9979 (0x26fb)

lri $AR1,    #0x6980
lri $IX1,    #0xc568
lri $WR1,    #0xa048
cw 0xd
call send_back  ; 9980 (0x26fc)

lri $AR1,    #0xb45d
lri $IX1,    #0xfca0
lri $WR1,    #0x617c
cw 0xd
call send_back  ; 9981 (0x26fd)

lri $AR1,    #0x36be
lri $IX1,    #0x7662
lri $WR1,    #0x8c48
cw 0xd
call send_back  ; 9982 (0x26fe)

lri $AR1,    #0x9aa6
lri $IX1,    #0x5260
lri $WR1,    #0x6615
cw 0xd
call send_back  ; 9983 (0x26ff)

lri $AR1,    #0xe979
lri $IX1,    #0x51d8
lri $WR1,    #0xe3c8
cw 0xd
call send_back  ; 9984 (0x2700)

lri $AR1,    #0x8f21
lri $IX1,    #0x648a
lri $WR1,    #0x6b6f
cw 0xd
call send_back  ; 9985 (0x2701)

lri $AR1,    #0x808c
lri $IX1,    #0x5f6c
lri $WR1,    #0xc4ab
cw 0xd
call send_back  ; 9986 (0x2702)

lri $AR1,    #0x7b3e
lri $IX1,    #0x2168
lri $WR1,    #0x8af5
cw 0xd
call send_back  ; 9987 (0x2703)

lri $AR1,    #0x5b51
lri $IX1,    #0x2df8
lri $WR1,    #0xaa42
cw 0xd
call send_back  ; 9988 (0x2704)

lri $AR1,    #0x60bb
lri $IX1,    #0x7cee
lri $WR1,    #0x4821
cw 0xd
call send_back  ; 9989 (0x2705)

lri $AR1,    #0x4c1c
lri $IX1,    #0xca4a
lri $WR1,    #0x58e5
cw 0xd
call send_back  ; 9990 (0x2706)

lri $AR1,    #0x5ee8
lri $IX1,    #0xf03e
lri $WR1,    #0x61da
cw 0xd
call send_back  ; 9991 (0x2707)

lri $AR1,    #0x6249
lri $IX1,    #0xa978
lri $WR1,    #0x6f26
cw 0xd
call send_back  ; 9992 (0x2708)

lri $AR1,    #0x4370
lri $IX1,    #0x60b2
lri $WR1,    #0x6d61
cw 0xd
call send_back  ; 9993 (0x2709)

lri $AR1,    #0x73c4
lri $IX1,    #0x4ea4
lri $WR1,    #0xc471
cw 0xd
call send_back  ; 9994 (0x270a)

lri $AR1,    #0x6ea4
lri $IX1,    #0xf664
lri $WR1,    #0xa2bb
cw 0xd
call send_back  ; 9995 (0x270b)

lri $AR1,    #0xee15
lri $IX1,    #0xf440
lri $WR1,    #0xbd3b
cw 0xd
call send_back  ; 9996 (0x270c)

lri $AR1,    #0x533d
lri $IX1,    #0xea34
lri $WR1,    #0xc294
cw 0xd
call send_back  ; 9997 (0x270d)

lri $AR1,    #0x76db
lri $IX1,    #0x00e0
lri $WR1,    #0x3ca3
cw 0xd
call send_back  ; 9998 (0x270e)

lri $AR1,    #0xd9a9
lri $IX1,    #0xd354
lri $WR1,    #0x7dab
cw 0xd
call send_back  ; 9999 (0x270f)

lri $AR1,    #0x63e5
lri $IX1,    #0x8f74
lri $WR1,    #0x5ba1
cw 0xd
call send_back  ; 10000 (0x2710)

lri $AR1,    #0x6ed5
lri $IX1,    #0x7c4a
lri $WR1,    #0x45b7
cw 0xd
call send_back  ; 10001 (0x2711)

lri $AR1,    #0x92a9
lri $IX1,    #0xd31a
lri $WR1,    #0x8da7
cw 0xd
call send_back  ; 10002 (0x2712)

lri $AR1,    #0x866b
lri $IX1,    #0xc77e
lri $WR1,    #0xefd2
cw 0xd
call send_back  ; 10003 (0x2713)

lri $AR1,    #0xa75d
lri $IX1,    #0x9e66
lri $WR1,    #0x5ace
cw 0xd
call send_back  ; 10004 (0x2714)

lri $AR1,    #0x58a5
lri $IX1,    #0xab42
lri $WR1,    #0x905f
cw 0xd
call send_back  ; 10005 (0x2715)

lri $AR1,    #0x3b71
lri $IX1,    #0xd628
lri $WR1,    #0x577e
cw 0xd
call send_back  ; 10006 (0x2716)

lri $AR1,    #0xa38e
lri $IX1,    #0xcd50
lri $WR1,    #0x7872
cw 0xd
call send_back  ; 10007 (0x2717)

lri $AR1,    #0x839e
lri $IX1,    #0x17ac
lri $WR1,    #0x8192
cw 0xd
call send_back  ; 10008 (0x2718)

lri $AR1,    #0x37d0
lri $IX1,    #0xc5e2
lri $WR1,    #0xbcba
cw 0xd
call send_back  ; 10009 (0x2719)

lri $AR1,    #0x756c
lri $IX1,    #0x5a92
lri $WR1,    #0xab06
cw 0xd
call send_back  ; 10010 (0x271a)

lri $AR1,    #0x18f5
lri $IX1,    #0x922a
lri $WR1,    #0x2de5
cw 0xd
call send_back  ; 10011 (0x271b)

lri $AR1,    #0x743d
lri $IX1,    #0xd60c
lri $WR1,    #0x9a15
cw 0xd
call send_back  ; 10012 (0x271c)

lri $AR1,    #0x7935
lri $IX1,    #0x3e68
lri $WR1,    #0xaa8c
cw 0xd
call send_back  ; 10013 (0x271d)

lri $AR1,    #0x8dce
lri $IX1,    #0xf1a2
lri $WR1,    #0x86ef
cw 0xd
call send_back  ; 10014 (0x271e)

lri $AR1,    #0x58b7
lri $IX1,    #0x4f68
lri $WR1,    #0x329a
cw 0xd
call send_back  ; 10015 (0x271f)

lri $AR1,    #0x4e48
lri $IX1,    #0x8984
lri $WR1,    #0x9ed5
cw 0xd
call send_back  ; 10016 (0x2720)

lri $AR1,    #0x9065
lri $IX1,    #0xf38c
lri $WR1,    #0xa434
cw 0xd
call send_back  ; 10017 (0x2721)

lri $AR1,    #0xb3c0
lri $IX1,    #0x4e50
lri $WR1,    #0x34c7
cw 0xd
call send_back  ; 10018 (0x2722)

lri $AR1,    #0x9026
lri $IX1,    #0x835a
lri $WR1,    #0x8a1e
cw 0xd
call send_back  ; 10019 (0x2723)

lri $AR1,    #0x4945
lri $IX1,    #0x8850
lri $WR1,    #0xc7aa
cw 0xd
call send_back  ; 10020 (0x2724)

lri $AR1,    #0x18ae
lri $IX1,    #0x597c
lri $WR1,    #0x63a6
cw 0xd
call send_back  ; 10021 (0x2725)

lri $AR1,    #0xf164
lri $IX1,    #0x0652
lri $WR1,    #0x85f0
cw 0xd
call send_back  ; 10022 (0x2726)

lri $AR1,    #0x38c8
lri $IX1,    #0x8a4c
lri $WR1,    #0x4e0e
cw 0xd
call send_back  ; 10023 (0x2727)

lri $AR1,    #0x6834
lri $IX1,    #0x7fe0
lri $WR1,    #0x76c3
cw 0xd
call send_back  ; 10024 (0x2728)

lri $AR1,    #0xd615
lri $IX1,    #0x82dc
lri $WR1,    #0x776f
cw 0xd
call send_back  ; 10025 (0x2729)

lri $AR1,    #0x84d6
lri $IX1,    #0x3314
lri $WR1,    #0x70a7
cw 0xd
call send_back  ; 10026 (0x272a)

lri $AR1,    #0x895e
lri $IX1,    #0x1780
lri $WR1,    #0x4325
cw 0xd
call send_back  ; 10027 (0x272b)

lri $AR1,    #0x4288
lri $IX1,    #0x05da
lri $WR1,    #0x85a7
cw 0xd
call send_back  ; 10028 (0x272c)

lri $AR1,    #0x1655
lri $IX1,    #0x09ce
lri $WR1,    #0x87b5
cw 0xd
call send_back  ; 10029 (0x272d)

lri $AR1,    #0x9926
lri $IX1,    #0xf2b8
lri $WR1,    #0x8cfd
cw 0xd
call send_back  ; 10030 (0x272e)

lri $AR1,    #0xc6e0
lri $IX1,    #0x8e2e
lri $WR1,    #0x4e35
cw 0xd
call send_back  ; 10031 (0x272f)

lri $AR1,    #0xad33
lri $IX1,    #0x091e
lri $WR1,    #0x7236
cw 0xd
call send_back  ; 10032 (0x2730)

lri $AR1,    #0x71e2
lri $IX1,    #0xd8e4
lri $WR1,    #0x7b35
cw 0xd
call send_back  ; 10033 (0x2731)

lri $AR1,    #0x5f61
lri $IX1,    #0xc91e
lri $WR1,    #0x71de
cw 0xd
call send_back  ; 10034 (0x2732)

lri $AR1,    #0xf580
lri $IX1,    #0x3a8c
lri $WR1,    #0xc927
cw 0xd
call send_back  ; 10035 (0x2733)

lri $AR1,    #0x4399
lri $IX1,    #0x22c6
lri $WR1,    #0x6ba6
cw 0xd
call send_back  ; 10036 (0x2734)

lri $AR1,    #0x6cea
lri $IX1,    #0xd42e
lri $WR1,    #0x7c44
cw 0xd
call send_back  ; 10037 (0x2735)

lri $AR1,    #0x8785
lri $IX1,    #0xe0da
lri $WR1,    #0x720c
cw 0xd
call send_back  ; 10038 (0x2736)

lri $AR1,    #0x69a4
lri $IX1,    #0x6ac2
lri $WR1,    #0xb7fb
cw 0xd
call send_back  ; 10039 (0x2737)

lri $AR1,    #0xd099
lri $IX1,    #0xc722
lri $WR1,    #0x3f87
cw 0xd
call send_back  ; 10040 (0x2738)

lri $AR1,    #0x784f
lri $IX1,    #0x6234
lri $WR1,    #0x5dd1
cw 0xd
call send_back  ; 10041 (0x2739)

lri $AR1,    #0x1991
lri $IX1,    #0x2c34
lri $WR1,    #0xb925
cw 0xd
call send_back  ; 10042 (0x273a)

lri $AR1,    #0xb8ee
lri $IX1,    #0x67f2
lri $WR1,    #0xddcd
cw 0xd
call send_back  ; 10043 (0x273b)

lri $AR1,    #0x1788
lri $IX1,    #0x56ba
lri $WR1,    #0xa6c0
cw 0xd
call send_back  ; 10044 (0x273c)

lri $AR1,    #0x52af
lri $IX1,    #0xd4f2
lri $WR1,    #0x605f
cw 0xd
call send_back  ; 10045 (0x273d)

lri $AR1,    #0xae75
lri $IX1,    #0x6634
lri $WR1,    #0x489b
cw 0xd
call send_back  ; 10046 (0x273e)

lri $AR1,    #0x8b34
lri $IX1,    #0x4f38
lri $WR1,    #0xb1ca
cw 0xd
call send_back  ; 10047 (0x273f)

lri $AR1,    #0x7d36
lri $IX1,    #0x0f4e
lri $WR1,    #0x7291
cw 0xd
call send_back  ; 10048 (0x2740)

lri $AR1,    #0xc95d
lri $IX1,    #0xb2de
lri $WR1,    #0x570b
cw 0xd
call send_back  ; 10049 (0x2741)

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