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

lri $AR1,    #0xaf5a
lri $IX1,    #0x8184
lri $WR1,    #0x6d46
cw 0x15
call send_back  ; 4589 (0x11ed)

lri $AR1,    #0x9c2a
lri $IX1,    #0xe05c
lri $WR1,    #0xa328
cw 0x15
call send_back  ; 4590 (0x11ee)

lri $AR1,    #0x3553
lri $IX1,    #0xcc34
lri $WR1,    #0xcf19
cw 0x15
call send_back  ; 4591 (0x11ef)

lri $AR1,    #0xab26
lri $IX1,    #0xec68
lri $WR1,    #0xc8d6
cw 0x15
call send_back  ; 4592 (0x11f0)

lri $AR1,    #0xb2bc
lri $IX1,    #0x6dbc
lri $WR1,    #0x8cf3
cw 0x15
call send_back  ; 4593 (0x11f1)

lri $AR1,    #0xa706
lri $IX1,    #0xbbfe
lri $WR1,    #0x3e62
cw 0x15
call send_back  ; 4594 (0x11f2)

lri $AR1,    #0x7a0b
lri $IX1,    #0x5eb0
lri $WR1,    #0x5cd7
cw 0x15
call send_back  ; 4595 (0x11f3)

lri $AR1,    #0xdb84
lri $IX1,    #0x48c2
lri $WR1,    #0x408e
cw 0x15
call send_back  ; 4596 (0x11f4)

lri $AR1,    #0x15c2
lri $IX1,    #0x7434
lri $WR1,    #0x858d
cw 0x15
call send_back  ; 4597 (0x11f5)

lri $AR1,    #0x711a
lri $IX1,    #0x56a0
lri $WR1,    #0xade7
cw 0x15
call send_back  ; 4598 (0x11f6)

lri $AR1,    #0xd1b5
lri $IX1,    #0xbc86
lri $WR1,    #0x4413
cw 0x15
call send_back  ; 4599 (0x11f7)

lri $AR1,    #0x9b08
lri $IX1,    #0x057e
lri $WR1,    #0x8bf2
cw 0x15
call send_back  ; 4600 (0x11f8)

lri $AR1,    #0x8fd4
lri $IX1,    #0xb3e8
lri $WR1,    #0xba7f
cw 0x15
call send_back  ; 4601 (0x11f9)

lri $AR1,    #0xc4e1
lri $IX1,    #0xe776
lri $WR1,    #0x99d0
cw 0x15
call send_back  ; 4602 (0x11fa)

lri $AR1,    #0x3070
lri $IX1,    #0xca18
lri $WR1,    #0xd069
cw 0x15
call send_back  ; 4603 (0x11fb)

lri $AR1,    #0x4789
lri $IX1,    #0x5390
lri $WR1,    #0x986b
cw 0x15
call send_back  ; 4604 (0x11fc)

lri $AR1,    #0xd60a
lri $IX1,    #0x3054
lri $WR1,    #0x6ccf
cw 0x15
call send_back  ; 4605 (0x11fd)

lri $AR1,    #0xadcb
lri $IX1,    #0x2cfa
lri $WR1,    #0x7013
cw 0x15
call send_back  ; 4606 (0x11fe)

lri $AR1,    #0xcc94
lri $IX1,    #0x67c8
lri $WR1,    #0x7186
cw 0x15
call send_back  ; 4607 (0x11ff)

lri $AR1,    #0x1054
lri $IX1,    #0xd6ba
lri $WR1,    #0x5bb6
cw 0x15
call send_back  ; 4608 (0x1200)

lri $AR1,    #0x5c3c
lri $IX1,    #0x8886
lri $WR1,    #0x601a
cw 0x15
call send_back  ; 4609 (0x1201)

lri $AR1,    #0x9143
lri $IX1,    #0x8bf0
lri $WR1,    #0xc17b
cw 0x15
call send_back  ; 4610 (0x1202)

lri $AR1,    #0x4fb3
lri $IX1,    #0xb906
lri $WR1,    #0x9037
cw 0x15
call send_back  ; 4611 (0x1203)

lri $AR1,    #0x7f2f
lri $IX1,    #0xd484
lri $WR1,    #0x60ed
cw 0x15
call send_back  ; 4612 (0x1204)

lri $AR1,    #0x75f5
lri $IX1,    #0xce10
lri $WR1,    #0x5f95
cw 0x15
call send_back  ; 4613 (0x1205)

lri $AR1,    #0x27ac
lri $IX1,    #0x4e66
lri $WR1,    #0x7ea9
cw 0x15
call send_back  ; 4614 (0x1206)

lri $AR1,    #0x6793
lri $IX1,    #0x8b44
lri $WR1,    #0xc35c
cw 0x15
call send_back  ; 4615 (0x1207)

lri $AR1,    #0x6158
lri $IX1,    #0x833e
lri $WR1,    #0x357e
cw 0x15
call send_back  ; 4616 (0x1208)

lri $AR1,    #0xd779
lri $IX1,    #0x7c0a
lri $WR1,    #0xa30d
cw 0x15
call send_back  ; 4617 (0x1209)

lri $AR1,    #0x5561
lri $IX1,    #0x02ac
lri $WR1,    #0x951a
cw 0x15
call send_back  ; 4618 (0x120a)

lri $AR1,    #0x3735
lri $IX1,    #0xdd04
lri $WR1,    #0xe4ed
cw 0x15
call send_back  ; 4619 (0x120b)

lri $AR1,    #0x9087
lri $IX1,    #0x78fe
lri $WR1,    #0xb62f
cw 0x15
call send_back  ; 4620 (0x120c)

lri $AR1,    #0x76c3
lri $IX1,    #0x8e16
lri $WR1,    #0x93e9
cw 0x15
call send_back  ; 4621 (0x120d)

lri $AR1,    #0x63b1
lri $IX1,    #0xfa62
lri $WR1,    #0x6c20
cw 0x15
call send_back  ; 4622 (0x120e)

lri $AR1,    #0x27d1
lri $IX1,    #0x84cc
lri $WR1,    #0x86fe
cw 0x15
call send_back  ; 4623 (0x120f)

lri $AR1,    #0x9be9
lri $IX1,    #0x3aa6
lri $WR1,    #0x3c21
cw 0x15
call send_back  ; 4624 (0x1210)

lri $AR1,    #0xcc8a
lri $IX1,    #0xb75e
lri $WR1,    #0x7224
cw 0x15
call send_back  ; 4625 (0x1211)

lri $AR1,    #0x99ea
lri $IX1,    #0xe96a
lri $WR1,    #0xc1e8
cw 0x15
call send_back  ; 4626 (0x1212)

lri $AR1,    #0x19da
lri $IX1,    #0xf826
lri $WR1,    #0x48b6
cw 0x15
call send_back  ; 4627 (0x1213)

lri $AR1,    #0x5125
lri $IX1,    #0xeadc
lri $WR1,    #0xa9cb
cw 0x15
call send_back  ; 4628 (0x1214)

lri $AR1,    #0x7538
lri $IX1,    #0xb994
lri $WR1,    #0x5956
cw 0x15
call send_back  ; 4629 (0x1215)

lri $AR1,    #0xb64c
lri $IX1,    #0xa4ee
lri $WR1,    #0x6874
cw 0x15
call send_back  ; 4630 (0x1216)

lri $AR1,    #0x75f3
lri $IX1,    #0x32aa
lri $WR1,    #0x8b57
cw 0x15
call send_back  ; 4631 (0x1217)

lri $AR1,    #0xa558
lri $IX1,    #0x1910
lri $WR1,    #0x57fc
cw 0x15
call send_back  ; 4632 (0x1218)

lri $AR1,    #0xb1f3
lri $IX1,    #0xdbf0
lri $WR1,    #0x25a9
cw 0x15
call send_back  ; 4633 (0x1219)

lri $AR1,    #0xc711
lri $IX1,    #0x0264
lri $WR1,    #0x629f
cw 0x15
call send_back  ; 4634 (0x121a)

lri $AR1,    #0x9e01
lri $IX1,    #0xbcf4
lri $WR1,    #0x873a
cw 0x15
call send_back  ; 4635 (0x121b)

lri $AR1,    #0x7e19
lri $IX1,    #0xb07a
lri $WR1,    #0x62dc
cw 0x15
call send_back  ; 4636 (0x121c)

lri $AR1,    #0xc995
lri $IX1,    #0x8236
lri $WR1,    #0x38e4
cw 0x15
call send_back  ; 4637 (0x121d)

lri $AR1,    #0x636e
lri $IX1,    #0xd686
lri $WR1,    #0xe11e
cw 0x15
call send_back  ; 4638 (0x121e)

lri $AR1,    #0xbe1a
lri $IX1,    #0xd3ac
lri $WR1,    #0xc0d0
cw 0x15
call send_back  ; 4639 (0x121f)

lri $AR1,    #0x5a77
lri $IX1,    #0x071a
lri $WR1,    #0xd6e9
cw 0x15
call send_back  ; 4640 (0x1220)

lri $AR1,    #0x49b4
lri $IX1,    #0xe3b0
lri $WR1,    #0x9f64
cw 0x15
call send_back  ; 4641 (0x1221)

lri $AR1,    #0xc48a
lri $IX1,    #0x145a
lri $WR1,    #0x1f7a
cw 0x15
call send_back  ; 4642 (0x1222)

lri $AR1,    #0x7d8f
lri $IX1,    #0xae80
lri $WR1,    #0x5da3
cw 0x15
call send_back  ; 4643 (0x1223)

lri $AR1,    #0x5bf6
lri $IX1,    #0x0cb6
lri $WR1,    #0x3dfa
cw 0x15
call send_back  ; 4644 (0x1224)

lri $AR1,    #0xa79c
lri $IX1,    #0xe22e
lri $WR1,    #0x951e
cw 0x15
call send_back  ; 4645 (0x1225)

lri $AR1,    #0x3e8a
lri $IX1,    #0x0c28
lri $WR1,    #0xa119
cw 0x15
call send_back  ; 4646 (0x1226)

lri $AR1,    #0x8fe6
lri $IX1,    #0xe724
lri $WR1,    #0xd954
cw 0x15
call send_back  ; 4647 (0x1227)

lri $AR1,    #0xaf97
lri $IX1,    #0x99e2
lri $WR1,    #0x8c3f
cw 0x15
call send_back  ; 4648 (0x1228)

lri $AR1,    #0x4152
lri $IX1,    #0x010c
lri $WR1,    #0x6aa0
cw 0x15
call send_back  ; 4649 (0x1229)

lri $AR1,    #0x9985
lri $IX1,    #0xca88
lri $WR1,    #0xce33
cw 0x15
call send_back  ; 4650 (0x122a)

lri $AR1,    #0x25e4
lri $IX1,    #0x0056
lri $WR1,    #0x9a9c
cw 0x15
call send_back  ; 4651 (0x122b)

lri $AR1,    #0x56cf
lri $IX1,    #0xdef2
lri $WR1,    #0x6d40
cw 0x15
call send_back  ; 4652 (0x122c)

lri $AR1,    #0x3e90
lri $IX1,    #0x7c28
lri $WR1,    #0xca0e
cw 0x15
call send_back  ; 4653 (0x122d)

lri $AR1,    #0xca90
lri $IX1,    #0x9754
lri $WR1,    #0x70de
cw 0x15
call send_back  ; 4654 (0x122e)

lri $AR1,    #0xbe7c
lri $IX1,    #0x0cdc
lri $WR1,    #0x684c
cw 0x15
call send_back  ; 4655 (0x122f)

lri $AR1,    #0x508c
lri $IX1,    #0xf306
lri $WR1,    #0x70da
cw 0x15
call send_back  ; 4656 (0x1230)

lri $AR1,    #0x51cc
lri $IX1,    #0x7ef0
lri $WR1,    #0x5c27
cw 0x15
call send_back  ; 4657 (0x1231)

lri $AR1,    #0x8cb5
lri $IX1,    #0x94b0
lri $WR1,    #0x9203
cw 0x15
call send_back  ; 4658 (0x1232)

lri $AR1,    #0x57e2
lri $IX1,    #0x7684
lri $WR1,    #0xbe4f
cw 0x15
call send_back  ; 4659 (0x1233)

lri $AR1,    #0x2234
lri $IX1,    #0x8308
lri $WR1,    #0x9847
cw 0x15
call send_back  ; 4660 (0x1234)

lri $AR1,    #0x5932
lri $IX1,    #0x7b52
lri $WR1,    #0x4d3f
cw 0x15
call send_back  ; 4661 (0x1235)

lri $AR1,    #0xd9f5
lri $IX1,    #0x7e08
lri $WR1,    #0xb666
cw 0x15
call send_back  ; 4662 (0x1236)

lri $AR1,    #0x807d
lri $IX1,    #0xe524
lri $WR1,    #0x82a4
cw 0x15
call send_back  ; 4663 (0x1237)

lri $AR1,    #0x40a6
lri $IX1,    #0xa0a6
lri $WR1,    #0x4315
cw 0x15
call send_back  ; 4664 (0x1238)

lri $AR1,    #0x5fa6
lri $IX1,    #0xa0ca
lri $WR1,    #0xb244
cw 0x15
call send_back  ; 4665 (0x1239)

lri $AR1,    #0x444a
lri $IX1,    #0x870e
lri $WR1,    #0x7ba4
cw 0x15
call send_back  ; 4666 (0x123a)

lri $AR1,    #0x47ed
lri $IX1,    #0x4598
lri $WR1,    #0x9a65
cw 0x15
call send_back  ; 4667 (0x123b)

lri $AR1,    #0x5939
lri $IX1,    #0xb158
lri $WR1,    #0x7c2b
cw 0x15
call send_back  ; 4668 (0x123c)

lri $AR1,    #0x7dc4
lri $IX1,    #0x735a
lri $WR1,    #0xcdb9
cw 0x15
call send_back  ; 4669 (0x123d)

lri $AR1,    #0x2ea9
lri $IX1,    #0x5abe
lri $WR1,    #0x952e
cw 0x15
call send_back  ; 4670 (0x123e)

lri $AR1,    #0x900a
lri $IX1,    #0xf0ca
lri $WR1,    #0x5ec3
cw 0x15
call send_back  ; 4671 (0x123f)

lri $AR1,    #0x7ab9
lri $IX1,    #0x7d5c
lri $WR1,    #0x26c7
cw 0x15
call send_back  ; 4672 (0x1240)

lri $AR1,    #0x9ae0
lri $IX1,    #0x828a
lri $WR1,    #0x34be
cw 0x15
call send_back  ; 4673 (0x1241)

lri $AR1,    #0xe5f9
lri $IX1,    #0x3a5e
lri $WR1,    #0xa950
cw 0x15
call send_back  ; 4674 (0x1242)

lri $AR1,    #0x3de6
lri $IX1,    #0xf2a2
lri $WR1,    #0x7209
cw 0x15
call send_back  ; 4675 (0x1243)

lri $AR1,    #0x1e6e
lri $IX1,    #0x5ebe
lri $WR1,    #0x8b84
cw 0x15
call send_back  ; 4676 (0x1244)

lri $AR1,    #0x8e07
lri $IX1,    #0x406e
lri $WR1,    #0x5408
cw 0x15
call send_back  ; 4677 (0x1245)

lri $AR1,    #0x9a1e
lri $IX1,    #0x3c78
lri $WR1,    #0x8e2d
cw 0x15
call send_back  ; 4678 (0x1246)

lri $AR1,    #0x4ac6
lri $IX1,    #0x711a
lri $WR1,    #0x7496
cw 0x15
call send_back  ; 4679 (0x1247)

lri $AR1,    #0x9116
lri $IX1,    #0x904a
lri $WR1,    #0xc54e
cw 0x15
call send_back  ; 4680 (0x1248)

lri $AR1,    #0x1efe
lri $IX1,    #0xf89e
lri $WR1,    #0x54e4
cw 0x15
call send_back  ; 4681 (0x1249)

lri $AR1,    #0x36f3
lri $IX1,    #0xabe2
lri $WR1,    #0x66c2
cw 0x15
call send_back  ; 4682 (0x124a)

lri $AR1,    #0xb52e
lri $IX1,    #0x332e
lri $WR1,    #0x99e4
cw 0x15
call send_back  ; 4683 (0x124b)

lri $AR1,    #0x3be7
lri $IX1,    #0x9c9a
lri $WR1,    #0x8e6d
cw 0x15
call send_back  ; 4684 (0x124c)

lri $AR1,    #0x6740
lri $IX1,    #0xe73c
lri $WR1,    #0x6235
cw 0x15
call send_back  ; 4685 (0x124d)

lri $AR1,    #0x9d48
lri $IX1,    #0x86b4
lri $WR1,    #0x9fe0
cw 0x15
call send_back  ; 4686 (0x124e)

lri $AR1,    #0x51d3
lri $IX1,    #0x47e4
lri $WR1,    #0x9d85
cw 0x15
call send_back  ; 4687 (0x124f)

lri $AR1,    #0xcd8e
lri $IX1,    #0xed0c
lri $WR1,    #0x6d81
cw 0x15
call send_back  ; 4688 (0x1250)

lri $AR1,    #0x9301
lri $IX1,    #0x6ff2
lri $WR1,    #0x4d7b
cw 0x15
call send_back  ; 4689 (0x1251)

lri $AR1,    #0xbbe8
lri $IX1,    #0x1d54
lri $WR1,    #0xcd33
cw 0x15
call send_back  ; 4690 (0x1252)

lri $AR1,    #0x7ca7
lri $IX1,    #0xcd4c
lri $WR1,    #0x9821
cw 0x15
call send_back  ; 4691 (0x1253)

lri $AR1,    #0xc334
lri $IX1,    #0x78ca
lri $WR1,    #0xc280
cw 0x15
call send_back  ; 4692 (0x1254)

lri $AR1,    #0x822f
lri $IX1,    #0x74f2
lri $WR1,    #0x93ca
cw 0x15
call send_back  ; 4693 (0x1255)

lri $AR1,    #0x8895
lri $IX1,    #0xd16e
lri $WR1,    #0x663f
cw 0x15
call send_back  ; 4694 (0x1256)

lri $AR1,    #0xa9d3
lri $IX1,    #0xd776
lri $WR1,    #0xb47a
cw 0x15
call send_back  ; 4695 (0x1257)

lri $AR1,    #0xd175
lri $IX1,    #0x93c0
lri $WR1,    #0xb3ba
cw 0x15
call send_back  ; 4696 (0x1258)

lri $AR1,    #0xc96c
lri $IX1,    #0xcdf4
lri $WR1,    #0xc2d0
cw 0x15
call send_back  ; 4697 (0x1259)

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