System Debug Reference Manual (32650-90888)

Chapter 2 23
User Interface
Data Types
{$1} multi > wl "parm is:" p1;
{$1} multi > var curbias = p1+bias}
$nmdebug >
Data Types
Several data types are supported by System Debug. This section introduces each of the
types by giving the mnemonics by which they are known, along with a description of the
data which they represent.
Integer Types
Three sizes of signed and unsigned integers are supported:
S16 Signed 16-bit integer.
U16 Unsigned 16-bit integer.
S32 Signed 32-bit integer.
U32 Unsigned 32-bit integer.
S64 Signed 64-bit integer.
All of the signed types obey the properties of twos complement binary arithmetic. The type
S64 has not been fully implemented, and it supports only those values in the range
-2
52
..2
52
- 1. Other than this restriction, S64 values behave as if they consume 64 bits.
Boolean Type
Data of type BOOL may assume the values TRUE and FALSE. Integer values also are
generally accepted where BOOLs are called for, and when this occurs, zero (0) is taken to be
FALSE; all other values are TRUE.
String Types
The type STR is used to represent variable-length character (text) data. Strings quoted
with single and double quotes (' and ") represent literal text. But strings quoted with the
back-quote character (`) are sometimes interpreted as regular expressions, which are used
to match other text. Refer to appendix A for a discussion of how patterns and regular
expressions can be constructed for use in pattern matching.
Pointer Types
System Debug supports many different kinds of pointer types, but most are actually
variations of the same theme. Pointers come in two sizes, long and short, and both may be
interpreted quite differently depending on the current mode of System Debug.