Assignment 5, due September 23

Part of the homework for 22C:60, Fall 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. Do exercise e in Chapter 5 of the notes. Turn in an assembly listing of your solution. (1 point)

  2. Do exercises g, j and k, from Chapter 5 of the notes, (1/5 point each)

  3. What values are loaded into registers 3 and 4 by the following little assembly language program. (4/5 point)
            .       =       #1000
                    LOAD    R3,R0,-4
            L:      LOAD    R4,L
    

  4. Do exercise t from Chapter 5 of the notes. You need not even assemble your code, since it will be graded as code. On the other hand, if you assemble it, it will be easier for you to avoid being penalized for syntax errors. (1 point)