Dave Walker writes:
> I think the Motorola specification states left to right except as modified
> by brackets. In other words multiplication/division does not get
priority
> over addition/subtraction unless you use brackets.
What would make most sense here would be to 'simply' use the same evaluation
order (and operand codes!) as used by Qmac, ie:
1) parenthesised expressions evaluated first (natural way)
2) operator priority:
a) unary +, -
b) <<, >> (shift)
c) &, ! (bitwise AND, OR)
d) *, /
e) binary +, -
3) operators of the same precedence at the same nesting level of parantheses
are evaluated from left to right.
For more details see the QL Macro Assembler manual section B.3.
Per