Question: Here is a sample sequence of instructions to execute Lw $8, 4($10) Sub $3, $5, $2 And $4, S1, S2 And $14, $11, $12 Add

Here is a sample sequence of instructions to execute Lw $8, 4($10) Sub $3, $5, $2 And $4, S1, S2 And $14, $11, $12 Add $12, $10, $11 Assumptions : Each register contains its number plus 20 Every data memory location contains 80 An 'X' can be used for the data that are not important A?' marks can be used for the value that are yet unknown Fill up the following simulation diagram for the 2nd cycle of operation. Show your calculation. Justify your calculation (Ignore the value that are already printed in the datapath) IDEX EX/MEM PC Sre Control MEMWB IF/D Add 772 Add RegWrite Shift left 2 117 Read register1 MemWrite(0) 0 Read Instruction address (31-01 Read Read data 1 Reado data 2 ALU Zero Result Address Mom Toeg Instruction memory register 2 Write register Write data Data memory Registers ALUOp (or) ALUSIO Write data Read Sign extend Ragost (1) MemRead() X Here is a sample sequence of instructions to execute Lw $8, 4($10) Sub $3, $5, $2 And $4, S1, S2 And $14, $11, $12 Add $12, $10, $11 Assumptions : Each register contains its number plus 20 Every data memory location contains 80 An 'X' can be used for the data that are not important A?' marks can be used for the value that are yet unknown Fill up the following simulation diagram for the 2nd cycle of operation. Show your calculation. Justify your calculation (Ignore the value that are already printed in the datapath) IDEX EX/MEM PC Sre Control MEMWB IF/D Add 772 Add RegWrite Shift left 2 117 Read register1 MemWrite(0) 0 Read Instruction address (31-01 Read Read data 1 Reado data 2 ALU Zero Result Address Mom Toeg Instruction memory register 2 Write register Write data Data memory Registers ALUOp (or) ALUSIO Write data Read Sign extend Ragost (1) MemRead() X
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
