Computer Organization, Extra Credit 3

Due Sunday, 4/5 (late 6am 4/6)

Assume there is another condition code V that tests for signed overflow. It will be set after each ALU operation.

Write the Mic-1 instructions that will implement IFICMP_GTS offset. It will pop the top two values from the stack and jump if the second value is greater than the first value when treated as signed numbers. If the V is set, it means that the current value of the N bit is wrong.

Warning: The Surgeon General has determined that it is dangerous to reuse labels that are defined in other places in the microcode.

Submitting the Assignment

You may write your answer on paper, scan the paper, then submit it to me.

Upload your file to me using the upload program on my class page:
Submitting Homework Online.

You must verify that your upload is correct. The online program has an option to download what was just uploaded. It is your responsiblity to be sure that the file can still be read. If I cannot read the file, it will be graded as a 0.