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.

CSTACK (segment)example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38See also stackCSTART (segment). . . . . . . . . . . . . . . . . . . . . . . . . . . 41, 243cstartup (system startup code). . . . . . . . . . . . . . . . . . . . 41, 79customizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60overriding in runtime library . . . . . . . . . . . . . . . . . . . . . 53cstartup.s43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56cstdarg (DLIB header file) . . . . . . . . . . . . . . . . . . . . . . . . 236cstdbool (DLIB header file) . . . . . . . . . . . . . . . . . . . . . . . 236cstddef (DLIB header file) . . . . . . . . . . . . . . . . . . . . . . . . 236cstdio (DLIB header file) . . . . . . . . . . . . . . . . . . . . . . . . . 236cstdlib (DLIB header file) . . . . . . . . . . . . . . . . . . . . . . . . . 236cstring (DLIB header file). . . . . . . . . . . . . . . . . . . . . . . . . 236ctime (DLIB header file). . . . . . . . . . . . . . . . . . . . . . . . . . 236ctype.h (library header file). . . . . . . . . . . . . . . . . . . . 233, 239added C functionality. . . . . . . . . . . . . . . . . . . . . . . . . . 237cwctype.h (library header file) . . . . . . . . . . . . . . . . . . . . . 236<strong>C++</strong>See also Embedded <strong>C++</strong> and Extended Embedded <strong>C++</strong>absolute location . . . . . . . . . . . . . . . . . . . . . . . . . 117, 119calling convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88dynamic initialization in . . . . . . . . . . . . . . . . . . . . . . . . 42features excluded from E<strong>C++</strong> . . . . . . . . . . . . . . . . . . . 101header files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234–235language extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . 111special function types. . . . . . . . . . . . . . . . . . . . . . . . . . . 28static member variables . . . . . . . . . . . . . . . . . . . . 117, 119support for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv<strong>C++</strong> names, in assembler code . . . . . . . . . . . . . . . . . . . . . . 89<strong>C++</strong> objects, placing in memory type . . . . . . . . . . . . . . . . . 20<strong>C++</strong>-style comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182C-SPYlow-level interface . . . . . . . . . . . . . . . . . . . . . . . . . . 69, 80STL container support . . . . . . . . . . . . . . . . . . . . . . . . . 110?C_EXIT (assembler label). . . . . . . . . . . . . . . . . . . . . . . . . 81?C_GETCHAR (assembler label) . . . . . . . . . . . . . . . . . . . . 81C_INCLUDE (environment variable) . . . . . . . . . . . . . . . . 134?C_PUTCHAR (assembler label) . . . . . . . . . . . . . . . . . . . . 81C99 standard, added functionality from . . . . . . . . . . . . . . 236D--data_model (compiler option) . . . . . . . . . . . . . . . . . . . . 145dataalignment of. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169located, declaring extern . . . . . . . . . . . . . . . . . . . . . . . 118placing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116, 203, 241at absolute location . . . . . . . . . . . . . . . . . . . . . . . . . 117representation of . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13verifying linked result . . . . . . . . . . . . . . . . . . . . . . . . . . 42data block (call frame information). . . . . . . . . . . . . . . . . . . 98data memory attributes, using . . . . . . . . . . . . . . . . . . . . . . . 16data models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7identifying (__DATA_MODEL__) . . . . . . . . . . . . . . . 226data pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174data segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170avoiding signed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113floating point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172in <strong>C++</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170dataseg (pragma directive) . . . . . . . . . . . . . . . . . . . . . . . . 203data_alignment (pragma directive)alignmentforcing stricter (#pragma data_alignment) . . . . . . . . . . 202__DATA_MODEL__ (predefined symbol) . . . . . . . . . . . . 226__data_model (runtime model attribute) . . . . . . . . . . . . . . . 72__data16 (extended keyword) . . . . . . . . . . . . . . . . . . . . . . 194data16 (memory type). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16DATA16_AC (segment) . . . . . . . . . . . . . . . . . . . . . . . . . . 243DATA16_AN (segment) . . . . . . . . . . . . . . . . . . . . . . . . . . 243DATA16_C (segment). . . . . . . . . . . . . . . . . . . . . . . . . . . . 244DATA16_HEAP (segment) . . . . . . . . . . . . . . . . . . . . . . . . 244DATA16_I (segment) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244DATA16_ID (segment) . . . . . . . . . . . . . . . . . . . . . . . . . . . 245268<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!