logo

Crowdly

Browser

Add to Chrome

In this section, you will evaluate how long it takes to execute different types ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

In this section, you will evaluate how long it takes to execute different types of the instructions of the MIPS computer.

Number of clock cycles for dadd instruction (integer addition)

Load and execute in step mode following program:

        .text

main:    dadd

r1,r0,r1 ; r1 = r0+r1 

         nop

 

       halt

As a result of the execution you should receive clock cycle diagram of the execution similar to this on the image:

Clock cycle diagram foo dadd insdtruction.

Analyze this clock cycle diagram of execution of the program and answer the question: 

How many clock cycles does the execution of the instruction dadd r1,r0,r1 take (each box in clock cycle diagram represents one clock tick )?

0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on moodle.lab.ii.agh.edu.pl?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome