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.

To set this option in the CrossStudio development environment

To set the default code section name for a project:

To set the default code section name for a particular file:

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