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.

Descriptions of pragma directivesno_epilogueSyntaxDescriptionExample#pragma no_epilogueUse this pragma directive to use a local return sequence instead of a call to the libraryroutine ?EpilogueN. This pragma directive can be used when a function needs to existon its own as in for example a bootloader that needs to be independent of the libraries itis replacing.#pragma no_epiloguevoid bootloader(void) @"BOOTSECTOR"{...object_attributeSyntaxParametersDescriptionExample#pragma object_attribute=object_attribute[,object_attribute,...]For a list of object attributes that can be used with this pragma directive, see Objectattributes, page 191.Use this pragma directive to declare a variable or a function with an object attribute. Thisdirective affects the definition of the identifier that follows immediately after thedirective. The object is modified, not its type. Unlike the directive #pragmatype_attribute that specifies the storing and accessing of a variable or function, it isnot necessary to specify an object attribute in declarations.#pragma object_attribute=__no_initchar bar;See also General syntax rules for extended keywords, page 189.optimizeSyntax#pragma optimize=param[ param...]Parametersbalanced|size|speednone|low|medium|highno_code_motionno_cseOptimizes balanced between speed and size,optimizes for size, or optimizes for speedSpecifies the level of optimizationTurns off code motionTurns off common subexpression elimination208<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!