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

lri $AR1,    #0x6b03
lri $IX1,    #0x7a2c
lri $WR1,    #0x3bb6
cw 0x15
call send_back  ; 4480 (0x1180)

lri $AR1,    #0x415f
lri $IX1,    #0xdac6
lri $WR1,    #0x8da2
cw 0x15
call send_back  ; 4481 (0x1181)

lri $AR1,    #0x57b0
lri $IX1,    #0x9c68
lri $WR1,    #0x9dd1
cw 0x15
call send_back  ; 4482 (0x1182)

lri $AR1,    #0x2717
lri $IX1,    #0x6fb0
lri $WR1,    #0x8e46
cw 0x15
call send_back  ; 4483 (0x1183)

lri $AR1,    #0x6ae9
lri $IX1,    #0x6008
lri $WR1,    #0x8fa1
cw 0x15
call send_back  ; 4484 (0x1184)

lri $AR1,    #0x34f9
lri $IX1,    #0x3cda
lri $WR1,    #0xf540
cw 0x15
call send_back  ; 4485 (0x1185)

lri $AR1,    #0x8162
lri $IX1,    #0x9ad4
lri $WR1,    #0xbd60
cw 0x15
call send_back  ; 4486 (0x1186)

lri $AR1,    #0x95b6
lri $IX1,    #0x22c0
lri $WR1,    #0x4e5a
cw 0x15
call send_back  ; 4487 (0x1187)

lri $AR1,    #0x8ed8
lri $IX1,    #0x105a
lri $WR1,    #0xaf7f
cw 0x15
call send_back  ; 4488 (0x1188)

lri $AR1,    #0x6c57
lri $IX1,    #0x7ba8
lri $WR1,    #0x2db4
cw 0x15
call send_back  ; 4489 (0x1189)

lri $AR1,    #0x8796
lri $IX1,    #0x6c1a
lri $WR1,    #0x894a
cw 0x15
call send_back  ; 4490 (0x118a)

lri $AR1,    #0x188e
lri $IX1,    #0xe518
lri $WR1,    #0x5c33
cw 0x15
call send_back  ; 4491 (0x118b)

lri $AR1,    #0x1183
lri $IX1,    #0x383c
lri $WR1,    #0xbd16
cw 0x15
call send_back  ; 4492 (0x118c)

lri $AR1,    #0x1675
lri $IX1,    #0x11d0
lri $WR1,    #0x9d62
cw 0x15
call send_back  ; 4493 (0x118d)

lri $AR1,    #0x84a0
lri $IX1,    #0x08d4
lri $WR1,    #0x5de2
cw 0x15
call send_back  ; 4494 (0x118e)

lri $AR1,    #0x41d9
lri $IX1,    #0x1c3e
lri $WR1,    #0x76e3
cw 0x15
call send_back  ; 4495 (0x118f)

lri $AR1,    #0xc319
lri $IX1,    #0x938e
lri $WR1,    #0xb685
cw 0x15
call send_back  ; 4496 (0x1190)

lri $AR1,    #0x4505
lri $IX1,    #0x517c
lri $WR1,    #0xe14a
cw 0x15
call send_back  ; 4497 (0x1191)

lri $AR1,    #0x70c8
lri $IX1,    #0xebe8
lri $WR1,    #0x4e53
cw 0x15
call send_back  ; 4498 (0x1192)

lri $AR1,    #0x7b07
lri $IX1,    #0xecc0
lri $WR1,    #0x4a92
cw 0x15
call send_back  ; 4499 (0x1193)

lri $AR1,    #0x9241
lri $IX1,    #0x9bf4
lri $WR1,    #0x8345
cw 0x15
call send_back  ; 4500 (0x1194)

lri $AR1,    #0x0d76
lri $IX1,    #0xbb5c
lri $WR1,    #0xd1fd
cw 0x15
call send_back  ; 4501 (0x1195)

lri $AR1,    #0x9b53
lri $IX1,    #0xd184
lri $WR1,    #0x61a1
cw 0x15
call send_back  ; 4502 (0x1196)

lri $AR1,    #0x95c0
lri $IX1,    #0x2134
lri $WR1,    #0xa581
cw 0x15
call send_back  ; 4503 (0x1197)

lri $AR1,    #0x7518
lri $IX1,    #0x57e2
lri $WR1,    #0x6123
cw 0x15
call send_back  ; 4504 (0x1198)

lri $AR1,    #0x89eb
lri $IX1,    #0x75ae
lri $WR1,    #0x68ac
cw 0x15
call send_back  ; 4505 (0x1199)

lri $AR1,    #0x8379
lri $IX1,    #0x9616
lri $WR1,    #0x2fa5
cw 0x15
call send_back  ; 4506 (0x119a)

lri $AR1,    #0xbce3
lri $IX1,    #0x3136
lri $WR1,    #0x8d0c
cw 0x15
call send_back  ; 4507 (0x119b)

lri $AR1,    #0xb236
lri $IX1,    #0x498e
lri $WR1,    #0x3148
cw 0x15
call send_back  ; 4508 (0x119c)

lri $AR1,    #0xba3f
lri $IX1,    #0xe330
lri $WR1,    #0x041a
cw 0x15
call send_back  ; 4509 (0x119d)

lri $AR1,    #0x916d
lri $IX1,    #0x355e
lri $WR1,    #0xde16
cw 0x15
call send_back  ; 4510 (0x119e)

lri $AR1,    #0x458a
lri $IX1,    #0x686e
lri $WR1,    #0xb2a2
cw 0x15
call send_back  ; 4511 (0x119f)

lri $AR1,    #0x09a8
lri $IX1,    #0x7df8
lri $WR1,    #0xa531
cw 0x15
call send_back  ; 4512 (0x11a0)

lri $AR1,    #0x4508
lri $IX1,    #0x5a2e
lri $WR1,    #0x8da6
cw 0x15
call send_back  ; 4513 (0x11a1)

lri $AR1,    #0x2f5a
lri $IX1,    #0xe960
lri $WR1,    #0x7d7b
cw 0x15
call send_back  ; 4514 (0x11a2)

lri $AR1,    #0xe004
lri $IX1,    #0x2d8a
lri $WR1,    #0x48cb
cw 0x15
call send_back  ; 4515 (0x11a3)

lri $AR1,    #0x3df4
lri $IX1,    #0xbbe8
lri $WR1,    #0xcbb8
cw 0x15
call send_back  ; 4516 (0x11a4)

lri $AR1,    #0x9893
lri $IX1,    #0xfb78
lri $WR1,    #0x7e43
cw 0x15
call send_back  ; 4517 (0x11a5)

lri $AR1,    #0xc261
lri $IX1,    #0x6966
lri $WR1,    #0xc63b
cw 0x15
call send_back  ; 4518 (0x11a6)

lri $AR1,    #0xa8dc
lri $IX1,    #0x693c
lri $WR1,    #0xb82c
cw 0x15
call send_back  ; 4519 (0x11a7)

lri $AR1,    #0x7d19
lri $IX1,    #0xd2ec
lri $WR1,    #0x7e0b
cw 0x15
call send_back  ; 4520 (0x11a8)

lri $AR1,    #0xebe2
lri $IX1,    #0xa968
lri $WR1,    #0xc381
cw 0x15
call send_back  ; 4521 (0x11a9)

lri $AR1,    #0x839d
lri $IX1,    #0x4904
lri $WR1,    #0xb58e
cw 0x15
call send_back  ; 4522 (0x11aa)

lri $AR1,    #0x19cf
lri $IX1,    #0x0d46
lri $WR1,    #0x347b
cw 0x15
call send_back  ; 4523 (0x11ab)

lri $AR1,    #0xa98c
lri $IX1,    #0x0a5e
lri $WR1,    #0x2cb0
cw 0x15
call send_back  ; 4524 (0x11ac)

lri $AR1,    #0x9fb3
lri $IX1,    #0x1ee0
lri $WR1,    #0x8482
cw 0x15
call send_back  ; 4525 (0x11ad)

lri $AR1,    #0xb921
lri $IX1,    #0x7714
lri $WR1,    #0x0a89
cw 0x15
call send_back  ; 4526 (0x11ae)

lri $AR1,    #0x5ad6
lri $IX1,    #0xbb6c
lri $WR1,    #0xb18b
cw 0x15
call send_back  ; 4527 (0x11af)

lri $AR1,    #0x833e
lri $IX1,    #0xb05c
lri $WR1,    #0x8c88
cw 0x15
call send_back  ; 4528 (0x11b0)

lri $AR1,    #0x7f79
lri $IX1,    #0x264c
lri $WR1,    #0x4706
cw 0x15
call send_back  ; 4529 (0x11b1)

lri $AR1,    #0xcef5
lri $IX1,    #0xdcbe
lri $WR1,    #0xa318
cw 0x15
call send_back  ; 4530 (0x11b2)

lri $AR1,    #0x7322
lri $IX1,    #0x8c7c
lri $WR1,    #0x3845
cw 0x15
call send_back  ; 4531 (0x11b3)

lri $AR1,    #0x3092
lri $IX1,    #0xc8d0
lri $WR1,    #0xa3cb
cw 0x15
call send_back  ; 4532 (0x11b4)

lri $AR1,    #0xe261
lri $IX1,    #0xf09a
lri $WR1,    #0x7461
cw 0x15
call send_back  ; 4533 (0x11b5)

lri $AR1,    #0xd01e
lri $IX1,    #0x1c6c
lri $WR1,    #0x38fd
cw 0x15
call send_back  ; 4534 (0x11b6)

lri $AR1,    #0x5a1b
lri $IX1,    #0xf74c
lri $WR1,    #0x9ba8
cw 0x15
call send_back  ; 4535 (0x11b7)

lri $AR1,    #0xa768
lri $IX1,    #0xdc68
lri $WR1,    #0x3705
cw 0x15
call send_back  ; 4536 (0x11b8)

lri $AR1,    #0x2c4f
lri $IX1,    #0x8c46
lri $WR1,    #0x3e81
cw 0x15
call send_back  ; 4537 (0x11b9)

lri $AR1,    #0x3f94
lri $IX1,    #0x70ce
lri $WR1,    #0x7ed4
cw 0x15
call send_back  ; 4538 (0x11ba)

lri $AR1,    #0x6861
lri $IX1,    #0xd7b8
lri $WR1,    #0x8dd1
cw 0x15
call send_back  ; 4539 (0x11bb)

lri $AR1,    #0x7618
lri $IX1,    #0xe79a
lri $WR1,    #0x9620
cw 0x15
call send_back  ; 4540 (0x11bc)

lri $AR1,    #0x2edf
lri $IX1,    #0x7c50
lri $WR1,    #0x64ea
cw 0x15
call send_back  ; 4541 (0x11bd)

lri $AR1,    #0x514a
lri $IX1,    #0xabe6
lri $WR1,    #0x1d0f
cw 0x15
call send_back  ; 4542 (0x11be)

lri $AR1,    #0x28cd
lri $IX1,    #0x95aa
lri $WR1,    #0x94ef
cw 0x15
call send_back  ; 4543 (0x11bf)

lri $AR1,    #0xec6c
lri $IX1,    #0x69aa
lri $WR1,    #0xc95b
cw 0x15
call send_back  ; 4544 (0x11c0)

lri $AR1,    #0x6a66
lri $IX1,    #0x6f46
lri $WR1,    #0xd9ba
cw 0x15
call send_back  ; 4545 (0x11c1)

lri $AR1,    #0x832b
lri $IX1,    #0x55f4
lri $WR1,    #0x8efb
cw 0x15
call send_back  ; 4546 (0x11c2)

lri $AR1,    #0x896e
lri $IX1,    #0x6c0a
lri $WR1,    #0x604b
cw 0x15
call send_back  ; 4547 (0x11c3)

lri $AR1,    #0x24ae
lri $IX1,    #0x939c
lri $WR1,    #0x9e4c
cw 0x15
call send_back  ; 4548 (0x11c4)

lri $AR1,    #0xaef0
lri $IX1,    #0x1634
lri $WR1,    #0xc6a8
cw 0x15
call send_back  ; 4549 (0x11c5)

lri $AR1,    #0x1618
lri $IX1,    #0xec84
lri $WR1,    #0x5fb9
cw 0x15
call send_back  ; 4550 (0x11c6)

lri $AR1,    #0x6c8d
lri $IX1,    #0xcfd2
lri $WR1,    #0x7d48
cw 0x15
call send_back  ; 4551 (0x11c7)

lri $AR1,    #0x6c99
lri $IX1,    #0x9742
lri $WR1,    #0x14e3
cw 0x15
call send_back  ; 4552 (0x11c8)

lri $AR1,    #0x9d41
lri $IX1,    #0x1bb8
lri $WR1,    #0x71fe
cw 0x15
call send_back  ; 4553 (0x11c9)

lri $AR1,    #0x66ec
lri $IX1,    #0x416a
lri $WR1,    #0x4747
cw 0x15
call send_back  ; 4554 (0x11ca)

lri $AR1,    #0x19ab
lri $IX1,    #0xf6fe
lri $WR1,    #0x6c5e
cw 0x15
call send_back  ; 4555 (0x11cb)

lri $AR1,    #0x8e66
lri $IX1,    #0x1634
lri $WR1,    #0xac68
cw 0x15
call send_back  ; 4556 (0x11cc)

lri $AR1,    #0x87d5
lri $IX1,    #0x3af2
lri $WR1,    #0x83a3
cw 0x15
call send_back  ; 4557 (0x11cd)

lri $AR1,    #0xa779
lri $IX1,    #0xf9c2
lri $WR1,    #0x2777
cw 0x15
call send_back  ; 4558 (0x11ce)

lri $AR1,    #0x8e7e
lri $IX1,    #0x7f94
lri $WR1,    #0x961d
cw 0x15
call send_back  ; 4559 (0x11cf)

lri $AR1,    #0x79c2
lri $IX1,    #0xb0d0
lri $WR1,    #0x9079
cw 0x15
call send_back  ; 4560 (0x11d0)

lri $AR1,    #0xb3e1
lri $IX1,    #0x768c
lri $WR1,    #0x2a15
cw 0x15
call send_back  ; 4561 (0x11d1)

lri $AR1,    #0xf78a
lri $IX1,    #0x2cf0
lri $WR1,    #0x68f3
cw 0x15
call send_back  ; 4562 (0x11d2)

lri $AR1,    #0xaff9
lri $IX1,    #0x36a2
lri $WR1,    #0xa031
cw 0x15
call send_back  ; 4563 (0x11d3)

lri $AR1,    #0x4cd4
lri $IX1,    #0xb53e
lri $WR1,    #0xa60e
cw 0x15
call send_back  ; 4564 (0x11d4)

lri $AR1,    #0x7a50
lri $IX1,    #0x6fb8
lri $WR1,    #0x9f66
cw 0x15
call send_back  ; 4565 (0x11d5)

lri $AR1,    #0xdde1
lri $IX1,    #0x23a0
lri $WR1,    #0x383f
cw 0x15
call send_back  ; 4566 (0x11d6)

lri $AR1,    #0x5b42
lri $IX1,    #0xff3e
lri $WR1,    #0x225a
cw 0x15
call send_back  ; 4567 (0x11d7)

lri $AR1,    #0x3d39
lri $IX1,    #0xee70
lri $WR1,    #0x7875
cw 0x15
call send_back  ; 4568 (0x11d8)

lri $AR1,    #0xc8c7
lri $IX1,    #0xdd2e
lri $WR1,    #0x8e47
cw 0x15
call send_back  ; 4569 (0x11d9)

lri $AR1,    #0xa136
lri $IX1,    #0x36c4
lri $WR1,    #0xa2b7
cw 0x15
call send_back  ; 4570 (0x11da)

lri $AR1,    #0x56bb
lri $IX1,    #0xd984
lri $WR1,    #0x3b70
cw 0x15
call send_back  ; 4571 (0x11db)

lri $AR1,    #0x6109
lri $IX1,    #0x931a
lri $WR1,    #0x8656
cw 0x15
call send_back  ; 4572 (0x11dc)

lri $AR1,    #0x82a3
lri $IX1,    #0x2232
lri $WR1,    #0x56fc
cw 0x15
call send_back  ; 4573 (0x11dd)

lri $AR1,    #0x813e
lri $IX1,    #0xce9a
lri $WR1,    #0x938f
cw 0x15
call send_back  ; 4574 (0x11de)

lri $AR1,    #0xa2fb
lri $IX1,    #0x099c
lri $WR1,    #0x8666
cw 0x15
call send_back  ; 4575 (0x11df)

lri $AR1,    #0x57d0
lri $IX1,    #0x54c0
lri $WR1,    #0x6eb2
cw 0x15
call send_back  ; 4576 (0x11e0)

lri $AR1,    #0x41f8
lri $IX1,    #0x058e
lri $WR1,    #0x3462
cw 0x15
call send_back  ; 4577 (0x11e1)

lri $AR1,    #0x4fa4
lri $IX1,    #0x81a4
lri $WR1,    #0xb0d0
cw 0x15
call send_back  ; 4578 (0x11e2)

lri $AR1,    #0xabd3
lri $IX1,    #0x5eb4
lri $WR1,    #0x6f44
cw 0x15
call send_back  ; 4579 (0x11e3)

lri $AR1,    #0x5397
lri $IX1,    #0x8ea6
lri $WR1,    #0x7dde
cw 0x15
call send_back  ; 4580 (0x11e4)

lri $AR1,    #0x7890
lri $IX1,    #0x8892
lri $WR1,    #0x40ed
cw 0x15
call send_back  ; 4581 (0x11e5)

lri $AR1,    #0xe906
lri $IX1,    #0x53ae
lri $WR1,    #0x985f
cw 0x15
call send_back  ; 4582 (0x11e6)

lri $AR1,    #0xd94b
lri $IX1,    #0x99fe
lri $WR1,    #0x682e
cw 0x15
call send_back  ; 4583 (0x11e7)

lri $AR1,    #0x81d9
lri $IX1,    #0x94de
lri $WR1,    #0x9a89
cw 0x15
call send_back  ; 4584 (0x11e8)

lri $AR1,    #0x70f3
lri $IX1,    #0xde18
lri $WR1,    #0x5bad
cw 0x15
call send_back  ; 4585 (0x11e9)

lri $AR1,    #0x8e03
lri $IX1,    #0x14ce
lri $WR1,    #0x7cf5
cw 0x15
call send_back  ; 4586 (0x11ea)

lri $AR1,    #0x80a2
lri $IX1,    #0xf5bc
lri $WR1,    #0x7e58
cw 0x15
call send_back  ; 4587 (0x11eb)

lri $AR1,    #0xd48f
lri $IX1,    #0x233e
lri $WR1,    #0x92bd
cw 0x15
call send_back  ; 4588 (0x11ec)

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