Enabling/Disabling Software Breakpoints; Setting A Software Breakpoint - HP 64793 Series User Manual

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Note
Enabling/Disabling
Software Breakpoints
Setting a Software
Breakpoint
2-18 Getting Started
Because software breakpoints are implemented by replacing opcodes
with the special code, you cannot define software breakpoints in target
ROM.
When software breakpoints are enabled and emulator detects a fetching
the special code (5770 hexadecimal), it generates a break to
background request which as with the "processor break" command.
Since the system controller knows the locations of defined software
breakpoints, it can determine whether the special code is software
breakpoints or opcode in your target program.
If it is a software breakpoint, execution breaks to the monitor,and the
special code is replaced by the original opcode. A subsequent run or
step command will execute from this address.
If the special code is opcode of your target program, execution still
breaks to the monitor, and an "Undefined software breakpoint" status
message is displayed.
When software breakpoints are disabled, the emulator replaces the
special code with the original opcode.
Up to 32 software breakpoints may be defined.
When you initially enter the Softkey Interface, software breakpoints
are disabled. To enable the software breakpoints feature, enter the
following command.
modify software_breakpoints enable
<RETURN>
When software breakpoints are enabled and you set a software
breakpoint, the H8/338 special code (5770 hexadecimal) will be placed
at the address specified. When the special code is executed, program
execution will break into the monitor.
To set a software breakpoint at the address of the Cmd_A label, enter
the following command.

Advertisement

Table of Contents
loading

This manual is also suitable for:

64793a64793b

Table of Contents