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

lri $AR1,    #0x4000
lri $IX1,    #0x1300
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4865 (0x1301)

lri $AR1,    #0x4000
lri $IX1,    #0x1301
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4866 (0x1302)

lri $AR1,    #0x4000
lri $IX1,    #0x1302
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4867 (0x1303)

lri $AR1,    #0x4000
lri $IX1,    #0x1303
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4868 (0x1304)

lri $AR1,    #0x4000
lri $IX1,    #0x1304
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4869 (0x1305)

lri $AR1,    #0x4000
lri $IX1,    #0x1305
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4870 (0x1306)

lri $AR1,    #0x4000
lri $IX1,    #0x1306
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4871 (0x1307)

lri $AR1,    #0x4000
lri $IX1,    #0x1307
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4872 (0x1308)

lri $AR1,    #0x4000
lri $IX1,    #0x1308
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4873 (0x1309)

lri $AR1,    #0x4000
lri $IX1,    #0x1309
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4874 (0x130a)

lri $AR1,    #0x4000
lri $IX1,    #0x130a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4875 (0x130b)

lri $AR1,    #0x4000
lri $IX1,    #0x130b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4876 (0x130c)

lri $AR1,    #0x4000
lri $IX1,    #0x130c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4877 (0x130d)

lri $AR1,    #0x4000
lri $IX1,    #0x130d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4878 (0x130e)

lri $AR1,    #0x4000
lri $IX1,    #0x130e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4879 (0x130f)

lri $AR1,    #0x4000
lri $IX1,    #0x130f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4880 (0x1310)

lri $AR1,    #0x4000
lri $IX1,    #0x1310
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4881 (0x1311)

lri $AR1,    #0x4000
lri $IX1,    #0x1311
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4882 (0x1312)

lri $AR1,    #0x4000
lri $IX1,    #0x1312
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4883 (0x1313)

lri $AR1,    #0x4000
lri $IX1,    #0x1313
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4884 (0x1314)

lri $AR1,    #0x4000
lri $IX1,    #0x1314
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4885 (0x1315)

lri $AR1,    #0x4000
lri $IX1,    #0x1315
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4886 (0x1316)

lri $AR1,    #0x4000
lri $IX1,    #0x1316
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4887 (0x1317)

lri $AR1,    #0x4000
lri $IX1,    #0x1317
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4888 (0x1318)

lri $AR1,    #0x4000
lri $IX1,    #0x1318
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4889 (0x1319)

lri $AR1,    #0x4000
lri $IX1,    #0x1319
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4890 (0x131a)

lri $AR1,    #0x4000
lri $IX1,    #0x131a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4891 (0x131b)

lri $AR1,    #0x4000
lri $IX1,    #0x131b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4892 (0x131c)

lri $AR1,    #0x4000
lri $IX1,    #0x131c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4893 (0x131d)

lri $AR1,    #0x4000
lri $IX1,    #0x131d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4894 (0x131e)

lri $AR1,    #0x4000
lri $IX1,    #0x131e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4895 (0x131f)

lri $AR1,    #0x4000
lri $IX1,    #0x131f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4896 (0x1320)

lri $AR1,    #0x4000
lri $IX1,    #0x1320
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4897 (0x1321)

lri $AR1,    #0x4000
lri $IX1,    #0x1321
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4898 (0x1322)

lri $AR1,    #0x4000
lri $IX1,    #0x1322
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4899 (0x1323)

lri $AR1,    #0x4000
lri $IX1,    #0x1323
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4900 (0x1324)

lri $AR1,    #0x4000
lri $IX1,    #0x1324
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4901 (0x1325)

lri $AR1,    #0x4000
lri $IX1,    #0x1325
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4902 (0x1326)

lri $AR1,    #0x4000
lri $IX1,    #0x1326
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4903 (0x1327)

lri $AR1,    #0x4000
lri $IX1,    #0x1327
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4904 (0x1328)

lri $AR1,    #0x4000
lri $IX1,    #0x1328
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4905 (0x1329)

lri $AR1,    #0x4000
lri $IX1,    #0x1329
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4906 (0x132a)

lri $AR1,    #0x4000
lri $IX1,    #0x132a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4907 (0x132b)

lri $AR1,    #0x4000
lri $IX1,    #0x132b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4908 (0x132c)

lri $AR1,    #0x4000
lri $IX1,    #0x132c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4909 (0x132d)

lri $AR1,    #0x4000
lri $IX1,    #0x132d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4910 (0x132e)

lri $AR1,    #0x4000
lri $IX1,    #0x132e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4911 (0x132f)

lri $AR1,    #0x4000
lri $IX1,    #0x132f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4912 (0x1330)

lri $AR1,    #0x4000
lri $IX1,    #0x1330
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4913 (0x1331)

lri $AR1,    #0x4000
lri $IX1,    #0x1331
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4914 (0x1332)

lri $AR1,    #0x4000
lri $IX1,    #0x1332
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4915 (0x1333)

lri $AR1,    #0x4000
lri $IX1,    #0x1333
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4916 (0x1334)

lri $AR1,    #0x4000
lri $IX1,    #0x1334
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4917 (0x1335)

lri $AR1,    #0x4000
lri $IX1,    #0x1335
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4918 (0x1336)

lri $AR1,    #0x4000
lri $IX1,    #0x1336
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4919 (0x1337)

lri $AR1,    #0x4000
lri $IX1,    #0x1337
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4920 (0x1338)

lri $AR1,    #0x4000
lri $IX1,    #0x1338
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4921 (0x1339)

lri $AR1,    #0x4000
lri $IX1,    #0x1339
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4922 (0x133a)

lri $AR1,    #0x4000
lri $IX1,    #0x133a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4923 (0x133b)

lri $AR1,    #0x4000
lri $IX1,    #0x133b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4924 (0x133c)

lri $AR1,    #0x4000
lri $IX1,    #0x133c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4925 (0x133d)

lri $AR1,    #0x4000
lri $IX1,    #0x133d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4926 (0x133e)

lri $AR1,    #0x4000
lri $IX1,    #0x133e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4927 (0x133f)

lri $AR1,    #0x4000
lri $IX1,    #0x133f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4928 (0x1340)

lri $AR1,    #0x4000
lri $IX1,    #0x1340
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4929 (0x1341)

lri $AR1,    #0x4000
lri $IX1,    #0x1341
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4930 (0x1342)

lri $AR1,    #0x4000
lri $IX1,    #0x1342
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4931 (0x1343)

lri $AR1,    #0x4000
lri $IX1,    #0x1343
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4932 (0x1344)

lri $AR1,    #0x4000
lri $IX1,    #0x1344
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4933 (0x1345)

lri $AR1,    #0x4000
lri $IX1,    #0x1345
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4934 (0x1346)

lri $AR1,    #0x4000
lri $IX1,    #0x1346
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4935 (0x1347)

lri $AR1,    #0x4000
lri $IX1,    #0x1347
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4936 (0x1348)

lri $AR1,    #0x4000
lri $IX1,    #0x1348
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4937 (0x1349)

lri $AR1,    #0x4000
lri $IX1,    #0x1349
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4938 (0x134a)

lri $AR1,    #0x4000
lri $IX1,    #0x134a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4939 (0x134b)

lri $AR1,    #0x4000
lri $IX1,    #0x134b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4940 (0x134c)

lri $AR1,    #0x4000
lri $IX1,    #0x134c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4941 (0x134d)

lri $AR1,    #0x4000
lri $IX1,    #0x134d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4942 (0x134e)

lri $AR1,    #0x4000
lri $IX1,    #0x134e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4943 (0x134f)

lri $AR1,    #0x4000
lri $IX1,    #0x134f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4944 (0x1350)

lri $AR1,    #0x4000
lri $IX1,    #0x1350
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4945 (0x1351)

lri $AR1,    #0x4000
lri $IX1,    #0x1351
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4946 (0x1352)

lri $AR1,    #0x4000
lri $IX1,    #0x1352
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4947 (0x1353)

lri $AR1,    #0x4000
lri $IX1,    #0x1353
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4948 (0x1354)

lri $AR1,    #0x4000
lri $IX1,    #0x1354
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4949 (0x1355)

lri $AR1,    #0x4000
lri $IX1,    #0x1355
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4950 (0x1356)

lri $AR1,    #0x4000
lri $IX1,    #0x1356
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4951 (0x1357)

lri $AR1,    #0x4000
lri $IX1,    #0x1357
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4952 (0x1358)

lri $AR1,    #0x4000
lri $IX1,    #0x1358
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4953 (0x1359)

lri $AR1,    #0x4000
lri $IX1,    #0x1359
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4954 (0x135a)

lri $AR1,    #0x4000
lri $IX1,    #0x135a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4955 (0x135b)

lri $AR1,    #0x4000
lri $IX1,    #0x135b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4956 (0x135c)

lri $AR1,    #0x4000
lri $IX1,    #0x135c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4957 (0x135d)

lri $AR1,    #0x4000
lri $IX1,    #0x135d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4958 (0x135e)

lri $AR1,    #0x4000
lri $IX1,    #0x135e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4959 (0x135f)

lri $AR1,    #0x4000
lri $IX1,    #0x135f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4960 (0x1360)

lri $AR1,    #0x4000
lri $IX1,    #0x1360
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4961 (0x1361)

lri $AR1,    #0x4000
lri $IX1,    #0x1361
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4962 (0x1362)

lri $AR1,    #0x4000
lri $IX1,    #0x1362
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4963 (0x1363)

lri $AR1,    #0x4000
lri $IX1,    #0x1363
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4964 (0x1364)

lri $AR1,    #0x4000
lri $IX1,    #0x1364
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4965 (0x1365)

lri $AR1,    #0x4000
lri $IX1,    #0x1365
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4966 (0x1366)

lri $AR1,    #0x4000
lri $IX1,    #0x1366
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4967 (0x1367)

lri $AR1,    #0x4000
lri $IX1,    #0x1367
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4968 (0x1368)

lri $AR1,    #0x4000
lri $IX1,    #0x1368
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4969 (0x1369)

lri $AR1,    #0x4000
lri $IX1,    #0x1369
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4970 (0x136a)

lri $AR1,    #0x4000
lri $IX1,    #0x136a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4971 (0x136b)

lri $AR1,    #0x4000
lri $IX1,    #0x136b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4972 (0x136c)

lri $AR1,    #0x4000
lri $IX1,    #0x136c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4973 (0x136d)

lri $AR1,    #0x4000
lri $IX1,    #0x136d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4974 (0x136e)

lri $AR1,    #0x4000
lri $IX1,    #0x136e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4975 (0x136f)

lri $AR1,    #0x4000
lri $IX1,    #0x136f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4976 (0x1370)

lri $AR1,    #0x4000
lri $IX1,    #0x1370
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4977 (0x1371)

lri $AR1,    #0x4000
lri $IX1,    #0x1371
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4978 (0x1372)

lri $AR1,    #0x4000
lri $IX1,    #0x1372
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4979 (0x1373)

lri $AR1,    #0x4000
lri $IX1,    #0x1373
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4980 (0x1374)

lri $AR1,    #0x4000
lri $IX1,    #0x1374
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4981 (0x1375)

lri $AR1,    #0x4000
lri $IX1,    #0x1375
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4982 (0x1376)

lri $AR1,    #0x4000
lri $IX1,    #0x1376
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4983 (0x1377)

lri $AR1,    #0x4000
lri $IX1,    #0x1377
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4984 (0x1378)

lri $AR1,    #0x4000
lri $IX1,    #0x1378
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4985 (0x1379)

lri $AR1,    #0x4000
lri $IX1,    #0x1379
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4986 (0x137a)

lri $AR1,    #0x4000
lri $IX1,    #0x137a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4987 (0x137b)

lri $AR1,    #0x4000
lri $IX1,    #0x137b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4988 (0x137c)

lri $AR1,    #0x4000
lri $IX1,    #0x137c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4989 (0x137d)

lri $AR1,    #0x4000
lri $IX1,    #0x137d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4990 (0x137e)

lri $AR1,    #0x4000
lri $IX1,    #0x137e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4991 (0x137f)

lri $AR1,    #0x4000
lri $IX1,    #0x137f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4992 (0x1380)

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

