Stepping With The Background Monitor - HP 64780A Installation/Service/Terminal Interface Manual

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

Advertisement

Chapter 4:Connecting the Emulator to a Target System
Installing Emulator Features
When a BGND instruction is executed, the processor immediately transitions to the
background monitor.

Stepping with the background monitor

The last feature of the background monitor which needs to be evaluated is the
single-stepping facility. The emulator uses the BKPT signal to reenter the monitor
when the first instruction outside the monitor is executed.
b
tsto any
tg any
t
s
A typical trace of a single step is shown below:
Line
addr,H
-----
--------
0
00000008
1
0000000c
2
00000008
One way to watch what the emulator is doing during a step, is to set up the analyzer
to trace only foreground cycles and to store everything. Use the following
commands:
tck -u
tsto any
tg any
t
s
When stepping over instructions that cause the processor to take exceptions, the
trace list can look very different. Most exceptions create their stack frame before
entering the monitor.
88
000000008@s
-
PC = 000000008@s
68360 Mnemonic
------------------------------------------
$60FE0000
supr prog long read (ds32)
$000BADAD
supr prog long read (ds32)
$60FE0000
supr prog long read (ds32)
BRA.B
$00000008
<- stepped inst

Advertisement

Table of Contents
loading

Table of Contents