Operators - Arithmetic, Relational, Logical
Submitted by linnsoft on Tue, 04/23/2013 - 20:49
Operators - Arithmetic, Relational, Logical
Arithmetic | Description | Example |
+ | Addition | HI + LO + CL |
- | Subtraction | MA - CL |
* | Multiplication | (CL * 2 + MA * 3) / 5 |
/ | Division | (HI + LO + CL) / 3 |
% | Remainder operator. X % Y results in the remainder of X / Y. For instance, 10%3 = 1. |