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.

Indexspecial function types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11sprintf (library function) . . . . . . . . . . . . . . . . . . . . . . . . 51, 77choosing formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51customizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78SP. See registerssscanf (library function) . . . . . . . . . . . . . . . . . . . . . . . . . . . 79choosing formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52sstream (library header file) . . . . . . . . . . . . . . . . . . . . . . . 234stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20, 37advantages and problems using . . . . . . . . . . . . . . . . . . . 21changing default size of . . . . . . . . . . . . . . . . . . . . . . . . . 38cleaning after function return. . . . . . . . . . . . . . . . . . . . . 95contents of . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21function usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13internal data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94saving space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125size. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38stack parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92, 94stack pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21stack segmentplacing in memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38stack (STL header file) . . . . . . . . . . . . . . . . . . . . . . . . . . . 235standard error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161standard input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60standard output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60specifying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161standard template library (STL)in Extended E<strong>C++</strong> . . . . . . . . . . . . . . . . . . . . 102, 109, 235missing from Embedded <strong>C++</strong> . . . . . . . . . . . . . . . . . . . 102startup codeplacement of . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41See also CSTARTstartup, systemCLIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79DLIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56statements, implementation-defined behavior . . . . . . . . . . 256static data, in linker command file . . . . . . . . . . . . . . . . . . . 37static memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13static memory segments . . . . . . . . . . . . . . . . . . . . . . . . . . . 35static overlay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96static variablesinitialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37taking the address of . . . . . . . . . . . . . . . . . . . . . . . . . . 124static_cast (cast operator) . . . . . . . . . . . . . . . . . . . . . . . . . 102std namespace, missing from E<strong>C++</strong>and Extended E<strong>C++</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111stdarg.h (library header file) . . . . . . . . . . . . . . . . . . . 233, 239stdbool.h (library header file) . . . . . . . . . . . . . . 170, 234, 239added C functionality. . . . . . . . . . . . . . . . . . . . . . . . . . 237__STDC__ (predefined symbol) . . . . . . . . . . . . . . . . . . . . 227__STDC_VERSION__ (predefined symbol) . . . . . . . . . . 228stddef.h (library header file) . . . . . . . . . . . . . . . 171, 234, 239stderr. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63, 161stdexcept (library header file) . . . . . . . . . . . . . . . . . . . . . . 234stdin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63implementation-defined behavior. . . . . . . . . . . . . 259, 262stdint.h (library header file). . . . . . . . . . . . . . . . . . . . 234, 236stdint.h, added C functionality . . . . . . . . . . . . . . . . . . . . . 237stdio.h (library header file) . . . . . . . . . . . . . . . . . . . . 234, 239stdio.h, additional C functionality. . . . . . . . . . . . . . . . . . . 238stdlib.h (library header file). . . . . . . . . . . . . . . . . . . . 234, 239stdlib.h, additional C functionality . . . . . . . . . . . . . . . . . . 238stdout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63, 161implementation-defined behavior. . . . . . . . . . . . . 259, 262Steele, Guy L. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxivSTL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109streambuf (library header file). . . . . . . . . . . . . . . . . . . . . . 234streams, supported in Embedded <strong>C++</strong>. . . . . . . . . . . . . . . . 102strerror (library function)implementation-defined behavior . . . . . . . . . . . . . . . 261, 264--strict_ansi (compiler option). . . . . . . . . . . . . . . . . . . . . . 166string (library header file) . . . . . . . . . . . . . . . . . . . . . . . . . 234strings, supported in Embedded <strong>C++</strong> . . . . . . . . . . . . . . . . 102string.h (library header file) . . . . . . . . . . . . . . . . . . . 234, 239Stroustrup, Bjarne. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxivstrstream (library header file) . . . . . . . . . . . . . . . . . . . . . . 234strtod (library function), configuring support for . . . . . . . . 68281

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

Saved successfully!

Ooh no, something went wrong!