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;

Also:

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.