A cross-section data allocation statement has the following syntax:
xdataop section-name, operands //comments
Where:
xdataop |
Defines the type and size of data objects that are assembled. Cross-section data object mnemonics are not case-sensitive. |
section-name |
Refers to a predefined name of an existing section in the object file. |
operands |
Contain multiple expressions that are separated by commas. Each expression defines a separate data object of the same type and size. The assembler puts the data objects into consecutive locations in memory, and automatically aligns each to its natural boundary. |
The following is an example of a cross-section data allocation statement:
.xdata8 .data, 0x123, L1