leal(%eax,%ecx,4), %edx
as I read from my book on computer systems, if there are such objects that $ eax contains the value x, and% ecx contains y, then this means that x + 4y is placed in% edx.
then if it
movl(%eax,%ecx,4), %edx
isn't that the same with the leal expression above?
As I know, leal creates an address that can be referenced without referring to it as movl, but
when I saw leal(%eax,%ecx,4), %edx , putting x+4y in the edx doesn t it mean that it 'referenced' % eax and % ecx` and the extracted value of x and y to use the calculation
- doesn`t it "()" mean 'referenced' ??
assembly x86 att
Swen Nov 22 '12 at 16:50 2012-11-22 16:50
source share