gpt4 book ai didi

assembly - AMD64 上的推送和弹出

转载 作者:行者123 更新时间:2023-12-03 06:44:00 25 4
gpt4 key购买 nike

pushl %ecx 相当于什么和popl %ecx在 AMD64 系统上,我的结果是 Error: invalid instruction suffix for 'push'我看过了,有人建议更改ecxrcx但这只是导致 Incorrect register '%rcx' used with 'l' suffix

感谢您的帮助。

最佳答案

在 AMD64 上,pushpop 操作隐式为 64 位,没有 32 位对应操作。尝试:

pushq %rcx
popq %rcx

参见here了解详情。

关于assembly - AMD64 上的推送和弹出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5050186/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com