LX51 User's GuideLX51 Introduction Purpose of the Linker Combining Modules Searching Libraries Code Packing Combining Segments Locating Segments Overlaying Data Memory Resolving Externals Calculating Addresses Generating an Object File Generating a Listing File Memory Classes BIT, DATA, and IDATA CODE and CONST XDATA HCONST HDATA Classic 8051 Devices Extended 8051 Devices NXP 51MX Devices Segments Linking Programs Locating Program Objects Data Overlaying Code Banking Real-Time Programs Error Messages
Extended 8051 Devices
The extended 8051 architecture includes the following memory classes.
BIT, DATA, and IDATA
The BIT, DATA, and IDATA memory classes comprise the on-chip memory of the extended 8051 architecture and are shown in the following figure.
CODE, CONST, and HCONST
The HCONST memory class is available only on those devices or target systems with far memory support.
The HCONST memory class includes the CODE memory class (which is still limited to 64 KBytes) and up to 64 code banks that may be used for code banking applications.
In addition, far const variables are stored in this memory class.
XDATA, PDATA, and HDATA
The HDATA memory class is available only on those devices or target systems with far memory support.
The HDATA memory class includes the XDATA memory class (which is still limited to 64 KBytes) and up to 8 MBytes of far variables.
The PDATA memory class is a 256-byte page within the XDATA memory class.
of your data.