|
|||||||||||
Technical Support Support Resources
Product Information |
C51: How to Use 256 Bytes of Data SpaceInformation in this article applies to:
QUESTIONI have an 8051 device that has 256 bytes DATA RAM, but it appears that I can only access the first 128 bytes. How can I enable the remaining memory? ANSWERThe 8051 architecture differs between DATA and IDATA. When a device has 256 bytes on-chip RAM space, the first 128 bytes can be only accessed in DATA space whereas the entire 256 bytes space can be accessed as IDATA. In the C Compiler you must define variables that should be placed above the 128 bytes limit using the idata memory type. Example:
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.