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

lri $AR1,    #0x2ae4
lri $IX1,    #0x2ec2
lri $WR1,    #0xbb7c
cw 0xd
call send_back  ; 4609 (0x1201)

lri $AR1,    #0xc0b8
lri $IX1,    #0xd1a4
lri $WR1,    #0x5462
cw 0xd
call send_back  ; 4610 (0x1202)

lri $AR1,    #0xe57a
lri $IX1,    #0xb8a2
lri $WR1,    #0xb4c0
cw 0xd
call send_back  ; 4611 (0x1203)

lri $AR1,    #0xc4f8
lri $IX1,    #0xd67a
lri $WR1,    #0x6bda
cw 0xd
call send_back  ; 4612 (0x1204)

lri $AR1,    #0x1ce8
lri $IX1,    #0xc998
lri $WR1,    #0xc9e0
cw 0xd
call send_back  ; 4613 (0x1205)

lri $AR1,    #0x645e
lri $IX1,    #0x37be
lri $WR1,    #0xf672
cw 0xd
call send_back  ; 4614 (0x1206)

lri $AR1,    #0x2bb6
lri $IX1,    #0x642c
lri $WR1,    #0x2ce8
cw 0xd
call send_back  ; 4615 (0x1207)

lri $AR1,    #0x0bbe
lri $IX1,    #0x95f8
lri $WR1,    #0x8d6a
cw 0xd
call send_back  ; 4616 (0x1208)

lri $AR1,    #0x458e
lri $IX1,    #0x9f1e
lri $WR1,    #0x7462
cw 0xd
call send_back  ; 4617 (0x1209)

lri $AR1,    #0x9714
lri $IX1,    #0xee68
lri $WR1,    #0x358a
cw 0xd
call send_back  ; 4618 (0x120a)

lri $AR1,    #0x56aa
lri $IX1,    #0xf618
lri $WR1,    #0xdc46
cw 0xd
call send_back  ; 4619 (0x120b)

lri $AR1,    #0xf5b4
lri $IX1,    #0x7958
lri $WR1,    #0x6306
cw 0xd
call send_back  ; 4620 (0x120c)

lri $AR1,    #0x1b16
lri $IX1,    #0x9af6
lri $WR1,    #0x8d02
cw 0xd
call send_back  ; 4621 (0x120d)

lri $AR1,    #0xa438
lri $IX1,    #0x4f6a
lri $WR1,    #0xd0b4
cw 0xd
call send_back  ; 4622 (0x120e)

lri $AR1,    #0x441a
lri $IX1,    #0x047a
lri $WR1,    #0xf286
cw 0xd
call send_back  ; 4623 (0x120f)

lri $AR1,    #0x9e46
lri $IX1,    #0xaf36
lri $WR1,    #0x5e2c
cw 0xd
call send_back  ; 4624 (0x1210)

lri $AR1,    #0xd0e0
lri $IX1,    #0x0b64
lri $WR1,    #0xefd4
cw 0xd
call send_back  ; 4625 (0x1211)

lri $AR1,    #0x22f2
lri $IX1,    #0x9332
lri $WR1,    #0xa506
cw 0xd
call send_back  ; 4626 (0x1212)

lri $AR1,    #0x49a6
lri $IX1,    #0x47d6
lri $WR1,    #0x99fa
cw 0xd
call send_back  ; 4627 (0x1213)

lri $AR1,    #0x0ad4
lri $IX1,    #0x1a56
lri $WR1,    #0x7df6
cw 0xd
call send_back  ; 4628 (0x1214)

lri $AR1,    #0xf382
lri $IX1,    #0x2d08
lri $WR1,    #0xbfd6
cw 0xd
call send_back  ; 4629 (0x1215)

lri $AR1,    #0x9fa4
lri $IX1,    #0xb46e
lri $WR1,    #0x62da
cw 0xd
call send_back  ; 4630 (0x1216)

lri $AR1,    #0xf51c
lri $IX1,    #0xba18
lri $WR1,    #0x7abe
cw 0xd
call send_back  ; 4631 (0x1217)

lri $AR1,    #0x0166
lri $IX1,    #0xad76
lri $WR1,    #0x9b8c
cw 0xd
call send_back  ; 4632 (0x1218)

lri $AR1,    #0x635c
lri $IX1,    #0x9b16
lri $WR1,    #0xf648
cw 0xd
call send_back  ; 4633 (0x1219)

lri $AR1,    #0x4df0
lri $IX1,    #0x3a1e
lri $WR1,    #0x8f86
cw 0xd
call send_back  ; 4634 (0x121a)

lri $AR1,    #0xe75c
lri $IX1,    #0x660c
lri $WR1,    #0x2c50
cw 0xd
call send_back  ; 4635 (0x121b)

lri $AR1,    #0x13f0
lri $IX1,    #0x29a4
lri $WR1,    #0x8f22
cw 0xd
call send_back  ; 4636 (0x121c)

lri $AR1,    #0xc5bc
lri $IX1,    #0x5c12
lri $WR1,    #0x1c86
cw 0xd
call send_back  ; 4637 (0x121d)

lri $AR1,    #0x3b26
lri $IX1,    #0x8036
lri $WR1,    #0x0b96
cw 0xd
call send_back  ; 4638 (0x121e)

lri $AR1,    #0x21a2
lri $IX1,    #0xdf56
lri $WR1,    #0xad9c
cw 0xd
call send_back  ; 4639 (0x121f)

lri $AR1,    #0x97fe
lri $IX1,    #0x171a
lri $WR1,    #0xa56a
cw 0xd
call send_back  ; 4640 (0x1220)

lri $AR1,    #0x0468
lri $IX1,    #0xc302
lri $WR1,    #0x885c
cw 0xd
call send_back  ; 4641 (0x1221)

lri $AR1,    #0xf93c
lri $IX1,    #0x96ae
lri $WR1,    #0xd584
cw 0xd
call send_back  ; 4642 (0x1222)

lri $AR1,    #0x9d66
lri $IX1,    #0xdaec
lri $WR1,    #0x7ba8
cw 0xd
call send_back  ; 4643 (0x1223)

lri $AR1,    #0xc2ee
lri $IX1,    #0x5094
lri $WR1,    #0x5d8e
cw 0xd
call send_back  ; 4644 (0x1224)

lri $AR1,    #0xf3c0
lri $IX1,    #0xdd26
lri $WR1,    #0xf2e2
cw 0xd
call send_back  ; 4645 (0x1225)

lri $AR1,    #0x3a4c
lri $IX1,    #0x4f1a
lri $WR1,    #0x40e6
cw 0xd
call send_back  ; 4646 (0x1226)

lri $AR1,    #0x86b6
lri $IX1,    #0xe00e
lri $WR1,    #0x5e94
cw 0xd
call send_back  ; 4647 (0x1227)

lri $AR1,    #0xa2b2
lri $IX1,    #0xf92a
lri $WR1,    #0xe7ac
cw 0xd
call send_back  ; 4648 (0x1228)

lri $AR1,    #0xb752
lri $IX1,    #0xa438
lri $WR1,    #0xc1d2
cw 0xd
call send_back  ; 4649 (0x1229)

lri $AR1,    #0x5486
lri $IX1,    #0x90cc
lri $WR1,    #0x5a3c
cw 0xd
call send_back  ; 4650 (0x122a)

lri $AR1,    #0xf106
lri $IX1,    #0x89ba
lri $WR1,    #0x8548
cw 0xd
call send_back  ; 4651 (0x122b)

lri $AR1,    #0x2afa
lri $IX1,    #0x34a4
lri $WR1,    #0x5bc4
cw 0xd
call send_back  ; 4652 (0x122c)

lri $AR1,    #0xfcf2
lri $IX1,    #0xad1c
lri $WR1,    #0xdb62
cw 0xd
call send_back  ; 4653 (0x122d)

lri $AR1,    #0x26aa
lri $IX1,    #0x8b5a
lri $WR1,    #0xaf0e
cw 0xd
call send_back  ; 4654 (0x122e)

lri $AR1,    #0x5e8e
lri $IX1,    #0x50a4
lri $WR1,    #0x077e
cw 0xd
call send_back  ; 4655 (0x122f)

lri $AR1,    #0x0ef6
lri $IX1,    #0x7a56
lri $WR1,    #0x213e
cw 0xd
call send_back  ; 4656 (0x1230)

lri $AR1,    #0xa652
lri $IX1,    #0x8b18
lri $WR1,    #0x5c98
cw 0xd
call send_back  ; 4657 (0x1231)

lri $AR1,    #0x5506
lri $IX1,    #0xdfca
lri $WR1,    #0x32b8
cw 0xd
call send_back  ; 4658 (0x1232)

lri $AR1,    #0xf222
lri $IX1,    #0x55b6
lri $WR1,    #0x6660
cw 0xd
call send_back  ; 4659 (0x1233)

lri $AR1,    #0x9f88
lri $IX1,    #0xda78
lri $WR1,    #0x7ed4
cw 0xd
call send_back  ; 4660 (0x1234)

lri $AR1,    #0xf91c
lri $IX1,    #0x9f92
lri $WR1,    #0x0a28
cw 0xd
call send_back  ; 4661 (0x1235)

lri $AR1,    #0x56e2
lri $IX1,    #0x581c
lri $WR1,    #0x7796
cw 0xd
call send_back  ; 4662 (0x1236)

lri $AR1,    #0xa386
lri $IX1,    #0x24fe
lri $WR1,    #0x239e
cw 0xd
call send_back  ; 4663 (0x1237)

lri $AR1,    #0x6600
lri $IX1,    #0x0dfa
lri $WR1,    #0xcb16
cw 0xd
call send_back  ; 4664 (0x1238)

lri $AR1,    #0xed86
lri $IX1,    #0x8e42
lri $WR1,    #0xd3c4
cw 0xd
call send_back  ; 4665 (0x1239)

lri $AR1,    #0x4c80
lri $IX1,    #0x4566
lri $WR1,    #0xf4c6
cw 0xd
call send_back  ; 4666 (0x123a)

lri $AR1,    #0x4e4c
lri $IX1,    #0xe930
lri $WR1,    #0x0708
cw 0xd
call send_back  ; 4667 (0x123b)

lri $AR1,    #0xb352
lri $IX1,    #0xa8de
lri $WR1,    #0x3558
cw 0xd
call send_back  ; 4668 (0x123c)

lri $AR1,    #0xb370
lri $IX1,    #0x0df0
lri $WR1,    #0x41fc
cw 0xd
call send_back  ; 4669 (0x123d)

lri $AR1,    #0x1596
lri $IX1,    #0x1c70
lri $WR1,    #0x9056
cw 0xd
call send_back  ; 4670 (0x123e)

lri $AR1,    #0xf324
lri $IX1,    #0x0792
lri $WR1,    #0x2aa0
cw 0xd
call send_back  ; 4671 (0x123f)

lri $AR1,    #0xdbd0
lri $IX1,    #0x4712
lri $WR1,    #0x9f32
cw 0xd
call send_back  ; 4672 (0x1240)

lri $AR1,    #0x05f6
lri $IX1,    #0x4da4
lri $WR1,    #0x2692
cw 0xd
call send_back  ; 4673 (0x1241)

lri $AR1,    #0xa03c
lri $IX1,    #0x68c2
lri $WR1,    #0x2600
cw 0xd
call send_back  ; 4674 (0x1242)

lri $AR1,    #0x03bc
lri $IX1,    #0x9c7e
lri $WR1,    #0x653c
cw 0xd
call send_back  ; 4675 (0x1243)

lri $AR1,    #0x575e
lri $IX1,    #0x0bc8
lri $WR1,    #0x7e74
cw 0xd
call send_back  ; 4676 (0x1244)

lri $AR1,    #0x658a
lri $IX1,    #0xa666
lri $WR1,    #0x6750
cw 0xd
call send_back  ; 4677 (0x1245)

lri $AR1,    #0xe874
lri $IX1,    #0xae48
lri $WR1,    #0x4268
cw 0xd
call send_back  ; 4678 (0x1246)

lri $AR1,    #0x1114
lri $IX1,    #0xd056
lri $WR1,    #0x2b94
cw 0xd
call send_back  ; 4679 (0x1247)

lri $AR1,    #0x7e2c
lri $IX1,    #0x4b4c
lri $WR1,    #0x3f9a
cw 0xd
call send_back  ; 4680 (0x1248)

lri $AR1,    #0xd08e
lri $IX1,    #0xd172
lri $WR1,    #0x3b66
cw 0xd
call send_back  ; 4681 (0x1249)

lri $AR1,    #0xa00e
lri $IX1,    #0x5166
lri $WR1,    #0xcac6
cw 0xd
call send_back  ; 4682 (0x124a)

lri $AR1,    #0xb454
lri $IX1,    #0x7cfe
lri $WR1,    #0x7fe4
cw 0xd
call send_back  ; 4683 (0x124b)

lri $AR1,    #0x19f4
lri $IX1,    #0xb756
lri $WR1,    #0x20ce
cw 0xd
call send_back  ; 4684 (0x124c)

lri $AR1,    #0x126a
lri $IX1,    #0x5aee
lri $WR1,    #0xb33c
cw 0xd
call send_back  ; 4685 (0x124d)

lri $AR1,    #0xf734
lri $IX1,    #0x1d88
lri $WR1,    #0xc92e
cw 0xd
call send_back  ; 4686 (0x124e)

lri $AR1,    #0x0a2c
lri $IX1,    #0x1bce
lri $WR1,    #0x07f8
cw 0xd
call send_back  ; 4687 (0x124f)

lri $AR1,    #0x83a6
lri $IX1,    #0xe5f4
lri $WR1,    #0xfd58
cw 0xd
call send_back  ; 4688 (0x1250)

lri $AR1,    #0x4126
lri $IX1,    #0x8926
lri $WR1,    #0xe2cc
cw 0xd
call send_back  ; 4689 (0x1251)

lri $AR1,    #0x7d4e
lri $IX1,    #0x8248
lri $WR1,    #0x153e
cw 0xd
call send_back  ; 4690 (0x1252)

lri $AR1,    #0x989e
lri $IX1,    #0x7414
lri $WR1,    #0xe1ce
cw 0xd
call send_back  ; 4691 (0x1253)

lri $AR1,    #0x85ac
lri $IX1,    #0x8acc
lri $WR1,    #0x019a
cw 0xd
call send_back  ; 4692 (0x1254)

lri $AR1,    #0x817e
lri $IX1,    #0x7044
lri $WR1,    #0x867e
cw 0xd
call send_back  ; 4693 (0x1255)

lri $AR1,    #0x9290
lri $IX1,    #0x1ef6
lri $WR1,    #0x1156
cw 0xd
call send_back  ; 4694 (0x1256)

lri $AR1,    #0xf766
lri $IX1,    #0x0202
lri $WR1,    #0x4eaa
cw 0xd
call send_back  ; 4695 (0x1257)

lri $AR1,    #0xba96
lri $IX1,    #0x3b06
lri $WR1,    #0xbf86
cw 0xd
call send_back  ; 4696 (0x1258)

lri $AR1,    #0xa97e
lri $IX1,    #0x6a86
lri $WR1,    #0x7a7a
cw 0xd
call send_back  ; 4697 (0x1259)

lri $AR1,    #0x61e0
lri $IX1,    #0xb4c0
lri $WR1,    #0x3458
cw 0xd
call send_back  ; 4698 (0x125a)

lri $AR1,    #0x12c8
lri $IX1,    #0x8e2e
lri $WR1,    #0xccb2
cw 0xd
call send_back  ; 4699 (0x125b)

lri $AR1,    #0xa060
lri $IX1,    #0x1396
lri $WR1,    #0x9b92
cw 0xd
call send_back  ; 4700 (0x125c)

lri $AR1,    #0xd998
lri $IX1,    #0xacf2
lri $WR1,    #0xdc84
cw 0xd
call send_back  ; 4701 (0x125d)

lri $AR1,    #0xdb52
lri $IX1,    #0x173e
lri $WR1,    #0x97d4
cw 0xd
call send_back  ; 4702 (0x125e)

lri $AR1,    #0x60e8
lri $IX1,    #0xed86
lri $WR1,    #0xb6fa
cw 0xd
call send_back  ; 4703 (0x125f)

lri $AR1,    #0x181a
lri $IX1,    #0x1a20
lri $WR1,    #0x0a3e
cw 0xd
call send_back  ; 4704 (0x1260)

lri $AR1,    #0xa43c
lri $IX1,    #0x309a
lri $WR1,    #0x304e
cw 0xd
call send_back  ; 4705 (0x1261)

lri $AR1,    #0xa72a
lri $IX1,    #0x3392
lri $WR1,    #0x42cc
cw 0xd
call send_back  ; 4706 (0x1262)

lri $AR1,    #0xe1ac
lri $IX1,    #0x61c4
lri $WR1,    #0x042e
cw 0xd
call send_back  ; 4707 (0x1263)

lri $AR1,    #0x8a32
lri $IX1,    #0xb048
lri $WR1,    #0x95f8
cw 0xd
call send_back  ; 4708 (0x1264)

lri $AR1,    #0xdbf2
lri $IX1,    #0xa848
lri $WR1,    #0x5e5a
cw 0xd
call send_back  ; 4709 (0x1265)

lri $AR1,    #0x8946
lri $IX1,    #0xc5f8
lri $WR1,    #0x68e2
cw 0xd
call send_back  ; 4710 (0x1266)

lri $AR1,    #0x4102
lri $IX1,    #0x9272
lri $WR1,    #0x3b98
cw 0xd
call send_back  ; 4711 (0x1267)

lri $AR1,    #0x671c
lri $IX1,    #0xf18e
lri $WR1,    #0x25a6
cw 0xd
call send_back  ; 4712 (0x1268)

lri $AR1,    #0x9fee
lri $IX1,    #0xbaba
lri $WR1,    #0xe54c
cw 0xd
call send_back  ; 4713 (0x1269)

lri $AR1,    #0x2d20
lri $IX1,    #0xd5e8
lri $WR1,    #0x561a
cw 0xd
call send_back  ; 4714 (0x126a)

lri $AR1,    #0xf3ca
lri $IX1,    #0x9654
lri $WR1,    #0x38c8
cw 0xd
call send_back  ; 4715 (0x126b)

lri $AR1,    #0x3c90
lri $IX1,    #0x53a0
lri $WR1,    #0x7b94
cw 0xd
call send_back  ; 4716 (0x126c)

lri $AR1,    #0xbf2e
lri $IX1,    #0x395c
lri $WR1,    #0x15bc
cw 0xd
call send_back  ; 4717 (0x126d)

lri $AR1,    #0xd242
lri $IX1,    #0x90a4
lri $WR1,    #0x3f06
cw 0xd
call send_back  ; 4718 (0x126e)

lri $AR1,    #0xa724
lri $IX1,    #0x0568
lri $WR1,    #0xd5a0
cw 0xd
call send_back  ; 4719 (0x126f)

lri $AR1,    #0x1748
lri $IX1,    #0x613e
lri $WR1,    #0x64ee
cw 0xd
call send_back  ; 4720 (0x1270)

lri $AR1,    #0x0a0c
lri $IX1,    #0x8b80
lri $WR1,    #0xb09e
cw 0xd
call send_back  ; 4721 (0x1271)

lri $AR1,    #0xd13c
lri $IX1,    #0x9a58
lri $WR1,    #0xad88
cw 0xd
call send_back  ; 4722 (0x1272)

lri $AR1,    #0xda4a
lri $IX1,    #0x8b60
lri $WR1,    #0x12f0
cw 0xd
call send_back  ; 4723 (0x1273)

lri $AR1,    #0x692e
lri $IX1,    #0xe784
lri $WR1,    #0x91ba
cw 0xd
call send_back  ; 4724 (0x1274)

lri $AR1,    #0xaa5a
lri $IX1,    #0x0610
lri $WR1,    #0xc00a
cw 0xd
call send_back  ; 4725 (0x1275)

lri $AR1,    #0x7122
lri $IX1,    #0x6da8
lri $WR1,    #0xc20a
cw 0xd
call send_back  ; 4726 (0x1276)

lri $AR1,    #0xfaec
lri $IX1,    #0xf292
lri $WR1,    #0xd792
cw 0xd
call send_back  ; 4727 (0x1277)

lri $AR1,    #0x2c1a
lri $IX1,    #0x6dca
lri $WR1,    #0x8d4c
cw 0xd
call send_back  ; 4728 (0x1278)

lri $AR1,    #0x19f4
lri $IX1,    #0x67ce
lri $WR1,    #0x029c
cw 0xd
call send_back  ; 4729 (0x1279)

lri $AR1,    #0x057e
lri $IX1,    #0xe1d8
lri $WR1,    #0x012a
cw 0xd
call send_back  ; 4730 (0x127a)

lri $AR1,    #0xdc00
lri $IX1,    #0x1f78
lri $WR1,    #0xddfe
cw 0xd
call send_back  ; 4731 (0x127b)

lri $AR1,    #0x7908
lri $IX1,    #0x4ffc
lri $WR1,    #0xcf42
cw 0xd
call send_back  ; 4732 (0x127c)

lri $AR1,    #0xcfe4
lri $IX1,    #0x320a
lri $WR1,    #0xc14c
cw 0xd
call send_back  ; 4733 (0x127d)

lri $AR1,    #0xccce
lri $IX1,    #0x6f52
lri $WR1,    #0xe602
cw 0xd
call send_back  ; 4734 (0x127e)

lri $AR1,    #0xdf20
lri $IX1,    #0xf4a2
lri $WR1,    #0xe85c
cw 0xd
call send_back  ; 4735 (0x127f)

lri $AR1,    #0x4bce
lri $IX1,    #0x5372
lri $WR1,    #0x5cfa
cw 0xd
call send_back  ; 4736 (0x1280)

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

