Syntax
-Rd, name
Description
The -Rd command line option sets the name of the default data section that the assembler uses for the DATA directive. If no other options are given, the default name for the section is IDATA0.
You can control the name of the data section used by the assembler within a source file using the RSEG and .SECTION directives or by using CrossStudio to set the Data Section Name property of the file or project.
Setting this in CrossStudio
To set the default data section name for a project:
- Select the project in the Project Explorer.
- In the Section Options group edit the Data Section Name property.
To set the default code section name for a particular file:
- Select the file in the Project Explorer.
- In the Section Options group edit the Data Section Name property.
Example
The following command line option instructs the assembler to use the name NVDATA as the default initialised section name selected by .DATA.
-Rd,NVDATA