mov 0x8(%r14,%r15,8),%rax是什么意思

时间:2018-08-01 08:18:53

标签: linux disassembly att

在这里0x8(%r14,%r15,8)是什么意思,我知道0x8(%r14,%r15,8)是SRC,但我不明白为什么要使用两个寄存器%r14和%r15在这里,我不知道如何计算src地址。 非常感谢您的投入。

1 个答案:

答案 0 :(得分:0)

http://flint.cs.yale.edu/cs421/papers/x86-asm/asm.html提取的信息

AT&T寻址:

内存地址参考:Address_or_Offset(%base_or_offset,%Index_Register,小数位数)

最终地址计算:Address_or_Offset +%base_or_offset + [Scale *%Index_Reg]

示例:

mov (%esi,%ebx,4), %edx         /* Move the 4 bytes of data at address ESI+4*EBX into EDX. */
相关问题