HP 64700 User Manual page 78

Emulators terminal interface
Hide thumbs Also See for 64700:
Table of Contents

Advertisement

M>r
U>tg any
U>tpat p1 addr=45a
U>tsto p1
U>trng addr=5f8..5ff
U>tpq r
U>t
Emulation trace started
U>w -m
# waiting for analysis measurements to complete...
U>tl
Line
addr,H
-----
------
0
00428
1
005fd
2
005fc
3
0045a
4
005ff
5
005ff
6
0045a
7
0045a
8
005ff
9
005ff
10
0045a
11
005ff
12
005ff
13
0045a
14
0045a
15
005ff
16
005f8
17
0045a
18
005ff
19
005ff
Accessing Full Analyzer Capability 3-30
8018x mnemonic,H
------------------------------------
1672H, opcode fetch
3dxxH, mem write
xx23H, mem write
b6ebH, opcode fetch
0bxxH, mem write
0bxxH, mem write
b6ebH, opcode fetch
JMP SHORT 0412H
e4xxH, mem write
40xxH, mem write
b6ebH, opcode fetch
6fxxH, mem write
6fxxH, mem write
b6ebH, opcode fetch
JMP SHORT 0412H
f8xxH, mem write
xx60H, mem write
b6ebH, opcode fetch
39xxH, mem write
39xxH, mem write
From the previous trace, you see that the final writes made in the
QSORT subroutine are indeed improper values for that part of the
RESULTS area. Displaying additional lines of the trace shows you
there are common bad values written to 5FFH. You can set up a trace
to trigger on one of the common bad writes to 5FFH, and store all the
states which lead up to this event. The resulting trace may show you
what is wrong with the program.
The sequencer specification which follows will trigger on a write of
39xxH to 5FFH. There is nothing special about the value 39xxH; it was
just a common bad value when this example was generated. You may
see other bad values being written to 5FFH, and you should trace on
them instead. The sequencer algorithm to capture the events which
lead to a final QSORT write of 39xxH to 5FFH is listed below.
1. Search for the beginning of the QSORT routine. (The first oc-
currence of the INC_LOW address assures that the QSORT
routine is actually entered; this eliminates prefetches of the
count,R
seq
---------
---
---
+
prestore
.
prestore
.
4.977 mS
.
prestore
.
prestore
.
23.10 mS
.
0.680 uS
.
prestore
.
prestore
.
46.88 mS
.
prestore
.
prestore
.
23.33 mS
.
0.680 uS
.
prestore
.
prestore
.
46.88 mS
.
prestore
.
prestore
.

Advertisement

Table of Contents
loading

Table of Contents