LX51: LINKER CODE PACKING
Information in this article applies to:
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.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, March 28, 2018
of your data.