would anyone mind explaining me the instruction in the topic to me ?

i know how add edx, ebx works but

add edx, ds:dword_41C2C0

whats the ebx ? what is being summed there ?

Posted on 2001-12-30 18:12:20 by Mark-
Looks like it means:
add the contents of memory address (0x41C2C0 + ebx) to edx

It would seem the most likely....

Posted on 2001-12-30 19:04:41 by Mirno
dword_41C2C0 dd 03h
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ebx, 3
mov edx, 3
add edx, dword_41C2C0

after all edx still 3, isnt that weird ?
Posted on 2001-12-30 20:47:14 by Mark-
Not really. x86 stores data in little endian, meaning the Least Significant
Byte is stored first. Thus, the memory layout of dword_41C2C0
will be 03 00 00 00 , and "dword_41C2C0 + 3" is thus zero. Well,
assuming the following dword (or three bytes of it ;) ) are zero.
If this is not true, my disclaimer will be "I was drunk at the time. Cheers!".
Posted on 2001-12-30 22:29:19 by f0dder
someone is using I.D.A. here ?
erk..erk..erk..erk.... =)
Posted on 2001-12-31 06:15:04 by roy
if it's idafree.zip or he has paid for it, there's nothing wrong.
If not, I don't want to hear about it :].
Posted on 2001-12-31 06:23:32 by f0dder