11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptions of segmentsDATA16_CDescriptionSegment memory typeMemory placementAccess typeHolds __data16 constant data.CONST0x0001–0xFFFERead-onlyDATA16_HEAPDescriptionSegment memory typeMemory placementAccess typeHolds the heap used for dynamically allocated data in data16 memory, in other wordsdata allocated by malloc and free, and in <strong>C++</strong>, new and delete.DATAThis segment must be placed in the first 64 Kbytes of memory.Read/writeSee also The heap, page 39 and New and Delete operators, page 106.DATA16_IDescriptionSegment memory typeMemory placementAccess typeHolds __data16 static and global initialized variables initialized by copying from thesegment DATA16_ID at application startup.This segment cannot be placed in memory by using the -P directive for packedplacement, because the contents must be continuous. Instead, when you define thissegment in the linker command file, the -Z directive must be used.DATA0x0001–0xFFFERead/write244<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!