absolute number of clock cycles needed to execute the program is

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 2PE: If a microprocessor has a cycle time of 0.5 nanoseconds, what’s the processor clock rate? If the...
icon
Related questions
Question
Take the accompanying project fragment for a theoretical CPU having three client registers R1, R2 and R3.
Guidance
Operation
Instruction Size(in words)
MOV R1,5000; R1- Memory[5000]
MOV R2, (R1); R2 - Memory[(R1)]
ADD R2, R3;
MOV 6000, R2;
2
1
R2 - R2 + R3 1
Memory [6000] – R2
End
Machine ends 1
Leave the clock cycles needed for different tasks alone as follows: Register to/from memory move: 3 clock cycles
ADD with the two operands in register : 1 clock cycle Instruction get and unravel : 2 clock cycles for each word The
absolute number of clock cycles needed to execute the program is
Transcribed Image Text:Take the accompanying project fragment for a theoretical CPU having three client registers R1, R2 and R3. Guidance Operation Instruction Size(in words) MOV R1,5000; R1- Memory[5000] MOV R2, (R1); R2 - Memory[(R1)] ADD R2, R3; MOV 6000, R2; 2 1 R2 - R2 + R3 1 Memory [6000] – R2 End Machine ends 1 Leave the clock cycles needed for different tasks alone as follows: Register to/from memory move: 3 clock cycles ADD with the two operands in register : 1 clock cycle Instruction get and unravel : 2 clock cycles for each word The absolute number of clock cycles needed to execute the program is
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Storage Devices
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning