Question

What does this syntax mean? I'm specifically unsure about the missing base address

mov    0x804a1d4(,%edx,4),%eax
Was it helpful?

Solution

assign the contents of 0x804a1d4 + %edx*4 to %eax

OTHER TIPS

There is no base. Either the base register or the offset register (but not both) may be omitted. In this case the base address is hard-coded and the value to be moved into eax is loaded from

  0x804a1d4 + (edx * 4)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top