This matches the C conditional operator. If Expression evaluates to nonzero then
Expression1 is evaluated otherwise
Expression2 is evaluated.
Note:
When using a conditional operator in a +offset
context on an execution region or load region description, the final expression is
considered relative only if both Expression1 and
Expression2, are considered relative. For
example:
er1 0x8000
{
…
}
er2 ((ImageLimit(er1) < 0x9000) ? +0 : +0x1000) ; er2 has a relative address
{
…
}
er3 ((ImageLimit(er2) < 0x10000) ? 0x0 : +0) ; er3 has an absolute address
{
…
}
Functions that return numbers.
All operators match their C counterparts in meaning and precedence.
Expressions are not case-sensitive and you can use parentheses for
clarity.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.