I want to know how two instructions can be run in parallel?
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 ?