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.
我需要将数组存储在特定地址(0x10000200)。我该怎么做?我会做类似的事情吗
lui $v0,0x10000 添加 $v0,$v0,0x100
lui $v0,0x10000
添加 $v0,$v0,0x100
还是仅将 $v0 设置为地址而不在地址处创建数组..?谢谢
要将数组存储在特定地址,请使用从该地址开始的数据段:
.data 0x10000200 array: .space 400 #enough space for 100 integers