|
|||||||||||
Technical Support Support Resources
Product Information |
C166: Generating a Call to an Absolute Memory LocationInformation in this article applies to:
QUESTIONI need to call a routine at address 0x100000. Is there a way to do this in C? ANSWERYes. The following statement generates call to a function at address 0x100000.
The function called is a far function and must return with a RETS instruction. In the SMALL and COMPACT memory models, you must declare this function as a far function. For example:
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.