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

lri $AR1,    #0x0040
lri $IX1,    #0x9ae1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39650 (0x9ae2)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39651 (0x9ae3)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39652 (0x9ae4)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39653 (0x9ae5)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39654 (0x9ae6)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39655 (0x9ae7)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39656 (0x9ae8)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39657 (0x9ae9)

lri $AR1,    #0x0040
lri $IX1,    #0x9ae9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39658 (0x9aea)

lri $AR1,    #0x0040
lri $IX1,    #0x9aea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39659 (0x9aeb)

lri $AR1,    #0x0040
lri $IX1,    #0x9aeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39660 (0x9aec)

lri $AR1,    #0x0040
lri $IX1,    #0x9aec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39661 (0x9aed)

lri $AR1,    #0x0040
lri $IX1,    #0x9aed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39662 (0x9aee)

lri $AR1,    #0x0040
lri $IX1,    #0x9aee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39663 (0x9aef)

lri $AR1,    #0x0040
lri $IX1,    #0x9aef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39664 (0x9af0)

lri $AR1,    #0x0040
lri $IX1,    #0x9af0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39665 (0x9af1)

lri $AR1,    #0x0040
lri $IX1,    #0x9af1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39666 (0x9af2)

lri $AR1,    #0x0040
lri $IX1,    #0x9af2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39667 (0x9af3)

lri $AR1,    #0x0040
lri $IX1,    #0x9af3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39668 (0x9af4)

lri $AR1,    #0x0040
lri $IX1,    #0x9af4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39669 (0x9af5)

lri $AR1,    #0x0040
lri $IX1,    #0x9af5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39670 (0x9af6)

lri $AR1,    #0x0040
lri $IX1,    #0x9af6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39671 (0x9af7)

lri $AR1,    #0x0040
lri $IX1,    #0x9af7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39672 (0x9af8)

lri $AR1,    #0x0040
lri $IX1,    #0x9af8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39673 (0x9af9)

lri $AR1,    #0x0040
lri $IX1,    #0x9af9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39674 (0x9afa)

lri $AR1,    #0x0040
lri $IX1,    #0x9afa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39675 (0x9afb)

lri $AR1,    #0x0040
lri $IX1,    #0x9afb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39676 (0x9afc)

lri $AR1,    #0x0040
lri $IX1,    #0x9afc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39677 (0x9afd)

lri $AR1,    #0x0040
lri $IX1,    #0x9afd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39678 (0x9afe)

lri $AR1,    #0x0040
lri $IX1,    #0x9afe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39679 (0x9aff)

lri $AR1,    #0x0040
lri $IX1,    #0x9aff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39680 (0x9b00)

lri $AR1,    #0x0040
lri $IX1,    #0x9b00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39681 (0x9b01)

lri $AR1,    #0x0040
lri $IX1,    #0x9b01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39682 (0x9b02)

lri $AR1,    #0x0040
lri $IX1,    #0x9b02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39683 (0x9b03)

lri $AR1,    #0x0040
lri $IX1,    #0x9b03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39684 (0x9b04)

lri $AR1,    #0x0040
lri $IX1,    #0x9b04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39685 (0x9b05)

lri $AR1,    #0x0040
lri $IX1,    #0x9b05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39686 (0x9b06)

lri $AR1,    #0x0040
lri $IX1,    #0x9b06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39687 (0x9b07)

lri $AR1,    #0x0040
lri $IX1,    #0x9b07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39688 (0x9b08)

lri $AR1,    #0x0040
lri $IX1,    #0x9b08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39689 (0x9b09)

lri $AR1,    #0x0040
lri $IX1,    #0x9b09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39690 (0x9b0a)

lri $AR1,    #0x0040
lri $IX1,    #0x9b0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39691 (0x9b0b)

lri $AR1,    #0x0040
lri $IX1,    #0x9b0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39692 (0x9b0c)

lri $AR1,    #0x0040
lri $IX1,    #0x9b0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39693 (0x9b0d)

lri $AR1,    #0x0040
lri $IX1,    #0x9b0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39694 (0x9b0e)

lri $AR1,    #0x0040
lri $IX1,    #0x9b0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39695 (0x9b0f)

lri $AR1,    #0x0040
lri $IX1,    #0x9b0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39696 (0x9b10)

lri $AR1,    #0x0040
lri $IX1,    #0x9b10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39697 (0x9b11)

lri $AR1,    #0x0040
lri $IX1,    #0x9b11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39698 (0x9b12)

lri $AR1,    #0x0040
lri $IX1,    #0x9b12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39699 (0x9b13)

lri $AR1,    #0x0040
lri $IX1,    #0x9b13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39700 (0x9b14)

lri $AR1,    #0x0040
lri $IX1,    #0x9b14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39701 (0x9b15)

lri $AR1,    #0x0040
lri $IX1,    #0x9b15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39702 (0x9b16)

lri $AR1,    #0x0040
lri $IX1,    #0x9b16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39703 (0x9b17)

lri $AR1,    #0x0040
lri $IX1,    #0x9b17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39704 (0x9b18)

lri $AR1,    #0x0040
lri $IX1,    #0x9b18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39705 (0x9b19)

lri $AR1,    #0x0040
lri $IX1,    #0x9b19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39706 (0x9b1a)

lri $AR1,    #0x0040
lri $IX1,    #0x9b1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39707 (0x9b1b)

lri $AR1,    #0x0040
lri $IX1,    #0x9b1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39708 (0x9b1c)

lri $AR1,    #0x0040
lri $IX1,    #0x9b1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39709 (0x9b1d)

lri $AR1,    #0x0040
lri $IX1,    #0x9b1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39710 (0x9b1e)

lri $AR1,    #0x0040
lri $IX1,    #0x9b1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39711 (0x9b1f)

lri $AR1,    #0x0040
lri $IX1,    #0x9b1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39712 (0x9b20)

lri $AR1,    #0x0040
lri $IX1,    #0x9b20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39713 (0x9b21)

lri $AR1,    #0x0040
lri $IX1,    #0x9b21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39714 (0x9b22)

lri $AR1,    #0x0040
lri $IX1,    #0x9b22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39715 (0x9b23)

lri $AR1,    #0x0040
lri $IX1,    #0x9b23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39716 (0x9b24)

lri $AR1,    #0x0040
lri $IX1,    #0x9b24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39717 (0x9b25)

lri $AR1,    #0x0040
lri $IX1,    #0x9b25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39718 (0x9b26)

lri $AR1,    #0x0040
lri $IX1,    #0x9b26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39719 (0x9b27)

lri $AR1,    #0x0040
lri $IX1,    #0x9b27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39720 (0x9b28)

lri $AR1,    #0x0040
lri $IX1,    #0x9b28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39721 (0x9b29)

lri $AR1,    #0x0040
lri $IX1,    #0x9b29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39722 (0x9b2a)

lri $AR1,    #0x0040
lri $IX1,    #0x9b2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39723 (0x9b2b)

lri $AR1,    #0x0040
lri $IX1,    #0x9b2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39724 (0x9b2c)

lri $AR1,    #0x0040
lri $IX1,    #0x9b2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39725 (0x9b2d)

lri $AR1,    #0x0040
lri $IX1,    #0x9b2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39726 (0x9b2e)

lri $AR1,    #0x0040
lri $IX1,    #0x9b2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39727 (0x9b2f)

lri $AR1,    #0x0040
lri $IX1,    #0x9b2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39728 (0x9b30)

lri $AR1,    #0x0040
lri $IX1,    #0x9b30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39729 (0x9b31)

lri $AR1,    #0x0040
lri $IX1,    #0x9b31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39730 (0x9b32)

lri $AR1,    #0x0040
lri $IX1,    #0x9b32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39731 (0x9b33)

lri $AR1,    #0x0040
lri $IX1,    #0x9b33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39732 (0x9b34)

lri $AR1,    #0x0040
lri $IX1,    #0x9b34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39733 (0x9b35)

lri $AR1,    #0x0040
lri $IX1,    #0x9b35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39734 (0x9b36)

lri $AR1,    #0x0040
lri $IX1,    #0x9b36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39735 (0x9b37)

lri $AR1,    #0x0040
lri $IX1,    #0x9b37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39736 (0x9b38)

lri $AR1,    #0x0040
lri $IX1,    #0x9b38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39737 (0x9b39)

lri $AR1,    #0x0040
lri $IX1,    #0x9b39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39738 (0x9b3a)

lri $AR1,    #0x0040
lri $IX1,    #0x9b3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39739 (0x9b3b)

lri $AR1,    #0x0040
lri $IX1,    #0x9b3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39740 (0x9b3c)

lri $AR1,    #0x0040
lri $IX1,    #0x9b3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39741 (0x9b3d)

lri $AR1,    #0x0040
lri $IX1,    #0x9b3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39742 (0x9b3e)

lri $AR1,    #0x0040
lri $IX1,    #0x9b3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39743 (0x9b3f)

lri $AR1,    #0x0040
lri $IX1,    #0x9b3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39744 (0x9b40)

lri $AR1,    #0x0040
lri $IX1,    #0x9b40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39745 (0x9b41)

lri $AR1,    #0x0040
lri $IX1,    #0x9b41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39746 (0x9b42)

lri $AR1,    #0x0040
lri $IX1,    #0x9b42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39747 (0x9b43)

lri $AR1,    #0x0040
lri $IX1,    #0x9b43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39748 (0x9b44)

lri $AR1,    #0x0040
lri $IX1,    #0x9b44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39749 (0x9b45)

lri $AR1,    #0x0040
lri $IX1,    #0x9b45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39750 (0x9b46)

lri $AR1,    #0x0040
lri $IX1,    #0x9b46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39751 (0x9b47)

lri $AR1,    #0x0040
lri $IX1,    #0x9b47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39752 (0x9b48)

lri $AR1,    #0x0040
lri $IX1,    #0x9b48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39753 (0x9b49)

lri $AR1,    #0x0040
lri $IX1,    #0x9b49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39754 (0x9b4a)

lri $AR1,    #0x0040
lri $IX1,    #0x9b4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39755 (0x9b4b)

lri $AR1,    #0x0040
lri $IX1,    #0x9b4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39756 (0x9b4c)

lri $AR1,    #0x0040
lri $IX1,    #0x9b4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39757 (0x9b4d)

lri $AR1,    #0x0040
lri $IX1,    #0x9b4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 39758 (0x9b4e)

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