Hello,
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 ?
Regards
Mark-
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 ?
Regards
Mark-
Looks like it means:
add the contents of memory address (0x41C2C0 + ebx) to edx
It would seem the most likely....
Mirno
add the contents of memory address (0x41C2C0 + ebx) to edx
It would seem the most likely....
Mirno
.data
dword_41C2C0 dd 03h
.code
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 ?
dword_41C2C0 dd 03h
.code
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 ?
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!".
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!".
someone is using I.D.A. here ?
erk..erk..erk..erk.... =)
erk..erk..erk..erk.... =)
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 :].
If not, I don't want to hear about it :].