Atmel CAVR-4 Manuale Utente
CAVR-4
164
Descriptions of segments
AVR® IAR C/C++ Compiler
Reference Guide
SWITCH
Holds switch tables for all functions.
XLINK segment memory type
CODE
Memory space
Flash. The address range is
0x0–0xFFFF
. If the
_ _farflash
extended keyword and the
--enhanced_core
option are used, the range is
0x0
–
0x7FFFFF
. This segment must
not cross a 64-Kbyte boundary.
Description
The
SWITCH
segment is for compiler internal use only and should always be defined.
The segment allocates, if necessary, jump tables for C switch statements.
TINY_F
Holds static and global
_ _tinyflash
variables.
XLINK segment memory type
CODE
Memory space
Flash. The address range is
0x0–0xFF
.
Description
Holds static and global
_ _tinyflash
variables and aggregate initializers.
TINY_HEAP
Holds the heap used for dynamically allocated data in tiny memory when using the
DLIB library.
DLIB library.
XLINK segment memory type
DATA
Memory space
Data. The address range is
0x0–0xFF
.
Description
This segment holds dynamically allocated data in tiny memory, in other words data used
by
by
tiny_malloc
and
tiny_free
, and in C++,
new
and
delete
.