News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

How to use it right

Started by Farabi, December 16, 2012, 12:18:48 PM

Previous topic - Next topic

Farabi

I want to access the value refferenced by a variable, how to access it

mov dword ptr[var+4],eax

or

mov [var+4],eax
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

qWord

you must load the pointer into a register for dereferencing:
mov eax,pointer
mov DWORD ptr [eax+4],xyz
MREAL macros - when you need floating point arithmetic while assembling!

Farabi

O I C, I need to the conventional way. Thanks.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165