|
| hugeThe huge 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, huge memory is limited to 16M, objects are limited to 64K, and objects may not cross a 64K boundary. Variables declared huge are located in the HDATA group.
- For constants (ROM variables), huge memory is limited to 16M, objects are limited to 64K, and objects may not cross a 64K boundary. Constant variables declared huge are located in the HCONST group.
- For program code (functions), huge memory is limited to 16M. Program code declared huge is stored in the FCODE group. Functions are invoked with the CALLS instruction.
Declare huge objects as follows:
unsigned char huge huge_variable;
unsigned char const huge huge_const_variable;
unsigned int huge huge_func (void)
{
return (0);
}
|
|