Changing The Count Qualifier - HP 64700 Series User Manual

64000-ux case solutions for microprocessors, softkey interface
Hide thumbs Also See for 64700 Series:
Table of Contents

Advertisement

C hanging the
1
Count Qualifier
Trace List
Label:
Address
Data
Base:
hex
hex
after
0005C2
+001
0005C2
+002
0005C2
+003
0005C2
+004
0005C2
+005
0005C2
+006
0005C2
+007
0005C2
+008
0005C2
+009
0005C2
+010
0005C2
+011
0005C2
+012
0005C2
+013
0005C2
+014
0005C2
STATUS:
M68000--Running user program
trace
after 5c2h only 5c2h counting
run
trace
2-18 Getting Started
Suppose now that you are interested in only one address in the
RESULTS area, say 5C2H. You wish to see how many loops of the
program occur between each write of a random number to this
address. You can enter a trace command that triggers on address
5C2H (since it's the only address of interest), stores only writes to
address 5C2H, and counts the address of the AGAIN label (406H).
For example:
trace after 5c2h
only 5c2h
counting state AGAIN <RETURN>
Offset=0
Opcode or Status
0606
06
supr data wr byte
5353
53
supr data wr byte
3333
33
supr data wr byte
E2E2
E2
supr data wr byte
D3D3
D3
supr data wr byte
3B3B
3B
supr data wr byte
2E2E
2E
supr data wr byte
1818
18
supr data wr byte
1A1A
1A
supr data wr byte
B3B3
B3
supr data wr byte
5C5C
5C
supr data wr byte
BCBC
BC
supr data wr byte
3F3F
3F
supr data wr byte
BABA
BA
supr data wr byte
8686
86
supr data wr byte
state AGAIN
step
display
The trace listing above shows that the number of times the
program executes between writes to 5C2H varies.
More data off screen (ctrl-F, ctrl-G)
mnemonic
Emulation trace complete______...R....
modify
break
state count
relative
------------
51
1343
291
351
793
61
432
40
1245
87
660
425
345
729
end
---ETC--

Advertisement

Table of Contents
loading

Table of Contents