What does it mean to have these 3 instructions as the source of a movl instruction?
(%esi, %ecx, 4)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means:
Calculate Address = (ESI + ECX * 4).
Read the value into EAX from 32-bit value at that memory address.
From the linked article:
See: http://en.wikibooks.org/wiki/X86_Assembly/GAS_Syntax
Personally I prefer the more readable MASM syntax
Which has the form:
mnemonic destination, source(exactly the other way round).Comment
Oh and what you call instructions, are really
parameters.The instruction is the whole statement.