HW4 - add3 which adds three numbers together instead of two...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE230/EEE230 Homework Assignment #4 Due 1:40pm Wednesday, November 1, 2006, in the classroom. Reading assignment: Read Section 5.6 Solve the following problems from Chapters 4 & 5 in the textbook. Total: 70 points 4.14 (5 points) 4.15 (5 points) 5.1 (10 points) 5.2 (10 points) 5.32 (10 points) 5.36 (10 points) 5.38 (10 points) 5.51 (10 points) Extra point problem (20 points total) 5.37 (10 points) 5.45 (10 points) We wish to add support for four-operand arithmetic instructions such as
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: add3, which adds three numbers together instead of two: add3 $t5, $t6, $t7, $t8 # $t5 = $t6 + $t7 + $t8 Assume that the instruction set is modified by introducing a new instruction format similar to the R-format except that bits [0–4] are used to specify the additional register (we still use rs, rt, and rd) and of course a new opcode is used. Your solution should not rely on adding additional read ports to the register file, nor should a new ALU be used....
View Full Document

This note was uploaded on 05/11/2010 for the course CSE/EEE CSE/EEE230 taught by Professor Baoxinli during the Fall '08 term at ASU.

Ask a homework question - tutors are online