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

lri $AR1,    #0x577a
lri $IX1,    #0xeadc
lri $WR1,    #0x9d43
cw 0x15
call send_back  ; 4917 (0x1335)

lri $AR1,    #0x9c0b
lri $IX1,    #0x0f98
lri $WR1,    #0xac40
cw 0x15
call send_back  ; 4918 (0x1336)

lri $AR1,    #0xb36a
lri $IX1,    #0x996c
lri $WR1,    #0x6a62
cw 0x15
call send_back  ; 4919 (0x1337)

lri $AR1,    #0x9b0b
lri $IX1,    #0x31fa
lri $WR1,    #0x85bc
cw 0x15
call send_back  ; 4920 (0x1338)

lri $AR1,    #0xa9fa
lri $IX1,    #0x38ec
lri $WR1,    #0x7710
cw 0x15
call send_back  ; 4921 (0x1339)

lri $AR1,    #0x5721
lri $IX1,    #0x4ee2
lri $WR1,    #0x574b
cw 0x15
call send_back  ; 4922 (0x133a)

lri $AR1,    #0x902d
lri $IX1,    #0xbef0
lri $WR1,    #0x1c54
cw 0x15
call send_back  ; 4923 (0x133b)

lri $AR1,    #0x7264
lri $IX1,    #0x4aa8
lri $WR1,    #0x69c7
cw 0x15
call send_back  ; 4924 (0x133c)

lri $AR1,    #0x7234
lri $IX1,    #0x4584
lri $WR1,    #0xdba0
cw 0x15
call send_back  ; 4925 (0x133d)

lri $AR1,    #0xedce
lri $IX1,    #0x80c8
lri $WR1,    #0x6e73
cw 0x15
call send_back  ; 4926 (0x133e)

lri $AR1,    #0xaaae
lri $IX1,    #0x69a2
lri $WR1,    #0xca35
cw 0x15
call send_back  ; 4927 (0x133f)

lri $AR1,    #0x353d
lri $IX1,    #0x079a
lri $WR1,    #0x9a29
cw 0x15
call send_back  ; 4928 (0x1340)

lri $AR1,    #0x657c
lri $IX1,    #0x622e
lri $WR1,    #0xa60f
cw 0x15
call send_back  ; 4929 (0x1341)

lri $AR1,    #0xcafe
lri $IX1,    #0x588c
lri $WR1,    #0x6e03
cw 0x15
call send_back  ; 4930 (0x1342)

lri $AR1,    #0x55fc
lri $IX1,    #0x476c
lri $WR1,    #0x7c4b
cw 0x15
call send_back  ; 4931 (0x1343)

lri $AR1,    #0x9ad9
lri $IX1,    #0x14d8
lri $WR1,    #0xd57b
cw 0x15
call send_back  ; 4932 (0x1344)

lri $AR1,    #0x68de
lri $IX1,    #0x82f8
lri $WR1,    #0xc912
cw 0x15
call send_back  ; 4933 (0x1345)

lri $AR1,    #0x7c92
lri $IX1,    #0x1ebc
lri $WR1,    #0xc21e
cw 0x15
call send_back  ; 4934 (0x1346)

lri $AR1,    #0xb961
lri $IX1,    #0xe044
lri $WR1,    #0x78fa
cw 0x15
call send_back  ; 4935 (0x1347)

lri $AR1,    #0x6df8
lri $IX1,    #0xbf32
lri $WR1,    #0x6caa
cw 0x15
call send_back  ; 4936 (0x1348)

lri $AR1,    #0x9220
lri $IX1,    #0x3582
lri $WR1,    #0xb3f6
cw 0x15
call send_back  ; 4937 (0x1349)

lri $AR1,    #0x8c66
lri $IX1,    #0x1028
lri $WR1,    #0x63c0
cw 0x15
call send_back  ; 4938 (0x134a)

lri $AR1,    #0x415b
lri $IX1,    #0x1d28
lri $WR1,    #0x59b9
cw 0x15
call send_back  ; 4939 (0x134b)

lri $AR1,    #0x55d0
lri $IX1,    #0x633e
lri $WR1,    #0x8fff
cw 0x15
call send_back  ; 4940 (0x134c)

lri $AR1,    #0x88bd
lri $IX1,    #0xb7e8
lri $WR1,    #0x97a1
cw 0x15
call send_back  ; 4941 (0x134d)

lri $AR1,    #0x394a
lri $IX1,    #0xdcf0
lri $WR1,    #0x55bb
cw 0x15
call send_back  ; 4942 (0x134e)

lri $AR1,    #0x70a5
lri $IX1,    #0xef20
lri $WR1,    #0x801c
cw 0x15
call send_back  ; 4943 (0x134f)

lri $AR1,    #0x7f10
lri $IX1,    #0xfc5c
lri $WR1,    #0x7c19
cw 0x15
call send_back  ; 4944 (0x1350)

lri $AR1,    #0x46eb
lri $IX1,    #0x2fd6
lri $WR1,    #0x8b91
cw 0x15
call send_back  ; 4945 (0x1351)

lri $AR1,    #0x100a
lri $IX1,    #0x4774
lri $WR1,    #0x81bc
cw 0x15
call send_back  ; 4946 (0x1352)

lri $AR1,    #0x112c
lri $IX1,    #0x1636
lri $WR1,    #0xeaca
cw 0x15
call send_back  ; 4947 (0x1353)

lri $AR1,    #0xa4dd
lri $IX1,    #0xd3b6
lri $WR1,    #0x86ed
cw 0x15
call send_back  ; 4948 (0x1354)

lri $AR1,    #0x3a93
lri $IX1,    #0x017e
lri $WR1,    #0x92da
cw 0x15
call send_back  ; 4949 (0x1355)

lri $AR1,    #0xe467
lri $IX1,    #0xe362
lri $WR1,    #0x7545
cw 0x15
call send_back  ; 4950 (0x1356)

lri $AR1,    #0xc51b
lri $IX1,    #0x0882
lri $WR1,    #0x6a84
cw 0x15
call send_back  ; 4951 (0x1357)

lri $AR1,    #0x79d5
lri $IX1,    #0x4f3a
lri $WR1,    #0x8ccd
cw 0x15
call send_back  ; 4952 (0x1358)

lri $AR1,    #0xc65c
lri $IX1,    #0x469a
lri $WR1,    #0x8129
cw 0x15
call send_back  ; 4953 (0x1359)

lri $AR1,    #0xaa1d
lri $IX1,    #0xf4ae
lri $WR1,    #0x7eb1
cw 0x15
call send_back  ; 4954 (0x135a)

lri $AR1,    #0x77d1
lri $IX1,    #0xf922
lri $WR1,    #0x3725
cw 0x15
call send_back  ; 4955 (0x135b)

lri $AR1,    #0x7110
lri $IX1,    #0xe0a0
lri $WR1,    #0xbd5f
cw 0x15
call send_back  ; 4956 (0x135c)

lri $AR1,    #0xa2a1
lri $IX1,    #0x656c
lri $WR1,    #0x3fc3
cw 0x15
call send_back  ; 4957 (0x135d)

lri $AR1,    #0xaddd
lri $IX1,    #0x6e92
lri $WR1,    #0xaa34
cw 0x15
call send_back  ; 4958 (0x135e)

lri $AR1,    #0xaee6
lri $IX1,    #0xff3a
lri $WR1,    #0x649e
cw 0x15
call send_back  ; 4959 (0x135f)

lri $AR1,    #0x671a
lri $IX1,    #0x1466
lri $WR1,    #0xc8a2
cw 0x15
call send_back  ; 4960 (0x1360)

lri $AR1,    #0x1e76
lri $IX1,    #0xc7bc
lri $WR1,    #0x7288
cw 0x15
call send_back  ; 4961 (0x1361)

lri $AR1,    #0xae50
lri $IX1,    #0x1292
lri $WR1,    #0x9eda
cw 0x15
call send_back  ; 4962 (0x1362)

lri $AR1,    #0xbb2b
lri $IX1,    #0x5cfa
lri $WR1,    #0xb7f6
cw 0x15
call send_back  ; 4963 (0x1363)

lri $AR1,    #0x2afc
lri $IX1,    #0xc0d8
lri $WR1,    #0x6bee
cw 0x15
call send_back  ; 4964 (0x1364)

lri $AR1,    #0x40a9
lri $IX1,    #0xb1dc
lri $WR1,    #0x7ce9
cw 0x15
call send_back  ; 4965 (0x1365)

lri $AR1,    #0x551a
lri $IX1,    #0xaf7c
lri $WR1,    #0x5b84
cw 0x15
call send_back  ; 4966 (0x1366)

lri $AR1,    #0x49a8
lri $IX1,    #0xe696
lri $WR1,    #0x5c52
cw 0x15
call send_back  ; 4967 (0x1367)

lri $AR1,    #0x6732
lri $IX1,    #0x5502
lri $WR1,    #0x5ef4
cw 0x15
call send_back  ; 4968 (0x1368)

lri $AR1,    #0xc8bc
lri $IX1,    #0x39a8
lri $WR1,    #0xe6f7
cw 0x15
call send_back  ; 4969 (0x1369)

lri $AR1,    #0x8fd6
lri $IX1,    #0x8062
lri $WR1,    #0x53f0
cw 0x15
call send_back  ; 4970 (0x136a)

lri $AR1,    #0x549d
lri $IX1,    #0x894e
lri $WR1,    #0x77e7
cw 0x15
call send_back  ; 4971 (0x136b)

lri $AR1,    #0x6ab3
lri $IX1,    #0x47be
lri $WR1,    #0xa0b6
cw 0x15
call send_back  ; 4972 (0x136c)

lri $AR1,    #0x8fed
lri $IX1,    #0x5d80
lri $WR1,    #0xa256
cw 0x15
call send_back  ; 4973 (0x136d)

lri $AR1,    #0x4914
lri $IX1,    #0xaba0
lri $WR1,    #0x6db0
cw 0x15
call send_back  ; 4974 (0x136e)

lri $AR1,    #0x7482
lri $IX1,    #0xf264
lri $WR1,    #0x210a
cw 0x15
call send_back  ; 4975 (0x136f)

lri $AR1,    #0xd1ed
lri $IX1,    #0xa6aa
lri $WR1,    #0x2498
cw 0x15
call send_back  ; 4976 (0x1370)

lri $AR1,    #0x4a30
lri $IX1,    #0x3b4e
lri $WR1,    #0xaf42
cw 0x15
call send_back  ; 4977 (0x1371)

lri $AR1,    #0x8160
lri $IX1,    #0xe1d8
lri $WR1,    #0x5d2e
cw 0x15
call send_back  ; 4978 (0x1372)

lri $AR1,    #0x9108
lri $IX1,    #0x562a
lri $WR1,    #0xb321
cw 0x15
call send_back  ; 4979 (0x1373)

lri $AR1,    #0x8fc7
lri $IX1,    #0xc530
lri $WR1,    #0x5f50
cw 0x15
call send_back  ; 4980 (0x1374)

lri $AR1,    #0xa730
lri $IX1,    #0x6782
lri $WR1,    #0xa192
cw 0x15
call send_back  ; 4981 (0x1375)

lri $AR1,    #0x483c
lri $IX1,    #0x1cfa
lri $WR1,    #0x62ae
cw 0x15
call send_back  ; 4982 (0x1376)

lri $AR1,    #0x7218
lri $IX1,    #0x56f2
lri $WR1,    #0x83b1
cw 0x15
call send_back  ; 4983 (0x1377)

lri $AR1,    #0xd69f
lri $IX1,    #0x0b7c
lri $WR1,    #0xb3ed
cw 0x15
call send_back  ; 4984 (0x1378)

lri $AR1,    #0x5351
lri $IX1,    #0x641a
lri $WR1,    #0x85b2
cw 0x15
call send_back  ; 4985 (0x1379)

lri $AR1,    #0x9520
lri $IX1,    #0x7f36
lri $WR1,    #0x674d
cw 0x15
call send_back  ; 4986 (0x137a)

lri $AR1,    #0xb0d0
lri $IX1,    #0x0c1c
lri $WR1,    #0x7750
cw 0x15
call send_back  ; 4987 (0x137b)

lri $AR1,    #0x614a
lri $IX1,    #0xe58a
lri $WR1,    #0xc0d6
cw 0x15
call send_back  ; 4988 (0x137c)

lri $AR1,    #0xd8b2
lri $IX1,    #0x3794
lri $WR1,    #0xa5a9
cw 0x15
call send_back  ; 4989 (0x137d)

lri $AR1,    #0x8082
lri $IX1,    #0x5208
lri $WR1,    #0x79fb
cw 0x15
call send_back  ; 4990 (0x137e)

lri $AR1,    #0x888a
lri $IX1,    #0x290c
lri $WR1,    #0x76b0
cw 0x15
call send_back  ; 4991 (0x137f)

lri $AR1,    #0x1c18
lri $IX1,    #0xd218
lri $WR1,    #0x8cca
cw 0x15
call send_back  ; 4992 (0x1380)

lri $AR1,    #0xe026
lri $IX1,    #0x23fa
lri $WR1,    #0xae12
cw 0x15
call send_back  ; 4993 (0x1381)

lri $AR1,    #0xdcca
lri $IX1,    #0x2536
lri $WR1,    #0xac87
cw 0x15
call send_back  ; 4994 (0x1382)

lri $AR1,    #0x87d5
lri $IX1,    #0x4432
lri $WR1,    #0x439b
cw 0x15
call send_back  ; 4995 (0x1383)

lri $AR1,    #0xadce
lri $IX1,    #0x91ac
lri $WR1,    #0x93e0
cw 0x15
call send_back  ; 4996 (0x1384)

lri $AR1,    #0x5237
lri $IX1,    #0x7de0
lri $WR1,    #0xb323
cw 0x15
call send_back  ; 4997 (0x1385)

lri $AR1,    #0x2f5a
lri $IX1,    #0x0dca
lri $WR1,    #0xd091
cw 0x15
call send_back  ; 4998 (0x1386)

lri $AR1,    #0xa17b
lri $IX1,    #0x3e02
lri $WR1,    #0x2df2
cw 0x15
call send_back  ; 4999 (0x1387)

lri $AR1,    #0x60ab
lri $IX1,    #0x7598
lri $WR1,    #0xb489
cw 0x15
call send_back  ; 5000 (0x1388)

lri $AR1,    #0x582c
lri $IX1,    #0xa360
lri $WR1,    #0x95aa
cw 0x15
call send_back  ; 5001 (0x1389)

lri $AR1,    #0x898e
lri $IX1,    #0x0518
lri $WR1,    #0x1495
cw 0x15
call send_back  ; 5002 (0x138a)

lri $AR1,    #0x9d7a
lri $IX1,    #0xc7fc
lri $WR1,    #0x28ae
cw 0x15
call send_back  ; 5003 (0x138b)

lri $AR1,    #0x6b65
lri $IX1,    #0xcef4
lri $WR1,    #0x7c8b
cw 0x15
call send_back  ; 5004 (0x138c)

lri $AR1,    #0xbd00
lri $IX1,    #0x1318
lri $WR1,    #0xc80b
cw 0x15
call send_back  ; 5005 (0x138d)

lri $AR1,    #0xc1b6
lri $IX1,    #0x67bc
lri $WR1,    #0x80e9
cw 0x15
call send_back  ; 5006 (0x138e)

lri $AR1,    #0x6a0c
lri $IX1,    #0x0ba2
lri $WR1,    #0xbee1
cw 0x15
call send_back  ; 5007 (0x138f)

lri $AR1,    #0x1a2a
lri $IX1,    #0x7d9e
lri $WR1,    #0x5605
cw 0x15
call send_back  ; 5008 (0x1390)

lri $AR1,    #0xae68
lri $IX1,    #0xa334
lri $WR1,    #0x7345
cw 0x15
call send_back  ; 5009 (0x1391)

lri $AR1,    #0x8c1e
lri $IX1,    #0x949a
lri $WR1,    #0x54b4
cw 0x15
call send_back  ; 5010 (0x1392)

lri $AR1,    #0x4ca1
lri $IX1,    #0x7186
lri $WR1,    #0x68b3
cw 0x15
call send_back  ; 5011 (0x1393)

lri $AR1,    #0x57a1
lri $IX1,    #0x9f3e
lri $WR1,    #0x9470
cw 0x15
call send_back  ; 5012 (0x1394)

lri $AR1,    #0xddcf
lri $IX1,    #0xd866
lri $WR1,    #0x7bec
cw 0x15
call send_back  ; 5013 (0x1395)

lri $AR1,    #0x7407
lri $IX1,    #0xabdc
lri $WR1,    #0xc2fd
cw 0x15
call send_back  ; 5014 (0x1396)

lri $AR1,    #0x72e0
lri $IX1,    #0x883a
lri $WR1,    #0x4065
cw 0x15
call send_back  ; 5015 (0x1397)

lri $AR1,    #0x95e7
lri $IX1,    #0x5e44
lri $WR1,    #0x6199
cw 0x15
call send_back  ; 5016 (0x1398)

lri $AR1,    #0x815b
lri $IX1,    #0x5ce8
lri $WR1,    #0x672e
cw 0x15
call send_back  ; 5017 (0x1399)

lri $AR1,    #0xb4ac
lri $IX1,    #0x6dfa
lri $WR1,    #0x8f9d
cw 0x15
call send_back  ; 5018 (0x139a)

lri $AR1,    #0x63ab
lri $IX1,    #0x0b5e
lri $WR1,    #0x9753
cw 0x15
call send_back  ; 5019 (0x139b)

lri $AR1,    #0x9795
lri $IX1,    #0xe0ea
lri $WR1,    #0x8aa8
cw 0x15
call send_back  ; 5020 (0x139c)

lri $AR1,    #0xb4e7
lri $IX1,    #0x977c
lri $WR1,    #0x9fcf
cw 0x15
call send_back  ; 5021 (0x139d)

lri $AR1,    #0x7240
lri $IX1,    #0x3aaa
lri $WR1,    #0x8c48
cw 0x15
call send_back  ; 5022 (0x139e)

lri $AR1,    #0x5019
lri $IX1,    #0x0a96
lri $WR1,    #0x6aec
cw 0x15
call send_back  ; 5023 (0x139f)

lri $AR1,    #0x98b5
lri $IX1,    #0x582c
lri $WR1,    #0xad1d
cw 0x15
call send_back  ; 5024 (0x13a0)

lri $AR1,    #0xbb07
lri $IX1,    #0x626a
lri $WR1,    #0x9b2e
cw 0x15
call send_back  ; 5025 (0x13a1)

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