G
Guest
Could anyone please tell me if there is a syntax to dereference a pointer in
inline assembly? Something like:
int *a = ...;
__asm mov eax, *a; // move dword from location pointed to by a
I could do:
__asm mov edx, a;
__asm mov eax, [edx];
but it would help me if I could do it in one step.
Thank you.
inline assembly? Something like:
int *a = ...;
__asm mov eax, *a; // move dword from location pointed to by a
I could do:
__asm mov edx, a;
__asm mov eax, [edx];
but it would help me if I could do it in one step.
Thank you.