SLAU131V October 2004 – February 2020
Memory range origin and length can use expressions of integer constants with the following operators:
Binary operators: | * / % + - << >> == = < <= > >= & | && || | |
Unary operators: | - ~ ! |
Expressions are evaluated using standard C operator precedence rules.
No checking is done for overflow or underflow, however, expressions are evaluated using a larger integer type.
Preprocess directive #define constants can be used in place of integer constants. Global symbols cannot be used in Memory Directive expressions.
Three address operators reference memory range properties from prior memory range entries:
START(MR) | Returns start address for previously defined memory range MR. | |
SIZE(MR) | Returns size of previously defined memory range MR. | |
END(MR) | Returns end address for previously defined memory range MR. |