Use the wait measurement_complete command after changing the trace depth.
By doing this, when you copy or display the trace after changing the trace depth,
the new trace states will be available. Otherwise the new states won’t be available.
Passing Parameters
Command files provide a convenient method for passing parameters by using a
parameter declaration line preceding the commands in the command file. When
the command file is called, the system will prompt you for current values of the
formal parameters listed.
Parameters are defined as:
Passed Parameters - These are ASCII strings passed to a command file. Any
continuous set of ASCII characters can be passed. Spaces separate the
parameters.
Formal Parameters - These are symbols preceded by an ampersand (&),
which are the variables of the command file.
The ASCII string passed (passed parameter) will be substituted for the formal
parameter when the command file is executed.
The only way to pass a parameter containing a space is to enclose the parameter in
double quotes (") or single quotes (’). Thus, to pass the parameter HP 9000 to a
command file, you can use either "HP 9000" or ’HP 9000’.
The special parameter &ArG_lEfT gets set to all the remaining parameters
specified when the command file was invoked. This lets you use variable size
parameter lists. If no parameters are left, &ArG_lEfT gets set to NULL.
Consider the command file example (named CMDFILE) shown below:
PARMS &ADDR &VALUE1
#
# modify a location or list of locations in memory
# and display the result
#
modify memory &ADDR words to &VALUE1 &ArG_lEfT
display memory &ADDR blocked words
Chapter 4: Entering Commands
Using Command Files
75
Summary of Contents for 64780A
Page 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Page 20: ...xx ...
Page 21: ...Part 1 Quick Start Guide 1 ...
Page 23: ...1 Getting Started 3 ...
Page 45: ...Part 2 Using The Emulator 25 ...
Page 47: ...2 Plugging into a Target System 27 ...
Page 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Page 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Page 69: ...4 Entering Commands 49 ...
Page 103: ...5 Configuring the Emulator 83 ...
Page 122: ...102 ...
Page 123: ...6 Using the Emulator 103 ...
Page 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Page 249: ...8 Making Software Performance Measurements 229 ...
Page 279: ...9 Making Coordinated Measurements 259 ...
Page 295: ...Part 3 Reference 275 ...
Page 297: ...10 Setting X Resources 277 ...
Page 312: ...292 ...
Page 313: ...11 Emulator Analyzer Interface Commands 293 ...
Page 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Page 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Page 422: ...402 ...
Page 460: ...440 ...
Page 461: ...Part 4 Concept Guide 441 ...
Page 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Page 471: ...Part 5 Installation and Service Guide 451 ...
Page 473: ...14 Installation 453 ...
Page 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Page 493: ...15 Installing Updating Emulator Firmware 473 ...
Page 500: ...480 ...
Page 516: ...496 ...
Page 540: ...520 ...