Electrical, Computer, and Systems Engineering
ECSE-4730 Computer Systems Architecture
Fall 1998
Problem Set 2-- Due Friday, September 25, 1998
|
Your Name |
|
|
Circle Your Section |
8-9:50 am 10-11:50 am noon-1:50pm |
Notes:
----------------------------------Do not write below this line-----------------------------------------
|
1 |
2 |
3 |
Total |
|
30 |
35 |
35 |
100 |
TA Signature :___________________________________
1. (30 points) [Reading assignments]
B) (15 points) Read Sec 4.7 (pg 265-273, Integer Division) and pg 280-290 (Floating point addition and multiplication) , and the summary (sec 4.11) in the textbook (P&H). Summarize the key points and details.
HINTS: As suggested in Ex 3.1, add comments to each line. Observe that $t0 and $t1 contain array indices (call them i and j to help you understand the code). Call the array A. Write your comments in terms of these "high level variables."
A) (15 points) [ALU and carry lookahead design] Explain the functionality and logic design aspects of Fig 4.19 (pg 240, Final 32-bit ALU) and Fig 4.24 (Pg 246, carry lookahead 16-bit adder)
B) (20 points) [2’s complement and IEEE 754] Do Exercise 4.2 (pg 322) and Exercise 4.28 (pg 327) of chapter 4 (P&H).
NOTE: In Ex 4.28, you don’t need to find the IEEE 754 double precision format representation, just do the conversion into single precision format.