Single-Step
You can direct the emulation processor to execute a single instruction
or a specified number of instructions.
Breakpoints
You can set the emulator/analyzer interaction so the emulator will
break to the monitor program when the analyzer finds a specific state,
allowing you to perform post-mortem analysis of the program
execution.
You can also define software breakpoints in your program. The
emulator uses an H8/338 special code to provide software breakpoints;
This special code (5770 hexadecimal) is H8/338 undefined instruction.
When you define a software breakpoint, the emulator places the special
code at the specified address; after the special code causes emulator
execution to break out of the user program (into the monitor), the
emulator replaces the original opcode. See the "Using Software
Breakpoints" section of the "Getting Started" chapter for more
information.
Reset Support
The emulator can be reset from the emulation system under your
control; or your target system can reset the emulation processor.
Real-Time Execution
Real-time signifies continuous execution of your program at full rated
processor speed without interference from the emulator. (Such
interference occurs when the emulator temporarily breaks into the
monitor so that it can access register contents or target system
memory.) Emulator features performed in real time include: running
and analyzer tracing. Emulator features not performed in real time
include: display or modify target system memory; load/dump target
system memory; and display or modify registers,and single step.
Introduction to the H8/338 Emulator 1-5