So it's up to the linker to decide whether the expression is constant or not ? The compiler must assume, that an external symbol is not constant, because in c there's no way to tell it explicitely. Accordingly the compiler inserts the code for the substraction and thus the linker step comes too late to see, that after the substraction the expression had still been constant. Anyway, without arithmetic the decision is made via a constant, correctly. Monte ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Aug 5 22:43:36 2008
This archive was generated by hypermail 2.1.8 : 2008-08-05 22:43:37 CEST