IA32 indexed addressing mode without base address
-
24-02-2021 - |
Frage
What does this syntax mean? I'm specifically unsure about the missing base address
mov 0x804a1d4(,%edx,4),%eax
Lösung
assign the contents of 0x804a1d4 + %edx*4
to %eax
Andere Tipps
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)
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow