You can use expressions as parameters for some SDA commands,
such as SEARCH and EXAMINE. To create expressions, use any of the
following elements:
o Numerals
o Radix operators
o Arithmetic and logical operators
o Precedence operators
o Symbols
Numerals are one possible component of an expression. The
following paragraphs describe the use of the other components.
Radix operators determine which numeric base SDA uses to evaluate
expressions. You can use one of the three radix operators to
specify the radix of the numeric expression that follows the
operator:
o ^X (hexadecimal)
o ^O (octal)
o ^D (decimal)
The default radix is hexadecimal. SDA displays hexadecimal
numbers with leading zeros and decimal numbers with leading
spaces.
There are two types of arithmetic and logical operators:
o Unary operators affect the value of the expression that
follows them.
o Binary operators combine the operands that precede and follow
them.
In evaluating expressions containing binary operators, SDA
performs logical AND, OR, and XOR operations, and multiplication,
division, and arithmetic shifting before addition and
subtraction. Note that the SDA arithmetic operators perform
integer arithmetic on 64-bit operands.
Additional Information:
explode
extract