<op op="operator">expression expression</op>
The op element represents an operator, with the op attribute specifying
- which operator. The supported operations are *, /, &, and <<, and
- their semantics are identical to the corresponding operators in C. The two
- operand expressions may be fieldref, value, or op elements.
+ which operator. The supported operations are +, -, *, /, &, and
+ <<, and their semantics are identical to the corresponding operators
+ in C. The two operand expressions may be other expression elements.
<fieldref>identifier</fieldref>
The value element represents a literal integer value in an expression. The
integer may be expressed in decimal or hexadecimal.
+
+<bit>integer</bit>
+
+ The bit element represents a literal bitmask value in an expression.
+ The integer must be in the range 0..31, expanding to (1<<n) in C.