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

lri $AR1,    #0x4000
lri $IX1,    #0x9c00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39937 (0x9c01)

lri $AR1,    #0x4000
lri $IX1,    #0x9c01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39938 (0x9c02)

lri $AR1,    #0x4000
lri $IX1,    #0x9c02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39939 (0x9c03)

lri $AR1,    #0x4000
lri $IX1,    #0x9c03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39940 (0x9c04)

lri $AR1,    #0x4000
lri $IX1,    #0x9c04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39941 (0x9c05)

lri $AR1,    #0x4000
lri $IX1,    #0x9c05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39942 (0x9c06)

lri $AR1,    #0x4000
lri $IX1,    #0x9c06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39943 (0x9c07)

lri $AR1,    #0x4000
lri $IX1,    #0x9c07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39944 (0x9c08)

lri $AR1,    #0x4000
lri $IX1,    #0x9c08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39945 (0x9c09)

lri $AR1,    #0x4000
lri $IX1,    #0x9c09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39946 (0x9c0a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39947 (0x9c0b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39948 (0x9c0c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39949 (0x9c0d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39950 (0x9c0e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39951 (0x9c0f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39952 (0x9c10)

lri $AR1,    #0x4000
lri $IX1,    #0x9c10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39953 (0x9c11)

lri $AR1,    #0x4000
lri $IX1,    #0x9c11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39954 (0x9c12)

lri $AR1,    #0x4000
lri $IX1,    #0x9c12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39955 (0x9c13)

lri $AR1,    #0x4000
lri $IX1,    #0x9c13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39956 (0x9c14)

lri $AR1,    #0x4000
lri $IX1,    #0x9c14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39957 (0x9c15)

lri $AR1,    #0x4000
lri $IX1,    #0x9c15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39958 (0x9c16)

lri $AR1,    #0x4000
lri $IX1,    #0x9c16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39959 (0x9c17)

lri $AR1,    #0x4000
lri $IX1,    #0x9c17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39960 (0x9c18)

lri $AR1,    #0x4000
lri $IX1,    #0x9c18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39961 (0x9c19)

lri $AR1,    #0x4000
lri $IX1,    #0x9c19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39962 (0x9c1a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39963 (0x9c1b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39964 (0x9c1c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39965 (0x9c1d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39966 (0x9c1e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39967 (0x9c1f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39968 (0x9c20)

lri $AR1,    #0x4000
lri $IX1,    #0x9c20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39969 (0x9c21)

lri $AR1,    #0x4000
lri $IX1,    #0x9c21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39970 (0x9c22)

lri $AR1,    #0x4000
lri $IX1,    #0x9c22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39971 (0x9c23)

lri $AR1,    #0x4000
lri $IX1,    #0x9c23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39972 (0x9c24)

lri $AR1,    #0x4000
lri $IX1,    #0x9c24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39973 (0x9c25)

lri $AR1,    #0x4000
lri $IX1,    #0x9c25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39974 (0x9c26)

lri $AR1,    #0x4000
lri $IX1,    #0x9c26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39975 (0x9c27)

lri $AR1,    #0x4000
lri $IX1,    #0x9c27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39976 (0x9c28)

lri $AR1,    #0x4000
lri $IX1,    #0x9c28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39977 (0x9c29)

lri $AR1,    #0x4000
lri $IX1,    #0x9c29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39978 (0x9c2a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39979 (0x9c2b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39980 (0x9c2c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39981 (0x9c2d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39982 (0x9c2e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39983 (0x9c2f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39984 (0x9c30)

lri $AR1,    #0x4000
lri $IX1,    #0x9c30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39985 (0x9c31)

lri $AR1,    #0x4000
lri $IX1,    #0x9c31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39986 (0x9c32)

lri $AR1,    #0x4000
lri $IX1,    #0x9c32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39987 (0x9c33)

lri $AR1,    #0x4000
lri $IX1,    #0x9c33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39988 (0x9c34)

lri $AR1,    #0x4000
lri $IX1,    #0x9c34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39989 (0x9c35)

lri $AR1,    #0x4000
lri $IX1,    #0x9c35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39990 (0x9c36)

lri $AR1,    #0x4000
lri $IX1,    #0x9c36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39991 (0x9c37)

lri $AR1,    #0x4000
lri $IX1,    #0x9c37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39992 (0x9c38)

lri $AR1,    #0x4000
lri $IX1,    #0x9c38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39993 (0x9c39)

lri $AR1,    #0x4000
lri $IX1,    #0x9c39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39994 (0x9c3a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39995 (0x9c3b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39996 (0x9c3c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39997 (0x9c3d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39998 (0x9c3e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39999 (0x9c3f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40000 (0x9c40)

lri $AR1,    #0x4000
lri $IX1,    #0x9c40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40001 (0x9c41)

lri $AR1,    #0x4000
lri $IX1,    #0x9c41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40002 (0x9c42)

lri $AR1,    #0x4000
lri $IX1,    #0x9c42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40003 (0x9c43)

lri $AR1,    #0x4000
lri $IX1,    #0x9c43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40004 (0x9c44)

lri $AR1,    #0x4000
lri $IX1,    #0x9c44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40005 (0x9c45)

lri $AR1,    #0x4000
lri $IX1,    #0x9c45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40006 (0x9c46)

lri $AR1,    #0x4000
lri $IX1,    #0x9c46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40007 (0x9c47)

lri $AR1,    #0x4000
lri $IX1,    #0x9c47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40008 (0x9c48)

lri $AR1,    #0x4000
lri $IX1,    #0x9c48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40009 (0x9c49)

lri $AR1,    #0x4000
lri $IX1,    #0x9c49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40010 (0x9c4a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40011 (0x9c4b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40012 (0x9c4c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40013 (0x9c4d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40014 (0x9c4e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40015 (0x9c4f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40016 (0x9c50)

lri $AR1,    #0x4000
lri $IX1,    #0x9c50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40017 (0x9c51)

lri $AR1,    #0x4000
lri $IX1,    #0x9c51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40018 (0x9c52)

lri $AR1,    #0x4000
lri $IX1,    #0x9c52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40019 (0x9c53)

lri $AR1,    #0x4000
lri $IX1,    #0x9c53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40020 (0x9c54)

lri $AR1,    #0x4000
lri $IX1,    #0x9c54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40021 (0x9c55)

lri $AR1,    #0x4000
lri $IX1,    #0x9c55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40022 (0x9c56)

lri $AR1,    #0x4000
lri $IX1,    #0x9c56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40023 (0x9c57)

lri $AR1,    #0x4000
lri $IX1,    #0x9c57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40024 (0x9c58)

lri $AR1,    #0x4000
lri $IX1,    #0x9c58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40025 (0x9c59)

lri $AR1,    #0x4000
lri $IX1,    #0x9c59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40026 (0x9c5a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40027 (0x9c5b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40028 (0x9c5c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40029 (0x9c5d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40030 (0x9c5e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40031 (0x9c5f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40032 (0x9c60)

lri $AR1,    #0x4000
lri $IX1,    #0x9c60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40033 (0x9c61)

lri $AR1,    #0x4000
lri $IX1,    #0x9c61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40034 (0x9c62)

lri $AR1,    #0x4000
lri $IX1,    #0x9c62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40035 (0x9c63)

lri $AR1,    #0x4000
lri $IX1,    #0x9c63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40036 (0x9c64)

lri $AR1,    #0x4000
lri $IX1,    #0x9c64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40037 (0x9c65)

lri $AR1,    #0x4000
lri $IX1,    #0x9c65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40038 (0x9c66)

lri $AR1,    #0x4000
lri $IX1,    #0x9c66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40039 (0x9c67)

lri $AR1,    #0x4000
lri $IX1,    #0x9c67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40040 (0x9c68)

lri $AR1,    #0x4000
lri $IX1,    #0x9c68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40041 (0x9c69)

lri $AR1,    #0x4000
lri $IX1,    #0x9c69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40042 (0x9c6a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40043 (0x9c6b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40044 (0x9c6c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40045 (0x9c6d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40046 (0x9c6e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40047 (0x9c6f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40048 (0x9c70)

lri $AR1,    #0x4000
lri $IX1,    #0x9c70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40049 (0x9c71)

lri $AR1,    #0x4000
lri $IX1,    #0x9c71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40050 (0x9c72)

lri $AR1,    #0x4000
lri $IX1,    #0x9c72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40051 (0x9c73)

lri $AR1,    #0x4000
lri $IX1,    #0x9c73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40052 (0x9c74)

lri $AR1,    #0x4000
lri $IX1,    #0x9c74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40053 (0x9c75)

lri $AR1,    #0x4000
lri $IX1,    #0x9c75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40054 (0x9c76)

lri $AR1,    #0x4000
lri $IX1,    #0x9c76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40055 (0x9c77)

lri $AR1,    #0x4000
lri $IX1,    #0x9c77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40056 (0x9c78)

lri $AR1,    #0x4000
lri $IX1,    #0x9c78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40057 (0x9c79)

lri $AR1,    #0x4000
lri $IX1,    #0x9c79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40058 (0x9c7a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40059 (0x9c7b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40060 (0x9c7c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40061 (0x9c7d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40062 (0x9c7e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40063 (0x9c7f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40064 (0x9c80)

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

