Logical Operators; Logical Expression - Sanyo MBC-550 Series User Manual

Table of Contents

Advertisement

LOGICAL OPERATORS
Six logical operators are described below in order of
operational precedence.
Order of Precedence:
Negation
Logical product
Logical sum
Exclusive logical sum
Implication
Equivalent
1.
NOT
AND
2.
OR
3.
n.
XOR
IMP
5.
6.
EQV
LOGICAL EXPRESSION
A logical expression generally has the following
forms:
[NOT]<data item>{<logical operator>[NOT]<data item>}
Either an arithmetic expression or a relational expres­
sion can be written as the data item.
In case of an
arithmetic expression, its evaluation result should be
an integer between -32768 and +32767.
If the evalua­
tion result were a real number, it would be rounded
off.
If it falls out of the range an error occurs.
3-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents