ARM Initialization and Layout Directives (Windows Embedded CE 6.0)
1/5/2010
The AREA directive instructs the assembler to assemble a new code or data sections, used in an expression of the following form:
AREA sectionname{,attr}{,attr}...
The AREA sectionname expression is modified by one or more comma-delimited attributes.
The following table shows the valid attributes for an AREA directive.
Attribute | Description |
---|---|
ALIGN |
Defines the section boundary, where the section is aligned on a 2expression -byte boundary. expressioncan have any integer value from 0 to 31. Do not use Note that the |
CODE |
Contains machine instructions. |
DATA |
Contains data, not instructions. |
NOINIT |
Indicates that the data section is uninitialized, or initialized to zero. It contains only space reservation directives |
READONLY |
Indicates that this section should not be written to. This is the default for |
READWRITE |
Indicates that this section can be read from and written to. This is the default for |
See Also
Reference
ARM Initialization and Layout Directives