Sorry for newbi question.

i see people do this:

mov eax, some_var
add dword ptr , some_valu

does this not move past size of DWORD!?
Posted on 2001-12-06 14:49:23 by EStu_pId

What is happening is the difference between an address in memory and what is at that address.

If you add to the address, you change that address by the amount you add to it where if you add to the number that is at that address, you are doing something different.

Have a look at the file called ASMINTRO.HLP from MASM32v7, it addresses this stuff properly.

Posted on 2001-12-06 15:10:46 by hutch--