Logical EQUALS Operator

The logical EQUALS operator is '==' (two '=' characters together without a space between them).

The logical EQUALS operator should not be confused with the binary ASSIGNMENT operator which is a single '=' character

The result of the logical EQUALS operator is 1 if both arguments have the same value, and it is 0 otherwise.

The logical EQUALS operator can be used like any other operator. Just like the ADD operator, it takes two arguments and returns a result.

Why does XCSB use '==' for EQUALS and '=' for ASSIGNMENT instead of '=' and ':=' ? Because the ASIGNMENT operator is used much more frequently than the EQUALS operator it makes sense to put the burdon on the lest frequently used of the two operators.