CSCI 330
Homework Assignment #4
Due 3/11/2005
From
Essentials of Computer Organization and Architecture:
Chapter 4, Exercises 4, 11, 16, 17, 21, and 26.
For
problems 16 and 17 you should use the Marie emulator to debug your code. I’ve
asked for the latest version of the Java SDK to be installed on the machines in
the Linux lab. Once this has been done you can fetch Marie from the Student
Resources section of the text book’s web site (click on the picture of the book
on the class website). Once you unpack the archive file you will need to follow
the instructions in the README.txt file to run the program. For this to work
you will need to set environmental variable for the following values:
export
JAVA_HOME=/usr/java/j2sdk1.4.2_01
export PATH=$JAVA_HOME/bin:$PATH
export
CLASSPATH=.:/usr/java/j2sdk1.4.2_01/lib:\
/usr/java/j2sdk1.4.2_01/jre/lib
Note:
verify the version numbers if things don’t work!