diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 028626a62..660b083b1 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -373,7 +373,7 @@ Expressions referencing imported symbols must always be evaluated by the linker. -Size of an expressions result

+Size of an expression result

Sometimes, the assembler must know about the size of the value that is the result of an expression. This is usually the case, if a decision has to be @@ -413,6 +413,26 @@ already known, after evaluating the left hand side, the right hand side is not evaluated. +Constant expressions

+ +Sometimes an expression must evaluate to a constant without looking at any +further input. One such example is the / command +that decides if parts of the code are assembled or not. An expression used in +the Available operators

Available operators sorted by precedence: @@ -445,8 +465,9 @@ Available operators sorted by precedence: .BITNOT Unary bitwise not 1 < Low byte operator 1 > High byte operator 1 + ^ Bank byte operator 1 - * Multiplication 2 + * Multiplication 2 / Division 2 .MOD Modulo operation 2 & Bitwise and 2