Exercises

The following exercises from the end of Chapter 5 should help you prepare for the second exam. You do not have to submit this assignment: if you do submit it, it will count as extra credit equivalent to one complete homework assignment towards the homework portion of your course average. You must submit this assignment by midnight April 17 to receive the extra credit for it. Be sure to inlcude CS-343 in the subject line of your email to be sure I receive it. You can get partial extra credit for this assignment, just like other homework assignments.

Write the answers to the following exercises in the body of an email message (not in an attached document): 5.1, 5.2, 5.3, 5.8, 5.9, 5.10, 5.11, 5.12, 5.13, 5.14, 5.28, 5.29 (the reference is to Figure 5.28, not Figure 5.27 in this question), 5.30, 5.31, 5.32, 5.33. Also, what changes need to be made to the single-cycle design to add support for immediate instructions? Note that Exercise 5.7 is the same as the optional Extra Credit Assignment for this semester, except you get to use the DE1 instead of “standard parts.”