Gerry Wildenberg

Mathematical and Computing Sciences




Assignment 1 -- Due Monday September 18, 2001

Please be sure to follow the guidelines in the syllabus regarding paper size, crediting sources, etc.

1. Write fully commented MIPS code for the following C++ program fragment. Be sure to include comments which indicate the purpose of all registers used.

2. Translate the assembly code you have written in answer to problem 1. into machine language.