L166 User's Guide

NOINIT Linker Directive

Abbreviation

NOIN

Arguments

None.

Default

Uninitialized static and global C variables are cleared to 0.

µVision

Options — L166 Misc — Misc Controls.

Description

The NOINIT directive disables zero initialization for uninitialized static and global C variables. By default, the L166 Linker generates a zero initialization address table for sections with uninitialized static and global variables. The NOINIT directive suppresses this table.

Note

  • You may selectively disable zero initialization by using the NOINIT compiler directive within your C source code.
Example
L166 file1.obj NOINIT