8.140 S (Instruction stepping)

8.140.1 Function

This command sets the instruction stepping and breaking range. The instruction stepping is totally sepa-
rate from the instruction tracing range (See T command).

A range can be specified. If there is no range then the range includes all addresses. “S 0” eliminates the
range and all addresses will be stepped. With or without a given range, the S command displays whether
instruction stepping is on or off and the range if any.

The S command by itself does not activate instruction stepping. Use the S+ command to activate instruc-
tion stepping.

8.140.2 Syntax

The S command has the following syntax:

Descriptive

addr-addr addr.length

Diagram

¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ



addr-addr ¬¬¬¬«



¬¬¬ ¬
¬¬¬¬«



addr.length ¬¬¬«



¬¬

8.140.3 Parameter

addr-addr

Specifies an address range with start and end address (from begin address to end
address).

addr:addr

Specifies an address range with start and end address (from begin address to end
address).

addr.length

Specifies an address range with start and length (from begin address with the spe-
cified length).

0

No range is specified or an existing range is reset. Instruction stepping is set for all
addresses.

8.140.4 Examples

Example 1:

Set instruction stepping range with begin and end address and query the range afterwards.

HHC00013I Herc command: 's 100000-101000'

HHC02229I Instruction stepping off range 100000-101000

HHC00013I Herc command: 's?'

HHC02229I Instruction stepping off range 100000-101000

Figure 261: S command (address range)

Example 2:

Set instruction stepping range with start address and length and query the range afterwards.

HHC00013I Herc command: 's 100000.1000'

HHC02229I Instruction stepping off range 100000.1000

HHC00013I Herc command: 's?'

HHC02229I Instruction stepping off range 100000-101000

Figure 262: S command (address with length)

Example 3:

Set instruction stepping for all addresses and query the range afterwards.

HHC00013I Herc command: 's 0'

HHC02229I Instruction stepping off

HHC00013I Herc command: 's?'

HHC02229I Instruction stepping off

Figure 263: S command (all addresses)

Previous Page Next Page