System Debug Reference Manual (32650-90888)
34 Chapter2
User Interface
Operators
0.0 = sptr(0) TRUE
a.0 = sptr(0) FALSE
String comparisons are performed character by character, using the order defined by the
ASCII collating sequence. If the two strings are not the same length, but are equal up to
the length of the shorter one, the shorter string is considered to be less than the other.
Examples of string comparisons are listed below:
"abc" < "abcde" TRUE
"Big" <= "Small" TRUE
"Hi Mom" = "Hi " + "Mom" TRUE
Indirection Operator
Square brackets ([]) are used as the indirection operator to return the value at the address
they enclose.
The syntax of the indirection operator is shown below.
NOTE
Please note that the non-bold square brackets in the following table are used
to denote optional syntax, and are not meant to represent the literal square
brackets (presented here in bold) of the indirection operator.
Table 2-4. Indirection Operator Syntax
Indirection Default Alignment Return Type
[ [
prefix
] [VIRT]
virtaddr
] 4 byte (S32) 4 bytes
[ [
prefix
] REAL
realaddr
] 4 byte (S32) 4 bytes
[ [
prefix
] SEC
ldev.offset
] 4 byte (S32) 4 bytes
where [
prefix
] can be any one of the following:
BYTE byte-aligned (U16) 1 byte
U16 2-byte-aligned (U16) 2 bytes
S16 2-byte-aligned (S16) 2 bytes
LPTR 4-byte-aligned (LPTR) 8 bytes
These additional address specifications are supported (
without
the prefix):
[ABS[
offset
]]
(S16) 2 bytes
[DL[
offset
]]
(S16) 2 bytes
[DB[
offset
]]
(S16) 2 bytes
[Q[
offset
]]
S16 2 bytes