This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Accessng x86 instructions in CCS!!

Hi Guys, Upon referring to the file(5732.assembly.h). 

Peace of code in the file:: 

//inline rountines with access to 64-bit multiply results
//- x86 (_WIN32) and ARM (ARM_ADS, _WIN32_WCE) versions included

// MADD64(sum, x, y)   (Windows only) sum [64-bit] += x [32-bit] * y [32-bit]

static __inline Word64 MADD64(Word64 sum, int x, int y)
{
unsigned int sumLo = ((unsigned int *)&sum)[0];
int sumHi = ((int *)&sum)[1];

__asm {
mov eax, x
imul y
add eax, sumLo
adc edx, sumHi
}

/* equivalent to return (sum + ((__int64)x * y)); */
}

Does anybody know or is it possible to access windows instruction in CCS??

Using F28069 experimeter board!

Thanks,

Rahul

  • Rahul,

    Rahul SU said:

    Does anybody know or is it possible to access windows instruction in CCS??

    Since CCS is based in Eclipse, and because of that various third party plug-ins can be added to its environment, there is a small possibility a plug-in tool exists that allows debugging Windows source code and executable binaries. However, CCS does not ship with a x86 debugger by default and I have never used one in this environment.

    The fact that a header file (*.h) has references to x86 code does not imply CCS can debug it. If you would like to know why this reference is included there, you should check with the group that developed the software library you are using. They would know with a greater degree of knowledge what their library supports in terms of CPU architectures.

    Regards,

    Rafael

  • Thanks Rafael!!!