Using Branches "Per Level - HP 64700 series User Manual

Emulators
Hide thumbs Also See for 64700 series:
Table of Contents

Advertisement

Using Branches
"Per Level"
Selecting branches "per level" in the trace specification gives you
access to the full power and flexibility of the analyzer. Branches per
level are used when you need to trace more complicated conditions.
There is a "bug" in this chapter's sample program. Occasionally, after
the 256 bytes of the RESULTS area have been sorted by the QSORT
subroutine, you will see a byte out of order in the last eight or so bytes
of the area. You can see what happens by setting software breakpoints
before and after the QSORT routine is executed, running the program,
and displaying memory.
First of all, break to the monitor by selecting:
Processor, Break
Now, define a keystroke sequence macro which will:
Set a breakpoint at the beginning of the QSORT subroutine.
Run the program until that breakpoint is hit (so you know the
contents in the RESULTS area are about to be sorted).
Set another breakpoint at the AGAIN address.
Run the program until the AGAIN address is hit (the contents
of the RESULTS area should be sorted at this point).
Display the contents of the results area.
To enter a keystroke macro, select:
Config, Key_Macro
The cursor is now in the field which defines the key that executes the
keystroke macro. Use the Tab key to select F3. Leave ESC as the key
used to quit the keystroke sequence, and position the cursor to the
keystroke sequence field and type:
bssQSORT
and press Enter. Now type:
Examples 3-27

Advertisement

Table of Contents
loading

Table of Contents