please dont rip this site

TI MSP430 C compiler

Most registers in the MSP are 16 bits long, so an int value is 2 bytes (16 bits) long.

As per normal, you can turn on bits with !=bitmask and turn them off with &= ~bitmask.

With IAR tools you can use the "@" operator, or #pragma location to set an absolute memory location for a variable. The compiler will reserve that space and not place other variables in conflict. __no_init char MyArray[0x40] @ 0x200;


See also:

IAR originally came from the initials of it's founder: Ingenjörsfirma Anders Rundgren. Anders (which is a common name in Sweden) founded IAR in 1983 and wrote the first ever C compiler for a micro controller, the 8051.

file: /Techref/ti/msp430/c.htm, 1KB, , updated: 2008/6/12 11:35, local time: 2021/10/25 21:33,

 ©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> TI MSP430, MSP430 C compiler, C compiler, C language</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2021 contributors:
o List host: MIT, Site host, Top posters @20211025 Neil, Harold Hallikainen, Alan Pearce, RussellMc, Bob Blick, Allen Mulvey, Dwayne Reid, madscientistatlarge, Sean Breheny, Justin Richards,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!