.asg "A4", RETVAL ; return value
The .eval directive evaluates the expression and assigns the string value of the result to the substitution symbol. If the expression is not well defined, the assembler generates an error and assigns the null string to the symbol. The syntax of the .eval directive is:
.evalwell-defined expression, substitution symbol |
Example 4 shows arithmetic being performed on substitution symbols.