Freescale Semiconductor Motorola MMDS0508 Operation Manual page 187

Motorola modular development system
Table of Contents

Advertisement

VAR
MMDS0508OM/D
MOTOROLA
Freescale Semiconductor, Inc.
Display Variable
The VAR command displays the specified address and its contents in
the variables F8 window. If a map file has been loaded, symbols and
labels from the source code can be used as arguments.
As many as 32 variables can be declared in the variables F8 window.
The window shows 11 at a time. Using the VAR command establishes
such a variable.
(The RTVAR command also establishes variables for display in the
variables F8 window, but such variables are not real-time. The
32-variable maximum applies to variables established by both the
RTVAR and VAR commands.)
The < type > argument enables display of variables in byte, word, or string
format. A byte display is hexadecimal and binary, a word display is
hexadecimal and decimal, and a string display is ASCII.
For an ASCII string, the optional < n > argument specifies the number of
characters; the default is the maximum 11 characters. Control and other
non-printing characters appear as periods (.).
Syntax:
VAR[.< type >] < address >|< symbol > [< n >]
Where:
< type >
The variable type to display: B (byte, the default),
W (word), or S (string)
< address >
The address of the memory variable
< n >
The number of characters to be displayed. Used
only with the string type. If < n > is omitted, 11
ASCII characters will be visible in the window,
beginning at the < address > argument location.
<symbol>
A symbol loaded from a .MAP file
Command-Line Commands
For More Information On This Product,
Go to: www.freescale.com
Command-Line Commands
Command Explanations
VAR
187

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmds0508

Table of Contents