Step 10: Trace The Program - HP 64767 User Manual

Emulation/analysis
Table of Contents

Advertisement

Step 10: Trace the program

When the analyzer traces program execution, it looks at the data on the emulation
processor's bus and control signals at each clock cycle. The information seen at a
particular clock cycle is called a state.
When one of these states matches the "trigger state" you specify, the analyzer stores
states in trace memory. When trace memory is filled, the trace is said to be
"complete."
1 Click on the Recall button to the right of the entry buffer.
A selection dialog box appears. You can select from entry buffer values that have
been entered previously or that have been predefined.
2 Click on "main" in the selection dialog box, and click the "OK" pushbutton.
Notice that the value "main" has been returned to the entry buffer.
3 To trigger on the address "main" and store states that occur after the trigger, choose
Trace→After ().
Or, using the command line, enter:
trace after main <RETURN>
Notice the message "Emulation trace started" appears on the status line. This
shows that the analyzer has begun to look for the trigger state which is the address
"main" on the processor's address bus.
4 Run the emulator demo program from its transfer address by choosing
Execution→Run→from Transfer Address.
Or, using the command line, enter:
run from transfer_address <RETURN>
Chapter 1: Getting Started
Step 10: Trace the program
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

80186/8/xl/ea/eb

Table of Contents