Keil Logo

REGFILE Linker Directive

Abbreviation

RF

Arguments

REGFILE (filename)

Default

No register usage file is generated.

µVision

Options — Cx51 — 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
LX51 MYPROG.OBJ,A.OBJ,B.OBJ REGFILE(PROG.REG)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.