Operators
- Arithmetic Expression
- An arithmetic expression is an expression that contains one or more operands and arithmetic operators.
1. Operands may be variables, constants, or functions that return a value.
- A microcontroller register is usually treated as a variable.
2. There are nine arithmetic operators that may be used.
- Binary Operators: +, -, *, /, %
- Unary Operators: +, -, ++, —