|Home > Scatter File Syntax > Execution region descriptions > Syntax of an execution region description|
An execution region specifies where the input sections are to be placed in target memory at run-time.
The syntax of an execution region description, in Backus-Naur Form (BNF), is:
Names the execution region. You can use a quoted name. The name is case-sensitive only if you use any region-related linker-defined symbols.
Specifies the address where objects in the region are to be linked.
must be word-aligned.
ALIGN on an execution region causes both the load address
and execution address to be aligned.
Describes a base address that is
beyond the end of the preceding execution region. The value of
must be zero modulo four.
If this is the first execution region in the load region then
+ means that the base address begins
bytes after the base of the containing
If you use
+, then the execution region
might inherit certain attributes from the parent load region, or from a previous
execution region within the same load region.
The attributes that specify the properties of the execution region contents.
For an execution region marked
value is interpreted as the length of
the region. Otherwise the
interpreted as the maximum size of the execution region.
Can only be used with
EMPTY to represent a stack that grows down
in memory. If the length is given as a negative value, the
is taken to be the end address of
Specifies the content of the input sections.
The BNF definitions contain additional line returns and spaces to improve readability. They are not required in scatter-loading descriptions and are ignored if present in a scatter file.