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

lri $AR1,    #0x617f
lri $IX1,    #0x8d6e
lri $WR1,    #0xa44e
cw 0xd
call send_back  ; 24468 (0x5f94)

lri $AR1,    #0x6c99
lri $IX1,    #0x8594
lri $WR1,    #0x2cd9
cw 0xd
call send_back  ; 24469 (0x5f95)

lri $AR1,    #0x844a
lri $IX1,    #0xfc5c
lri $WR1,    #0x8235
cw 0xd
call send_back  ; 24470 (0x5f96)

lri $AR1,    #0xcf47
lri $IX1,    #0x0246
lri $WR1,    #0xbdc3
cw 0xd
call send_back  ; 24471 (0x5f97)

lri $AR1,    #0x8240
lri $IX1,    #0xa8b0
lri $WR1,    #0x869a
cw 0xd
call send_back  ; 24472 (0x5f98)

lri $AR1,    #0x2d8f
lri $IX1,    #0xcdcc
lri $WR1,    #0xb5ed
cw 0xd
call send_back  ; 24473 (0x5f99)

lri $AR1,    #0x37c9
lri $IX1,    #0xe7ea
lri $WR1,    #0xa9d6
cw 0xd
call send_back  ; 24474 (0x5f9a)

lri $AR1,    #0x7edc
lri $IX1,    #0x383c
lri $WR1,    #0xad64
cw 0xd
call send_back  ; 24475 (0x5f9b)

lri $AR1,    #0x8126
lri $IX1,    #0xf116
lri $WR1,    #0x728b
cw 0xd
call send_back  ; 24476 (0x5f9c)

lri $AR1,    #0xab45
lri $IX1,    #0xf2b4
lri $WR1,    #0xd420
cw 0xd
call send_back  ; 24477 (0x5f9d)

lri $AR1,    #0x56f7
lri $IX1,    #0xada2
lri $WR1,    #0x5343
cw 0xd
call send_back  ; 24478 (0x5f9e)

lri $AR1,    #0x8ad4
lri $IX1,    #0x58de
lri $WR1,    #0x656e
cw 0xd
call send_back  ; 24479 (0x5f9f)

lri $AR1,    #0x8241
lri $IX1,    #0xdd9c
lri $WR1,    #0x8da2
cw 0xd
call send_back  ; 24480 (0x5fa0)

lri $AR1,    #0x5050
lri $IX1,    #0x8200
lri $WR1,    #0xc4d0
cw 0xd
call send_back  ; 24481 (0x5fa1)

lri $AR1,    #0x6ffc
lri $IX1,    #0x5782
lri $WR1,    #0xc306
cw 0xd
call send_back  ; 24482 (0x5fa2)

lri $AR1,    #0xa780
lri $IX1,    #0xa17c
lri $WR1,    #0xac6d
cw 0xd
call send_back  ; 24483 (0x5fa3)

lri $AR1,    #0xac16
lri $IX1,    #0xab7e
lri $WR1,    #0x5ab5
cw 0xd
call send_back  ; 24484 (0x5fa4)

lri $AR1,    #0x4efb
lri $IX1,    #0xbede
lri $WR1,    #0x54f3
cw 0xd
call send_back  ; 24485 (0x5fa5)

lri $AR1,    #0x8bfc
lri $IX1,    #0xf23e
lri $WR1,    #0x6582
cw 0xd
call send_back  ; 24486 (0x5fa6)

lri $AR1,    #0x7568
lri $IX1,    #0x4d62
lri $WR1,    #0x7f02
cw 0xd
call send_back  ; 24487 (0x5fa7)

lri $AR1,    #0x90a4
lri $IX1,    #0x0f2a
lri $WR1,    #0xa6f5
cw 0xd
call send_back  ; 24488 (0x5fa8)

lri $AR1,    #0xa24b
lri $IX1,    #0xaaf6
lri $WR1,    #0x4615
cw 0xd
call send_back  ; 24489 (0x5fa9)

lri $AR1,    #0x8811
lri $IX1,    #0x2e40
lri $WR1,    #0x6bf3
cw 0xd
call send_back  ; 24490 (0x5faa)

lri $AR1,    #0xf24c
lri $IX1,    #0x0ed0
lri $WR1,    #0xa4e7
cw 0xd
call send_back  ; 24491 (0x5fab)

lri $AR1,    #0x7661
lri $IX1,    #0xc54a
lri $WR1,    #0x56e8
cw 0xd
call send_back  ; 24492 (0x5fac)

lri $AR1,    #0x6efd
lri $IX1,    #0xef68
lri $WR1,    #0x935c
cw 0xd
call send_back  ; 24493 (0x5fad)

lri $AR1,    #0x4e4e
lri $IX1,    #0xe0b0
lri $WR1,    #0xc96b
cw 0xd
call send_back  ; 24494 (0x5fae)

lri $AR1,    #0x4a25
lri $IX1,    #0x6804
lri $WR1,    #0xa5eb
cw 0xd
call send_back  ; 24495 (0x5faf)

lri $AR1,    #0x813b
lri $IX1,    #0x03bc
lri $WR1,    #0x936d
cw 0xd
call send_back  ; 24496 (0x5fb0)

lri $AR1,    #0x4484
lri $IX1,    #0xa5c6
lri $WR1,    #0x9685
cw 0xd
call send_back  ; 24497 (0x5fb1)

lri $AR1,    #0x6ebb
lri $IX1,    #0x6468
lri $WR1,    #0x8fd7
cw 0xd
call send_back  ; 24498 (0x5fb2)

lri $AR1,    #0x8821
lri $IX1,    #0xe42c
lri $WR1,    #0x9ef9
cw 0xd
call send_back  ; 24499 (0x5fb3)

lri $AR1,    #0xbb99
lri $IX1,    #0xca9a
lri $WR1,    #0xd6bc
cw 0xd
call send_back  ; 24500 (0x5fb4)

lri $AR1,    #0x3e0d
lri $IX1,    #0x0120
lri $WR1,    #0x8ce4
cw 0xd
call send_back  ; 24501 (0x5fb5)

lri $AR1,    #0x985d
lri $IX1,    #0xdafc
lri $WR1,    #0xacf9
cw 0xd
call send_back  ; 24502 (0x5fb6)

lri $AR1,    #0xa7ab
lri $IX1,    #0x3076
lri $WR1,    #0x7712
cw 0xd
call send_back  ; 24503 (0x5fb7)

lri $AR1,    #0x7f59
lri $IX1,    #0x1534
lri $WR1,    #0x5963
cw 0xd
call send_back  ; 24504 (0x5fb8)

lri $AR1,    #0x837c
lri $IX1,    #0xd6fc
lri $WR1,    #0x7c6a
cw 0xd
call send_back  ; 24505 (0x5fb9)

lri $AR1,    #0x722c
lri $IX1,    #0x4db8
lri $WR1,    #0x876c
cw 0xd
call send_back  ; 24506 (0x5fba)

lri $AR1,    #0x8562
lri $IX1,    #0x1502
lri $WR1,    #0x7450
cw 0xd
call send_back  ; 24507 (0x5fbb)

lri $AR1,    #0x3ecf
lri $IX1,    #0xeb12
lri $WR1,    #0x5f4b
cw 0xd
call send_back  ; 24508 (0x5fbc)

lri $AR1,    #0x2a6e
lri $IX1,    #0x085a
lri $WR1,    #0x7898
cw 0xd
call send_back  ; 24509 (0x5fbd)

lri $AR1,    #0x541c
lri $IX1,    #0xaea2
lri $WR1,    #0x7ba5
cw 0xd
call send_back  ; 24510 (0x5fbe)

lri $AR1,    #0xb01f
lri $IX1,    #0x4dea
lri $WR1,    #0xb0e3
cw 0xd
call send_back  ; 24511 (0x5fbf)

lri $AR1,    #0xadcd
lri $IX1,    #0x50f4
lri $WR1,    #0x64b4
cw 0xd
call send_back  ; 24512 (0x5fc0)

lri $AR1,    #0x7736
lri $IX1,    #0xcab0
lri $WR1,    #0x478d
cw 0xd
call send_back  ; 24513 (0x5fc1)

lri $AR1,    #0x6015
lri $IX1,    #0xb976
lri $WR1,    #0xb8ed
cw 0xd
call send_back  ; 24514 (0x5fc2)

lri $AR1,    #0x99f1
lri $IX1,    #0x4444
lri $WR1,    #0x7015
cw 0xd
call send_back  ; 24515 (0x5fc3)

lri $AR1,    #0x4a97
lri $IX1,    #0x19d2
lri $WR1,    #0xab32
cw 0xd
call send_back  ; 24516 (0x5fc4)

lri $AR1,    #0x7de0
lri $IX1,    #0xd0ea
lri $WR1,    #0x66ff
cw 0xd
call send_back  ; 24517 (0x5fc5)

lri $AR1,    #0x7afc
lri $IX1,    #0xb4a8
lri $WR1,    #0x7e6a
cw 0xd
call send_back  ; 24518 (0x5fc6)

lri $AR1,    #0xa922
lri $IX1,    #0xa714
lri $WR1,    #0x5346
cw 0xd
call send_back  ; 24519 (0x5fc7)

lri $AR1,    #0x46ec
lri $IX1,    #0x97dc
lri $WR1,    #0xa6b6
cw 0xd
call send_back  ; 24520 (0x5fc8)

lri $AR1,    #0x2331
lri $IX1,    #0x546e
lri $WR1,    #0x713b
cw 0xd
call send_back  ; 24521 (0x5fc9)

lri $AR1,    #0xa5a8
lri $IX1,    #0x1262
lri $WR1,    #0x3814
cw 0xd
call send_back  ; 24522 (0x5fca)

lri $AR1,    #0xa92f
lri $IX1,    #0xe462
lri $WR1,    #0x6ef0
cw 0xd
call send_back  ; 24523 (0x5fcb)

lri $AR1,    #0xd103
lri $IX1,    #0x2d7c
lri $WR1,    #0xca87
cw 0xd
call send_back  ; 24524 (0x5fcc)

lri $AR1,    #0x7da7
lri $IX1,    #0xfe1e
lri $WR1,    #0x6225
cw 0xd
call send_back  ; 24525 (0x5fcd)

lri $AR1,    #0x35ef
lri $IX1,    #0xf18a
lri $WR1,    #0x7bc0
cw 0xd
call send_back  ; 24526 (0x5fce)

lri $AR1,    #0x9bd5
lri $IX1,    #0x8224
lri $WR1,    #0x3fa5
cw 0xd
call send_back  ; 24527 (0x5fcf)

lri $AR1,    #0x3c88
lri $IX1,    #0xbe50
lri $WR1,    #0x3644
cw 0xd
call send_back  ; 24528 (0x5fd0)

lri $AR1,    #0x9673
lri $IX1,    #0xaf4e
lri $WR1,    #0xbc3a
cw 0xd
call send_back  ; 24529 (0x5fd1)

lri $AR1,    #0x6f98
lri $IX1,    #0x7ebe
lri $WR1,    #0x6619
cw 0xd
call send_back  ; 24530 (0x5fd2)

lri $AR1,    #0x6a00
lri $IX1,    #0x5750
lri $WR1,    #0x7f0e
cw 0xd
call send_back  ; 24531 (0x5fd3)

lri $AR1,    #0x8ba2
lri $IX1,    #0x0034
lri $WR1,    #0xc2e7
cw 0xd
call send_back  ; 24532 (0x5fd4)

lri $AR1,    #0x8a84
lri $IX1,    #0x2aca
lri $WR1,    #0x8d92
cw 0xd
call send_back  ; 24533 (0x5fd5)

lri $AR1,    #0x7d67
lri $IX1,    #0x3550
lri $WR1,    #0xd7a3
cw 0xd
call send_back  ; 24534 (0x5fd6)

lri $AR1,    #0x74db
lri $IX1,    #0xa4cc
lri $WR1,    #0x58ec
cw 0xd
call send_back  ; 24535 (0x5fd7)

lri $AR1,    #0x57f0
lri $IX1,    #0xac34
lri $WR1,    #0x6fbb
cw 0xd
call send_back  ; 24536 (0x5fd8)

lri $AR1,    #0x8b7c
lri $IX1,    #0x9ddc
lri $WR1,    #0x54d8
cw 0xd
call send_back  ; 24537 (0x5fd9)

lri $AR1,    #0x4a16
lri $IX1,    #0x004c
lri $WR1,    #0x91b8
cw 0xd
call send_back  ; 24538 (0x5fda)

lri $AR1,    #0x86c4
lri $IX1,    #0x0e7e
lri $WR1,    #0x8017
cw 0xd
call send_back  ; 24539 (0x5fdb)

lri $AR1,    #0x1b89
lri $IX1,    #0x8f9a
lri $WR1,    #0xaf6a
cw 0xd
call send_back  ; 24540 (0x5fdc)

lri $AR1,    #0x40b9
lri $IX1,    #0x0942
lri $WR1,    #0xc652
cw 0xd
call send_back  ; 24541 (0x5fdd)

lri $AR1,    #0xb958
lri $IX1,    #0x3b78
lri $WR1,    #0x338c
cw 0xd
call send_back  ; 24542 (0x5fde)

lri $AR1,    #0x2455
lri $IX1,    #0x7440
lri $WR1,    #0xa382
cw 0xd
call send_back  ; 24543 (0x5fdf)

lri $AR1,    #0xd9f9
lri $IX1,    #0x7ce6
lri $WR1,    #0x94f3
cw 0xd
call send_back  ; 24544 (0x5fe0)

lri $AR1,    #0x884f
lri $IX1,    #0x8a2e
lri $WR1,    #0x70dc
cw 0xd
call send_back  ; 24545 (0x5fe1)

lri $AR1,    #0x40d6
lri $IX1,    #0x944e
lri $WR1,    #0x972a
cw 0xd
call send_back  ; 24546 (0x5fe2)

lri $AR1,    #0xbd5e
lri $IX1,    #0xaae2
lri $WR1,    #0x4336
cw 0xd
call send_back  ; 24547 (0x5fe3)

lri $AR1,    #0xa948
lri $IX1,    #0x1cd0
lri $WR1,    #0x60ab
cw 0xd
call send_back  ; 24548 (0x5fe4)

lri $AR1,    #0x9808
lri $IX1,    #0x8354
lri $WR1,    #0xc2ed
cw 0xd
call send_back  ; 24549 (0x5fe5)

lri $AR1,    #0xe131
lri $IX1,    #0xcb04
lri $WR1,    #0x8e77
cw 0xd
call send_back  ; 24550 (0x5fe6)

lri $AR1,    #0xbde7
lri $IX1,    #0x1530
lri $WR1,    #0xe554
cw 0xd
call send_back  ; 24551 (0x5fe7)

lri $AR1,    #0x9af5
lri $IX1,    #0x9f4a
lri $WR1,    #0x6d44
cw 0xd
call send_back  ; 24552 (0x5fe8)

lri $AR1,    #0x7e6c
lri $IX1,    #0xa5d6
lri $WR1,    #0x6f92
cw 0xd
call send_back  ; 24553 (0x5fe9)

lri $AR1,    #0x7f07
lri $IX1,    #0x5386
lri $WR1,    #0x802a
cw 0xd
call send_back  ; 24554 (0x5fea)

lri $AR1,    #0x7f2f
lri $IX1,    #0x1cea
lri $WR1,    #0xab14
cw 0xd
call send_back  ; 24555 (0x5feb)

lri $AR1,    #0x84f3
lri $IX1,    #0x4c7a
lri $WR1,    #0x7cc4
cw 0xd
call send_back  ; 24556 (0x5fec)

lri $AR1,    #0x83b4
lri $IX1,    #0xda54
lri $WR1,    #0x336f
cw 0xd
call send_back  ; 24557 (0x5fed)

lri $AR1,    #0x9be6
lri $IX1,    #0xd678
lri $WR1,    #0xe4da
cw 0xd
call send_back  ; 24558 (0x5fee)

lri $AR1,    #0x98b0
lri $IX1,    #0x8bcc
lri $WR1,    #0x45c9
cw 0xd
call send_back  ; 24559 (0x5fef)

lri $AR1,    #0xaab3
lri $IX1,    #0xf5c0
lri $WR1,    #0xe58b
cw 0xd
call send_back  ; 24560 (0x5ff0)

lri $AR1,    #0x6ad6
lri $IX1,    #0x09e4
lri $WR1,    #0x79c2
cw 0xd
call send_back  ; 24561 (0x5ff1)

lri $AR1,    #0x6f5c
lri $IX1,    #0x9238
lri $WR1,    #0xa3f2
cw 0xd
call send_back  ; 24562 (0x5ff2)

lri $AR1,    #0x911a
lri $IX1,    #0xc48a
lri $WR1,    #0xcbdb
cw 0xd
call send_back  ; 24563 (0x5ff3)

lri $AR1,    #0xc61b
lri $IX1,    #0x46b8
lri $WR1,    #0x9f4f
cw 0xd
call send_back  ; 24564 (0x5ff4)

lri $AR1,    #0x927e
lri $IX1,    #0xc714
lri $WR1,    #0x6160
cw 0xd
call send_back  ; 24565 (0x5ff5)

lri $AR1,    #0x5fea
lri $IX1,    #0x9bd6
lri $WR1,    #0x50b2
cw 0xd
call send_back  ; 24566 (0x5ff6)

lri $AR1,    #0x6f55
lri $IX1,    #0xdbcc
lri $WR1,    #0x6dcd
cw 0xd
call send_back  ; 24567 (0x5ff7)

lri $AR1,    #0x7089
lri $IX1,    #0xf62e
lri $WR1,    #0x3021
cw 0xd
call send_back  ; 24568 (0x5ff8)

lri $AR1,    #0x7610
lri $IX1,    #0xd6ec
lri $WR1,    #0xa1b8
cw 0xd
call send_back  ; 24569 (0x5ff9)

lri $AR1,    #0x5c09
lri $IX1,    #0x0022
lri $WR1,    #0xc73a
cw 0xd
call send_back  ; 24570 (0x5ffa)

lri $AR1,    #0x2b81
lri $IX1,    #0x9134
lri $WR1,    #0x8b37
cw 0xd
call send_back  ; 24571 (0x5ffb)

lri $AR1,    #0x6bd2
lri $IX1,    #0xd72c
lri $WR1,    #0x7966
cw 0xd
call send_back  ; 24572 (0x5ffc)

lri $AR1,    #0x8ea8
lri $IX1,    #0x99e8
lri $WR1,    #0x4fcd
cw 0xd
call send_back  ; 24573 (0x5ffd)

lri $AR1,    #0x932c
lri $IX1,    #0xc4a0
lri $WR1,    #0x2979
cw 0xd
call send_back  ; 24574 (0x5ffe)

lri $AR1,    #0x7ff7
lri $IX1,    #0x285c
lri $WR1,    #0xa7ca
cw 0xd
call send_back  ; 24575 (0x5fff)

lri $AR1,    #0x4b45
lri $IX1,    #0xc9f2
lri $WR1,    #0x64df
cw 0xd
call send_back  ; 24576 (0x6000)

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