Computer Organization, Extra Credit 4

Due Friday, 12/5 (late 6am 12/6)

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

Write the Mic-2 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.

Submitting the Assignment

You may write your answer on paper, scan the paper and zip it, then submit the zip 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.