At 12:31 21-07-06 +0200, you wrote:
>  Hi!
>
>I'm searching for an easy way to use 64 bit long integer values with the 
>MSP430. I'm using the CCE IDE from TI. Is there any C library available 
>for 64 bit aritmethic?

You can use the long long type, but beware, the implementation is very
buggy. I even got compiler crashes when trying to shift 64 bits like:

long long a, b;
a= (b >> 24) & 0xffff;

This particular piece of code probably won't make the compiler crash, but
when used in a particular situation, the compiler crashed on similar
instructions (can't reproduce it with a code snippet).

Nico Coesel


Reply via email to