Keil™, An ARM® Company

C166 User's Guide

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