This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51 Libraries and reentrancy

Hi,

In http://www.keil.com/support/docs/1873.htm Section 2; It is said that some of the library functions are inherently reentrant because they only use registers for local variables... If only SOME are reentrant in this manner, please list those functions that require reentrant stack to be defined in STARTUP.A51.

Thanks,

Glenn

  • Also....

    Are the built in functions ( ie IMUL, LMUL ) and the like inherently reentrant?


    Thank,

    Glenn

  • If only SOME are reentrant in this manner, please list those functions that require reentrant stack to be defined in STARTUP.A51.

    None of the library routines use the reentrant stack.

    The reentrant library routines are so indicated in the Library Reference section of the Compiler manual.

    Jon