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

lri $AR1,    #0x4000
lri $IX1,    #0x5980
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22913 (0x5981)

lri $AR1,    #0x4000
lri $IX1,    #0x5981
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22914 (0x5982)

lri $AR1,    #0x4000
lri $IX1,    #0x5982
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22915 (0x5983)

lri $AR1,    #0x4000
lri $IX1,    #0x5983
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22916 (0x5984)

lri $AR1,    #0x4000
lri $IX1,    #0x5984
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22917 (0x5985)

lri $AR1,    #0x4000
lri $IX1,    #0x5985
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22918 (0x5986)

lri $AR1,    #0x4000
lri $IX1,    #0x5986
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22919 (0x5987)

lri $AR1,    #0x4000
lri $IX1,    #0x5987
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22920 (0x5988)

lri $AR1,    #0x4000
lri $IX1,    #0x5988
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22921 (0x5989)

lri $AR1,    #0x4000
lri $IX1,    #0x5989
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22922 (0x598a)

lri $AR1,    #0x4000
lri $IX1,    #0x598a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22923 (0x598b)

lri $AR1,    #0x4000
lri $IX1,    #0x598b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22924 (0x598c)

lri $AR1,    #0x4000
lri $IX1,    #0x598c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22925 (0x598d)

lri $AR1,    #0x4000
lri $IX1,    #0x598d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22926 (0x598e)

lri $AR1,    #0x4000
lri $IX1,    #0x598e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22927 (0x598f)

lri $AR1,    #0x4000
lri $IX1,    #0x598f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22928 (0x5990)

lri $AR1,    #0x4000
lri $IX1,    #0x5990
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22929 (0x5991)

lri $AR1,    #0x4000
lri $IX1,    #0x5991
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22930 (0x5992)

lri $AR1,    #0x4000
lri $IX1,    #0x5992
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22931 (0x5993)

lri $AR1,    #0x4000
lri $IX1,    #0x5993
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22932 (0x5994)

lri $AR1,    #0x4000
lri $IX1,    #0x5994
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22933 (0x5995)

lri $AR1,    #0x4000
lri $IX1,    #0x5995
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22934 (0x5996)

lri $AR1,    #0x4000
lri $IX1,    #0x5996
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22935 (0x5997)

lri $AR1,    #0x4000
lri $IX1,    #0x5997
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22936 (0x5998)

lri $AR1,    #0x4000
lri $IX1,    #0x5998
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22937 (0x5999)

lri $AR1,    #0x4000
lri $IX1,    #0x5999
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22938 (0x599a)

lri $AR1,    #0x4000
lri $IX1,    #0x599a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22939 (0x599b)

lri $AR1,    #0x4000
lri $IX1,    #0x599b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22940 (0x599c)

lri $AR1,    #0x4000
lri $IX1,    #0x599c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22941 (0x599d)

lri $AR1,    #0x4000
lri $IX1,    #0x599d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22942 (0x599e)

lri $AR1,    #0x4000
lri $IX1,    #0x599e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22943 (0x599f)

lri $AR1,    #0x4000
lri $IX1,    #0x599f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22944 (0x59a0)

lri $AR1,    #0x4000
lri $IX1,    #0x59a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22945 (0x59a1)

lri $AR1,    #0x4000
lri $IX1,    #0x59a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22946 (0x59a2)

lri $AR1,    #0x4000
lri $IX1,    #0x59a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22947 (0x59a3)

lri $AR1,    #0x4000
lri $IX1,    #0x59a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22948 (0x59a4)

lri $AR1,    #0x4000
lri $IX1,    #0x59a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22949 (0x59a5)

lri $AR1,    #0x4000
lri $IX1,    #0x59a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22950 (0x59a6)

lri $AR1,    #0x4000
lri $IX1,    #0x59a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22951 (0x59a7)

lri $AR1,    #0x4000
lri $IX1,    #0x59a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22952 (0x59a8)

lri $AR1,    #0x4000
lri $IX1,    #0x59a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22953 (0x59a9)

lri $AR1,    #0x4000
lri $IX1,    #0x59a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22954 (0x59aa)

lri $AR1,    #0x4000
lri $IX1,    #0x59aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22955 (0x59ab)

lri $AR1,    #0x4000
lri $IX1,    #0x59ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22956 (0x59ac)

lri $AR1,    #0x4000
lri $IX1,    #0x59ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22957 (0x59ad)

lri $AR1,    #0x4000
lri $IX1,    #0x59ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22958 (0x59ae)

lri $AR1,    #0x4000
lri $IX1,    #0x59ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22959 (0x59af)

lri $AR1,    #0x4000
lri $IX1,    #0x59af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22960 (0x59b0)

lri $AR1,    #0x4000
lri $IX1,    #0x59b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22961 (0x59b1)

lri $AR1,    #0x4000
lri $IX1,    #0x59b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22962 (0x59b2)

lri $AR1,    #0x4000
lri $IX1,    #0x59b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22963 (0x59b3)

lri $AR1,    #0x4000
lri $IX1,    #0x59b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22964 (0x59b4)

lri $AR1,    #0x4000
lri $IX1,    #0x59b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22965 (0x59b5)

lri $AR1,    #0x4000
lri $IX1,    #0x59b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22966 (0x59b6)

lri $AR1,    #0x4000
lri $IX1,    #0x59b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22967 (0x59b7)

lri $AR1,    #0x4000
lri $IX1,    #0x59b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22968 (0x59b8)

lri $AR1,    #0x4000
lri $IX1,    #0x59b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22969 (0x59b9)

lri $AR1,    #0x4000
lri $IX1,    #0x59b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22970 (0x59ba)

lri $AR1,    #0x4000
lri $IX1,    #0x59ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22971 (0x59bb)

lri $AR1,    #0x4000
lri $IX1,    #0x59bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22972 (0x59bc)

lri $AR1,    #0x4000
lri $IX1,    #0x59bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22973 (0x59bd)

lri $AR1,    #0x4000
lri $IX1,    #0x59bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22974 (0x59be)

lri $AR1,    #0x4000
lri $IX1,    #0x59be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22975 (0x59bf)

lri $AR1,    #0x4000
lri $IX1,    #0x59bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22976 (0x59c0)

lri $AR1,    #0x4000
lri $IX1,    #0x59c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22977 (0x59c1)

lri $AR1,    #0x4000
lri $IX1,    #0x59c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22978 (0x59c2)

lri $AR1,    #0x4000
lri $IX1,    #0x59c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22979 (0x59c3)

lri $AR1,    #0x4000
lri $IX1,    #0x59c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22980 (0x59c4)

lri $AR1,    #0x4000
lri $IX1,    #0x59c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22981 (0x59c5)

lri $AR1,    #0x4000
lri $IX1,    #0x59c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22982 (0x59c6)

lri $AR1,    #0x4000
lri $IX1,    #0x59c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22983 (0x59c7)

lri $AR1,    #0x4000
lri $IX1,    #0x59c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22984 (0x59c8)

lri $AR1,    #0x4000
lri $IX1,    #0x59c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22985 (0x59c9)

lri $AR1,    #0x4000
lri $IX1,    #0x59c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22986 (0x59ca)

lri $AR1,    #0x4000
lri $IX1,    #0x59ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22987 (0x59cb)

lri $AR1,    #0x4000
lri $IX1,    #0x59cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22988 (0x59cc)

lri $AR1,    #0x4000
lri $IX1,    #0x59cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22989 (0x59cd)

lri $AR1,    #0x4000
lri $IX1,    #0x59cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22990 (0x59ce)

lri $AR1,    #0x4000
lri $IX1,    #0x59ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22991 (0x59cf)

lri $AR1,    #0x4000
lri $IX1,    #0x59cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22992 (0x59d0)

lri $AR1,    #0x4000
lri $IX1,    #0x59d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22993 (0x59d1)

lri $AR1,    #0x4000
lri $IX1,    #0x59d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22994 (0x59d2)

lri $AR1,    #0x4000
lri $IX1,    #0x59d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22995 (0x59d3)

lri $AR1,    #0x4000
lri $IX1,    #0x59d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22996 (0x59d4)

lri $AR1,    #0x4000
lri $IX1,    #0x59d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22997 (0x59d5)

lri $AR1,    #0x4000
lri $IX1,    #0x59d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22998 (0x59d6)

lri $AR1,    #0x4000
lri $IX1,    #0x59d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 22999 (0x59d7)

lri $AR1,    #0x4000
lri $IX1,    #0x59d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23000 (0x59d8)

lri $AR1,    #0x4000
lri $IX1,    #0x59d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23001 (0x59d9)

lri $AR1,    #0x4000
lri $IX1,    #0x59d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23002 (0x59da)

lri $AR1,    #0x4000
lri $IX1,    #0x59da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23003 (0x59db)

lri $AR1,    #0x4000
lri $IX1,    #0x59db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23004 (0x59dc)

lri $AR1,    #0x4000
lri $IX1,    #0x59dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23005 (0x59dd)

lri $AR1,    #0x4000
lri $IX1,    #0x59dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23006 (0x59de)

lri $AR1,    #0x4000
lri $IX1,    #0x59de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23007 (0x59df)

lri $AR1,    #0x4000
lri $IX1,    #0x59df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23008 (0x59e0)

lri $AR1,    #0x4000
lri $IX1,    #0x59e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23009 (0x59e1)

lri $AR1,    #0x4000
lri $IX1,    #0x59e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23010 (0x59e2)

lri $AR1,    #0x4000
lri $IX1,    #0x59e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23011 (0x59e3)

lri $AR1,    #0x4000
lri $IX1,    #0x59e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23012 (0x59e4)

lri $AR1,    #0x4000
lri $IX1,    #0x59e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23013 (0x59e5)

lri $AR1,    #0x4000
lri $IX1,    #0x59e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23014 (0x59e6)

lri $AR1,    #0x4000
lri $IX1,    #0x59e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23015 (0x59e7)

lri $AR1,    #0x4000
lri $IX1,    #0x59e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23016 (0x59e8)

lri $AR1,    #0x4000
lri $IX1,    #0x59e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23017 (0x59e9)

lri $AR1,    #0x4000
lri $IX1,    #0x59e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23018 (0x59ea)

lri $AR1,    #0x4000
lri $IX1,    #0x59ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23019 (0x59eb)

lri $AR1,    #0x4000
lri $IX1,    #0x59eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23020 (0x59ec)

lri $AR1,    #0x4000
lri $IX1,    #0x59ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23021 (0x59ed)

lri $AR1,    #0x4000
lri $IX1,    #0x59ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23022 (0x59ee)

lri $AR1,    #0x4000
lri $IX1,    #0x59ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23023 (0x59ef)

lri $AR1,    #0x4000
lri $IX1,    #0x59ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23024 (0x59f0)

lri $AR1,    #0x4000
lri $IX1,    #0x59f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23025 (0x59f1)

lri $AR1,    #0x4000
lri $IX1,    #0x59f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23026 (0x59f2)

lri $AR1,    #0x4000
lri $IX1,    #0x59f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23027 (0x59f3)

lri $AR1,    #0x4000
lri $IX1,    #0x59f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23028 (0x59f4)

lri $AR1,    #0x4000
lri $IX1,    #0x59f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23029 (0x59f5)

lri $AR1,    #0x4000
lri $IX1,    #0x59f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23030 (0x59f6)

lri $AR1,    #0x4000
lri $IX1,    #0x59f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23031 (0x59f7)

lri $AR1,    #0x4000
lri $IX1,    #0x59f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23032 (0x59f8)

lri $AR1,    #0x4000
lri $IX1,    #0x59f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23033 (0x59f9)

lri $AR1,    #0x4000
lri $IX1,    #0x59f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23034 (0x59fa)

lri $AR1,    #0x4000
lri $IX1,    #0x59fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23035 (0x59fb)

lri $AR1,    #0x4000
lri $IX1,    #0x59fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23036 (0x59fc)

lri $AR1,    #0x4000
lri $IX1,    #0x59fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23037 (0x59fd)

lri $AR1,    #0x4000
lri $IX1,    #0x59fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23038 (0x59fe)

lri $AR1,    #0x4000
lri $IX1,    #0x59fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23039 (0x59ff)

lri $AR1,    #0x4000
lri $IX1,    #0x59ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 23040 (0x5a00)

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

