Department of Computer Science
University of Alaska Fairbanks
PO Box 756670
Fairbanks, Alaska 99775-6670
Duckering Building, Suite 527
1760 Tanana Loop
Phone: (907) 474-2777
The final code should be fully debugged, polished, tuned, commented, and include at least a short README explaining what it is, and what its results mean. You'll be graded on a combination of ambition, correctness, completeness, and comments/style. Style and clean code count!
HW0 has 2 questions. Turn in your resulting files by the end of the day on Tuesday, January 19 on Blackboard (log in first).
Use Logisim to draw a circuit diagram for the boolean expression OR(AND(A,B),AND(NOT(A),XOR(C,D))). Save your .circ file as "1.circ", and give me a screenshot named "1.png". List all the values of A, B, C, and D that will make this expression evaluate to true, in a plain text file named "1.txt". (Clarification: feel free to use logic gates; you can use bare transistors if you think that's easier!)
Use NetRun to write some assembly code (for any machine) that uses a loop to add up the numbers from 0 to 5, inclusive, and returns this sum. Run the code, and verify the answer is 15. Copy the code out as a plain text file named "2.asm".