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

lri $AR1,    #0x4000
lri $IX1,    #0x0a00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2561 (0x0a01)

lri $AR1,    #0x4000
lri $IX1,    #0x0a01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2562 (0x0a02)

lri $AR1,    #0x4000
lri $IX1,    #0x0a02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2563 (0x0a03)

lri $AR1,    #0x4000
lri $IX1,    #0x0a03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2564 (0x0a04)

lri $AR1,    #0x4000
lri $IX1,    #0x0a04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2565 (0x0a05)

lri $AR1,    #0x4000
lri $IX1,    #0x0a05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2566 (0x0a06)

lri $AR1,    #0x4000
lri $IX1,    #0x0a06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2567 (0x0a07)

lri $AR1,    #0x4000
lri $IX1,    #0x0a07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2568 (0x0a08)

lri $AR1,    #0x4000
lri $IX1,    #0x0a08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2569 (0x0a09)

lri $AR1,    #0x4000
lri $IX1,    #0x0a09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2570 (0x0a0a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2571 (0x0a0b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2572 (0x0a0c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2573 (0x0a0d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2574 (0x0a0e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2575 (0x0a0f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2576 (0x0a10)

lri $AR1,    #0x4000
lri $IX1,    #0x0a10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2577 (0x0a11)

lri $AR1,    #0x4000
lri $IX1,    #0x0a11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2578 (0x0a12)

lri $AR1,    #0x4000
lri $IX1,    #0x0a12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2579 (0x0a13)

lri $AR1,    #0x4000
lri $IX1,    #0x0a13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2580 (0x0a14)

lri $AR1,    #0x4000
lri $IX1,    #0x0a14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2581 (0x0a15)

lri $AR1,    #0x4000
lri $IX1,    #0x0a15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2582 (0x0a16)

lri $AR1,    #0x4000
lri $IX1,    #0x0a16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2583 (0x0a17)

lri $AR1,    #0x4000
lri $IX1,    #0x0a17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2584 (0x0a18)

lri $AR1,    #0x4000
lri $IX1,    #0x0a18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2585 (0x0a19)

lri $AR1,    #0x4000
lri $IX1,    #0x0a19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2586 (0x0a1a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2587 (0x0a1b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2588 (0x0a1c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2589 (0x0a1d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2590 (0x0a1e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2591 (0x0a1f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2592 (0x0a20)

lri $AR1,    #0x4000
lri $IX1,    #0x0a20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2593 (0x0a21)

lri $AR1,    #0x4000
lri $IX1,    #0x0a21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2594 (0x0a22)

lri $AR1,    #0x4000
lri $IX1,    #0x0a22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2595 (0x0a23)

lri $AR1,    #0x4000
lri $IX1,    #0x0a23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2596 (0x0a24)

lri $AR1,    #0x4000
lri $IX1,    #0x0a24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2597 (0x0a25)

lri $AR1,    #0x4000
lri $IX1,    #0x0a25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2598 (0x0a26)

lri $AR1,    #0x4000
lri $IX1,    #0x0a26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2599 (0x0a27)

lri $AR1,    #0x4000
lri $IX1,    #0x0a27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2600 (0x0a28)

lri $AR1,    #0x4000
lri $IX1,    #0x0a28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2601 (0x0a29)

lri $AR1,    #0x4000
lri $IX1,    #0x0a29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2602 (0x0a2a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2603 (0x0a2b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2604 (0x0a2c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2605 (0x0a2d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2606 (0x0a2e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2607 (0x0a2f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2608 (0x0a30)

lri $AR1,    #0x4000
lri $IX1,    #0x0a30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2609 (0x0a31)

lri $AR1,    #0x4000
lri $IX1,    #0x0a31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2610 (0x0a32)

lri $AR1,    #0x4000
lri $IX1,    #0x0a32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2611 (0x0a33)

lri $AR1,    #0x4000
lri $IX1,    #0x0a33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2612 (0x0a34)

lri $AR1,    #0x4000
lri $IX1,    #0x0a34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2613 (0x0a35)

lri $AR1,    #0x4000
lri $IX1,    #0x0a35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2614 (0x0a36)

lri $AR1,    #0x4000
lri $IX1,    #0x0a36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2615 (0x0a37)

lri $AR1,    #0x4000
lri $IX1,    #0x0a37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2616 (0x0a38)

lri $AR1,    #0x4000
lri $IX1,    #0x0a38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2617 (0x0a39)

lri $AR1,    #0x4000
lri $IX1,    #0x0a39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2618 (0x0a3a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2619 (0x0a3b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2620 (0x0a3c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2621 (0x0a3d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2622 (0x0a3e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2623 (0x0a3f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2624 (0x0a40)

lri $AR1,    #0x4000
lri $IX1,    #0x0a40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2625 (0x0a41)

lri $AR1,    #0x4000
lri $IX1,    #0x0a41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2626 (0x0a42)

lri $AR1,    #0x4000
lri $IX1,    #0x0a42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2627 (0x0a43)

lri $AR1,    #0x4000
lri $IX1,    #0x0a43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2628 (0x0a44)

lri $AR1,    #0x4000
lri $IX1,    #0x0a44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2629 (0x0a45)

lri $AR1,    #0x4000
lri $IX1,    #0x0a45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2630 (0x0a46)

lri $AR1,    #0x4000
lri $IX1,    #0x0a46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2631 (0x0a47)

lri $AR1,    #0x4000
lri $IX1,    #0x0a47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2632 (0x0a48)

lri $AR1,    #0x4000
lri $IX1,    #0x0a48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2633 (0x0a49)

lri $AR1,    #0x4000
lri $IX1,    #0x0a49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2634 (0x0a4a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2635 (0x0a4b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2636 (0x0a4c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2637 (0x0a4d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2638 (0x0a4e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2639 (0x0a4f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2640 (0x0a50)

lri $AR1,    #0x4000
lri $IX1,    #0x0a50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2641 (0x0a51)

lri $AR1,    #0x4000
lri $IX1,    #0x0a51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2642 (0x0a52)

lri $AR1,    #0x4000
lri $IX1,    #0x0a52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2643 (0x0a53)

lri $AR1,    #0x4000
lri $IX1,    #0x0a53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2644 (0x0a54)

lri $AR1,    #0x4000
lri $IX1,    #0x0a54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2645 (0x0a55)

lri $AR1,    #0x4000
lri $IX1,    #0x0a55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2646 (0x0a56)

lri $AR1,    #0x4000
lri $IX1,    #0x0a56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2647 (0x0a57)

lri $AR1,    #0x4000
lri $IX1,    #0x0a57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2648 (0x0a58)

lri $AR1,    #0x4000
lri $IX1,    #0x0a58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2649 (0x0a59)

lri $AR1,    #0x4000
lri $IX1,    #0x0a59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2650 (0x0a5a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2651 (0x0a5b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2652 (0x0a5c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2653 (0x0a5d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2654 (0x0a5e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2655 (0x0a5f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2656 (0x0a60)

lri $AR1,    #0x4000
lri $IX1,    #0x0a60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2657 (0x0a61)

lri $AR1,    #0x4000
lri $IX1,    #0x0a61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2658 (0x0a62)

lri $AR1,    #0x4000
lri $IX1,    #0x0a62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2659 (0x0a63)

lri $AR1,    #0x4000
lri $IX1,    #0x0a63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2660 (0x0a64)

lri $AR1,    #0x4000
lri $IX1,    #0x0a64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2661 (0x0a65)

lri $AR1,    #0x4000
lri $IX1,    #0x0a65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2662 (0x0a66)

lri $AR1,    #0x4000
lri $IX1,    #0x0a66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2663 (0x0a67)

lri $AR1,    #0x4000
lri $IX1,    #0x0a67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2664 (0x0a68)

lri $AR1,    #0x4000
lri $IX1,    #0x0a68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2665 (0x0a69)

lri $AR1,    #0x4000
lri $IX1,    #0x0a69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2666 (0x0a6a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2667 (0x0a6b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2668 (0x0a6c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2669 (0x0a6d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2670 (0x0a6e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2671 (0x0a6f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2672 (0x0a70)

lri $AR1,    #0x4000
lri $IX1,    #0x0a70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2673 (0x0a71)

lri $AR1,    #0x4000
lri $IX1,    #0x0a71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2674 (0x0a72)

lri $AR1,    #0x4000
lri $IX1,    #0x0a72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2675 (0x0a73)

lri $AR1,    #0x4000
lri $IX1,    #0x0a73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2676 (0x0a74)

lri $AR1,    #0x4000
lri $IX1,    #0x0a74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2677 (0x0a75)

lri $AR1,    #0x4000
lri $IX1,    #0x0a75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2678 (0x0a76)

lri $AR1,    #0x4000
lri $IX1,    #0x0a76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2679 (0x0a77)

lri $AR1,    #0x4000
lri $IX1,    #0x0a77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2680 (0x0a78)

lri $AR1,    #0x4000
lri $IX1,    #0x0a78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2681 (0x0a79)

lri $AR1,    #0x4000
lri $IX1,    #0x0a79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2682 (0x0a7a)

lri $AR1,    #0x4000
lri $IX1,    #0x0a7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2683 (0x0a7b)

lri $AR1,    #0x4000
lri $IX1,    #0x0a7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2684 (0x0a7c)

lri $AR1,    #0x4000
lri $IX1,    #0x0a7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2685 (0x0a7d)

lri $AR1,    #0x4000
lri $IX1,    #0x0a7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2686 (0x0a7e)

lri $AR1,    #0x4000
lri $IX1,    #0x0a7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2687 (0x0a7f)

lri $AR1,    #0x4000
lri $IX1,    #0x0a7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 2688 (0x0a80)

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

