|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Function of ?C?ICALL and ?C?ICALL2Information in this article applies to:
SYMPTOMSWhen I use function pointers, the compiler outputs code that calls a library routine named ICALL as shown here.
What does this routine do and why is it necessary? CAUSEThe ?C?ICALL library routine performs indirect function calls by:
Indirect function calls are handled with this function because there are 4 or 5 instructions necessary to execute the call. It is more memory efficient to have this routine if you have several indirect calls. In addition there is a slightly different entry named ?C?ICALL2. This function expects the function address in DPL/DPH and therefore does not copy the function address. 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.