Recitation 8: Mar 8, 10
Hand Assembly of MIPS Code
Hand Disassembly of MIPS Code MW 02:00-02:50 pm, SB 3.01.04
Due:
2004-03-24 23:59:59
Recitation 8 must be submitted
following directions at: submissions on or before
2004-03-24 23:59:59 (that's Wednesday, 24 March 2004, 11:59:59 pm)
for full credit.
2004-03-28 23:59:59 (that's Sunday, 28 March 2004, 11:59:59 pm)
for 75% credit.
Outline:
For this lab you are to work on two programs:
a MIPS assembly program to hand assemble into machine code.
You must also
construct the symbol table and the relocation information.
Please refer to or download the following
practice form and work it out.
Check your answers against the
answer form.
a MIPS machine code program to hand disassemble into assembly code.
You must reconstruct the assembly code from this machine
code. Please refer to or download the following
practice form and work it out.
Check your answers against the
answer form.
Here are the two programs to work on:
a MIPS assembly program to hand assemble into machine code.
Please refer to or download the following
test form and work it out.
a MIPS machine code program to hand disassemble into assembly code.
Please refer to or download the following
test form and work it out.
What you should submit:
Refer to the submissions directions and to
deadlines at the top of this page. The text file that you submit
should first have Your Name, the Course Number,
and the Recitation Number. The rest of the file
should have the following in it, in the order below, and clearly labeled,
including at the beginning the appropriate number 1-2.
Contents of submission
for Recitation 8:
Last Name, First Name; Course Number; Recitation Number (8).
Text version of the MIPS machine code for the first test form,
along with relocation information, translated from the given
assembly code and following the format in the first
"answer form" example above.
Text version of the MIPS assembly code for the second test form,
reconstructed from the given machine code, following the format in the second
"answer form" example above.
Revision date:2004-03-05.
(Please use ISO
8601, the International Standard.)