5.6 Using the Start/Stop Function
The emulator executes the specified routine of the user program immediately before starting and
immediately after halting program execution. This function is used to control the user system in
synchronization with execution and halting of the user program.
Note: The start/stop function is not supported in the H8/Tiny or H8/Super Low Power series, or
the R8C/10, R8C/11, R8C/12, or R8C/13 group.
5.6.1 Opening the [Start/Stop Function Setting] Dialog Box
The routine executed immediately before starting and immediately after halting the user program
execution is specified in the [Start/Stop Function Setting] dialog box.
To open the [Start/Stop Function Setting] dialog box, choose [Setup -> Emulator -> Start/Stop
Function Setting…] from the [Start] menu.
Figure 5.10 [Start/Stop Function Setting] Dialog Box
5.6.2 Specifying the Routine to be Executed
It is possible to specify the respective routines immediately before starting and immediately after
halting the user program execution.
When the [The specified routine is executed immediately before execution of the user’s program.]
check box is selected, the routine specified in the [starting address] combo box, which is below
this check box, is executed immediately before starting user program execution.
89