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.
如何在 MIPS 程序集中声明一个没有初始化的字符串变量?然后它从用户那里收到一笔金额。
例如:string judge;
string judge;
通过使用.space指令保留一些空间:
.space
.data foo: .space 100 # Reserve 100 bytes of space .text la $a0, foo # Load the address of foo # Do whatever