在MIPS大会XOR使用(XOR use in MIPS Assembly)

2019-08-17 11:51发布

好吧,我敢肯定,我已经使用了可能的XOR使用的所有变化与$ S1交换$ S0,但是,我仍然无法得到它的工作! 这是MIPS大会和我使用MARS。 请能有人给我一个解决方案吗?

您将不胜感激!

Answer 1:

你试过了吗

xor $s0, $s0, $s1
xor $s1, $s0, $s1
xor $s0, $s0, $s1


文章来源: XOR use in MIPS Assembly