|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Function Pointers in Contiguous ModeInformation in this article applies to:
QUESTIONI am using the following code with a Maxim (formerly Dallas Semiconductor) 390 target in Contiguous Mode (program size up to 16MB). However, function pointers that are defined with the code attribute fail. The following program does not work:
Why do I have this problem? ANSWERWhen working in the Contiguous Mode, you must use generic pointers as function pointers. Only generic pointers store the complete address information which is required. So you need to define the function pointer as shown below:
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.