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! It's MIPS Assembly and I'm using 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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.