Assembler Commands - Operators


The following operators are used in EASy68K. These operators only affect the output of the assembler. They are not "run-time" operators.

Unary Operators

* The current address
- unary minus
~ one's complement
$ hex digit
% binary digit
@ octal digit
' ASCII


Binary Operators

+ add
- subtract
* multiply
/ divide
& logical AND
! or | logical OR
^ exclusive OR
>> shift right
<< shift left
\ modulus


Operator Precedence

Operators at the top of the table have higher precedence (are evaluated before) lower operators. Operators on the same row have equal precedence and are evaluated left to right.

>>  <<
&  !  |  ^
*  /  \
+  -