Objecdump 如何发出 Intel 语法

如何告诉 objdump以 Intel 语法而不是默认的 AT & T 语法发出汇编?

55650 次浏览

What you're looking for is -M intel. Use it as follows.

objdump -M intel -d program_name

If you want Intel mnemonic codes as well (instead of AT&T mnemonic codes), you can use:

objdump -M intel intel-mnemonic -D <program's-object-file>