Software Breakpoint Entry Into The Background Monitor - HP 64780A Installation/Service/Terminal Interface Manual

Emulator/analyzer
Hide thumbs Also See for 64780A:
Table of Contents

Advertisement

Software breakpoint entry into the background
monitor
The background monitor can also be entered via a software breakpoint. The
emulator will respond to any BGND instruction in the code regardless of whether
breakpoints are enabled or if the BGND instruction was inserted by the emulator or
not. Breakpoints are enabled by the following command.
bc -e bp
Set breakpoints only on the initial word of an instruction; otherwise, they will not
be executed, and might alter an instruction, unintentionally. The emulator places a
breakpoint by modifying memory to insert a breakpoint instruction at the address
specified. If the memory at the address specified is ROM or cannot be modified for
some other reason, the breakpoint cannot be set.
b
bp <instruction address>
If you suspect a problem occurred during the setting of the breakpoint, you can use
the analyzer to watch the breakpoint being set. The easiest way to do this is to
store-qualify your trace on the address where you are setting the breakpoint. The
trace list will only contain a cycle or two, but you can see what happened when the
emulator accessed this address.
tg any
tsto addr=<instruction address>
b
bp <instruction address>
Line
addr,H
68360 Mnemonic
-----
--------
------------------------------------------
0
00000008
$4e71----
1
00000008
$484F----
2
00000008
$484F----
3
Chapter 4:Connecting the Emulator to a Target System
supr data word read (ds32)
supr data word write (ds32)
supr data word read (ds32)
Installing Emulator Features
<- breakpoint write
<- verify
87

Advertisement

Table of Contents
loading

Table of Contents