Description
I added the final guide for assignment.I will give you the tasks on the decided time.
Unformatted Attachment Preview
1
STUDY GUIDE REVIEW SHEET FOR FINAL EXAM
There are 10 questions on the final exam, some with multiple parts.
There will be a MIPS instruction sheet and ASCII sheet provided for the exam.
1. Be able to define the following terms: Load/Store architecture, little endian, assembler
directive
2. There are short answer questions:
a) Be able to determine the number of cycles to execute for non-pipelined and a pipelined
processor, given the number of instructions.
b) Know the 3 types of operands in MIPS.
c) Know the starting address of a program in MARS.
d) Know how to calculate the jump address.
e) Know what the delay (no-op instruction) represents and for what instructions is this delay used
for.
f) Explain why the sla instruction does not exist in MIPS.
3. There are 4 true/false questions.
– Know the acronym for MIPS
– Know how a jump address works and understand the machine code for a jump instruction.
– Know what a machine cycle represents
4. Be able to perform a memory dump for the data segment (Similar to the homework)
5. Given a MIPS instruction, write the machine code hexadecimal representation of it.
Also, given the hexadecimal representation for machine code, be able to write the MIPS
assembly instruction.
6. Write the MIPS instructions for $t1 = $t1 * (some value) without using multiplication and
division instructions.
7. Translate a Java statement into MIPS.
8. Given a MIPS assembly fragment, fill in the Boolean expression for the “if” part.
9. Be able to write an if-else chain in MIPS.
10. Given a Java do-while loop, translate it into MIPS
Purchase answer to see full
attachment