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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

asic_template_matching, using . . . . . . . . . . . . . . . . . 109bis_nmi_ie1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201bitfields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171for absolute located data . . . . . . . . . . . . . . . . . . . . . . . 117list of all recognized. . . . . . . . . . . . . . . . . . . . . . . . . . . 257no_epilogue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208pack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176, 209type_attribute, using. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17precision arguments, library support for . . . . . . . . . . . . . . . 78predefined symbolsoverview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226--preinclude (compiler option) . . . . . . . . . . . . . . . . . . . . . 162--preprocess (compiler option) . . . . . . . . . . . . . . . . . . . . . 163preprocessing directivesimplementation-defined behavior . . . . . . . . . . . . . . . . . . . 256preprocessoroutput. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225preprocessor extensionscompatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155#warning message . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229__VA_ARGS__ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229preprocessor symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226defining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145preserved registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92__PRETTY_FUNCTION__ (predefined symbol). . . . . . . 227primitives, for special functions . . . . . . . . . . . . . . . . . . . . . 23print formatter, selecting . . . . . . . . . . . . . . . . . . . . . . . . . . . 52printf (library function). . . . . . . . . . . . . . . . . . . . . . . . . 51, 77choosing formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51configuration symbols . . . . . . . . . . . . . . . . . . . . . . . . . . 62customizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78implementation-defined behavior. . . . . . . . . . . . . 259, 263selecting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78processor configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6processor operationsaccessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83low-level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179, 215program entry label. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57programming hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124__program_start (label). . . . . . . . . . . . . . . . . . . . . . . . . . . . 57projects, basic settings for. . . . . . . . . . . . . . . . . . . . . . . . . . . 5prototypes, enforcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165ptrdiff_t (integer type). . . . . . . . . . . . . . . . . . . . . . . . 174, 239PUBLIC (assembler directive) . . . . . . . . . . . . . . . . . . . . . 163publication date, of this <strong>guide</strong> . . . . . . . . . . . . . . . . . . . . . . . .ii--public_equ (compiler option) . . . . . . . . . . . . . . . . . . . . . 163public_equ (pragma directive) . . . . . . . . . . . . . . . . . . . . . 258putchar (library function) . . . . . . . . . . . . . . . . . . . . . . . . . . 77putenv (library function), absent from DLIB . . . . . . . . . . . 66QQCC430 (environment variable) . . . . . . . . . . . . . . . . . . . . 134qualifiers, implementation-defined behavior. . . . . . . . . . . 256queue (STL header file) . . . . . . . . . . . . . . . . . . . . . . . . . . 235R-r (compiler option). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163raise (library function), configuring support for . . . . . . . . . 67raise.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67RAM memory, saving. . . . . . . . . . . . . . . . . . . . . . . . . . . . 125range errors, in linker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42__raw (extended keyword) . . . . . . . . . . . . . . . . . . . . . . . . 196example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24__read (library function). . . . . . . . . . . . . . . . . . . . . . . . . . . 63customizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60read formatter, selecting . . . . . . . . . . . . . . . . . . . . . . . . 53, 79reading <strong>guide</strong>lines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxireading, recommended . . . . . . . . . . . . . . . . . . . . . . . . . . xxivrealloc (library function)implementation-defined behavior. . . . . . . . . . . . . 260, 263See also heap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22recursive functionsavoiding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125storing data on stack . . . . . . . . . . . . . . . . . . . . . . . . 21–22--reduce_stack_usage (compiler option) . . . . . . . . . . . . . . 164278<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!