How can objdump emit intel syntax

放肆的年华 提交于 2019-12-18 10:32:24

问题


How can I tell objdump to emit assembly in Intel Syntax rather than the default AT&T syntax?


回答1:


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

objdump -M intel -d program_name



回答2:


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>



来源:https://stackoverflow.com/questions/10362630/how-can-objdump-emit-intel-syntax

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!