Keil Logo

C251: HOLD DIRECTIVE


Information in this article applies to:

  • C251 Version 1.24
  • C251 Version 2.14

QUESTION

What is the HOLD directive used for?

ANSWER

The HOLD directive is used to specify the size limits that the C251 compiler uses when locating global variables that are declared without explicit memory types.

Examples:

data_limit is the maximum size for global variables stored in data memory. near_limit is the maximum size for global variables stored in near memory. xdata_limit is the maximum size for global variables stored in xdata mimory.

MORE INFORMATION

  • For more information, refer to Chapter 2, page 40 of the C251 Compiler User's Guide 09.97

SEE ALSO

Last Reviewed: Wednesday, August 3, 2005


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.