Keil™, An ARM® Company

Discussion Forum

C51 Libraries and reentrancy

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Glenn Heard
Posted
1-Aug-2002 09:15
Toolset
C51
New! 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
Read-Only
Author
Glenn Heard
Posted
1-Aug-2002 09:19
Toolset
C51
New! RE: C51 Libraries and reentrancy
Also....

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


Thank,

Glenn
Read-Only
Author
Jon Ward
Posted
1-Aug-2002 09:56
Toolset
C51
New! RE: C51 Libraries and reentrancy
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

Next Thread | Thread List | Previous Thread Start a Thread | Settings