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

lri $AR1,    #0x0f00
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3841 (0x0f01)

lri $AR1,    #0x0f01
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3842 (0x0f02)

lri $AR1,    #0x0f02
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3843 (0x0f03)

lri $AR1,    #0x0f03
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3844 (0x0f04)

lri $AR1,    #0x0f04
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3845 (0x0f05)

lri $AR1,    #0x0f05
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3846 (0x0f06)

lri $AR1,    #0x0f06
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3847 (0x0f07)

lri $AR1,    #0x0f07
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3848 (0x0f08)

lri $AR1,    #0x0f08
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3849 (0x0f09)

lri $AR1,    #0x0f09
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3850 (0x0f0a)

lri $AR1,    #0x0f0a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3851 (0x0f0b)

lri $AR1,    #0x0f0b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3852 (0x0f0c)

lri $AR1,    #0x0f0c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3853 (0x0f0d)

lri $AR1,    #0x0f0d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3854 (0x0f0e)

lri $AR1,    #0x0f0e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3855 (0x0f0f)

lri $AR1,    #0x0f0f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3856 (0x0f10)

lri $AR1,    #0x0f10
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3857 (0x0f11)

lri $AR1,    #0x0f11
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3858 (0x0f12)

lri $AR1,    #0x0f12
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3859 (0x0f13)

lri $AR1,    #0x0f13
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3860 (0x0f14)

lri $AR1,    #0x0f14
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3861 (0x0f15)

lri $AR1,    #0x0f15
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3862 (0x0f16)

lri $AR1,    #0x0f16
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3863 (0x0f17)

lri $AR1,    #0x0f17
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3864 (0x0f18)

lri $AR1,    #0x0f18
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3865 (0x0f19)

lri $AR1,    #0x0f19
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3866 (0x0f1a)

lri $AR1,    #0x0f1a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3867 (0x0f1b)

lri $AR1,    #0x0f1b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3868 (0x0f1c)

lri $AR1,    #0x0f1c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3869 (0x0f1d)

lri $AR1,    #0x0f1d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3870 (0x0f1e)

lri $AR1,    #0x0f1e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3871 (0x0f1f)

lri $AR1,    #0x0f1f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3872 (0x0f20)

lri $AR1,    #0x0f20
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3873 (0x0f21)

lri $AR1,    #0x0f21
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3874 (0x0f22)

lri $AR1,    #0x0f22
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3875 (0x0f23)

lri $AR1,    #0x0f23
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3876 (0x0f24)

lri $AR1,    #0x0f24
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3877 (0x0f25)

lri $AR1,    #0x0f25
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3878 (0x0f26)

lri $AR1,    #0x0f26
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3879 (0x0f27)

lri $AR1,    #0x0f27
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3880 (0x0f28)

lri $AR1,    #0x0f28
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3881 (0x0f29)

lri $AR1,    #0x0f29
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3882 (0x0f2a)

lri $AR1,    #0x0f2a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3883 (0x0f2b)

lri $AR1,    #0x0f2b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3884 (0x0f2c)

lri $AR1,    #0x0f2c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3885 (0x0f2d)

lri $AR1,    #0x0f2d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3886 (0x0f2e)

lri $AR1,    #0x0f2e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3887 (0x0f2f)

lri $AR1,    #0x0f2f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3888 (0x0f30)

lri $AR1,    #0x0f30
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3889 (0x0f31)

lri $AR1,    #0x0f31
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3890 (0x0f32)

lri $AR1,    #0x0f32
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3891 (0x0f33)

lri $AR1,    #0x0f33
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3892 (0x0f34)

lri $AR1,    #0x0f34
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3893 (0x0f35)

lri $AR1,    #0x0f35
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3894 (0x0f36)

lri $AR1,    #0x0f36
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3895 (0x0f37)

lri $AR1,    #0x0f37
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3896 (0x0f38)

lri $AR1,    #0x0f38
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3897 (0x0f39)

lri $AR1,    #0x0f39
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3898 (0x0f3a)

lri $AR1,    #0x0f3a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3899 (0x0f3b)

lri $AR1,    #0x0f3b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3900 (0x0f3c)

lri $AR1,    #0x0f3c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3901 (0x0f3d)

lri $AR1,    #0x0f3d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3902 (0x0f3e)

lri $AR1,    #0x0f3e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3903 (0x0f3f)

lri $AR1,    #0x0f3f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3904 (0x0f40)

lri $AR1,    #0x0f40
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3905 (0x0f41)

lri $AR1,    #0x0f41
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3906 (0x0f42)

lri $AR1,    #0x0f42
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3907 (0x0f43)

lri $AR1,    #0x0f43
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3908 (0x0f44)

lri $AR1,    #0x0f44
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3909 (0x0f45)

lri $AR1,    #0x0f45
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3910 (0x0f46)

lri $AR1,    #0x0f46
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3911 (0x0f47)

lri $AR1,    #0x0f47
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3912 (0x0f48)

lri $AR1,    #0x0f48
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3913 (0x0f49)

lri $AR1,    #0x0f49
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3914 (0x0f4a)

lri $AR1,    #0x0f4a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3915 (0x0f4b)

lri $AR1,    #0x0f4b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3916 (0x0f4c)

lri $AR1,    #0x0f4c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3917 (0x0f4d)

lri $AR1,    #0x0f4d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3918 (0x0f4e)

lri $AR1,    #0x0f4e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3919 (0x0f4f)

lri $AR1,    #0x0f4f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3920 (0x0f50)

lri $AR1,    #0x0f50
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3921 (0x0f51)

lri $AR1,    #0x0f51
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3922 (0x0f52)

lri $AR1,    #0x0f52
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3923 (0x0f53)

lri $AR1,    #0x0f53
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3924 (0x0f54)

lri $AR1,    #0x0f54
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3925 (0x0f55)

lri $AR1,    #0x0f55
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3926 (0x0f56)

lri $AR1,    #0x0f56
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3927 (0x0f57)

lri $AR1,    #0x0f57
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3928 (0x0f58)

lri $AR1,    #0x0f58
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3929 (0x0f59)

lri $AR1,    #0x0f59
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3930 (0x0f5a)

lri $AR1,    #0x0f5a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3931 (0x0f5b)

lri $AR1,    #0x0f5b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3932 (0x0f5c)

lri $AR1,    #0x0f5c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3933 (0x0f5d)

lri $AR1,    #0x0f5d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3934 (0x0f5e)

lri $AR1,    #0x0f5e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3935 (0x0f5f)

lri $AR1,    #0x0f5f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3936 (0x0f60)

lri $AR1,    #0x0f60
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3937 (0x0f61)

lri $AR1,    #0x0f61
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3938 (0x0f62)

lri $AR1,    #0x0f62
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3939 (0x0f63)

lri $AR1,    #0x0f63
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3940 (0x0f64)

lri $AR1,    #0x0f64
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3941 (0x0f65)

lri $AR1,    #0x0f65
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3942 (0x0f66)

lri $AR1,    #0x0f66
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3943 (0x0f67)

lri $AR1,    #0x0f67
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3944 (0x0f68)

lri $AR1,    #0x0f68
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3945 (0x0f69)

lri $AR1,    #0x0f69
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3946 (0x0f6a)

lri $AR1,    #0x0f6a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3947 (0x0f6b)

lri $AR1,    #0x0f6b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3948 (0x0f6c)

lri $AR1,    #0x0f6c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3949 (0x0f6d)

lri $AR1,    #0x0f6d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3950 (0x0f6e)

lri $AR1,    #0x0f6e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3951 (0x0f6f)

lri $AR1,    #0x0f6f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3952 (0x0f70)

lri $AR1,    #0x0f70
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3953 (0x0f71)

lri $AR1,    #0x0f71
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3954 (0x0f72)

lri $AR1,    #0x0f72
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3955 (0x0f73)

lri $AR1,    #0x0f73
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3956 (0x0f74)

lri $AR1,    #0x0f74
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3957 (0x0f75)

lri $AR1,    #0x0f75
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3958 (0x0f76)

lri $AR1,    #0x0f76
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3959 (0x0f77)

lri $AR1,    #0x0f77
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3960 (0x0f78)

lri $AR1,    #0x0f78
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3961 (0x0f79)

lri $AR1,    #0x0f79
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3962 (0x0f7a)

lri $AR1,    #0x0f7a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3963 (0x0f7b)

lri $AR1,    #0x0f7b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3964 (0x0f7c)

lri $AR1,    #0x0f7c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3965 (0x0f7d)

lri $AR1,    #0x0f7d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3966 (0x0f7e)

lri $AR1,    #0x0f7e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3967 (0x0f7f)

lri $AR1,    #0x0f7f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3968 (0x0f80)

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

