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.

Indexlinkingfrom the command line . . . . . . . . . . . . . . . . . . . . . . . . . . 5required input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Lippman, Stanley B. . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxivlist (STL header file). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235listing, generating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153literals, compound. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183literature, recommended . . . . . . . . . . . . . . . . . . . . . . . . . xxivllabs, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238lldiv, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238local variables, See auto variableslocale supportDLIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64adding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65changing at runtime. . . . . . . . . . . . . . . . . . . . . . . . . . 65removing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65locale.h (library header file) . . . . . . . . . . . . . . . . . . . . . . . 233located data segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40located data, declaring extern . . . . . . . . . . . . . . . . . . . . . . 118location (pragma directive) . . . . . . . . . . . . . . . . . . . . 117, 207LOCFRAME (assembler directive). . . . . . . . . . . . . . . . . . . 96--lock_r4 (compiler option). . . . . . . . . . . . . . . . . . . . . . . . 154--lock_r5 (compiler option). . . . . . . . . . . . . . . . . . . . . . . . 154long double (data type) . . . . . . . . . . . . . . . . . . . . . . . . . . . 172long float (data type), synonym for double . . . . . . . . . . . . 186long long (data type)avoiding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170loop overhead, reducing . . . . . . . . . . . . . . . . . . . . . . . . . . 159loop unrolling (compiler transformation) . . . . . . . . . . . . . 122disabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159loop-invariant expressions. . . . . . . . . . . . . . . . . . . . . . . . . 123low-level processor operations . . . . . . . . . . . . . . . . . 179, 215accessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83__low_level_init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57customizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59low_level_init.c. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56, 79__low_power_mode_n (intrinsic function) . . . . . . . . . . . . 223__low_power_mode_off_on_exit (intrinsic function) . . . . 223__lseek (library function) . . . . . . . . . . . . . . . . . . . . . . . . . . 63Mmacros, variadic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229main (function), definition . . . . . . . . . . . . . . . . . . . . . . . . 252malloc (library function)See also heap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22implementation-defined behavior. . . . . . . . . . . . . 260, 263Mann, Bernhard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxivmap (STL header file). . . . . . . . . . . . . . . . . . . . . . . . . . . . 235map, linker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43math.h (library header file) . . . . . . . . . . . . . . . . . . . . 233, 239math.h, added C functionality . . . . . . . . . . . . . . . . . . . . . . 237MATH_ERREXCEPT, C99 extension . . . . . . . . . . . . . . . 237math_errhandling, C99 extension . . . . . . . . . . . . . . . . . . . 237MATH_ERRNO, C99 extension. . . . . . . . . . . . . . . . . . . . 237Medium data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15_medium_write (library function). . . . . . . . . . . . . . . . . . . . 78memoryaccessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7, 16allocating in <strong>C++</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22dynamic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22heap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22non-initialized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128RAM, saving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125releasing in <strong>C++</strong>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22stack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20saving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13used by executing functions . . . . . . . . . . . . . . . . . . . . . . 13used by global or static variables . . . . . . . . . . . . . . . . . . 14memory consumption, reducing . . . . . . . . . . . . . . . . . . . . . 77memory layout, <strong>MSP430</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 13memory management, type-safe . . . . . . . . . . . . . . . . . . . . 101memory placementusing pragma directive . . . . . . . . . . . . . . . . . . . . . . . . . . 17using type definitions. . . . . . . . . . . . . . . . . . . . . . . 18, 191275

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

Saved successfully!

Ooh no, something went wrong!