##### Syntax

-Rk,name

##### Description

The -Rk command line option sets the name of the default data section that the assembler uses for the .CONST and .RODATA directives. If no other options are given, the default name for the section is CONST.

You can control the name of the read-only data section used by the assembler within a source file using the RSEG and .SECTION directives or by using CrossStudio to set the Constant Section Name property of the file or project.

##### To set this option in the CrossStudio development environment

To set the default constant section name for a project:

- Select the project in the Project Explorer.
- In the Section Options group edit the Constant 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 Constant Section Name property.

##### Example

The following command line option instructs the assembler to use the name ROMDATA as the default read-only data section name.

    -Rk,ROMDATA