Context Switch
context switch
Processor state corresponding to the execution of Process 0 is saved in memory
Processor state associated with the execution of Process 1 is installed in its place
Process 0
Scheduler
Process 1
ADD(r1, r2, r3)
LD( r3, 1000 , r4)
…
MUL(r4, r5, r6)
ADD(r5, r21, r0)
…
SUB(r8, r9, r7)
Previous slide
Next slide
Back to first slide
View graphic version