Directives Reference

7.4Assembly control directives

This section describes the following directives:

MACRO and MEND on page 7-27

MEXIT on page 7-29

IF, ELSE, and ENDIF on page 7-30

WHILE and WEND on page 7-32.

7.4.1Nesting 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, however they are nested. The limit is not 256 of each type of structure.

7-26

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

Page 308
Image 308
ARM VERSION 1.2 manual Assembly control directives, Macro and Mend on, Mexit on, IF, ELSE, and Endif on While and Wend on