finish-function foreach
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

force-step-instruction

Synopsis

force-step-instruction [count] [-r] [-n] [-q]
<step>.force-step-instruction [count] [-r] [-q]

Description

Executes count instructions on the currently selected frontend processor, printing the instruction executed at each step. The default value for count is 1. No instructions are run on other processors, although their virtual time may pass. As a result, the default round-robin scheduling of processors is not obeyed. The force-step-instruction command will refuse to run if the processor is stalling.

The -n flag tells the command to switch to the next processor in the scheduling list of the cell after each instruction.

With the -r flag, register changes are printed after every step.

The -q flag tells the command not to disassemble the executed instruction.

Since the force-step-instruction command changes the default scheduling order of processors, the same execution path will not be followed if the simulation is rerun using reverse execution for example.

Provided By

Simics Core

See Also

step-instruction, step-cycle
finish-function foreach