Syntax
-Rc, name
Description
The -Rc command line option sets the name of the default code section that the assembler uses for the .TEXT and .CODE directives. If no other options are given, the default name for the section is CODE.
You can control the name of the code section used by the assembler within a source file using the RSEG and .SECTION directives or by using CrossStudio to set the Code Section Name property of the file or project.
Setting this in CrossStudio
To set the default code section name for a project:
- Select the project in the Project Explorer.
- In the Section Options group edit the Code 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 Code Section Name property.
Example
The following command line option instructs the assembler to use the name RAMCODE as the default code section name for the .TEXT and .CODE directives.
-Rc,RAMCODE