Sorry for newbi question.
i see people do this:
some_var:DWORD
mov eax, some_var
add dword ptr , some_valu
does this not move past size of DWORD!?
i see people do this:
some_var:DWORD
mov eax, some_var
add dword ptr , some_valu
does this not move past size of DWORD!?
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.
Regards,
hutch@movsd.com
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.
Regards,
hutch@movsd.com