Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
What does this syntax mean? I'm specifically unsure about the missing base address
mov 0x804a1d4(,%edx,4),%eax
将内容分配0x804a1d4 + %edx*4给%eax
0x804a1d4 + %edx*4
%eax
没有基础。可以省略基址寄存器或偏移寄存器(但不能同时省略两者)。在这种情况下,基地址是硬编码的,要移动到 eax 的值是从
0x804a1d4 + (edx * 4)