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.

Index-o (compiler option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161object attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191object filename, specifying . . . . . . . . . . . . . . . . . . . . 161–162object module name, specifying . . . . . . . . . . . . . . . . . . . . 156object_attribute (pragma directive) . . . . . . . . . . . . . . 128, 208offsetof . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239--omit_types (compiler option) . . . . . . . . . . . . . . . . . . . . . 161once (pragma directive) . . . . . . . . . . . . . . . . . . . . . . . . . . 258--only_stdout (compiler option) . . . . . . . . . . . . . . . . . . . . 161__open (library function) . . . . . . . . . . . . . . . . . . . . . . . . . . 63operators@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117, 181__memory_of. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105optimizationcode motion, disabling. . . . . . . . . . . . . . . . . . . . . . . . . 157common sub-expression elimination, disabling . . . . . . 157configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8disabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122function inlining, disabling . . . . . . . . . . . . . . . . . . . . . 157hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124loop unrolling, disabling . . . . . . . . . . . . . . . . . . . . . . . 159specifying (-O). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122type-based alias analysis (compiler transformation). . . 123disabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158using inline assembler code . . . . . . . . . . . . . . . . . . . . . . 85using pragma directive . . . . . . . . . . . . . . . . . . . . . . . . . 208optimization levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121optimize (pragma directive) . . . . . . . . . . . . . . . . . . . . . . . 208option parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139options, compiler. See compiler options__op_code (intrinsic function) . . . . . . . . . . . . . . . . . . . . . 223Oram, Andy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxivostream (library header file) . . . . . . . . . . . . . . . . . . . . . . . 234--output (compiler option). . . . . . . . . . . . . . . . . . . . . . . . . 162output from linker, specifying. . . . . . . . . . . . . . . . . . . . . . . . 5output (preprocessor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163output, supporting non-standard . . . . . . . . . . . . . . . . . . . . . 78overhead, reducing . . . . . . . . . . . . . . . . . . . . . . . . . . 122–123Ppack (pragma directive) . . . . . . . . . . . . . . . . . . . . . . 176, 209packed structure types. . . . . . . . . . . . . . . . . . . . . . . . . . . . 176parametersfunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92hidden . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92non-scalar, avoiding . . . . . . . . . . . . . . . . . . . . . . . . . . . 125register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92–93rules for specifying a file or directory . . . . . . . . . . . . . 140specifying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141stack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92, 94typographic convention . . . . . . . . . . . . . . . . . . . . . . . xxivpart number, of this <strong>guide</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . .iipermanent registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92perror (library function),implementation-defined behavior . . . . . . . . . . . . . . . 260, 263--pic (compiler option) . . . . . . . . . . . . . . . . . . . . . . . . . . . 162placementcode and data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241in named segments. . . . . . . . . . . . . . . . . . . . . . . . . . . . 119pointer typesdifferences between . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18mixing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186pointerscasting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18, 174data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173implementation-defined behavior. . . . . . . . . . . . . . . . . 255polymorphism, in Embedded <strong>C++</strong> . . . . . . . . . . . . . . . . . . 101porting, code containing pragma directives. . . . . . . . . . . . 200position independent code. . . . . . . . . . . . . . . . . . . . . . . . . . . 7__POSITION_INDEPENDENT_CODE__ (predefinedsymbol). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227_Pragma (predefined symbol) . . . . . . . . . . . . . . . . . . . . . . 229pragma directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199277

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

Saved successfully!

Ooh no, something went wrong!