Recently, I am studying computer architecture. I came across Atomic Instructions (like xchg
). It should be run without interrupts, cannot be executed in parallel with another instruction.
So, can anyone explain me the working of two instructions that can be run in parallel and can be interrupted in detail ?
Googled and read few books on it, but it didn’t help much
AYUSH GOYAL 22112024 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.