{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW#1 - CprE 381 Computer Organization and Assembly Level...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CprE 381 – Computer Organization and Assembly Level Programming Homework #1 Assigned: August 25 Due: September 1 (9:00am) [Note from Joe: This assignment checks your understanding of the material in Patterson & Hennessy Chapter 1, as well as the additional material covered in the first week of class. Some of these questions are modified from the textbook, when this is the case I will list the source question number from the text.] Reading: Patterson & Hennessy, Sections 1.1–1.3, 1.5–1.6, and Section 2.4 1) Summary (a) Sometimes software optimization can dramatically improve the performance of a computer system. Assume that a CPU can perform a multiplication operation in 10 ns, and a subtraction operation in 1 ns. How long will it take for the CPU to calculate the result of d = a · b – a · c ? Could you optimize the equation so that it will take less time? (b) How are Instruction Set Architecture (ISA) and microarchitecture related? Is it possible to have an ISA without a corresponding microarchitecture, and vice versa?
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}