15.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 versionARM DUI0473M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.