beautypg.com

32 eval, Eval, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 88

background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

88

3.1.32 eval

Name

eval—evaluates the specified expression using the specified option.

Synopsis

eval expression [-a] [-b] [-l] [-o]

Parameters

-a 0: Display Evaluated Expression in ASCII (if possible)

-b 0: Display Evaluated Expression in Binary (Big-Endian Bit Ordering)

-l 0: Display Evaluated Expression in Binary (Little-Endian Bit Ordering)

-o 0: Display Evaluated Expression in the Octal Number Base

Number Base Identifiers

$

Hexadecimal

&

Decimal

@

Octal

%

Binary

^

ASCII Control

Operators

+

Addition

-

Subtraction

*

Multiplication

/

Division

%

Remainder

^

Raise a Number to a Power

&

Logical AND

|

Logical OR

<<

Left Shift