Below is a representation of an instruction memory in the control unit of a proc
ID: 3672890 • Letter: B
Question
Below is a representation of an instruction memory in the control unit of a processor. For readability, the assembly language representation of each instruction is shown in place of its machine code.
Assume that at time T the program counter of the processor contains address 2. What is the value of the program counter after the program executes for 16 more clock cycles?
SUB R2,Input
SUB R2,Input
Explanation / Answer
An instruction cycle (sometimes called fetch-decode-execute cycle) is the basic operation cycle of a computer. It is the process by which a computer retrieves a program instruction from its memory, determines what actions the instruction requires, and carries out those actions.
The cycle is then repeated.
in sequentail execution for each instruction we need 4 clock cycles soafter 16 clock cycles the pc value is 6
in pipelined execution the pc is increament for every clock cycle so after 16 clock cycles the pc value is 2
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.