C51: USING PDATA MEMORY
Information in this article applies to:
I'm using a chip with on-chip XDATA memory. I want to use one 256-byte page as PDATA. How do I do that?
Does the upper address byte come from P2?
Accessing a 256-byte page (PDATA) of on-chip XDATA is possible and often desirable since PDATA is more efficient than XDATA.
When On-chip XDATA is Enabled...
To configure the tools for PDATA access, you must...
When On-chip XDATA is Disabled...
Most 8051 devices use the value of Port 2 as the upper address byte for PDATA accesses. With such a configuration, the required startup code settings are nearly identical to the above except that the PPAGE SFR must be specified as PPAGE_SFR DATA 0A0H.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Thursday, January 4, 2007
of your data.
We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.
Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.