English
Language : 

M68ICS05C Datasheet, PDF (151/250 Pages) –
DEBUGGING COMMAND SET
EVAL
Evaluate Expression
The EVAL command evaluates a numerical term or simple expression, giving the result in
hexadecimal, decimal, octal, and binary formats. In an expression, spaces must separate the
operator from the numerical terms.
NOTE
Octal numbers are not valid as parameter values. Operand values
must be 16 bits or less. If the value is an ASCII character, this
command also shows the ASCII character as well. The parameters
for the command can be a number, or a sequence of: number,
space, operator, space, and number. Supported operations are
addition (+), subtraction (-), multiplication (*), division (/), logical
AND (&), and logical OR (^).
Syntax:
EVAL <n> [<op> <n>]
where:
<n>
<op>
Alone, the numerical term to be evaluated. Otherwise either
numerical term of a simple expression.
The arithmetic operator (+, -, *, /, &, or ^) of a simple expression
to be evaluated.
Examples:
EVAL 45 + 32
0077H 119T 0001670 0000000001110111Q "w"
EVAL 100T
0064H 100T 0001440 0000000001100100Q "d"
M68ICS05COM/D
7-35