21.2 About assembly control directives

Some assembler directives control conditional assembly, looping, inclusions, and macros.

These directives are as follows:

  • MACRO and MEND.

  • MEXIT.

  • IF, ELSE, ENDIF, and ELIF.

  • WHILE and WEND.

Nesting directives

The following structures can be nested to a total depth of 256:

  • MACRO definitions.

  • WHILE...WEND loops.

  • IF...ELSE...ENDIF conditional structures.

  • INCLUDE file inclusions.

The limit applies to all structures taken together, regardless of how they are nested. The limit is not 256 of each type of structure.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.