Keil Logo

xhuge

The xhuge memory type may be used for variables, constants, and functions. This memory is accessed using 32-bit addresses and may be on-chip or external.

  • For variables, xhuge memory is limited to 16M as are xhuge objects. Variables declared xhuge are located in the XDATA group.
  • For constants (ROM variables), xhuge memory is limited to 16M as are xhuge objects. Constant variables declared xhuge are located in the XCONST group.
  • For program code (functions), xhuge memory is limited to 16M. Program code declared xhuge is stored in the FCODE group. Functions are invoked with the CALLS instruction.

Declare xhuge objects as follows:

unsigned char xhuge xhuge_variable;

unsigned char const xhuge xhuge_const_variable;

unsigned int xhuge xhuge_func (void)
{
return (0);
}

Related Knowledgebase Articles

  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.