Arithmetic, Comment Operators

Use standard C arithmetic and logical operations as you define and use symbols in the LCF. All operators are left-associative. The following table lists these operators in the order of precedence. For additional information about these operators, refer to the C Compiler Reference.

Table 1. LCF Arithmetic Operators
Precedence Operators
1 - ˜ !
2 * / %
3 + -
4 >> <<
5 == != > < <= >=
6 &
7 |
8 &&
9 ||

To add comments to your file, use the pound character, C-style slash and asterisk characters, or C++-style double-slash characters, in any of these formats:

  #  This is a one-line comment

  /* This is a 

               multiline comment */

  * (.text) // This is a partial-line comment