CS 150 Homework #5
Due October 3rd

(1) The 8 bit computer starts out with all registers containing 0. The first 5 instructions are:
IMM 0x42
ADD R0 R0
MOVE R3 R0
IMM 0x55
SD R3 R0

Step through this program clock cycle by clock cycle. Write down what state the FSM is in, the contents of the register file, the program counter, and the RA and RB registers, for each clock cycle, until the program gets to the last instruction.

This page is maintained by Nick Weaver (nweaver@cs.berkeley.edu)