【发布时间】:2015-04-14 03:01:48
【问题描述】:
您可以在此页面上看到的 GCC 编译器: https://defuse.ca/online-x86-assembler.htm#disassembly
当 pushf 应为 0x66、0x9C 时,将 pushf 和 pushfd 都视为 0x9C。 有没有办法让这个编译器不将 pushf 转换为 pushfd?
【问题讨论】:
您可以在此页面上看到的 GCC 编译器: https://defuse.ca/online-x86-assembler.htm#disassembly
当 pushf 应为 0x66、0x9C 时,将 pushf 和 pushfd 都视为 0x9C。 有没有办法让这个编译器不将 pushf 转换为 pushfd?
【问题讨论】:
尝试使用pushfw 获取 16 位变体。
【讨论】:
查看http://faydoc.tripod.com/cpu/pushfd.htm。它们确实共享相同的操作数,并且执行的是环境的产物,而不是指令。
【讨论】: