S(1spp) RISC/os Reference Manual S(1spp)
NAME
s - single instruction execution, enters subprocedures
S - single instruction execution, steps over subpro-
cedures
SYNOPSIS
s [count]
S [ count ]
DESCRIPTION
The S and s commands let you do single instruction execution
of client code. The s command executes a single instruc-
tion. S executes a single instruction except when that
instruction is a jal or bal instruction. In this case, S
executes all instructions of the subprocedure until the pro-
cedure returns to the site of the jal or bal. S will fail
to regain control if the subprocedure does not return. Both
S and s can optionally take a count argument, which causes
the count of instructions to be stepped.
For both the s or S commands, branch instructions and the
following instruction in the branch delay slot are con-
sidered "atomic" and a single step executes both instruc-
tions.
SEE ALSO
brk(1spp), unbrk(1spp), c(1spp)
Printed 1/6/92 Page 1