Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The Arithmetic Operators

The arithmetic operators perform calculations, which may be actual arithmetic but might well be any other type of calculation like masking or concatenation or comparison. They typically have suboperations for the different binary types that may be involved. They are as follows:

Opcode Description
NEG Negate a value
NOT Boolean NOT
ADD Add two values
CAT Concatenate two strings
SUB Subtract two values
MUL Multiply two values
DIV Divide two values
IDV Integer division of two values
MOD Modulus of two values
EXP Raise a value to an exponent
GTR Test for greater than
GTE Test for greater than or equal
EQL Test for equal to
LTE Test less than or equal to
LTH Test for less than
NEQ Test for not equal to
IOR Inclusive or
AND And
LIK Like
XOR Exclusive bitwise or


Table of Contents

  • No labels