如何在 MIPS 中以最佳方式将一个寄存器设置为存储在另一个寄存器中的值?

How to set one register to the value stored in another register in the optimal way in MIPS?

假设我们要设置 $a0 = $s3 我知道有:

哪一个是更好的做法或更优化?为什么? 还有其他更好的方法吗?

指令or $a0, $zero, $s3等同于addi $a0, $s3, 0,所以请阅读这个帖子:MIPS instruction set move vs add/addi 0 for storing values?