homework6-solutions - CprE 381 Computer Organization and...

This preview shows page 1 - 2 out of 4 pages.

CprE 381 – Computer Organization and Assembly Level Programming Fall 2015 Homework #6 Assigned: Friday Oct 9 Due: Friday Oct 16, Midnight Notes: Do this week’s reading before you start on the homework. Complete the assignment electronically and submit it on BlackBoard Learn. Late homework is accepted within three days from the due date. Late penalty is 10% per day. For the following questions, you have to show the procedure of conversion to get full credit. An answer without a procedure will receive a low partial credit. 1. [15 pts] This exercise we examine the operation of the single-cycle datapath for a particular instruction. The following problems refer to the following two MIPS instructions. Answer those questions for both instructions . Instruction I. lw $1, 40($6) II. label: beq $1, $2, label a. [5] What is the value of the instruction word? Be very careful, because a wrong answer here may lead to wrong answers to the following two questions.
b. [5] What is the register number supplied to the register file’s “Read register 1” input? Is the register actually read? How about “Read register 2”? Read register 1 Actually read? Read register 2 Actually read?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture