next up previous contents
Next: Unary Operations Up: Appendix C - Reverse Previous: Appendix C - Reverse   Contents

Binary Operations

Binary operations operate on the values stored in positions x and y. The allowed binary operations in CCICAP are:



Operator Definition
+ x = y + x (addition)
- x = y - x (subtraction)
X x = y X x (multiplication)
/ x = y / x (division)
^ x = y ^ x (exponentiation)



The original x and y values are used in the calculation and the result of the binary operation is placed in position x. The value that was in position z is copied into position y (and retained in position z).



Bob Smither 2008-11-19