I just know the type *long long* (8 bytes long integer) of mspgcc.
You can try it.



2006/7/22, N. Coesel <[email protected]>:

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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users




--
____________________
Pedro Federici Coelho
Engenheiro Eletricista (Electric Engineer)
55 27 9979-0963
55 27 3227-4684
55 27 3227-2531

Reply via email to