Hallo, I played around with the IDE (I saw it, i liked it
great job) and found that this small piece of code didn't match what I expect. The mmx register keeps empty instead of filling with the src[] bytes and the st0 register goes to -infinity (thats what the ide debugger display). I then checked the exe (full debug info, compiled as console app) with Jeremy Gordons Win32 Debugger GoBug and everything goes fine. Could someone check this?
unsigned char src[8] = {10,20,30,40,50,60,70,80};
unsigned char dst[8] = {1,2,3,4,5,6,7,8};
int main(int argc, char *argv[])
{
/* Inline Assembler */
__asm
{
mov eax, offset src;
movq mm0,[eax]; // load first 8 bytes of src
/* ... */
}
return 0;
}
gerdk