Specifications

3-10 Programmer’s Guide Sega
Psy-Q Development System
Hierarchy of Operators
Expressions in the Assemblers are evaluated using the following precedence rules:
Parentheses form the primary level of hierarchy and force precedence - their
contents are performed first;
Without the aid of parentheses, operators are performed in the order dictated by
the hierarchy table;
Operators with similar precedence are performed in the direction of their
associativity - normally, from left to right, except unary operators.
Operator Direction Description
( )
Primary
+ , -, ~
Unary
<<, >>
Shift
&, !, ^
Logical
*, /, %
Multiplicative
+, -
Additive
>, <, <=, >=
Relational
=, <>
Equality