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.

S--save_reg20 (compiler option). . . . . . . . . . . . . . . . . . . . . 165__save_reg20 (extended keyword) . . . . . . . . . . . . . . . . . . 197scanf (library function) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79choosing formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52configuration symbols . . . . . . . . . . . . . . . . . . . . . . . . . . 62implementation-defined behavior. . . . . . . . . . . . . 260, 263scratch registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91section (pragma directive). . . . . . . . . . . . . . . . . . . . . . . . . 258segment group name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35segment map, in linker map file . . . . . . . . . . . . . . . . . . . . . 43segment memory types, in XLINK . . . . . . . . . . . . . . . . . . . 32segment names, declaring . . . . . . . . . . . . . . . . . . . . . . . . . 213segment (pragma directive). . . . . . . . . . . . . . . . . . . . . . . . 213segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35definition of . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31initialized data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31located data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40naming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36packing in memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34placing in sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34static memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241too long for address range . . . . . . . . . . . . . . . . . . . . . . . 42too long, in linker. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42CODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41ISR_CODE, for interrupt functions (<strong>MSP430</strong>X) . . . . . . 41__segment_begin (extended operator). . . . . . . . . . . . . . . . 181__segment_end (extended operator) . . . . . . . . . . . . . . . . . 181semaphoresC example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26<strong>C++</strong> example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27operations on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195set (STL header file) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235setjmp.h (library header file). . . . . . . . . . . . . . . . . . . 233, 239setlocale (library function) . . . . . . . . . . . . . . . . . . . . . . . . . 65settings, basic for project configuration . . . . . . . . . . . . . . . . 5__set_interrupt_state (intrinsic function) . . . . . . . . . . . . . 223__set_R4_register (intrinsic function). . . . . . . . . . . . . . . . 224__set_R5_register (intrinsic function). . . . . . . . . . . . . . . . 224__set_SP_register (intrinsic function) . . . . . . . . . . . . . . . . 224severity level, of diagnostic messages. . . . . . . . . . . . . . . . 137specifying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138SFR (special function registers) . . . . . . . . . . . . . . . . . . . . 127declaring extern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118shared object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136signal (library function)configuring support for . . . . . . . . . . . . . . . . . . . . . . . . . 67implementation-defined behavior. . . . . . . . . . . . . . . . . 259signal.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67signal.h (library header file) . . . . . . . . . . . . . . . . . . . . . . . 233signbit, C99 extension. . . . . . . . . . . . . . . . . . . . . . . . . . . . 237signed char (data type) . . . . . . . . . . . . . . . . . . . . . . . 170–171specifying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144signed int (data type). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170signed long long (data type) . . . . . . . . . . . . . . . . . . . . . . . 170signed long (data type) . . . . . . . . . . . . . . . . . . . . . . . . . . . 170signed short (data type). . . . . . . . . . . . . . . . . . . . . . . . . . . 170signed values, avoiding . . . . . . . . . . . . . . . . . . . . . . . . . . . 113--silent (compiler option) . . . . . . . . . . . . . . . . . . . . . . . . . 166silent operation, specifying . . . . . . . . . . . . . . . . . . . . . . . . 166__simple (function type attribute) . . . . . . . . . . . . . . . . . . . . 9064-bits (floating-point format) . . . . . . . . . . . . . . . . . . . . . 173sizeof, using in preprocessor extensions . . . . . . . . . . . . . . 155size_t (integer type) . . . . . . . . . . . . . . . . . . . . . . . . . 174, 239skeleton code, creating for assembler language interface . . 86skeleton.s99 (assembler source output). . . . . . . . . . . . . . . . 87slist (STL header file) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235Small data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15_small_write (library function) . . . . . . . . . . . . . . . . . . . . . . 78snprintf, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . . 238source files, list all referred. . . . . . . . . . . . . . . . . . . . . . . . 152special function registers (SFR) . . . . . . . . . . . . . . . . . . . . 127280<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!