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

lri $AR1,    #0xef76
lri $IX1,    #0xaee2
lri $WR1,    #0x21a0
cw 0xd
call send_back  ; 4481 (0x1181)

lri $AR1,    #0xeabe
lri $IX1,    #0x0e36
lri $WR1,    #0xfec4
cw 0xd
call send_back  ; 4482 (0x1182)

lri $AR1,    #0x161a
lri $IX1,    #0xa774
lri $WR1,    #0x362e
cw 0xd
call send_back  ; 4483 (0x1183)

lri $AR1,    #0xe704
lri $IX1,    #0xcd5c
lri $WR1,    #0x802a
cw 0xd
call send_back  ; 4484 (0x1184)

lri $AR1,    #0xc51e
lri $IX1,    #0xb186
lri $WR1,    #0xc058
cw 0xd
call send_back  ; 4485 (0x1185)

lri $AR1,    #0x862a
lri $IX1,    #0x92bc
lri $WR1,    #0x344c
cw 0xd
call send_back  ; 4486 (0x1186)

lri $AR1,    #0xd5a8
lri $IX1,    #0x4bc6
lri $WR1,    #0x95b8
cw 0xd
call send_back  ; 4487 (0x1187)

lri $AR1,    #0x025e
lri $IX1,    #0x6edc
lri $WR1,    #0xdc76
cw 0xd
call send_back  ; 4488 (0x1188)

lri $AR1,    #0x9b4e
lri $IX1,    #0x652e
lri $WR1,    #0x1c3a
cw 0xd
call send_back  ; 4489 (0x1189)

lri $AR1,    #0xc180
lri $IX1,    #0xd948
lri $WR1,    #0xc680
cw 0xd
call send_back  ; 4490 (0x118a)

lri $AR1,    #0xff0c
lri $IX1,    #0xfb26
lri $WR1,    #0xa280
cw 0xd
call send_back  ; 4491 (0x118b)

lri $AR1,    #0xb2dc
lri $IX1,    #0x6268
lri $WR1,    #0x5646
cw 0xd
call send_back  ; 4492 (0x118c)

lri $AR1,    #0x05f8
lri $IX1,    #0x1c66
lri $WR1,    #0x9276
cw 0xd
call send_back  ; 4493 (0x118d)

lri $AR1,    #0x068e
lri $IX1,    #0xa050
lri $WR1,    #0x0656
cw 0xd
call send_back  ; 4494 (0x118e)

lri $AR1,    #0x7a38
lri $IX1,    #0xed14
lri $WR1,    #0x67dc
cw 0xd
call send_back  ; 4495 (0x118f)

lri $AR1,    #0x40d4
lri $IX1,    #0x0fd2
lri $WR1,    #0x738a
cw 0xd
call send_back  ; 4496 (0x1190)

lri $AR1,    #0xbb26
lri $IX1,    #0x5d66
lri $WR1,    #0x1754
cw 0xd
call send_back  ; 4497 (0x1191)

lri $AR1,    #0x63e8
lri $IX1,    #0x79f4
lri $WR1,    #0x83d4
cw 0xd
call send_back  ; 4498 (0x1192)

lri $AR1,    #0x43fc
lri $IX1,    #0xa484
lri $WR1,    #0x70d4
cw 0xd
call send_back  ; 4499 (0x1193)

lri $AR1,    #0x4f98
lri $IX1,    #0x400c
lri $WR1,    #0x40cc
cw 0xd
call send_back  ; 4500 (0x1194)

lri $AR1,    #0xdf20
lri $IX1,    #0x5dbc
lri $WR1,    #0xa2fc
cw 0xd
call send_back  ; 4501 (0x1195)

lri $AR1,    #0xa664
lri $IX1,    #0x5f90
lri $WR1,    #0xb346
cw 0xd
call send_back  ; 4502 (0x1196)

lri $AR1,    #0x5e5a
lri $IX1,    #0x7ed2
lri $WR1,    #0xfb30
cw 0xd
call send_back  ; 4503 (0x1197)

lri $AR1,    #0xa424
lri $IX1,    #0xa900
lri $WR1,    #0x0da4
cw 0xd
call send_back  ; 4504 (0x1198)

lri $AR1,    #0xaefa
lri $IX1,    #0x628e
lri $WR1,    #0xf0e4
cw 0xd
call send_back  ; 4505 (0x1199)

lri $AR1,    #0x7b14
lri $IX1,    #0x2bd6
lri $WR1,    #0xdef2
cw 0xd
call send_back  ; 4506 (0x119a)

lri $AR1,    #0xdb5c
lri $IX1,    #0xf33c
lri $WR1,    #0x191e
cw 0xd
call send_back  ; 4507 (0x119b)

lri $AR1,    #0x2058
lri $IX1,    #0xdbf0
lri $WR1,    #0x01b2
cw 0xd
call send_back  ; 4508 (0x119c)

lri $AR1,    #0xa1ae
lri $IX1,    #0xbd50
lri $WR1,    #0x6992
cw 0xd
call send_back  ; 4509 (0x119d)

lri $AR1,    #0x11b6
lri $IX1,    #0x9368
lri $WR1,    #0x9d52
cw 0xd
call send_back  ; 4510 (0x119e)

lri $AR1,    #0x5a72
lri $IX1,    #0x7ad6
lri $WR1,    #0xd93e
cw 0xd
call send_back  ; 4511 (0x119f)

lri $AR1,    #0xaab0
lri $IX1,    #0x6e44
lri $WR1,    #0x021e
cw 0xd
call send_back  ; 4512 (0x11a0)

lri $AR1,    #0x97b4
lri $IX1,    #0x9cf4
lri $WR1,    #0x8f06
cw 0xd
call send_back  ; 4513 (0x11a1)

lri $AR1,    #0x37b2
lri $IX1,    #0xb3f0
lri $WR1,    #0x83d0
cw 0xd
call send_back  ; 4514 (0x11a2)

lri $AR1,    #0xd044
lri $IX1,    #0x9906
lri $WR1,    #0x0d3e
cw 0xd
call send_back  ; 4515 (0x11a3)

lri $AR1,    #0x3a7e
lri $IX1,    #0xb4ec
lri $WR1,    #0xdf7e
cw 0xd
call send_back  ; 4516 (0x11a4)

lri $AR1,    #0x311a
lri $IX1,    #0x6bb0
lri $WR1,    #0xc386
cw 0xd
call send_back  ; 4517 (0x11a5)

lri $AR1,    #0x6390
lri $IX1,    #0xd1b2
lri $WR1,    #0x4df6
cw 0xd
call send_back  ; 4518 (0x11a6)

lri $AR1,    #0xf10e
lri $IX1,    #0xfc7a
lri $WR1,    #0xc6f6
cw 0xd
call send_back  ; 4519 (0x11a7)

lri $AR1,    #0xc09e
lri $IX1,    #0xea2a
lri $WR1,    #0x445e
cw 0xd
call send_back  ; 4520 (0x11a8)

lri $AR1,    #0xe21e
lri $IX1,    #0xf12a
lri $WR1,    #0xc300
cw 0xd
call send_back  ; 4521 (0x11a9)

lri $AR1,    #0xa8f2
lri $IX1,    #0x5bac
lri $WR1,    #0x312c
cw 0xd
call send_back  ; 4522 (0x11aa)

lri $AR1,    #0x1574
lri $IX1,    #0x309e
lri $WR1,    #0x23fc
cw 0xd
call send_back  ; 4523 (0x11ab)

lri $AR1,    #0x24b4
lri $IX1,    #0x15fa
lri $WR1,    #0x5c34
cw 0xd
call send_back  ; 4524 (0x11ac)

lri $AR1,    #0xde46
lri $IX1,    #0xf136
lri $WR1,    #0xa6d4
cw 0xd
call send_back  ; 4525 (0x11ad)

lri $AR1,    #0x0d06
lri $IX1,    #0xce2a
lri $WR1,    #0x94f2
cw 0xd
call send_back  ; 4526 (0x11ae)

lri $AR1,    #0xf1e2
lri $IX1,    #0xd79c
lri $WR1,    #0x7fb8
cw 0xd
call send_back  ; 4527 (0x11af)

lri $AR1,    #0x0ee0
lri $IX1,    #0x90e0
lri $WR1,    #0xaad4
cw 0xd
call send_back  ; 4528 (0x11b0)

lri $AR1,    #0x71f2
lri $IX1,    #0x7f0c
lri $WR1,    #0xcc3e
cw 0xd
call send_back  ; 4529 (0x11b1)

lri $AR1,    #0x338c
lri $IX1,    #0x8bde
lri $WR1,    #0xe792
cw 0xd
call send_back  ; 4530 (0x11b2)

lri $AR1,    #0xf856
lri $IX1,    #0xe4cc
lri $WR1,    #0xa404
cw 0xd
call send_back  ; 4531 (0x11b3)

lri $AR1,    #0xb5f0
lri $IX1,    #0x7942
lri $WR1,    #0x0c6a
cw 0xd
call send_back  ; 4532 (0x11b4)

lri $AR1,    #0xe27e
lri $IX1,    #0xbd02
lri $WR1,    #0x751c
cw 0xd
call send_back  ; 4533 (0x11b5)

lri $AR1,    #0xdc3a
lri $IX1,    #0x4578
lri $WR1,    #0xc756
cw 0xd
call send_back  ; 4534 (0x11b6)

lri $AR1,    #0xbcca
lri $IX1,    #0xcfaa
lri $WR1,    #0x1042
cw 0xd
call send_back  ; 4535 (0x11b7)

lri $AR1,    #0x6a2a
lri $IX1,    #0xf340
lri $WR1,    #0x55f4
cw 0xd
call send_back  ; 4536 (0x11b8)

lri $AR1,    #0x6cce
lri $IX1,    #0x40be
lri $WR1,    #0x7b54
cw 0xd
call send_back  ; 4537 (0x11b9)

lri $AR1,    #0x28c4
lri $IX1,    #0x07c0
lri $WR1,    #0x384e
cw 0xd
call send_back  ; 4538 (0x11ba)

lri $AR1,    #0x33fa
lri $IX1,    #0x375a
lri $WR1,    #0xeef0
cw 0xd
call send_back  ; 4539 (0x11bb)

lri $AR1,    #0x146e
lri $IX1,    #0x8b0e
lri $WR1,    #0x8e38
cw 0xd
call send_back  ; 4540 (0x11bc)

lri $AR1,    #0x7a74
lri $IX1,    #0xd3f8
lri $WR1,    #0xeea6
cw 0xd
call send_back  ; 4541 (0x11bd)

lri $AR1,    #0x234e
lri $IX1,    #0x882c
lri $WR1,    #0x1e76
cw 0xd
call send_back  ; 4542 (0x11be)

lri $AR1,    #0x24ca
lri $IX1,    #0xee92
lri $WR1,    #0xd1c2
cw 0xd
call send_back  ; 4543 (0x11bf)

lri $AR1,    #0x61fe
lri $IX1,    #0x91cc
lri $WR1,    #0x373e
cw 0xd
call send_back  ; 4544 (0x11c0)

lri $AR1,    #0xa53a
lri $IX1,    #0xc9ac
lri $WR1,    #0xf502
cw 0xd
call send_back  ; 4545 (0x11c1)

lri $AR1,    #0x7d62
lri $IX1,    #0xc7f6
lri $WR1,    #0xb478
cw 0xd
call send_back  ; 4546 (0x11c2)

lri $AR1,    #0xa418
lri $IX1,    #0xe820
lri $WR1,    #0xcc3c
cw 0xd
call send_back  ; 4547 (0x11c3)

lri $AR1,    #0xd4b0
lri $IX1,    #0xccd6
lri $WR1,    #0xa042
cw 0xd
call send_back  ; 4548 (0x11c4)

lri $AR1,    #0xa144
lri $IX1,    #0x9fcc
lri $WR1,    #0xc562
cw 0xd
call send_back  ; 4549 (0x11c5)

lri $AR1,    #0xff70
lri $IX1,    #0xa5ba
lri $WR1,    #0x36ea
cw 0xd
call send_back  ; 4550 (0x11c6)

lri $AR1,    #0xf312
lri $IX1,    #0xfbd0
lri $WR1,    #0x04c8
cw 0xd
call send_back  ; 4551 (0x11c7)

lri $AR1,    #0x6fa4
lri $IX1,    #0x4faa
lri $WR1,    #0xb834
cw 0xd
call send_back  ; 4552 (0x11c8)

lri $AR1,    #0xa5a2
lri $IX1,    #0x2588
lri $WR1,    #0x1528
cw 0xd
call send_back  ; 4553 (0x11c9)

lri $AR1,    #0xa0ba
lri $IX1,    #0x7588
lri $WR1,    #0x7bf2
cw 0xd
call send_back  ; 4554 (0x11ca)

lri $AR1,    #0x9812
lri $IX1,    #0xfbfa
lri $WR1,    #0x5450
cw 0xd
call send_back  ; 4555 (0x11cb)

lri $AR1,    #0x3882
lri $IX1,    #0xd834
lri $WR1,    #0x58ae
cw 0xd
call send_back  ; 4556 (0x11cc)

lri $AR1,    #0x6b70
lri $IX1,    #0xddf4
lri $WR1,    #0xcfec
cw 0xd
call send_back  ; 4557 (0x11cd)

lri $AR1,    #0xbfd6
lri $IX1,    #0x3782
lri $WR1,    #0xaf96
cw 0xd
call send_back  ; 4558 (0x11ce)

lri $AR1,    #0x09f4
lri $IX1,    #0x1366
lri $WR1,    #0x0c52
cw 0xd
call send_back  ; 4559 (0x11cf)

lri $AR1,    #0x452c
lri $IX1,    #0x85ac
lri $WR1,    #0x8168
cw 0xd
call send_back  ; 4560 (0x11d0)

lri $AR1,    #0x5b60
lri $IX1,    #0xd74e
lri $WR1,    #0x71d6
cw 0xd
call send_back  ; 4561 (0x11d1)

lri $AR1,    #0x73a4
lri $IX1,    #0x84ec
lri $WR1,    #0xec64
cw 0xd
call send_back  ; 4562 (0x11d2)

lri $AR1,    #0xc5f0
lri $IX1,    #0xe3d0
lri $WR1,    #0x7b7c
cw 0xd
call send_back  ; 4563 (0x11d3)

lri $AR1,    #0x8df8
lri $IX1,    #0x41ec
lri $WR1,    #0x7c30
cw 0xd
call send_back  ; 4564 (0x11d4)

lri $AR1,    #0x01e2
lri $IX1,    #0xaeb0
lri $WR1,    #0xdc80
cw 0xd
call send_back  ; 4565 (0x11d5)

lri $AR1,    #0x6cc0
lri $IX1,    #0xcbcc
lri $WR1,    #0xe8aa
cw 0xd
call send_back  ; 4566 (0x11d6)

lri $AR1,    #0x27ee
lri $IX1,    #0x5cdc
lri $WR1,    #0x48c0
cw 0xd
call send_back  ; 4567 (0x11d7)

lri $AR1,    #0x3c6c
lri $IX1,    #0xb54a
lri $WR1,    #0x616c
cw 0xd
call send_back  ; 4568 (0x11d8)

lri $AR1,    #0x61b0
lri $IX1,    #0xf844
lri $WR1,    #0xfe40
cw 0xd
call send_back  ; 4569 (0x11d9)

lri $AR1,    #0x5f82
lri $IX1,    #0xf0fa
lri $WR1,    #0x703a
cw 0xd
call send_back  ; 4570 (0x11da)

lri $AR1,    #0xdd64
lri $IX1,    #0xc390
lri $WR1,    #0x3cf4
cw 0xd
call send_back  ; 4571 (0x11db)

lri $AR1,    #0xae6e
lri $IX1,    #0x1cec
lri $WR1,    #0xf502
cw 0xd
call send_back  ; 4572 (0x11dc)

lri $AR1,    #0x3cee
lri $IX1,    #0xc406
lri $WR1,    #0x240a
cw 0xd
call send_back  ; 4573 (0x11dd)

lri $AR1,    #0x6e72
lri $IX1,    #0xf0c4
lri $WR1,    #0xe296
cw 0xd
call send_back  ; 4574 (0x11de)

lri $AR1,    #0x4aa4
lri $IX1,    #0xe246
lri $WR1,    #0x92de
cw 0xd
call send_back  ; 4575 (0x11df)

lri $AR1,    #0xe604
lri $IX1,    #0xdba6
lri $WR1,    #0x53e0
cw 0xd
call send_back  ; 4576 (0x11e0)

lri $AR1,    #0xecba
lri $IX1,    #0x76f4
lri $WR1,    #0x4dc4
cw 0xd
call send_back  ; 4577 (0x11e1)

lri $AR1,    #0x8d3e
lri $IX1,    #0x95f8
lri $WR1,    #0x6db0
cw 0xd
call send_back  ; 4578 (0x11e2)

lri $AR1,    #0xbac4
lri $IX1,    #0xd92e
lri $WR1,    #0x65d8
cw 0xd
call send_back  ; 4579 (0x11e3)

lri $AR1,    #0x9d88
lri $IX1,    #0x1d4a
lri $WR1,    #0x69e6
cw 0xd
call send_back  ; 4580 (0x11e4)

lri $AR1,    #0xdf4e
lri $IX1,    #0xb0ca
lri $WR1,    #0x5d1a
cw 0xd
call send_back  ; 4581 (0x11e5)

lri $AR1,    #0x543a
lri $IX1,    #0xdf82
lri $WR1,    #0x3d18
cw 0xd
call send_back  ; 4582 (0x11e6)

lri $AR1,    #0xb1e4
lri $IX1,    #0x873c
lri $WR1,    #0x56de
cw 0xd
call send_back  ; 4583 (0x11e7)

lri $AR1,    #0xb85e
lri $IX1,    #0x6488
lri $WR1,    #0xa868
cw 0xd
call send_back  ; 4584 (0x11e8)

lri $AR1,    #0x548e
lri $IX1,    #0x7634
lri $WR1,    #0x76e4
cw 0xd
call send_back  ; 4585 (0x11e9)

lri $AR1,    #0x3c4a
lri $IX1,    #0x2c8c
lri $WR1,    #0x55c2
cw 0xd
call send_back  ; 4586 (0x11ea)

lri $AR1,    #0x3a14
lri $IX1,    #0x03a8
lri $WR1,    #0x002e
cw 0xd
call send_back  ; 4587 (0x11eb)

lri $AR1,    #0x4832
lri $IX1,    #0x5b42
lri $WR1,    #0xf524
cw 0xd
call send_back  ; 4588 (0x11ec)

lri $AR1,    #0x7124
lri $IX1,    #0x578e
lri $WR1,    #0x6eea
cw 0xd
call send_back  ; 4589 (0x11ed)

lri $AR1,    #0xbb6c
lri $IX1,    #0xc708
lri $WR1,    #0x5632
cw 0xd
call send_back  ; 4590 (0x11ee)

lri $AR1,    #0x82a2
lri $IX1,    #0x1fe0
lri $WR1,    #0x4f5c
cw 0xd
call send_back  ; 4591 (0x11ef)

lri $AR1,    #0xdea8
lri $IX1,    #0xbd62
lri $WR1,    #0x49b4
cw 0xd
call send_back  ; 4592 (0x11f0)

lri $AR1,    #0x4020
lri $IX1,    #0xcc1c
lri $WR1,    #0x964e
cw 0xd
call send_back  ; 4593 (0x11f1)

lri $AR1,    #0x39a0
lri $IX1,    #0xe4ce
lri $WR1,    #0xd33a
cw 0xd
call send_back  ; 4594 (0x11f2)

lri $AR1,    #0xa9fa
lri $IX1,    #0x6a04
lri $WR1,    #0x5de8
cw 0xd
call send_back  ; 4595 (0x11f3)

lri $AR1,    #0x639e
lri $IX1,    #0xb638
lri $WR1,    #0xfb8e
cw 0xd
call send_back  ; 4596 (0x11f4)

lri $AR1,    #0xbafe
lri $IX1,    #0x79b8
lri $WR1,    #0xc458
cw 0xd
call send_back  ; 4597 (0x11f5)

lri $AR1,    #0x566a
lri $IX1,    #0xb738
lri $WR1,    #0x8930
cw 0xd
call send_back  ; 4598 (0x11f6)

lri $AR1,    #0x09fa
lri $IX1,    #0xa7dc
lri $WR1,    #0xe05a
cw 0xd
call send_back  ; 4599 (0x11f7)

lri $AR1,    #0x27da
lri $IX1,    #0x884c
lri $WR1,    #0x2478
cw 0xd
call send_back  ; 4600 (0x11f8)

lri $AR1,    #0x7050
lri $IX1,    #0xa112
lri $WR1,    #0xf1d8
cw 0xd
call send_back  ; 4601 (0x11f9)

lri $AR1,    #0x76c2
lri $IX1,    #0xa134
lri $WR1,    #0x19a8
cw 0xd
call send_back  ; 4602 (0x11fa)

lri $AR1,    #0xdeca
lri $IX1,    #0x4250
lri $WR1,    #0xc3d8
cw 0xd
call send_back  ; 4603 (0x11fb)

lri $AR1,    #0x6c4a
lri $IX1,    #0xd7ba
lri $WR1,    #0x2380
cw 0xd
call send_back  ; 4604 (0x11fc)

lri $AR1,    #0xe0ca
lri $IX1,    #0x666a
lri $WR1,    #0x3ef0
cw 0xd
call send_back  ; 4605 (0x11fd)

lri $AR1,    #0x1394
lri $IX1,    #0x2be2
lri $WR1,    #0x8da8
cw 0xd
call send_back  ; 4606 (0x11fe)

lri $AR1,    #0xa032
lri $IX1,    #0x9962
lri $WR1,    #0x1242
cw 0xd
call send_back  ; 4607 (0x11ff)

lri $AR1,    #0x15b4
lri $IX1,    #0x6f06
lri $WR1,    #0xae74
cw 0xd
call send_back  ; 4608 (0x1200)

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

