NOTE: Labs 1-3 depend upon each other. It is very important that you keep up with the due dates and get all three labs working. You will not be able to do the labs until you have successfully completed the previous ones! You will be given 4 late days total for all 4 labs -- save them for labs 2 and 3!
You will need to use a Unix or Linux machine for this assignment
(such as those in CSIL -- you can use them remotely if you like).
/cs/class/cs154/ist
There is a binary you can install at home also at:
/cs/class/cs154/ist.tar.gz
The MIC-1 microprogram you will modify is in ist/frend/one/one.mal
With some minor differences, this is essentially the same code as
described
in the Matloff handout and described in class. You will also need to
modify one.def if you change any of the opcodes.
Your grader will post a test MAC program to the class newsgroup
The MIC-1 microprogram you will modify is in ist/frend/one/one.mal With some minor differences, this is essentially the same code as described in the Matloff handout and described in class. You are to modify this code such that:
You will also need to modify one.def if you change any of the opcodes. Make sure your new MIC-1 microprogram will run the fact.asm program.
The fastest group will receive 10% extra credit, the 2nd fastest, 5%. Extra credit can only be earned if the rest of the submitted lab is flawless.
By the way, this "contest" is in keeping with microcoding in general. In high-level programming, we usually don't care about small increases in speed; usually the clarity of the code is more important. But microcode directly affects the overall speed of the machine itself, so optimal code is of great value.