Keil™, An ARM® Company

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.

Refer to the REGFILE compiler directive for more information.

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