Posted: Fri Mar 14, 2008 11:49 pm Post subject: [Asm] Dword pointers.
I understand most of the asm functions except this one. I know that dword means double word and ptr pointer but f someone could fully explain what:
fld dword ptr [register]
fstp dword ptr [register]
thanks.
and also, whats the sintax to change the value of a pointer that has an offset in c++? _________________
Posted: Sat Mar 15, 2008 5:39 am Post subject: Re: [Asm] Dword pointers.
spectrum wrote:
I understand most of the asm functions except this one. I know that dword means double word and ptr pointer but f someone could fully explain what:
fld dword ptr [register]
fstp dword ptr [register]
thanks.
and also, whats the sintax to change the value of a pointer that has an offset in c++?
The pointers are still the same, doesn't matters if the instruction is "mov [register+offset],eax" or "mov eax,[register+offset]" or fld dword ptr [register+offset], the value of the register + the offset will always point to the same address.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum