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

lri $AR1,    #0xb42a
lri $IX1,    #0x302e
lri $WR1,    #0xdf76
cw 0x9
call send_back  ; 2561 (0x0a01)

lri $AR1,    #0xdc0c
lri $IX1,    #0xe9e4
lri $WR1,    #0xcce4
cw 0x9
call send_back  ; 2562 (0x0a02)

lri $AR1,    #0x3832
lri $IX1,    #0x8bb4
lri $WR1,    #0xd9c8
cw 0x9
call send_back  ; 2563 (0x0a03)

lri $AR1,    #0x7b20
lri $IX1,    #0x4444
lri $WR1,    #0x71ba
cw 0x9
call send_back  ; 2564 (0x0a04)

lri $AR1,    #0x1d88
lri $IX1,    #0x90f4
lri $WR1,    #0x180c
cw 0x9
call send_back  ; 2565 (0x0a05)

lri $AR1,    #0x8d1a
lri $IX1,    #0x83c8
lri $WR1,    #0xbf92
cw 0x9
call send_back  ; 2566 (0x0a06)

lri $AR1,    #0xc892
lri $IX1,    #0xa4d4
lri $WR1,    #0x252a
cw 0x9
call send_back  ; 2567 (0x0a07)

lri $AR1,    #0xf434
lri $IX1,    #0x68d6
lri $WR1,    #0x7012
cw 0x9
call send_back  ; 2568 (0x0a08)

lri $AR1,    #0x8bda
lri $IX1,    #0x017a
lri $WR1,    #0xad90
cw 0x9
call send_back  ; 2569 (0x0a09)

lri $AR1,    #0xcac8
lri $IX1,    #0xb58e
lri $WR1,    #0xb95a
cw 0x9
call send_back  ; 2570 (0x0a0a)

lri $AR1,    #0x3f7a
lri $IX1,    #0xdee8
lri $WR1,    #0x3814
cw 0x9
call send_back  ; 2571 (0x0a0b)

lri $AR1,    #0x9f8a
lri $IX1,    #0x4418
lri $WR1,    #0xaa04
cw 0x9
call send_back  ; 2572 (0x0a0c)

lri $AR1,    #0x505e
lri $IX1,    #0xdc60
lri $WR1,    #0x2504
cw 0x9
call send_back  ; 2573 (0x0a0d)

lri $AR1,    #0xc774
lri $IX1,    #0x23fa
lri $WR1,    #0x9844
cw 0x9
call send_back  ; 2574 (0x0a0e)

lri $AR1,    #0x1dae
lri $IX1,    #0xe702
lri $WR1,    #0xfd2e
cw 0x9
call send_back  ; 2575 (0x0a0f)

lri $AR1,    #0x678a
lri $IX1,    #0x97aa
lri $WR1,    #0xd810
cw 0x9
call send_back  ; 2576 (0x0a10)

lri $AR1,    #0xc972
lri $IX1,    #0xeeee
lri $WR1,    #0xdd78
cw 0x9
call send_back  ; 2577 (0x0a11)

lri $AR1,    #0x9142
lri $IX1,    #0xa27e
lri $WR1,    #0x6864
cw 0x9
call send_back  ; 2578 (0x0a12)

lri $AR1,    #0x2bcc
lri $IX1,    #0x1ca4
lri $WR1,    #0xa9ce
cw 0x9
call send_back  ; 2579 (0x0a13)

lri $AR1,    #0x3096
lri $IX1,    #0xa94e
lri $WR1,    #0xd050
cw 0x9
call send_back  ; 2580 (0x0a14)

lri $AR1,    #0xfeae
lri $IX1,    #0x04c0
lri $WR1,    #0x4cee
cw 0x9
call send_back  ; 2581 (0x0a15)

lri $AR1,    #0xbb9c
lri $IX1,    #0x16c4
lri $WR1,    #0x1918
cw 0x9
call send_back  ; 2582 (0x0a16)

lri $AR1,    #0x3aa6
lri $IX1,    #0xb0bc
lri $WR1,    #0x410e
cw 0x9
call send_back  ; 2583 (0x0a17)

lri $AR1,    #0xafb8
lri $IX1,    #0x9ec0
lri $WR1,    #0xd2ee
cw 0x9
call send_back  ; 2584 (0x0a18)

lri $AR1,    #0x9b74
lri $IX1,    #0x580e
lri $WR1,    #0x8fa4
cw 0x9
call send_back  ; 2585 (0x0a19)

lri $AR1,    #0x1120
lri $IX1,    #0x42d0
lri $WR1,    #0x7eb2
cw 0x9
call send_back  ; 2586 (0x0a1a)

lri $AR1,    #0xfe18
lri $IX1,    #0x7518
lri $WR1,    #0x056a
cw 0x9
call send_back  ; 2587 (0x0a1b)

lri $AR1,    #0x75e2
lri $IX1,    #0x3c10
lri $WR1,    #0xaf1c
cw 0x9
call send_back  ; 2588 (0x0a1c)

lri $AR1,    #0x6010
lri $IX1,    #0x9e58
lri $WR1,    #0x21f4
cw 0x9
call send_back  ; 2589 (0x0a1d)

lri $AR1,    #0xc61c
lri $IX1,    #0x0d92
lri $WR1,    #0xd8c2
cw 0x9
call send_back  ; 2590 (0x0a1e)

lri $AR1,    #0x5a60
lri $IX1,    #0x545a
lri $WR1,    #0xf0d2
cw 0x9
call send_back  ; 2591 (0x0a1f)

lri $AR1,    #0xe79e
lri $IX1,    #0xdc7a
lri $WR1,    #0x388a
cw 0x9
call send_back  ; 2592 (0x0a20)

lri $AR1,    #0xa146
lri $IX1,    #0xe9a6
lri $WR1,    #0x1cac
cw 0x9
call send_back  ; 2593 (0x0a21)

lri $AR1,    #0x238a
lri $IX1,    #0x6204
lri $WR1,    #0x94be
cw 0x9
call send_back  ; 2594 (0x0a22)

lri $AR1,    #0xfbf8
lri $IX1,    #0xea78
lri $WR1,    #0xcb48
cw 0x9
call send_back  ; 2595 (0x0a23)

lri $AR1,    #0x594e
lri $IX1,    #0xfdb8
lri $WR1,    #0x0566
cw 0x9
call send_back  ; 2596 (0x0a24)

lri $AR1,    #0xee7a
lri $IX1,    #0x163a
lri $WR1,    #0xcbe6
cw 0x9
call send_back  ; 2597 (0x0a25)

lri $AR1,    #0x2280
lri $IX1,    #0x3cbc
lri $WR1,    #0x8540
cw 0x9
call send_back  ; 2598 (0x0a26)

lri $AR1,    #0x91ea
lri $IX1,    #0x35b0
lri $WR1,    #0xf7f0
cw 0x9
call send_back  ; 2599 (0x0a27)

lri $AR1,    #0x07e0
lri $IX1,    #0x35e0
lri $WR1,    #0xecca
cw 0x9
call send_back  ; 2600 (0x0a28)

lri $AR1,    #0x7638
lri $IX1,    #0xfccc
lri $WR1,    #0xf858
cw 0x9
call send_back  ; 2601 (0x0a29)

lri $AR1,    #0xf030
lri $IX1,    #0x0008
lri $WR1,    #0x45c4
cw 0x9
call send_back  ; 2602 (0x0a2a)

lri $AR1,    #0x82ae
lri $IX1,    #0xd802
lri $WR1,    #0x90ae
cw 0x9
call send_back  ; 2603 (0x0a2b)

lri $AR1,    #0x2608
lri $IX1,    #0xebbc
lri $WR1,    #0x3dba
cw 0x9
call send_back  ; 2604 (0x0a2c)

lri $AR1,    #0x4152
lri $IX1,    #0x213e
lri $WR1,    #0xbb3c
cw 0x9
call send_back  ; 2605 (0x0a2d)

lri $AR1,    #0xd25e
lri $IX1,    #0xa682
lri $WR1,    #0x02d4
cw 0x9
call send_back  ; 2606 (0x0a2e)

lri $AR1,    #0x7378
lri $IX1,    #0xe124
lri $WR1,    #0xe840
cw 0x9
call send_back  ; 2607 (0x0a2f)

lri $AR1,    #0xb5f2
lri $IX1,    #0xa9a2
lri $WR1,    #0x269a
cw 0x9
call send_back  ; 2608 (0x0a30)

lri $AR1,    #0xdc7e
lri $IX1,    #0x15d8
lri $WR1,    #0x3496
cw 0x9
call send_back  ; 2609 (0x0a31)

lri $AR1,    #0x6450
lri $IX1,    #0xec2e
lri $WR1,    #0x5ece
cw 0x9
call send_back  ; 2610 (0x0a32)

lri $AR1,    #0x7a20
lri $IX1,    #0x98fc
lri $WR1,    #0x0acc
cw 0x9
call send_back  ; 2611 (0x0a33)

lri $AR1,    #0x6784
lri $IX1,    #0x62c8
lri $WR1,    #0x4528
cw 0x9
call send_back  ; 2612 (0x0a34)

lri $AR1,    #0x8862
lri $IX1,    #0x4b02
lri $WR1,    #0xfc18
cw 0x9
call send_back  ; 2613 (0x0a35)

lri $AR1,    #0xa452
lri $IX1,    #0x060a
lri $WR1,    #0xab0c
cw 0x9
call send_back  ; 2614 (0x0a36)

lri $AR1,    #0x5166
lri $IX1,    #0x429c
lri $WR1,    #0x5506
cw 0x9
call send_back  ; 2615 (0x0a37)

lri $AR1,    #0x330a
lri $IX1,    #0x831c
lri $WR1,    #0xd6f0
cw 0x9
call send_back  ; 2616 (0x0a38)

lri $AR1,    #0x8838
lri $IX1,    #0x8372
lri $WR1,    #0xa478
cw 0x9
call send_back  ; 2617 (0x0a39)

lri $AR1,    #0xc9a8
lri $IX1,    #0x0030
lri $WR1,    #0x2daa
cw 0x9
call send_back  ; 2618 (0x0a3a)

lri $AR1,    #0x67e0
lri $IX1,    #0x4fb4
lri $WR1,    #0xb9ba
cw 0x9
call send_back  ; 2619 (0x0a3b)

lri $AR1,    #0xe87c
lri $IX1,    #0x21a2
lri $WR1,    #0x824a
cw 0x9
call send_back  ; 2620 (0x0a3c)

lri $AR1,    #0xa6dc
lri $IX1,    #0xa4ee
lri $WR1,    #0x2942
cw 0x9
call send_back  ; 2621 (0x0a3d)

lri $AR1,    #0x5b04
lri $IX1,    #0x5a64
lri $WR1,    #0xabb8
cw 0x9
call send_back  ; 2622 (0x0a3e)

lri $AR1,    #0x213a
lri $IX1,    #0xfc8e
lri $WR1,    #0xcdee
cw 0x9
call send_back  ; 2623 (0x0a3f)

lri $AR1,    #0x6b28
lri $IX1,    #0x2d4a
lri $WR1,    #0x2fcc
cw 0x9
call send_back  ; 2624 (0x0a40)

lri $AR1,    #0x8a6c
lri $IX1,    #0x1d82
lri $WR1,    #0x9f3a
cw 0x9
call send_back  ; 2625 (0x0a41)

lri $AR1,    #0x7d82
lri $IX1,    #0xfb30
lri $WR1,    #0xeff2
cw 0x9
call send_back  ; 2626 (0x0a42)

lri $AR1,    #0x2226
lri $IX1,    #0xcc80
lri $WR1,    #0x3374
cw 0x9
call send_back  ; 2627 (0x0a43)

lri $AR1,    #0xd1f4
lri $IX1,    #0xec44
lri $WR1,    #0xec42
cw 0x9
call send_back  ; 2628 (0x0a44)

lri $AR1,    #0xee5a
lri $IX1,    #0x9532
lri $WR1,    #0xff2c
cw 0x9
call send_back  ; 2629 (0x0a45)

lri $AR1,    #0xf420
lri $IX1,    #0x1184
lri $WR1,    #0x85f8
cw 0x9
call send_back  ; 2630 (0x0a46)

lri $AR1,    #0xfea0
lri $IX1,    #0xdef0
lri $WR1,    #0x7a08
cw 0x9
call send_back  ; 2631 (0x0a47)

lri $AR1,    #0x2412
lri $IX1,    #0xa5da
lri $WR1,    #0x4b30
cw 0x9
call send_back  ; 2632 (0x0a48)

lri $AR1,    #0x5c0a
lri $IX1,    #0x243c
lri $WR1,    #0x6344
cw 0x9
call send_back  ; 2633 (0x0a49)

lri $AR1,    #0xc7b2
lri $IX1,    #0xfcbc
lri $WR1,    #0x6206
cw 0x9
call send_back  ; 2634 (0x0a4a)

lri $AR1,    #0x22d4
lri $IX1,    #0x94be
lri $WR1,    #0x0ee2
cw 0x9
call send_back  ; 2635 (0x0a4b)

lri $AR1,    #0xea3a
lri $IX1,    #0xcec8
lri $WR1,    #0x41bc
cw 0x9
call send_back  ; 2636 (0x0a4c)

lri $AR1,    #0x79e2
lri $IX1,    #0xc5c8
lri $WR1,    #0x8eec
cw 0x9
call send_back  ; 2637 (0x0a4d)

lri $AR1,    #0x0f5e
lri $IX1,    #0xd34a
lri $WR1,    #0xad2e
cw 0x9
call send_back  ; 2638 (0x0a4e)

lri $AR1,    #0x4e6e
lri $IX1,    #0x7e46
lri $WR1,    #0x52d0
cw 0x9
call send_back  ; 2639 (0x0a4f)

lri $AR1,    #0x4c5c
lri $IX1,    #0x9018
lri $WR1,    #0xf22e
cw 0x9
call send_back  ; 2640 (0x0a50)

lri $AR1,    #0x88ea
lri $IX1,    #0x3f20
lri $WR1,    #0x1922
cw 0x9
call send_back  ; 2641 (0x0a51)

lri $AR1,    #0xd190
lri $IX1,    #0x9fc2
lri $WR1,    #0x6e0c
cw 0x9
call send_back  ; 2642 (0x0a52)

lri $AR1,    #0x7a74
lri $IX1,    #0x09d2
lri $WR1,    #0x6ed2
cw 0x9
call send_back  ; 2643 (0x0a53)

lri $AR1,    #0xf3de
lri $IX1,    #0x0074
lri $WR1,    #0x5fe6
cw 0x9
call send_back  ; 2644 (0x0a54)

lri $AR1,    #0x28dc
lri $IX1,    #0x336c
lri $WR1,    #0x1146
cw 0x9
call send_back  ; 2645 (0x0a55)

lri $AR1,    #0x757a
lri $IX1,    #0xec7c
lri $WR1,    #0x4604
cw 0x9
call send_back  ; 2646 (0x0a56)

lri $AR1,    #0x819e
lri $IX1,    #0xea98
lri $WR1,    #0xff2a
cw 0x9
call send_back  ; 2647 (0x0a57)

lri $AR1,    #0x6a58
lri $IX1,    #0xe800
lri $WR1,    #0x83d8
cw 0x9
call send_back  ; 2648 (0x0a58)

lri $AR1,    #0xfac8
lri $IX1,    #0x9bec
lri $WR1,    #0x7686
cw 0x9
call send_back  ; 2649 (0x0a59)

lri $AR1,    #0xbcfe
lri $IX1,    #0xb5a0
lri $WR1,    #0xfaf4
cw 0x9
call send_back  ; 2650 (0x0a5a)

lri $AR1,    #0x6334
lri $IX1,    #0xb02c
lri $WR1,    #0x2cfc
cw 0x9
call send_back  ; 2651 (0x0a5b)

lri $AR1,    #0x2cc0
lri $IX1,    #0x66b2
lri $WR1,    #0xb97c
cw 0x9
call send_back  ; 2652 (0x0a5c)

lri $AR1,    #0x3a1c
lri $IX1,    #0x5ca8
lri $WR1,    #0x59a2
cw 0x9
call send_back  ; 2653 (0x0a5d)

lri $AR1,    #0xbf3a
lri $IX1,    #0x59ca
lri $WR1,    #0x056e
cw 0x9
call send_back  ; 2654 (0x0a5e)

lri $AR1,    #0x7858
lri $IX1,    #0x867a
lri $WR1,    #0x4e60
cw 0x9
call send_back  ; 2655 (0x0a5f)

lri $AR1,    #0x2b2a
lri $IX1,    #0x5530
lri $WR1,    #0xfc4e
cw 0x9
call send_back  ; 2656 (0x0a60)

lri $AR1,    #0xe44a
lri $IX1,    #0x2db0
lri $WR1,    #0x0150
cw 0x9
call send_back  ; 2657 (0x0a61)

lri $AR1,    #0xdb68
lri $IX1,    #0xa118
lri $WR1,    #0xdb76
cw 0x9
call send_back  ; 2658 (0x0a62)

lri $AR1,    #0x73ec
lri $IX1,    #0x9640
lri $WR1,    #0xa4fe
cw 0x9
call send_back  ; 2659 (0x0a63)

lri $AR1,    #0xed02
lri $IX1,    #0xb81c
lri $WR1,    #0xedc0
cw 0x9
call send_back  ; 2660 (0x0a64)

lri $AR1,    #0x86dc
lri $IX1,    #0x90cc
lri $WR1,    #0xe90e
cw 0x9
call send_back  ; 2661 (0x0a65)

lri $AR1,    #0x1c6a
lri $IX1,    #0x72cc
lri $WR1,    #0x2fac
cw 0x9
call send_back  ; 2662 (0x0a66)

lri $AR1,    #0x84e6
lri $IX1,    #0xfe04
lri $WR1,    #0x5324
cw 0x9
call send_back  ; 2663 (0x0a67)

lri $AR1,    #0x11ba
lri $IX1,    #0x1df4
lri $WR1,    #0x1bb6
cw 0x9
call send_back  ; 2664 (0x0a68)

lri $AR1,    #0x4c04
lri $IX1,    #0x0bbe
lri $WR1,    #0xf282
cw 0x9
call send_back  ; 2665 (0x0a69)

lri $AR1,    #0x04bc
lri $IX1,    #0x5156
lri $WR1,    #0xdd12
cw 0x9
call send_back  ; 2666 (0x0a6a)

lri $AR1,    #0x7322
lri $IX1,    #0xdb8c
lri $WR1,    #0x1f5e
cw 0x9
call send_back  ; 2667 (0x0a6b)

lri $AR1,    #0x660e
lri $IX1,    #0x3f6a
lri $WR1,    #0x7f7a
cw 0x9
call send_back  ; 2668 (0x0a6c)

lri $AR1,    #0x5dbe
lri $IX1,    #0x5eee
lri $WR1,    #0xa146
cw 0x9
call send_back  ; 2669 (0x0a6d)

lri $AR1,    #0x3ae4
lri $IX1,    #0x34fc
lri $WR1,    #0xb73c
cw 0x9
call send_back  ; 2670 (0x0a6e)

lri $AR1,    #0x0ebe
lri $IX1,    #0x5dd8
lri $WR1,    #0x1e90
cw 0x9
call send_back  ; 2671 (0x0a6f)

lri $AR1,    #0x45b4
lri $IX1,    #0xba3a
lri $WR1,    #0xad3c
cw 0x9
call send_back  ; 2672 (0x0a70)

lri $AR1,    #0x3766
lri $IX1,    #0xf0b0
lri $WR1,    #0xb94c
cw 0x9
call send_back  ; 2673 (0x0a71)

lri $AR1,    #0x0e76
lri $IX1,    #0xdcea
lri $WR1,    #0xf70e
cw 0x9
call send_back  ; 2674 (0x0a72)

lri $AR1,    #0xc9f8
lri $IX1,    #0x5796
lri $WR1,    #0xdc8c
cw 0x9
call send_back  ; 2675 (0x0a73)

lri $AR1,    #0x819a
lri $IX1,    #0x3e82
lri $WR1,    #0xabfe
cw 0x9
call send_back  ; 2676 (0x0a74)

lri $AR1,    #0xfdce
lri $IX1,    #0x24f0
lri $WR1,    #0x17aa
cw 0x9
call send_back  ; 2677 (0x0a75)

lri $AR1,    #0x4d82
lri $IX1,    #0x2ec6
lri $WR1,    #0x7bee
cw 0x9
call send_back  ; 2678 (0x0a76)

lri $AR1,    #0xd57e
lri $IX1,    #0x4a20
lri $WR1,    #0x1b2a
cw 0x9
call send_back  ; 2679 (0x0a77)

lri $AR1,    #0x8294
lri $IX1,    #0x069c
lri $WR1,    #0xee16
cw 0x9
call send_back  ; 2680 (0x0a78)

lri $AR1,    #0x75d4
lri $IX1,    #0xd96e
lri $WR1,    #0x1dfe
cw 0x9
call send_back  ; 2681 (0x0a79)

lri $AR1,    #0x6296
lri $IX1,    #0xbcd2
lri $WR1,    #0x997e
cw 0x9
call send_back  ; 2682 (0x0a7a)

lri $AR1,    #0x9744
lri $IX1,    #0x60ec
lri $WR1,    #0xbfe0
cw 0x9
call send_back  ; 2683 (0x0a7b)

lri $AR1,    #0xe0a0
lri $IX1,    #0xf172
lri $WR1,    #0x6222
cw 0x9
call send_back  ; 2684 (0x0a7c)

lri $AR1,    #0xb180
lri $IX1,    #0xbe78
lri $WR1,    #0x8842
cw 0x9
call send_back  ; 2685 (0x0a7d)

lri $AR1,    #0x332c
lri $IX1,    #0x0a76
lri $WR1,    #0xa9d4
cw 0x9
call send_back  ; 2686 (0x0a7e)

lri $AR1,    #0xd3e8
lri $IX1,    #0x558e
lri $WR1,    #0x07da
cw 0x9
call send_back  ; 2687 (0x0a7f)

lri $AR1,    #0x2698
lri $IX1,    #0x175a
lri $WR1,    #0x1482
cw 0x9
call send_back  ; 2688 (0x0a80)

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

