Table 2 – Echelon Neuron User Manual
Page 22

Table 2. Unary Operators
Operator
Description
-
Two’s-complement arithmetic negation
~
One’s-complement bitwise negation
Binary operators are symbols that appear between two expressions and perform
an operation to combine the values of the two expressions. Table 3 lists the
binary operators.
Table 3. Binary Operators
Operator
Description
+
Two’s-complement addition
-
Two’s-complement subtraction
*
Multiplication
/
Division with integral truncation
&
Bitwise AND
|
Bitwise OR
^
Bitwise Exclusive OR
The special operators are symbols that instruct the Neuron Assembler to perform
a specific action. The values of expressions that use special operators are
computed at link time. Table 4 lists the special operators.
Table 4. Special Operators
Operator
Description
@
Specifies a special operator function
*
Specifies the absolute address of the
current assembly instruction (only
computable at link time for relocatable
segments)
A special operator function begins with the @ character, followed by the function
name, and then by a parenthesized expression. The function names can be
specified in either lower or upper case. Table 5 lists the special operator
functions.
12
Introduction