Computer Science 220
Assembly Language & Computer Architecture

Fall 2010, Siena College

Lecture 14: MIPS Single-Cycle Implementation
Date: Thursday, November 18, 2010

Agenda

Lecture Assignment 14

Due at the start of class, Tuesday, November 23.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to jteresco AT siena.edu by the start of class. We will discuss these questions at the start of class, so no late submissions are accepted.

  1. P&H Exercise 4.2.4 and 4.2.6, p. 411
  2. P&H Exercise 4.11.1, 4.11.2, 4.11.3, p. 419
  3. Suppose you add the bne instruction to the single-cycle implementation of the CPU described in P&H Section 4.4. Use a copy of Figure 4.17 and mark on it any elements that you need to add to the datapath or the control lines. Give the values of all the control signals for this instruction.
  4. Do the same to add the jal instruction. Use a second copy of the figure and mark it up, as well as specifying all the control signals.