3

Reading and Writing Assignments, Discussion Topics
COS/ELE 375

for class on Monday Sept. 27, 2010


Please read sections 2.1 through 2.6 of the Patterson & Hennessy text.

Please turn in written responses to these questions:

1. Exercise 2.6.1 for row a of the table. (Check Section 1.11 for how these exercises work.)

2. Exercise 2.6.1 for row b of the table.

3. Suppose you were contributing to the MIPS instruction set design, back in nineteen-eighty-whatever. Your idea is to make programs smaller by allowing new 16-bit instructions to be intermixed with the regular 32-bit ones. Assuming that opcode space is not an issue, propose a format for these instructions and propose three specific new instructions that use it. (We hope it is obvious that there is no "right" answer to this question; we just want you to write down your ideas.)

Then, be prepared to discuss the following in class:

4. Your 16-bit idea has been applauded by the MIPS architects, and your new format goes into the draft architecture manual. But you are having second thoughts. Why?

5. What general principles would guide you if you were designing an instruction set (back when that still made sense)? How would you decide which instructions to include and which to leave out? Feel free to elaborate, or dispute, the views of Burks, Goldstine, and von Neumann excerpted on pages 76 and 77.

Would you favor a mix of instruction sizes, or stick with just one?