whether the BRK instruction is software breakpoints or opcode in your
target program.
If it is a software breakpoint, execution breaks to the monitor, and the
BRK instruction is replaced by the original opcode. A subsequent run
or step command will execute from this address.
If the BRK instruction is opcode of your target program, execution still
breaks to the monitor, and an "Undefined software breakpoint " status
message is displayed.
Enabling/Disabling
Software Breakpoints
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 BRK instruction will be placed at the address specified.
When the breakpoint interrupt instruction is executed, program
execution will break into the monitor.
Setting a Software
Breakpoint
To set a software breakpoint at line 80 of "spmt_demo.c", enter the
following command.
modify software_breakpoints set line 80
<RETURN>
To see the address where the software breakpoint has been set, enter the
following command:
display memory line 80 mnemonic <RETURN>
set source on inverse_video on <RETURN>
2-22 Getting Started
Summary of Contents for 64147A
Page 2: ......
Page 8: ...Notes ...
Page 14: ...Notes 6 Contents ...
Page 16: ...Figure 1 1 HP 64147 Emulator for MELPS 7750 51 Series 1 2 Introduction ...
Page 84: ...Notes 4 24 Configuring the Emulator ...
Page 92: ...Notes A 8 Using A Foreground Monitor ...
Page 105: ...Notes Index 11 ...