[英]XOR use in MIPS Assembly
Okay, I'm pretty sure I've used up all variations of possible XOR use to exchange $s0 with $s1, however, I still can't get it to work! 好的,我敢肯定我已经用完所有可能的XOR用法来将$ s0与$ s1交换,但是,我仍然无法使它工作! It's MIPS Assembly and I'm using MARS.
它是MIPS Assembly,我正在使用MARS。 Please could somebody provide me a solution?
请有人能给我解决方案吗?
You will be greatly appreciated! 您将不胜感激!
Did you try 你试过了吗
xor $s0, $s0, $s1
xor $s1, $s0, $s1
xor $s0, $s0, $s1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.