AT&T 汇编格式 Intel 汇编格式
本帖最后由 catch 于 2013-12-23 17:09 编辑在 AT&T 汇编格式中,内存操作数的寻址方式是section:disp(base, index, scale)
而在 Intel 汇编格式中,内存操作数的寻址方式为:section:
由于 Linux 工作在保护模式下,用的是 32 位线性地址,所以在计算地址时不用考虑段基址和偏移量,而是采用如下的地址计算方法:disp + base + index * scale disp + base + index * scale Linux汇编很坑爹
页:
[1]