8.141 S+ (Instruction stepping on)

8.141.1 Function

This command turns on the instruction stepping. After turning instruction stepping on, each ENTER from
the console allows Hercules to execute exactly one instruction and lists detailed trace information.

The trace information includes the executing CPU, the PSW, the executed instruction in hexadecimal and
in disassembled form as well as register hexadecimal displays of all involved register types.

A range can be specified as for the “S” command, otherwise the existing range is used. If there is no
range (or range was specified as 0) then the range includes all addresses.

When an instruction within the range is about to be executed, the CPU is temporarily stopped and the
next instruction is displayed. You may then examine registers and/or storage etc. before you press Enter
to execute the instruction and stop at the next instruction. To turn off instruction stepping and continue
normal execution, enter the “G” command.

8.141.2 Syntax

Descriptive

addr-addr addr.length

Diagram

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



addr-addr ¬¬¬¬«



¬¬¬¬
¬¬¬¬«



addr.length ¬¬¬«



¬¬

8.141.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.141.4 Examples

Example 1:

Turn on instruction stepping.

HHC00013I Herc command: 's+'

HHC02229I Instruction stepping on

HHC00811I Processor CP00: architecture mode 'S/370'

HHC02267I CP00: PSW=0000014800000080 INST=05F0 BALR 15,0 branch_and_link_register

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=00000000

HHC00834I Processor CP00: running state selected

HHC02267I CP00: PSW=0000014800000082 INST=980E0010 LM 0,14,16(0) load_multiple

HHC02267I CP00: R:00000010:K:06=00000000 00000000 00000000 00000000 ................

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082

HHC00834I Processor CP00: running state selected

HHC02267I CP00: PSW=0000014880000086 INST=41A0F05A LA 10,90(0,15) load_address

HHC02267I CP00: R:000000DC:K:06=41800100 41A0F08A 1B984700 F06E5890 ......0..q..0>..

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=00000000 GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082

HHC00834I Processor CP00: running state selected

HHC02267I CP00: PSW=000001488000008A INST=D200FC7D0008 MVC 3197(1,15),8(0) move_character

HHC02267I CP00: R:00000CFF:K:06=F1 E5D5C9D7 D458FFFF 76B3BD00 AAAAFF 1VNIPM.....]....

HHC02267I CP00: R:00000008:K:06=F1000000 00000000 00000000 00000000 1...............

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=000000DC GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082

HHC00834I Processor CP00: running state selected

HHC02267I CP00: PSW=00000148C0000090 INST=95000009 CLI 9(0),0 compare_logical_immediate

HHC02267I CP00: R:00000009:K:06=000000 00000000 00000000 00000000 00 ................

HHC02267I CP00: GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000

HHC02267I CP00: GR04=00000000 GR05=00000000 GR06=00000000 GR07=00000000

HHC02267I CP00: GR08=00000000 GR09=00000000 GR10=000000DC GR11=00000000

HHC02267I CP00: GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082

HHC00834I Processor CP00: running state selected

.

.

.

Figure 264: S+ command

Previous Page Next Page