Syntax

-Rz, name

Description

The -Rz command line option sets the name of the default zeroed data section that the assembler uses for the .BSS directive. If no other options are given, the default name for the section is UDATA0. Uninitialised data in UDATA0 is set to zero on program startup.

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

To set this option in the CrossStudio development environment

To set the default zeroed 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 ZDATA as the default zeroed data section name selected by the .BSS directive.

-Rz,ZDATA