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

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

The preview shows page 1 - 2 out of 4 pages.
CprE 381 – Computer Organization andAssembly Level ProgrammingFall 2015Homework #6Assigned: Friday Oct 9Due: Friday Oct 16, MidnightNotes: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 is10% 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 particularinstruction. The following problems refer to the following two MIPS instructions.Answer thosequestions for both instructions.InstructionI.lw $1, 40($6)II.label: beq $1, $2, labela.[5] What is the value of the instruction word?Be very careful, because a wrong answerhere 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? Isthe register actually read? How about “Read register 2”?Read register 1 Actually read? Read register 2 Actually read?

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 4 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
ZAMBRENO
Tags
Critical path, Cycle Time, Central processing unit, Register file, Mux

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture