IA32 indexed addressing mode without base address
-
24-02-2021 - |
Domanda
What does this syntax mean? I'm specifically unsure about the missing base address
mov 0x804a1d4(,%edx,4),%eax
Soluzione
assign the contents of 0x804a1d4 + %edx*4
to %eax
Altri suggerimenti
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)
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow