Executing User Programs
You can use the emulator to run programs, break program execution into the
monitor, step through the program by high-level source lines or by assembly
language instructions, and reset the emulation processor.
When displaying memory in mnemonic format, a highlighted bar shows the
current program counter address. When you step, the mnemonic memory
display is updated to highlight the new program counter address.
When displaying resisters, the register display is updated to show you the
contents of the registers after each step.
You can open multiple interface windows to display memory in mnemonic
format and registers at the same time. Both windows are updated after
stepping.
This section describes how to:
•
Start the emulator running the user program.
•
Stop (break from) user program execution.
•
Step through user programs.
•
Reset the emulation processor.
To run programs from the current PC
•
Choose Execution→Run→from PC.
•
Using the command line, enter the run command.
When the emulator is executing the user program, the message "Running
user program" is displayed on the status line.
154