explain instruction fetch and execute operation with hypothetical machine example
Answers
Answered by
1
Answer:
At the beginning of each instruction cycle, the processor fetches and instruction from memory. the program counter PC holds the address of the instruction to the fetched next,the processor always increments the PC after each instruction fetch so that it will fetch the next instruction in sequence. for example, consider a computer in which each instruction occupies one 16 -bit word of memory. if the program counter is set to location 300. the processor will next fetch the instruction at location 300. Onyx instruction cycles, it will fetch instruction from locations 301,302,303, and so on..
Similar questions