Motorola MVME162LX User Manual

Page of 153
4-4
Using the 162Bug Debugger
4
Numeric values may be expressed in either hexadecimal, decimal, 
octal, or binary notation by immediately preceding them with the 
proper base identifier.
If no base identifier is specified, then the numeric value is assumed 
to be hexadecimal. 
A numeric value may also be expressed as a string literal of up to 
four characters. The string literal must begin and end with the 
single quote mark ('). The numeric value is interpreted as the 
concatenation of the ASCII values of the characters. This value is 
right-justified, as any other numeric value would be.
Evaluation of an expression is always from left to right unless 
parentheses are used to group part of the expression. There is no 
operator precedence. Subexpressions within parentheses are 
evaluated first. Nested parenthetical subexpressions are evaluated 
from the inside out. 
Base
IdentiÞer
Examples
Hexadecimal
$
$FFFFFFFF
Decimal
&
&1974, &10-&4
Octal
@
@456
Binary
%
%1000110
String
Literal
Numeric Value
(In Hexadecimal)
'A'
41
'ABC'
414243
'TEST'
54455354