Specifications

CAVR-4
Part 2. Compiler reference
Segment reference
165
This segment and its length is normally defined in the linker command file by the
command:
-Z(DATA)TINY_HEAP+nn=start
where nn is the length and start is the location.
For more information about dynamically allocated data and the heap, see The return
address stack, page 43. For information about using the
new and delete operators for
a heap in tiny memory, see New and Delete operators, page 114.
TINY_I
Holds non-zero initialized static and global __tiny variables.
XLINK segment memory type
DATA
Memory space
Data. The address range is 0x0–0xFF.
Description
Holds static and global __tiny variables that have been defined with non-zero initial
values.
When the -y compiler option is used, FAR_C data is located in this segment.
TINY_ID
Holds __tiny variable initializers.
XLINK segment memory type
CODE
Memory space
Flash. The address range is 0x0–0x7FFFFF.
Description
Holds initial values for the variables located in the TINY_I segment. These values are
copied from TINY_ID to TINY_I during system initialization.