Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的教授没有提供太多的 Y86 示例,只有 IA32。除了将我的最终答案保存到全局变量结果之外,我已经设法为我的作业弄清楚了一切。声明如下。
.对齐 4
结果:.long 0
我的答案存储在 %ebx 寄存器中,我需要将它转移到我的全局结果中。只使用“rmmovl %ebx, result”对我来说很有意义,但我收到错误“不是数字:结果”。完成我正在尝试的正确语法是什么。
谢谢!