As you can see, the software breakpoint is shown in the memory
display with an asterisk, and the instruction at the address is replaced
with a BRK instruction.
Note
When a software breakpoint is inserted, the mnemonic in memory
display may not be accurate.
Enter the following command to run the sample program again.
run
from Init <RETURN>
Now, modify the command input byte to an invalid command for the
sample program.
modify memory Cmd_Input
bytes to 75h <RETURN>
You will see the address field of a line is inversed. The inversed
address field shows that the Program Counter is now at the address.
A message on the status line shows that the software breakpoint has
been hit. The status line also shows that the emulator is now executing
in the monitor.
When software breakpoints are hit, they become inactivated. To
reactive the breakpoint so that is "pending", you must reenter the
"modify software_breakpoints set" command.
Clearing a Software
Breakpoint
To remove software breakpoint defined above, enter the following
command.
modify software_breakpoints clear
cmd_rds.a77:Clear_Output <RETURN>
The breakpoint is removed from the list, and the original opcode is
restored if the breakpoint was pending.
To clear all software breakpoints, you can enter the following
command.
modify software_breakpoints clear <RETURN>
Getting Started 2-23
Содержание 64146A
Страница 2: ......
Страница 8: ...Notes ...
Страница 14: ...Notes 6 Contents ...
Страница 16: ...Figure 1 1 HP 64146 Emulator for MELPS 7700 Series 1 2 Introduction ...
Страница 60: ...Notes 3 4 In Circuit Emulation ...
Страница 92: ...Notes 5 10 Using the Emulator ...
Страница 100: ...Notes A 8 Using A Foreground Monitor ...