0

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

mov    0x804a1d4(,%edx,4),%eax
Carl Norum
  • 219,201
  • 40
  • 422
  • 469
victor
  • 6,688
  • 9
  • 44
  • 48

2 Answers2

2

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

Community
  • 1
  • 1
steve
  • 5,870
  • 1
  • 21
  • 22
1

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)
Borodin
  • 126,100
  • 9
  • 70
  • 144