Assignment 10, due Apr 18

Part of the homework for 22C:60, Spring 2005
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list! All assignments will be due at the start of class on the day indicated, and unless there is what insurance companies call "an act of God" - something outside your control; the only exceptions to this rule will be by advance arrangement.

  1. Here is a drawing of a logic circuit for a kind of flipflop; it corresponds exactly to one of the circuits shown in the section on flipflops in Chapter 11 of the notes:
    a circuit with feedback

    a) What kind of flipflop is this? (0.5 points)

    b) Show that your answer to part A is not random chance by correctly marking the inputs and outputs that correspond most closely to R, S, R, S, D, C, Q and Q. Note, of course, that this circuit only has a few inputs and outputs, so only some of the above input labels will be appropriate. (0.5 points).

  2. Do exercise h from Chapter 11 of the notes. (0.5 points).

  3. Do problems m and n from the notes, but do it by "cheating". Here is the proposed way to cheat: Assemble a small hawk program that calls DSPINI, DSPAT and then DSPCH. Then take notes as you single-step this code through calls to all three routines. Note that DSPAT calls a multiply routine, and the code of the multiply routine is not part of this assignment. Finally, after you have noted the instructions that make up these routines, make them pretty by adding the comments and symbolic names appropriate to the instructions, as documented by the code for DSPINI given in the notes. (1.5 points).