Keil Logo Arm Logo

Assembler Reference

About assembly control directives

About assembly control directives

The following directives control conditional assembly, looping, inclusions, and macros:

  • MACRO and MEND

  • MEXIT

  • IF, ELSE, ENDIF, and ELIF

  • WHILE and WEND.

Show/hideNesting 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.

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0588B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.