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
Содержание 64147A
Страница 2: ......
Страница 8: ...Notes ...
Страница 14: ...Notes 6 Contents ...
Страница 16: ...Figure 1 1 HP 64147 Emulator for MELPS 7750 51 Series 1 2 Introduction ...
Страница 84: ...Notes 4 24 Configuring the Emulator ...
Страница 92: ...Notes A 8 Using A Foreground Monitor ...
Страница 104: ...enable disable by emulator configuration 4 17 window systems 2 32 write to ROM break 4 17 10 Index ...
Страница 105: ...Notes Index 11 ...