سؤال

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

mov    0x804a1d4(,%edx,4),%eax
هل كانت مفيدة؟

المحلول

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

نصائح أخرى

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)
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top