|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Using PDATA MemoryInformation in this article applies to:
QUESTIONI'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? ANSWERAccessing 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. MORE INFORMATION
SEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
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.