Assigned 1 February, 2001
Due 13 February, 2001
Complete exercises 3.2, 3.4, 3.5, and 3.23.
For exercise 3.23, make sure your program runs in the SPIM simulator without errors. It doesn’t need to produce output on the console window, as long as you can verify that it produces the correct result by checking the register $v0 in the SPIM simulator. Use any nontrivial string as the input of your program, by declaring it in the .data section as you did with the ID in HW3.
Submit your answers via EMAIL to chunfa@email.unc.edu by the beginning of class on the due date. Put HW4 in the subject line of your mail.
January 31, 2001 16:40