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

memcpy reentrant

Hi,
Does memcpy must a reeentrant function?
If I didn't set XBPSTACK in startup.a51, where would it put stack on?

Parents
  • The manual says memcpy is reentrant.

    Although the documentation does not say, I suspect that memcpy is "naturally reentrant". That is, it needs no storage other than registers to do its job. So, the absence of a simulated stack should not be a problem.

Reply
  • The manual says memcpy is reentrant.

    Although the documentation does not say, I suspect that memcpy is "naturally reentrant". That is, it needs no storage other than registers to do its job. So, the absence of a simulated stack should not be a problem.

Children