Keil Logo

LX51: LINKER CODE PACKING


Information in this article applies to:

  • C51 Version 7.01

The PK51 Professional Developer's Kit includes a new optimization (Linker Code Packing) which is implemented in the LX51 Linker.

Linker Code Packing organizes the segments in your application and recodes LJMP and LCALL instructions as AJMP and ACALL wherever possible. This optimization reduces total program size by 3-8%.

The map file produced by the LX51 Linker has a .MAP extension instead of the .M51 extension which was produced by the BL51 Linker.

In µVision, enable this optimization in Options for Target — CX51: Code Optimization: Linker Code Packing.

Note that this new optimization is only available in the PK51 Professional Developer's Kit V6.23 and higher. This optimization is performed by the LX51 Linker and is not available with the BL51 Linker.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, March 28, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.