Question: When a new process moves from the ready state to the running state ( in Figure), each register in the CPU must be set either
When a new process moves from the ready state to the running state ( in Figure), each register in the CPU must be set either to initial values or to the values the process had when it was last interrupted. Explain why the PC register is typically the last register loaded for the new process. Show a pseudo assembly language code segment to load a new process onto a CPU (that is, to change the PC after restoring other registers) for a processor that contains arithmetic-logical registers R0?R3, processor status register PSR, condition code register CC, program counter PC, and instruction register IR.

running Done request Schedule request Start ready blocked
Step by Step Solution
3.39 Rating (171 Votes )
There are 3 Steps involved in it
The PC always addresses the next instruction to be fetch... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
34-E-CE-OS (433).docx
120 KBs Word File
