Beginner
Assembly Language
Q39 / 100
What does XCHG do?
Correct! Well done.
Incorrect.
The correct answer is B) Atomically swaps the values of two operands
B
Correct Answer
Atomically swaps the values of two operands
Explanation
XCHG EAX, EBX swaps EAX and EBX. XCHG with memory is always atomic (used for spinlock implementations).
Progress
39/100