##### Syntax

-Rz, name

##### Description

The -Rz command line option sets the name of the default zeroed data section that the compiler emits uninitialized data into. 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 compiler within a source file using the zeroedseg pragma or by using CrossStudio to set the Zeroed Section Name property of the file or project.

##### Setting this in CrossStudio

To set the default zeroed section name for a project:

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

##### Example

The following command line option instructs the compiler to use the name ZDATA as the default zeroed data section name and to initially generate all uninitialised into that section.

    -Rz,ZDATA