beautypg.com

Language elements, Integers, Operators – Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual

Page 9: Anguage, Lements

background image

6

Language Elements

Integers


ASL accepts integer values in decimal, binary, or hexadecimal formats. Floating point and negative
numbers are not accepted.

Examples

Hexadecimal: 0x21, 0x0001, 0xA5A5
Binary: 0b00100001, 0b1, 0b101001011010010110100101
Decimal: 33, 1, 42405

Operators

The following lists operators accepted by ASL. Operator precedence is that same as in C.

Operator

Function

( )

Associative

and

Logical And

or

Logical Or

not

Logical Not

>

Greater than

<

Less than

<>

Equal to

=

Assignment

+

Arithmetic Addition

-

Arithmetic Subtraction

*

Arithmetic Multiplication

/

Arithmetic Division