Assignment 4: The Control Store for the Mic-1

In this assignment you will assemble part of the control store for the Mic-1 machine. There are 79 Mic-1 instructions given in Figure 4-16 of the text. You will each be given a few of these to assemble. You will then email to me your assembled code. I will collect together the results from the class and produce a file which will be the control store of your simulators.

You will assemble the instructions by hand and produce one line of output for each instruction. The format for each line is a s follows:

columns 1-2The instruction number as given in Figure 4-16
column 3A colon
column 4a blank
columns 5-12hexadecimal digits with leading zeros if necessary

There should be nothing after column 13. No line should have any trailing white space.

The hexadecimal digits should only use lower case letters. Upper case letters should not be used. The high order digit is on the left.

In general there may be several ways to encode a Mic-1 instruction. This is because of two factors. In some cases it does not matter which of two operands goes on the A bus. Also, some of the bits may be don't care. In order to guarantee that there is only one ``correct'' answer for each word of microcode, you must follow the guidelines below:

Watch the newsgroup for a posting of the due date and which Mic-1 instructions you are to do.