Hi,
I am using MSP430F5438A. The double allots 32 bit only at CCS. How to set it as 64 bits. I am reading from a devices, which produces 8 bytes for double. It should be added and write to another device. The struct and uions are given below. I am using CCS 5.1. Looking forward of reply. Thanks.
typedef union regType_t{
unsigned char cha[8];
unsigned int i;
double d;
float f;
long l;
char c;
}regTy;
EXTERN regTy storeSlaveRegValues[2];
EXTERN regTy calculateSlaveRegValues;
calculateSlaveRegValues.d = storeSlaveRegValues[0].d + storeSlaveRegValues[1].d;