HP MC68360 User Manual page 96

Emulator / analyzer graphical user interface
Table of Contents

Advertisement

Chapter 4: Entering Commands
Using Command Files
When you execute CMDFILE, you will be prompted with:
Define command file parameter [&ADDR]
To pass the parameter, enter the address of the first memory location to be
modified. You will then be prompted for &VALUE1. If you enter, for example,
"0,-1,20, 0ffffh, 4+5*4", the first parameter "0,-1,20," is passed to &VALUE1 and
the remaining parameters "0ffffh," and "4+5*4" are passed to &ArG_lEfT.
You can also pass the parameters when you invoke the command file (for example,
CMDFILE 1000h 0,-1,20, 0ffffh, 4+5*4).
Other Things to Know About Command Files
You should know the following about using command files:
76
1 Command files may contain shell variables. Only those shell variables
beginning with "$" followed by an identifier will be supported. An identifier
is a sequence of letters, digits or underscores beginning with a letter or
underscore. The identifier may be enclosed by braces "{ }" or entered directly
following the "$" symbol. Braces are required when the identifier is followed
by a letter, a digit or an underscore that is not interpreted as part of its name.
For example, assume a directory named /users/softkeys and the shell variable
"S". The value of "S" is "soft". By specifying the directory as /users/${S}keys
the correct result is obtained. However, if you attempt to specify the directory
as /users/$Skeys, the Softkey Interface looks for the value of the variable
"Skeys". This is not the operators intended result. You may not get the
intended result unless Skeys is already defined to be "softkeys".
You can examine the current values of all shell variables defined in your
environment with the command "env".
2 Positional shell variables, such as $1, $2, and so on, are not supported. Neither
are special shell variables, such as $@, $*, and so on, supported.
3 You can continue command file lines. This is done by avoiding the line feed
with a backslash (\). A line terminated by "\" is concatenated with any
following lines until a line that does not contain a backslash is found. A line
constructed in this manner is recognized and executed as one single command
line. If the last line in a command file is terminated by "\", it appears on the
command line but is not executed. Normally, the line feed is recognized as the
command terminator. The UNIX environment recognizes three quoting

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68en36064780a

Table of Contents