Posted: Sat Jun 07, 2014 11:13 am Post subject: Re: a little information
kitesan wrote:
i want to calculate this:
ecx+eax*4+000000A0
how does it work? what eax*4 means?
It's exactly like basic arithmetic or algebra... you multiply eax by four, then add ecx and a0. As an aside, this kind of construct pops up a lot when you're iterating over an array of pointers or dwords. In such a case, ecx would be the base of the object or array, a0 would be the offset of the first element, and eax would be the index of the element we desire for retrieval. _________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum