Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. Which one is the correct translation of the following statement: A=B+C where $1. $2, and $3 are associated with variables A, B and C,

image text in transcribed

6. Which one is the correct translation of the following statement: "A=B+C" where $1. $2, and $3 are associated with variables A, B and C, respectively? (a) add $3, $1, $2 (b) add S2, S1, $3 (c) add $1,92,93 (d) add $2,53,51 7. Which one correctly accesses an integer array data A[8]" where $2 points to the base address of array A? (All numbers in this problem are decimal.) (a) lw $10,32(52) (b) lw $10,28(82) (c) lw $10,8(S2) (d) lw $10,7(82) ** 8. Execution time is computed as CPI x Number of cycles x Cycle time. True or False? 9. A different compiler may produce a different mixture of the instructions. Therefore, CPI may be different for the same program and the same CPU. True or False? 10. A different instruction set architecture (ISA) may produce a different mixture of the instructions. Therefore, CPI may be different for the same program. True or False? 11. Suppose we have three implementations of the same instruction set architecture (ISA). For a certain program, CPU A has a clock cycle time of 10 ns and a CPI (cycles per instruction) of 2.0. CPU B has a clock cycle time of 15 ns and a CPI of 1.0. What machine is faster for this program - A or B? 12. The faster CPU may be different for a different program. True or False? 13. A program executes 100 instructions. Among them, 50 are branch and 50 are ALU instructions. A branch instruction takes 2 cycle while an ALU instruction takes 1 cycle. What is the average CPI

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

4. Make recommendations on steps to take to melt the glass ceiling.

Answered: 1 week ago

Question

1. Discuss the potential legal issues that relate to training.

Answered: 1 week ago

Question

3. Design a program for preparing for cross-cultural assignments.

Answered: 1 week ago