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

lri $AR1,    #0x0040
lri $IX1,    #0x2e82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11907 (0x2e83)

lri $AR1,    #0x0040
lri $IX1,    #0x2e83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11908 (0x2e84)

lri $AR1,    #0x0040
lri $IX1,    #0x2e84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11909 (0x2e85)

lri $AR1,    #0x0040
lri $IX1,    #0x2e85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11910 (0x2e86)

lri $AR1,    #0x0040
lri $IX1,    #0x2e86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11911 (0x2e87)

lri $AR1,    #0x0040
lri $IX1,    #0x2e87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11912 (0x2e88)

lri $AR1,    #0x0040
lri $IX1,    #0x2e88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11913 (0x2e89)

lri $AR1,    #0x0040
lri $IX1,    #0x2e89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11914 (0x2e8a)

lri $AR1,    #0x0040
lri $IX1,    #0x2e8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11915 (0x2e8b)

lri $AR1,    #0x0040
lri $IX1,    #0x2e8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11916 (0x2e8c)

lri $AR1,    #0x0040
lri $IX1,    #0x2e8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11917 (0x2e8d)

lri $AR1,    #0x0040
lri $IX1,    #0x2e8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11918 (0x2e8e)

lri $AR1,    #0x0040
lri $IX1,    #0x2e8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11919 (0x2e8f)

lri $AR1,    #0x0040
lri $IX1,    #0x2e8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11920 (0x2e90)

lri $AR1,    #0x0040
lri $IX1,    #0x2e90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11921 (0x2e91)

lri $AR1,    #0x0040
lri $IX1,    #0x2e91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11922 (0x2e92)

lri $AR1,    #0x0040
lri $IX1,    #0x2e92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11923 (0x2e93)

lri $AR1,    #0x0040
lri $IX1,    #0x2e93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11924 (0x2e94)

lri $AR1,    #0x0040
lri $IX1,    #0x2e94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11925 (0x2e95)

lri $AR1,    #0x0040
lri $IX1,    #0x2e95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11926 (0x2e96)

lri $AR1,    #0x0040
lri $IX1,    #0x2e96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11927 (0x2e97)

lri $AR1,    #0x0040
lri $IX1,    #0x2e97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11928 (0x2e98)

lri $AR1,    #0x0040
lri $IX1,    #0x2e98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11929 (0x2e99)

lri $AR1,    #0x0040
lri $IX1,    #0x2e99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11930 (0x2e9a)

lri $AR1,    #0x0040
lri $IX1,    #0x2e9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11931 (0x2e9b)

lri $AR1,    #0x0040
lri $IX1,    #0x2e9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11932 (0x2e9c)

lri $AR1,    #0x0040
lri $IX1,    #0x2e9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11933 (0x2e9d)

lri $AR1,    #0x0040
lri $IX1,    #0x2e9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11934 (0x2e9e)

lri $AR1,    #0x0040
lri $IX1,    #0x2e9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11935 (0x2e9f)

lri $AR1,    #0x0040
lri $IX1,    #0x2e9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11936 (0x2ea0)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11937 (0x2ea1)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11938 (0x2ea2)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11939 (0x2ea3)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11940 (0x2ea4)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11941 (0x2ea5)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11942 (0x2ea6)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11943 (0x2ea7)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11944 (0x2ea8)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11945 (0x2ea9)

lri $AR1,    #0x0040
lri $IX1,    #0x2ea9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11946 (0x2eaa)

lri $AR1,    #0x0040
lri $IX1,    #0x2eaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11947 (0x2eab)

lri $AR1,    #0x0040
lri $IX1,    #0x2eab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11948 (0x2eac)

lri $AR1,    #0x0040
lri $IX1,    #0x2eac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11949 (0x2ead)

lri $AR1,    #0x0040
lri $IX1,    #0x2ead
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11950 (0x2eae)

lri $AR1,    #0x0040
lri $IX1,    #0x2eae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11951 (0x2eaf)

lri $AR1,    #0x0040
lri $IX1,    #0x2eaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11952 (0x2eb0)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11953 (0x2eb1)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11954 (0x2eb2)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11955 (0x2eb3)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11956 (0x2eb4)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11957 (0x2eb5)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11958 (0x2eb6)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11959 (0x2eb7)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11960 (0x2eb8)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11961 (0x2eb9)

lri $AR1,    #0x0040
lri $IX1,    #0x2eb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11962 (0x2eba)

lri $AR1,    #0x0040
lri $IX1,    #0x2eba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11963 (0x2ebb)

lri $AR1,    #0x0040
lri $IX1,    #0x2ebb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11964 (0x2ebc)

lri $AR1,    #0x0040
lri $IX1,    #0x2ebc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11965 (0x2ebd)

lri $AR1,    #0x0040
lri $IX1,    #0x2ebd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11966 (0x2ebe)

lri $AR1,    #0x0040
lri $IX1,    #0x2ebe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11967 (0x2ebf)

lri $AR1,    #0x0040
lri $IX1,    #0x2ebf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11968 (0x2ec0)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11969 (0x2ec1)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11970 (0x2ec2)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11971 (0x2ec3)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11972 (0x2ec4)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11973 (0x2ec5)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11974 (0x2ec6)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11975 (0x2ec7)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11976 (0x2ec8)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11977 (0x2ec9)

lri $AR1,    #0x0040
lri $IX1,    #0x2ec9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11978 (0x2eca)

lri $AR1,    #0x0040
lri $IX1,    #0x2eca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11979 (0x2ecb)

lri $AR1,    #0x0040
lri $IX1,    #0x2ecb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11980 (0x2ecc)

lri $AR1,    #0x0040
lri $IX1,    #0x2ecc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11981 (0x2ecd)

lri $AR1,    #0x0040
lri $IX1,    #0x2ecd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11982 (0x2ece)

lri $AR1,    #0x0040
lri $IX1,    #0x2ece
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11983 (0x2ecf)

lri $AR1,    #0x0040
lri $IX1,    #0x2ecf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11984 (0x2ed0)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11985 (0x2ed1)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11986 (0x2ed2)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11987 (0x2ed3)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11988 (0x2ed4)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11989 (0x2ed5)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11990 (0x2ed6)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11991 (0x2ed7)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11992 (0x2ed8)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11993 (0x2ed9)

lri $AR1,    #0x0040
lri $IX1,    #0x2ed9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11994 (0x2eda)

lri $AR1,    #0x0040
lri $IX1,    #0x2eda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11995 (0x2edb)

lri $AR1,    #0x0040
lri $IX1,    #0x2edb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11996 (0x2edc)

lri $AR1,    #0x0040
lri $IX1,    #0x2edc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11997 (0x2edd)

lri $AR1,    #0x0040
lri $IX1,    #0x2edd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11998 (0x2ede)

lri $AR1,    #0x0040
lri $IX1,    #0x2ede
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 11999 (0x2edf)

lri $AR1,    #0x0040
lri $IX1,    #0x2edf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12000 (0x2ee0)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12001 (0x2ee1)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12002 (0x2ee2)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12003 (0x2ee3)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12004 (0x2ee4)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12005 (0x2ee5)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12006 (0x2ee6)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12007 (0x2ee7)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12008 (0x2ee8)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12009 (0x2ee9)

lri $AR1,    #0x0040
lri $IX1,    #0x2ee9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12010 (0x2eea)

lri $AR1,    #0x0040
lri $IX1,    #0x2eea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12011 (0x2eeb)

lri $AR1,    #0x0040
lri $IX1,    #0x2eeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12012 (0x2eec)

lri $AR1,    #0x0040
lri $IX1,    #0x2eec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12013 (0x2eed)

lri $AR1,    #0x0040
lri $IX1,    #0x2eed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12014 (0x2eee)

lri $AR1,    #0x0040
lri $IX1,    #0x2eee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12015 (0x2eef)

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