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

lri $AR1,    #0x7daa
lri $IX1,    #0x12e8
lri $WR1,    #0x49ae
cw 0x9
call send_back  ; 3457 (0x0d81)

lri $AR1,    #0xf638
lri $IX1,    #0xe0e4
lri $WR1,    #0x2754
cw 0x9
call send_back  ; 3458 (0x0d82)

lri $AR1,    #0x3a86
lri $IX1,    #0xdfce
lri $WR1,    #0x1c42
cw 0x9
call send_back  ; 3459 (0x0d83)

lri $AR1,    #0x0766
lri $IX1,    #0x7452
lri $WR1,    #0xf2e8
cw 0x9
call send_back  ; 3460 (0x0d84)

lri $AR1,    #0xb600
lri $IX1,    #0x8384
lri $WR1,    #0xdc7e
cw 0x9
call send_back  ; 3461 (0x0d85)

lri $AR1,    #0xfb58
lri $IX1,    #0x5650
lri $WR1,    #0x002e
cw 0x9
call send_back  ; 3462 (0x0d86)

lri $AR1,    #0xae26
lri $IX1,    #0x8dec
lri $WR1,    #0xec6a
cw 0x9
call send_back  ; 3463 (0x0d87)

lri $AR1,    #0x26ea
lri $IX1,    #0x075a
lri $WR1,    #0x809a
cw 0x9
call send_back  ; 3464 (0x0d88)

lri $AR1,    #0xe606
lri $IX1,    #0x5faa
lri $WR1,    #0x1ce0
cw 0x9
call send_back  ; 3465 (0x0d89)

lri $AR1,    #0x6f2a
lri $IX1,    #0x416a
lri $WR1,    #0xbab8
cw 0x9
call send_back  ; 3466 (0x0d8a)

lri $AR1,    #0x1c84
lri $IX1,    #0x345e
lri $WR1,    #0xc1f8
cw 0x9
call send_back  ; 3467 (0x0d8b)

lri $AR1,    #0x7316
lri $IX1,    #0x45da
lri $WR1,    #0xbf96
cw 0x9
call send_back  ; 3468 (0x0d8c)

lri $AR1,    #0x0f2c
lri $IX1,    #0xb16c
lri $WR1,    #0x4188
cw 0x9
call send_back  ; 3469 (0x0d8d)

lri $AR1,    #0x2efa
lri $IX1,    #0x0628
lri $WR1,    #0xb76e
cw 0x9
call send_back  ; 3470 (0x0d8e)

lri $AR1,    #0x3f12
lri $IX1,    #0x9628
lri $WR1,    #0x05c2
cw 0x9
call send_back  ; 3471 (0x0d8f)

lri $AR1,    #0x1bc6
lri $IX1,    #0xe11c
lri $WR1,    #0x594e
cw 0x9
call send_back  ; 3472 (0x0d90)

lri $AR1,    #0x7d00
lri $IX1,    #0x3e7a
lri $WR1,    #0x8036
cw 0x9
call send_back  ; 3473 (0x0d91)

lri $AR1,    #0x84e0
lri $IX1,    #0x842a
lri $WR1,    #0x9dd4
cw 0x9
call send_back  ; 3474 (0x0d92)

lri $AR1,    #0xcc20
lri $IX1,    #0x09ba
lri $WR1,    #0xc84e
cw 0x9
call send_back  ; 3475 (0x0d93)

lri $AR1,    #0x33ca
lri $IX1,    #0x5396
lri $WR1,    #0x45ca
cw 0x9
call send_back  ; 3476 (0x0d94)

lri $AR1,    #0x9148
lri $IX1,    #0x83e8
lri $WR1,    #0xfa98
cw 0x9
call send_back  ; 3477 (0x0d95)

lri $AR1,    #0xc132
lri $IX1,    #0x2a4a
lri $WR1,    #0x81b6
cw 0x9
call send_back  ; 3478 (0x0d96)

lri $AR1,    #0xe72e
lri $IX1,    #0x87f6
lri $WR1,    #0x74e8
cw 0x9
call send_back  ; 3479 (0x0d97)

lri $AR1,    #0xf79e
lri $IX1,    #0xecb4
lri $WR1,    #0x0824
cw 0x9
call send_back  ; 3480 (0x0d98)

lri $AR1,    #0xee98
lri $IX1,    #0x965a
lri $WR1,    #0xfda0
cw 0x9
call send_back  ; 3481 (0x0d99)

lri $AR1,    #0xdc7c
lri $IX1,    #0xf0be
lri $WR1,    #0x54d8
cw 0x9
call send_back  ; 3482 (0x0d9a)

lri $AR1,    #0xabca
lri $IX1,    #0x6b94
lri $WR1,    #0x733a
cw 0x9
call send_back  ; 3483 (0x0d9b)

lri $AR1,    #0x48a2
lri $IX1,    #0x3f36
lri $WR1,    #0xc380
cw 0x9
call send_back  ; 3484 (0x0d9c)

lri $AR1,    #0x1968
lri $IX1,    #0x9ec2
lri $WR1,    #0x6b58
cw 0x9
call send_back  ; 3485 (0x0d9d)

lri $AR1,    #0x9a02
lri $IX1,    #0xd1a6
lri $WR1,    #0xdd38
cw 0x9
call send_back  ; 3486 (0x0d9e)

lri $AR1,    #0x2ae2
lri $IX1,    #0xd928
lri $WR1,    #0xcf68
cw 0x9
call send_back  ; 3487 (0x0d9f)

lri $AR1,    #0x14d0
lri $IX1,    #0xca04
lri $WR1,    #0xa07e
cw 0x9
call send_back  ; 3488 (0x0da0)

lri $AR1,    #0x27b2
lri $IX1,    #0x2b98
lri $WR1,    #0xa73e
cw 0x9
call send_back  ; 3489 (0x0da1)

lri $AR1,    #0x22a8
lri $IX1,    #0xd82c
lri $WR1,    #0xe7bc
cw 0x9
call send_back  ; 3490 (0x0da2)

lri $AR1,    #0xb29e
lri $IX1,    #0x479c
lri $WR1,    #0x809e
cw 0x9
call send_back  ; 3491 (0x0da3)

lri $AR1,    #0xe2fe
lri $IX1,    #0x338c
lri $WR1,    #0x7b38
cw 0x9
call send_back  ; 3492 (0x0da4)

lri $AR1,    #0x9706
lri $IX1,    #0x0e8a
lri $WR1,    #0xdd18
cw 0x9
call send_back  ; 3493 (0x0da5)

lri $AR1,    #0x907a
lri $IX1,    #0x5e12
lri $WR1,    #0xef72
cw 0x9
call send_back  ; 3494 (0x0da6)

lri $AR1,    #0xb8b8
lri $IX1,    #0x211a
lri $WR1,    #0x6634
cw 0x9
call send_back  ; 3495 (0x0da7)

lri $AR1,    #0x3b86
lri $IX1,    #0xef96
lri $WR1,    #0x51be
cw 0x9
call send_back  ; 3496 (0x0da8)

lri $AR1,    #0xe120
lri $IX1,    #0xfec4
lri $WR1,    #0xfa54
cw 0x9
call send_back  ; 3497 (0x0da9)

lri $AR1,    #0x6296
lri $IX1,    #0x8fda
lri $WR1,    #0xf140
cw 0x9
call send_back  ; 3498 (0x0daa)

lri $AR1,    #0x3f58
lri $IX1,    #0xf494
lri $WR1,    #0x933e
cw 0x9
call send_back  ; 3499 (0x0dab)

lri $AR1,    #0x258c
lri $IX1,    #0xa798
lri $WR1,    #0x6b00
cw 0x9
call send_back  ; 3500 (0x0dac)

lri $AR1,    #0xe706
lri $IX1,    #0xb798
lri $WR1,    #0x31d2
cw 0x9
call send_back  ; 3501 (0x0dad)

lri $AR1,    #0x51b0
lri $IX1,    #0xcf4e
lri $WR1,    #0xa426
cw 0x9
call send_back  ; 3502 (0x0dae)

lri $AR1,    #0x0c66
lri $IX1,    #0x2fac
lri $WR1,    #0x00a8
cw 0x9
call send_back  ; 3503 (0x0daf)

lri $AR1,    #0x70ae
lri $IX1,    #0x3d96
lri $WR1,    #0xae52
cw 0x9
call send_back  ; 3504 (0x0db0)

lri $AR1,    #0xca98
lri $IX1,    #0xcbbe
lri $WR1,    #0x624c
cw 0x9
call send_back  ; 3505 (0x0db1)

lri $AR1,    #0x7d00
lri $IX1,    #0x0ca0
lri $WR1,    #0xcdec
cw 0x9
call send_back  ; 3506 (0x0db2)

lri $AR1,    #0x8b66
lri $IX1,    #0xd93e
lri $WR1,    #0x3dca
cw 0x9
call send_back  ; 3507 (0x0db3)

lri $AR1,    #0x033e
lri $IX1,    #0xc17a
lri $WR1,    #0x2364
cw 0x9
call send_back  ; 3508 (0x0db4)

lri $AR1,    #0x4eb0
lri $IX1,    #0xe50a
lri $WR1,    #0x3724
cw 0x9
call send_back  ; 3509 (0x0db5)

lri $AR1,    #0x67c2
lri $IX1,    #0xae00
lri $WR1,    #0xec62
cw 0x9
call send_back  ; 3510 (0x0db6)

lri $AR1,    #0xb1ca
lri $IX1,    #0x4448
lri $WR1,    #0x3786
cw 0x9
call send_back  ; 3511 (0x0db7)

lri $AR1,    #0xe4fe
lri $IX1,    #0x30e2
lri $WR1,    #0x12b2
cw 0x9
call send_back  ; 3512 (0x0db8)

lri $AR1,    #0x55b6
lri $IX1,    #0xa8a6
lri $WR1,    #0x5bbe
cw 0x9
call send_back  ; 3513 (0x0db9)

lri $AR1,    #0xbf28
lri $IX1,    #0x1db4
lri $WR1,    #0xeb10
cw 0x9
call send_back  ; 3514 (0x0dba)

lri $AR1,    #0xbdd4
lri $IX1,    #0x336c
lri $WR1,    #0xadd8
cw 0x9
call send_back  ; 3515 (0x0dbb)

lri $AR1,    #0x3e52
lri $IX1,    #0x5982
lri $WR1,    #0xbe82
cw 0x9
call send_back  ; 3516 (0x0dbc)

lri $AR1,    #0x96ba
lri $IX1,    #0xf7c8
lri $WR1,    #0x9958
cw 0x9
call send_back  ; 3517 (0x0dbd)

lri $AR1,    #0x60d4
lri $IX1,    #0x96b6
lri $WR1,    #0x1d76
cw 0x9
call send_back  ; 3518 (0x0dbe)

lri $AR1,    #0x27e6
lri $IX1,    #0x64e0
lri $WR1,    #0x6ff8
cw 0x9
call send_back  ; 3519 (0x0dbf)

lri $AR1,    #0x03fa
lri $IX1,    #0xb5f8
lri $WR1,    #0x2c5a
cw 0x9
call send_back  ; 3520 (0x0dc0)

lri $AR1,    #0x2106
lri $IX1,    #0xc4ea
lri $WR1,    #0x3766
cw 0x9
call send_back  ; 3521 (0x0dc1)

lri $AR1,    #0x99d6
lri $IX1,    #0x47be
lri $WR1,    #0x35c2
cw 0x9
call send_back  ; 3522 (0x0dc2)

lri $AR1,    #0x9e5c
lri $IX1,    #0xfef0
lri $WR1,    #0xf6e8
cw 0x9
call send_back  ; 3523 (0x0dc3)

lri $AR1,    #0x874c
lri $IX1,    #0x9d24
lri $WR1,    #0xf6fa
cw 0x9
call send_back  ; 3524 (0x0dc4)

lri $AR1,    #0xc63c
lri $IX1,    #0x3582
lri $WR1,    #0x7660
cw 0x9
call send_back  ; 3525 (0x0dc5)

lri $AR1,    #0x1616
lri $IX1,    #0x64e6
lri $WR1,    #0x7002
cw 0x9
call send_back  ; 3526 (0x0dc6)

lri $AR1,    #0x63e8
lri $IX1,    #0xd4ee
lri $WR1,    #0x7692
cw 0x9
call send_back  ; 3527 (0x0dc7)

lri $AR1,    #0xa2e6
lri $IX1,    #0x9c00
lri $WR1,    #0xa0d0
cw 0x9
call send_back  ; 3528 (0x0dc8)

lri $AR1,    #0x02f2
lri $IX1,    #0x483c
lri $WR1,    #0x7d28
cw 0x9
call send_back  ; 3529 (0x0dc9)

lri $AR1,    #0x785c
lri $IX1,    #0x3fc4
lri $WR1,    #0xa9e2
cw 0x9
call send_back  ; 3530 (0x0dca)

lri $AR1,    #0xe862
lri $IX1,    #0xfcaa
lri $WR1,    #0xfd60
cw 0x9
call send_back  ; 3531 (0x0dcb)

lri $AR1,    #0xbbf4
lri $IX1,    #0x51fc
lri $WR1,    #0x5ef4
cw 0x9
call send_back  ; 3532 (0x0dcc)

lri $AR1,    #0x7dbc
lri $IX1,    #0xb7b2
lri $WR1,    #0x90d4
cw 0x9
call send_back  ; 3533 (0x0dcd)

lri $AR1,    #0x12bc
lri $IX1,    #0xfdf2
lri $WR1,    #0x9ee6
cw 0x9
call send_back  ; 3534 (0x0dce)

lri $AR1,    #0xf426
lri $IX1,    #0xac72
lri $WR1,    #0xba4e
cw 0x9
call send_back  ; 3535 (0x0dcf)

lri $AR1,    #0x4fd6
lri $IX1,    #0xa7ce
lri $WR1,    #0xd4a2
cw 0x9
call send_back  ; 3536 (0x0dd0)

lri $AR1,    #0xb4d2
lri $IX1,    #0x519c
lri $WR1,    #0xef10
cw 0x9
call send_back  ; 3537 (0x0dd1)

lri $AR1,    #0xb794
lri $IX1,    #0x063a
lri $WR1,    #0x011a
cw 0x9
call send_back  ; 3538 (0x0dd2)

lri $AR1,    #0x3dea
lri $IX1,    #0xd980
lri $WR1,    #0x018e
cw 0x9
call send_back  ; 3539 (0x0dd3)

lri $AR1,    #0x4662
lri $IX1,    #0xb8d0
lri $WR1,    #0xb726
cw 0x9
call send_back  ; 3540 (0x0dd4)

lri $AR1,    #0xf220
lri $IX1,    #0x7a94
lri $WR1,    #0x22f4
cw 0x9
call send_back  ; 3541 (0x0dd5)

lri $AR1,    #0x1b04
lri $IX1,    #0xbc1e
lri $WR1,    #0xa650
cw 0x9
call send_back  ; 3542 (0x0dd6)

lri $AR1,    #0xc31a
lri $IX1,    #0x8ef8
lri $WR1,    #0x2790
cw 0x9
call send_back  ; 3543 (0x0dd7)

lri $AR1,    #0xc09c
lri $IX1,    #0x46d6
lri $WR1,    #0xd264
cw 0x9
call send_back  ; 3544 (0x0dd8)

lri $AR1,    #0x1de4
lri $IX1,    #0x1648
lri $WR1,    #0x2c56
cw 0x9
call send_back  ; 3545 (0x0dd9)

lri $AR1,    #0xbce2
lri $IX1,    #0xa1fc
lri $WR1,    #0x81d8
cw 0x9
call send_back  ; 3546 (0x0dda)

lri $AR1,    #0xbaaa
lri $IX1,    #0x755e
lri $WR1,    #0xcaa8
cw 0x9
call send_back  ; 3547 (0x0ddb)

lri $AR1,    #0x9bee
lri $IX1,    #0x108c
lri $WR1,    #0x65c8
cw 0x9
call send_back  ; 3548 (0x0ddc)

lri $AR1,    #0x87c0
lri $IX1,    #0x8c32
lri $WR1,    #0x51aa
cw 0x9
call send_back  ; 3549 (0x0ddd)

lri $AR1,    #0xd336
lri $IX1,    #0x799a
lri $WR1,    #0xa2b4
cw 0x9
call send_back  ; 3550 (0x0dde)

lri $AR1,    #0x7a6c
lri $IX1,    #0x8290
lri $WR1,    #0xa320
cw 0x9
call send_back  ; 3551 (0x0ddf)

lri $AR1,    #0x61dc
lri $IX1,    #0xe23e
lri $WR1,    #0x51b8
cw 0x9
call send_back  ; 3552 (0x0de0)

lri $AR1,    #0x3e52
lri $IX1,    #0x20d0
lri $WR1,    #0xf454
cw 0x9
call send_back  ; 3553 (0x0de1)

lri $AR1,    #0x2d2e
lri $IX1,    #0x7b4a
lri $WR1,    #0xee54
cw 0x9
call send_back  ; 3554 (0x0de2)

lri $AR1,    #0x26f6
lri $IX1,    #0x4a3a
lri $WR1,    #0x71d0
cw 0x9
call send_back  ; 3555 (0x0de3)

lri $AR1,    #0xdc40
lri $IX1,    #0xb944
lri $WR1,    #0x0d9a
cw 0x9
call send_back  ; 3556 (0x0de4)

lri $AR1,    #0x0d52
lri $IX1,    #0x5b5c
lri $WR1,    #0x3f84
cw 0x9
call send_back  ; 3557 (0x0de5)

lri $AR1,    #0x869c
lri $IX1,    #0x3b7c
lri $WR1,    #0xcfcc
cw 0x9
call send_back  ; 3558 (0x0de6)

lri $AR1,    #0x85e6
lri $IX1,    #0xe6d4
lri $WR1,    #0x2534
cw 0x9
call send_back  ; 3559 (0x0de7)

lri $AR1,    #0x05fe
lri $IX1,    #0xd1cc
lri $WR1,    #0xde40
cw 0x9
call send_back  ; 3560 (0x0de8)

lri $AR1,    #0xba28
lri $IX1,    #0xb004
lri $WR1,    #0x0990
cw 0x9
call send_back  ; 3561 (0x0de9)

lri $AR1,    #0x43e8
lri $IX1,    #0x56d4
lri $WR1,    #0x938e
cw 0x9
call send_back  ; 3562 (0x0dea)

lri $AR1,    #0xcad0
lri $IX1,    #0xf314
lri $WR1,    #0xcd0a
cw 0x9
call send_back  ; 3563 (0x0deb)

lri $AR1,    #0x9040
lri $IX1,    #0xf736
lri $WR1,    #0x44e6
cw 0x9
call send_back  ; 3564 (0x0dec)

lri $AR1,    #0x96fc
lri $IX1,    #0x26a8
lri $WR1,    #0xbfc0
cw 0x9
call send_back  ; 3565 (0x0ded)

lri $AR1,    #0x0e8e
lri $IX1,    #0x7cc4
lri $WR1,    #0xa79e
cw 0x9
call send_back  ; 3566 (0x0dee)

lri $AR1,    #0xb680
lri $IX1,    #0x8be8
lri $WR1,    #0x7464
cw 0x9
call send_back  ; 3567 (0x0def)

lri $AR1,    #0xb42e
lri $IX1,    #0xeef0
lri $WR1,    #0x1eaa
cw 0x9
call send_back  ; 3568 (0x0df0)

lri $AR1,    #0x045c
lri $IX1,    #0x3604
lri $WR1,    #0xb4b4
cw 0x9
call send_back  ; 3569 (0x0df1)

lri $AR1,    #0x4a0e
lri $IX1,    #0xf0a6
lri $WR1,    #0x784e
cw 0x9
call send_back  ; 3570 (0x0df2)

lri $AR1,    #0xe0e2
lri $IX1,    #0xd2f0
lri $WR1,    #0x7a46
cw 0x9
call send_back  ; 3571 (0x0df3)

lri $AR1,    #0x8924
lri $IX1,    #0x55c8
lri $WR1,    #0x6c80
cw 0x9
call send_back  ; 3572 (0x0df4)

lri $AR1,    #0xf948
lri $IX1,    #0x8b78
lri $WR1,    #0xa938
cw 0x9
call send_back  ; 3573 (0x0df5)

lri $AR1,    #0xd96a
lri $IX1,    #0x1956
lri $WR1,    #0x2174
cw 0x9
call send_back  ; 3574 (0x0df6)

lri $AR1,    #0x8552
lri $IX1,    #0xe972
lri $WR1,    #0x80b4
cw 0x9
call send_back  ; 3575 (0x0df7)

lri $AR1,    #0x9768
lri $IX1,    #0xc7c4
lri $WR1,    #0x3bae
cw 0x9
call send_back  ; 3576 (0x0df8)

lri $AR1,    #0x29d0
lri $IX1,    #0xf732
lri $WR1,    #0xe798
cw 0x9
call send_back  ; 3577 (0x0df9)

lri $AR1,    #0x2d1e
lri $IX1,    #0x3740
lri $WR1,    #0xac22
cw 0x9
call send_back  ; 3578 (0x0dfa)

lri $AR1,    #0xa97c
lri $IX1,    #0xdbda
lri $WR1,    #0x8a5a
cw 0x9
call send_back  ; 3579 (0x0dfb)

lri $AR1,    #0xdf66
lri $IX1,    #0xaa84
lri $WR1,    #0xa6c2
cw 0x9
call send_back  ; 3580 (0x0dfc)

lri $AR1,    #0xe428
lri $IX1,    #0x34f2
lri $WR1,    #0xc97a
cw 0x9
call send_back  ; 3581 (0x0dfd)

lri $AR1,    #0x1194
lri $IX1,    #0xd904
lri $WR1,    #0x10e0
cw 0x9
call send_back  ; 3582 (0x0dfe)

lri $AR1,    #0xf6a6
lri $IX1,    #0x75a8
lri $WR1,    #0x5e90
cw 0x9
call send_back  ; 3583 (0x0dff)

lri $AR1,    #0x0d68
lri $IX1,    #0x720a
lri $WR1,    #0x6708
cw 0x9
call send_back  ; 3584 (0x0e00)

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

