This is the code we developed in class on Feb 25th. The idea was to create an assembly function that computes factorials. We started by defining some C code that computes factorials: int fact(int x) { int y=x; if (x==0) return(1); while (x>1) { x--; y*=x; } return(y); } Then we translated this (manually) to assembly lanuage. The assembly code is in the file fact.s and the main program that tests the function is in factmain.c. You can use the Makefile to create the executable (make sure you have the Makefile in your current directory and type "make"). Or, you can build the executable like this: gcc -o fact fact.s factmain.c