Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-49
Displaying SPI Data
The data-location parameter specifies the location of the SPI buffer, and the
TYPE clause specifies how you want Inspect to interpret and format the buffer.
Here are the SPI types that Inspect supports:
EMS directs Inspect to interpret the buffer as an EMS buffer and presents its
contents in a labelled format.
EMS-NUM directs Inspect to interpret the buffer as an EMS buffer and
presents its contents in a numeric format.
SPI directs Inspect to interpret the buffer as an SPI buffer and presents its
contents in a labelled format.
SPI-NUM directs Inspect to interpret the buffer as an SPI buffer and presents
its contents in a numeric format.
data-location
specifies the memory location starting at which data is to be formatted as data-
type.
( expression )
specifies a memory address. If the expression evaluates to a 16-bit value, this
value is interpreted as a 16-bit word address. If the expression evaluates to a
32-bit value, this value is interpreted as an extended address.
SG
specifies that the 16-bit expression is interpreted as a System Global
address. SG is not allowed with 32-bit addresses.
identifier
specifies a variable defined by the program. The form of identifier
allowed is any legal variable specification, such as i, struct.r1.r2, or a[30].
uses the indirect address as a system global byte address.
spi-token [ AS data-type ] [ FOR for-count ]
directs Inspect to display an individual token or list within an SPI buffer.
The AS clause causes Inspect to display a data value using the attributes of a data
type defined in the current program. The parameter data-type is a data location
identifying a data-type definition or a variable. If data-type refers to a variable,
Inspect uses the type attributes of that variable.
The FOR clause directs Inspect to display a given number of occurrences of the
token or list within its containing SPI buffer.