|
|||||||||||
|
Technical Support Support Resources
Product Information |
AX51: Absolute Code Segments beyond 64 KBInformation in this article applies to:
QUESTIONI am programming a Dallas DS80C390 CPU in Contiguous Mode. When I define an absolute CSEG beyond the 64KB limit, I get the following linker error:
How can I solve this problem? ANSWERThe CODE and XDATA segments are limited to a single 64KB segment. This limitation allows you to port code from standard 8051 to the new extended address range without re-working the address calculations in the program. To use the extended 16MB address space, the toolchain adds new memory classes: HDATA, HCONST, ECODE. Therefore, you need to define absolute segments as shown below:
This code links without any errors or warnings. MORE INFORMATION
SEE ALSOLast 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.