我的处理器的汇编指令集

3
亲爱的大家,这是一个简单的问题。我想知道如何找到我的处理器的指令集。proc/cpu给出了(一个普通的CPU):
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     T6600  @ 2.20GHz
stepping        : 10
cpu MHz         : 1200.000
cache size      : 2048 KB

我在哪里可以找到关于这个指令集的文档?我想获取信息以解锁gcc.s文件,了解它是如何翻译我的代码的。如果问题不清楚,请原谅,我很乐意澄清。谢谢。

1个回答

5

http://www.intel.com/products/processor/manuals/

您需要获取"Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 2A: Instruction Set Reference, A-M"和"Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 2B: Instruction Set Reference, N-Z"。


谢谢!另外一个小提示:gcc似乎产生at&t语法,你知道有什么好的等价表吗? - Dervin Thunk
4
已解决:使用命令“gcc -S -masm=intel test.c”可将test.c文件编译成Intel语法的汇编代码。 - Dervin Thunk

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接