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

lri $AR1,    #0x4000
lri $IX1,    #0x1200
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4609 (0x1201)

lri $AR1,    #0x4000
lri $IX1,    #0x1201
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4610 (0x1202)

lri $AR1,    #0x4000
lri $IX1,    #0x1202
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4611 (0x1203)

lri $AR1,    #0x4000
lri $IX1,    #0x1203
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4612 (0x1204)

lri $AR1,    #0x4000
lri $IX1,    #0x1204
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4613 (0x1205)

lri $AR1,    #0x4000
lri $IX1,    #0x1205
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4614 (0x1206)

lri $AR1,    #0x4000
lri $IX1,    #0x1206
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4615 (0x1207)

lri $AR1,    #0x4000
lri $IX1,    #0x1207
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4616 (0x1208)

lri $AR1,    #0x4000
lri $IX1,    #0x1208
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4617 (0x1209)

lri $AR1,    #0x4000
lri $IX1,    #0x1209
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4618 (0x120a)

lri $AR1,    #0x4000
lri $IX1,    #0x120a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4619 (0x120b)

lri $AR1,    #0x4000
lri $IX1,    #0x120b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4620 (0x120c)

lri $AR1,    #0x4000
lri $IX1,    #0x120c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4621 (0x120d)

lri $AR1,    #0x4000
lri $IX1,    #0x120d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4622 (0x120e)

lri $AR1,    #0x4000
lri $IX1,    #0x120e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4623 (0x120f)

lri $AR1,    #0x4000
lri $IX1,    #0x120f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4624 (0x1210)

lri $AR1,    #0x4000
lri $IX1,    #0x1210
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4625 (0x1211)

lri $AR1,    #0x4000
lri $IX1,    #0x1211
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4626 (0x1212)

lri $AR1,    #0x4000
lri $IX1,    #0x1212
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4627 (0x1213)

lri $AR1,    #0x4000
lri $IX1,    #0x1213
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4628 (0x1214)

lri $AR1,    #0x4000
lri $IX1,    #0x1214
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4629 (0x1215)

lri $AR1,    #0x4000
lri $IX1,    #0x1215
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4630 (0x1216)

lri $AR1,    #0x4000
lri $IX1,    #0x1216
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4631 (0x1217)

lri $AR1,    #0x4000
lri $IX1,    #0x1217
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4632 (0x1218)

lri $AR1,    #0x4000
lri $IX1,    #0x1218
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4633 (0x1219)

lri $AR1,    #0x4000
lri $IX1,    #0x1219
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4634 (0x121a)

lri $AR1,    #0x4000
lri $IX1,    #0x121a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4635 (0x121b)

lri $AR1,    #0x4000
lri $IX1,    #0x121b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4636 (0x121c)

lri $AR1,    #0x4000
lri $IX1,    #0x121c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4637 (0x121d)

lri $AR1,    #0x4000
lri $IX1,    #0x121d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4638 (0x121e)

lri $AR1,    #0x4000
lri $IX1,    #0x121e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4639 (0x121f)

lri $AR1,    #0x4000
lri $IX1,    #0x121f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4640 (0x1220)

lri $AR1,    #0x4000
lri $IX1,    #0x1220
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4641 (0x1221)

lri $AR1,    #0x4000
lri $IX1,    #0x1221
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4642 (0x1222)

lri $AR1,    #0x4000
lri $IX1,    #0x1222
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4643 (0x1223)

lri $AR1,    #0x4000
lri $IX1,    #0x1223
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4644 (0x1224)

lri $AR1,    #0x4000
lri $IX1,    #0x1224
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4645 (0x1225)

lri $AR1,    #0x4000
lri $IX1,    #0x1225
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4646 (0x1226)

lri $AR1,    #0x4000
lri $IX1,    #0x1226
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4647 (0x1227)

lri $AR1,    #0x4000
lri $IX1,    #0x1227
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4648 (0x1228)

lri $AR1,    #0x4000
lri $IX1,    #0x1228
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4649 (0x1229)

lri $AR1,    #0x4000
lri $IX1,    #0x1229
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4650 (0x122a)

lri $AR1,    #0x4000
lri $IX1,    #0x122a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4651 (0x122b)

lri $AR1,    #0x4000
lri $IX1,    #0x122b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4652 (0x122c)

lri $AR1,    #0x4000
lri $IX1,    #0x122c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4653 (0x122d)

lri $AR1,    #0x4000
lri $IX1,    #0x122d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4654 (0x122e)

lri $AR1,    #0x4000
lri $IX1,    #0x122e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4655 (0x122f)

lri $AR1,    #0x4000
lri $IX1,    #0x122f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4656 (0x1230)

lri $AR1,    #0x4000
lri $IX1,    #0x1230
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4657 (0x1231)

lri $AR1,    #0x4000
lri $IX1,    #0x1231
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4658 (0x1232)

lri $AR1,    #0x4000
lri $IX1,    #0x1232
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4659 (0x1233)

lri $AR1,    #0x4000
lri $IX1,    #0x1233
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4660 (0x1234)

lri $AR1,    #0x4000
lri $IX1,    #0x1234
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4661 (0x1235)

lri $AR1,    #0x4000
lri $IX1,    #0x1235
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4662 (0x1236)

lri $AR1,    #0x4000
lri $IX1,    #0x1236
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4663 (0x1237)

lri $AR1,    #0x4000
lri $IX1,    #0x1237
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4664 (0x1238)

lri $AR1,    #0x4000
lri $IX1,    #0x1238
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4665 (0x1239)

lri $AR1,    #0x4000
lri $IX1,    #0x1239
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4666 (0x123a)

lri $AR1,    #0x4000
lri $IX1,    #0x123a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4667 (0x123b)

lri $AR1,    #0x4000
lri $IX1,    #0x123b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4668 (0x123c)

lri $AR1,    #0x4000
lri $IX1,    #0x123c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4669 (0x123d)

lri $AR1,    #0x4000
lri $IX1,    #0x123d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4670 (0x123e)

lri $AR1,    #0x4000
lri $IX1,    #0x123e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4671 (0x123f)

lri $AR1,    #0x4000
lri $IX1,    #0x123f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4672 (0x1240)

lri $AR1,    #0x4000
lri $IX1,    #0x1240
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4673 (0x1241)

lri $AR1,    #0x4000
lri $IX1,    #0x1241
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4674 (0x1242)

lri $AR1,    #0x4000
lri $IX1,    #0x1242
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4675 (0x1243)

lri $AR1,    #0x4000
lri $IX1,    #0x1243
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4676 (0x1244)

lri $AR1,    #0x4000
lri $IX1,    #0x1244
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4677 (0x1245)

lri $AR1,    #0x4000
lri $IX1,    #0x1245
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4678 (0x1246)

lri $AR1,    #0x4000
lri $IX1,    #0x1246
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4679 (0x1247)

lri $AR1,    #0x4000
lri $IX1,    #0x1247
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4680 (0x1248)

lri $AR1,    #0x4000
lri $IX1,    #0x1248
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4681 (0x1249)

lri $AR1,    #0x4000
lri $IX1,    #0x1249
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4682 (0x124a)

lri $AR1,    #0x4000
lri $IX1,    #0x124a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4683 (0x124b)

lri $AR1,    #0x4000
lri $IX1,    #0x124b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4684 (0x124c)

lri $AR1,    #0x4000
lri $IX1,    #0x124c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4685 (0x124d)

lri $AR1,    #0x4000
lri $IX1,    #0x124d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4686 (0x124e)

lri $AR1,    #0x4000
lri $IX1,    #0x124e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4687 (0x124f)

lri $AR1,    #0x4000
lri $IX1,    #0x124f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4688 (0x1250)

lri $AR1,    #0x4000
lri $IX1,    #0x1250
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4689 (0x1251)

lri $AR1,    #0x4000
lri $IX1,    #0x1251
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4690 (0x1252)

lri $AR1,    #0x4000
lri $IX1,    #0x1252
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4691 (0x1253)

lri $AR1,    #0x4000
lri $IX1,    #0x1253
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4692 (0x1254)

lri $AR1,    #0x4000
lri $IX1,    #0x1254
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4693 (0x1255)

lri $AR1,    #0x4000
lri $IX1,    #0x1255
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4694 (0x1256)

lri $AR1,    #0x4000
lri $IX1,    #0x1256
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4695 (0x1257)

lri $AR1,    #0x4000
lri $IX1,    #0x1257
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4696 (0x1258)

lri $AR1,    #0x4000
lri $IX1,    #0x1258
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4697 (0x1259)

lri $AR1,    #0x4000
lri $IX1,    #0x1259
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4698 (0x125a)

lri $AR1,    #0x4000
lri $IX1,    #0x125a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4699 (0x125b)

lri $AR1,    #0x4000
lri $IX1,    #0x125b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4700 (0x125c)

lri $AR1,    #0x4000
lri $IX1,    #0x125c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4701 (0x125d)

lri $AR1,    #0x4000
lri $IX1,    #0x125d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4702 (0x125e)

lri $AR1,    #0x4000
lri $IX1,    #0x125e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4703 (0x125f)

lri $AR1,    #0x4000
lri $IX1,    #0x125f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4704 (0x1260)

lri $AR1,    #0x4000
lri $IX1,    #0x1260
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4705 (0x1261)

lri $AR1,    #0x4000
lri $IX1,    #0x1261
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4706 (0x1262)

lri $AR1,    #0x4000
lri $IX1,    #0x1262
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4707 (0x1263)

lri $AR1,    #0x4000
lri $IX1,    #0x1263
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4708 (0x1264)

lri $AR1,    #0x4000
lri $IX1,    #0x1264
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4709 (0x1265)

lri $AR1,    #0x4000
lri $IX1,    #0x1265
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4710 (0x1266)

lri $AR1,    #0x4000
lri $IX1,    #0x1266
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4711 (0x1267)

lri $AR1,    #0x4000
lri $IX1,    #0x1267
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4712 (0x1268)

lri $AR1,    #0x4000
lri $IX1,    #0x1268
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4713 (0x1269)

lri $AR1,    #0x4000
lri $IX1,    #0x1269
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4714 (0x126a)

lri $AR1,    #0x4000
lri $IX1,    #0x126a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4715 (0x126b)

lri $AR1,    #0x4000
lri $IX1,    #0x126b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4716 (0x126c)

lri $AR1,    #0x4000
lri $IX1,    #0x126c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4717 (0x126d)

lri $AR1,    #0x4000
lri $IX1,    #0x126d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4718 (0x126e)

lri $AR1,    #0x4000
lri $IX1,    #0x126e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4719 (0x126f)

lri $AR1,    #0x4000
lri $IX1,    #0x126f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4720 (0x1270)

lri $AR1,    #0x4000
lri $IX1,    #0x1270
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4721 (0x1271)

lri $AR1,    #0x4000
lri $IX1,    #0x1271
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4722 (0x1272)

lri $AR1,    #0x4000
lri $IX1,    #0x1272
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4723 (0x1273)

lri $AR1,    #0x4000
lri $IX1,    #0x1273
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4724 (0x1274)

lri $AR1,    #0x4000
lri $IX1,    #0x1274
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4725 (0x1275)

lri $AR1,    #0x4000
lri $IX1,    #0x1275
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4726 (0x1276)

lri $AR1,    #0x4000
lri $IX1,    #0x1276
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4727 (0x1277)

lri $AR1,    #0x4000
lri $IX1,    #0x1277
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4728 (0x1278)

lri $AR1,    #0x4000
lri $IX1,    #0x1278
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4729 (0x1279)

lri $AR1,    #0x4000
lri $IX1,    #0x1279
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4730 (0x127a)

lri $AR1,    #0x4000
lri $IX1,    #0x127a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4731 (0x127b)

lri $AR1,    #0x4000
lri $IX1,    #0x127b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4732 (0x127c)

lri $AR1,    #0x4000
lri $IX1,    #0x127c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4733 (0x127d)

lri $AR1,    #0x4000
lri $IX1,    #0x127d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4734 (0x127e)

lri $AR1,    #0x4000
lri $IX1,    #0x127e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4735 (0x127f)

lri $AR1,    #0x4000
lri $IX1,    #0x127f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4736 (0x1280)

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

