How to save a value to a variable using mmx ? (c++)

111 Views Asked by At
int А;
int32_t matr1[10] = { 3,10,100,1000,2,40,200,3}; // first matrix
int32_t result[10] = {}; //result
...
_asm{
lea eax,[matr1]
lea edx,[result]
movq mm0,[eax]
movd[edx],mm0

}

How can I continue the code so that for example the 3 element of the array is stored in the variable A. That is, I only need to take one element and save it to a variable

0

There are 0 best solutions below