SPIN(1prom) RISC/os Reference Manual SPIN(1prom)
NAME
spin - diagnostic reference pattern generator
SYNOPSIS
spin [[ -c count ] [ -v value ] -(r|w)(b|h|w) address ]+ [
-c count ]
DESCRIPTION
spin generates reference patterns for diagnostic use. You
can specify a sequence of reads and/or writes of byte (b),
half word (h), or word (w) width with combinations of -r and
-w options. The -c option specifies a repetition count and
a value for writes that apply to all succeeding writes. The
-v option specifies a count and a value for writes that
apply for all succeeding reads and writes. A final count
specification indicates the number of times the entire
preceding pattern should be repeated. count defaults to 1
and value defaults to 0. A negative count is interpreted as
infinity.
EXAMPLE
>> spin -c 4 -rh 0x2 -c 2 -v 1 -wb 0x4 -c 10
The example shown above, repeats the following instructions 10 times:
Read the half word at address 0x2 four times.
Write 1 to the byte at address 0x4 two times.
Printed 11/19/92 Page 1