作者abcd991276 (QQ)
看板C_and_CPP
标题[问题] 组语问题
时间Thu Nov 4 15:42:28 2021
https://i.imgur.com/9YfGOAs.jpg
result 不是存在%eax里面吗
怎麽他回圈内部算的却是加进%rax
想问为什麽这部分没有统一
----
Sent from
BePTT
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 220.143.86.237 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/C_and_CPP/M.1636011750.A.7A9.html
1F:→ tomsawyer: short没差吧? 11/04 15:49
2F:推 pponywong: rax=64 bits eax 11/04 16:13
3F:→ pponywong: 以前dos时代是 ax, 32位元变成eax, 64位元又变成rax 11/04 16:14
4F:→ pponywong: 你可以用 gcc -S -m32 产生32位元的组合语言 11/04 16:16