Keil Logo

C51: NOREGPARMS DOES NOT WORK ON REENTRANT FUNCTIONS


Information in this article applies to:

  • C51 All Versions

QUESTION

I am using reentrant functions and I've noticed that the compiler passed the first few arguments in registers (when possible). If I use the NOREGPARMS directive, will the compiler pass all arguments on the reentrant stack?

ANSWER

No. The NOREGPARMS directive is provided for compatibility with the C51 Version 2 compiler. Version 2 did not offer reentrant functions so this directive has no effect on the code generated for them.

SEE ALSO

Last Reviewed: Saturday, April 24, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.