Intermediate
Assembly Language
Q57 / 100
What does the LOCK prefix do?
Correct! Well done.
Incorrect.
The correct answer is B) Makes the subsequent instruction atomic by asserting the bus lock signal
B
Correct Answer
Makes the subsequent instruction atomic by asserting the bus lock signal
Explanation
LOCK XCHG/CMPXCHG/ADD/INC ensures the read-modify-write operation is atomic on multi-core systems, preventing other CPUs from accessing the same memory location.
Progress
57/100