Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
154
Descriptions of segments
AVR® IAR C/C++ Compiler
Reference Guide
Description
Holds user program code that has been declared 
_ _farfunc
. The 
_ _farfunc
 memory 
attribute is available when using the 
-v5
 and 
-v6
 options, in which case the 
_ _farfunc
 
is implicitly used for all functions.
FAR_C
Holds 
_ _far
 constant data, including string literals.
XLINK segment memory type
CONST
Memory space
Data. The address range is 
0x0–0xFFFFFF
.
Description
Holds 
_ _far
 constant data, including string literals.
Note: This segment is located in external ROM. Systems without external ROM may 
not use this segment.
When the 
-y
 compiler option is used, 
_ _far
 constant data is located in the 
FAR_I
 
segment.
FAR_F
Holds static and global 
_ _farflash
 variables.
XLINK segment memory type
CODE
Memory space
Flash. The address range is 
0x0–0x7FFFFF
.
Description
Holds static and global 
_ _farflash
 variables and aggregate initializers.