Computer Science Department
College of Arts and Sciences
Solve exercises 2.1 and 2.2 from the textbook (Hennesy and Patterson, "Computer Architecture: A Quantitative Approach", 2nd Edition).
Solve exercise 3.3 from the textbook (Hennesy and Patterson, "Computer Architecture: A Quantitative Approach", 2nd Edition).
In this problem we will get acquainted with two software tools designed to experiment with the DLX architecture: the dlxgcc (a GNU C compiler for the DLX architecture) and the dlxsim (a simulator for the DLX architecture). The software we will be using is installed under the directory /home/course/cs550/dlx/bin.
int fact(n) void main() int n ; { { int i, j ; if (n <= 1) i = 4 ; return(1) ; j = fact(i) ; else } return(n*fact(n-1)) ; }
References
Maintainer: Azer Bestavros Created on: 1997.02.18 Updated on: 1997.02.18