Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

call address in struct pointed to by argument

Name: dumb 2010-03-11 7:55

Is there a better way to do this?

mov edx, dword ptr [ebp+8]
mov edx, dword ptr [edx+4]
call edx

Name: Anonymous 2010-03-11 8:09

Why, what's wrong with it? You could interleave it with other instructions to mitigate the data dependencies, but the effect would depend on the specific architecture.

Name: Anonymous 2010-03-11 8:30

You can "call dword ptr [edx+4]".

Name: Anonymous 2010-03-11 9:23

You can CALL MY ANUS

Name: Anonymous 2010-03-11 9:53


mov eax, dword ptr [ebp+8]
call dword ptr [eax+4]

could work.

Don't change these.
Name: Email:
Entire Thread Thread List