You copied the Doc URL to your clipboard.

Expression evaluation in scatter files

Scatter files frequently contain numeric constants. These can be specific values, or the result of an expression.

You can specify numeric constants using:

  • Expressions.

  • Execution address built-in functions.

  • ScatterAssert function with load address related functions that take an expression as a parameter. An error message is generated if this expression does not evaluate to true.

  • The symbol related function, defined(global_symbol_name) ? expr1 : expr2.

Was this page helpful? Yes No