L166 User's Guide

REGFILE Linker Directive

Abbreviation

RF

Arguments

REGFILE (filename)

Default

No register usage file is generated.

µVision

Options — C166 — Global Register Coloring.

Description

The REGFILE directive specifies the name of the register usage file used for global register optimization. This file is created by the linker and contains a table of registers used by each function. The compiler uses this information to generate optimized code for function calls. The name of the REGFILE must be identical across the complete project.

Refer to the REGFILE compiler directive and to Global Register Coloring for more information.

Example
L166 MYPROG.OBJ,A.OBJ,B.OBJ REGFILE(PROG.REG)