##### Synopsis

#pragma codeseg(" name " | default)

##### Description

The codeseg pragma sets the name of the section that the compiler emits code into. If the argument to the codeseg pragma is a string, a section of that name is created and the compiler emits code for all function definitions following the pragma into that section. If the argument to codeseg is the reserved word default, the compiler selects the default code section name.

The default code section name, if no other directives have been given, is CODE. You can change the default code section name for the whole compilation unit by using the -Rc command line option or by setting the Code Section Name property of the file or project in the CrossStudio development environment.