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.
引用 $zero 寄存器并写入寄存器 $t1 的 MIPS 存储字指令的结果是什么
sw $t1, 50($zero)
sw $ra, offset($rb)将值 $ra 存储到地址 [$rb + offset]。在这种情况下 $rb = $zero 所以它变成了直接寻址
sw $ra, offset($rb)
这意味着该指令会将 $t1 存储到内存地址 50
[50] = $t1