What does the following code do?
lw $t0, 0($s0)
lw $t1, 4($s0)
sw $t0, 4($s0)
sw $t1, 0($s0)
A. Ensures proper order.
B. Sorts a list of numbers
C. Exchanges two values
D. Swaps values.
E. Performs an atomic exchange.
F. Clears memory
G. Nothing
Answer:
C. Exchanges two values
D. Swaps values.
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.