Question: suppose a program is stored in the main memory location 1000 (i.e. the first code is stored at location 1000) and the code has 200
suppose a program is stored in the main memory location 1000 (i.e. the first code is stored at location 1000) and the code has 200 lines of instructions and data. When the operating system picks this program for execution (or scheduled) explain the following steps in detalils 1. What would be the value of PC right when the program is scheduled? And Why? 2. Explain what happens in the very first fetch? Which memory location is brought in? 3. Once the instruction is fetched the value of the PC is increased. Explain why? 4. We are still working with the very first instruction! Once the code is fetched, it is brought to register. The code sitting in when the instruction is decoded? 5. register is then decoded. Explain the decoding process. What happens
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
