Stepping Through
the Program
Note
Displaying
Registers
2-24 Getting Started
The step command allows you to step through program execution an
instruction or a number of instructions at a time. Also, you can step
from the current program counter or from a specific address. To step
through the example program from the address of the software
breakpoint set earlier, enter the following command.
step <RETURN>, <RETURN>, <RETURN>, ...
You will see the inverse-video moves according to the step execution.
You can continue to step through the program just by pressing the
<RETURN> key; when a command appears on the command line, it
may be entered by pressing <RETURN>.
When the emulator performs step execution, all memory access is
performed by byte access.
Enter the following command to display registers. You can display the
basic registers class, or an individual register.
display registers <RETURN>