HP MC68360 User Manual page 95

Emulator / analyzer graphical user interface
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68en36064780a

Table of Contents