No, it may not be rewritten as that, the parenthesis takes precedence. The subtraction is done first and since both operands are 16 bit, that means that the result will be 16 bit. Then it is casted to 8 bit, since I know that the result will be less than 256.
EDIT: From Codewarriors own help file:
Order of Operand Evaluation
"Operators Associativity
() [] -> . left to right
! ~ ++ -- + - * & (type) sizeof right to left"
It is a bit tricky to cite ANSI C since they don't have a summary of the operator priorities, the priority is set by the chapter order. See chaper 6.5 in ISO/IEC 9899:1999.
Message Edited by Lundin on 2007-02-1401:15 PM