Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (3 pts) Determine which MIPS assembly instruction(s) if any, that we discussed in class (R-format (including add, sub, or, and, nor, slt), lw, sw,

3. (3 pts) Determine which MIPS assembly instruction(s) if any, that we discussed in class (R-format (including add, sub, or, and, nor, slt), lw, sw, beq, j) will not work correctly and explain what will happen instead, if each of the following control signals in the single-cycle datapath that we saw in class (shown below) is always stuck at one value specified below:

a). MemWrite = 1 (always stuck at 1)

b). ALUSrc = 1 (always stuck at 1)

c). RegWrite = 1 (always stuck at 1)

image text in transcribed

Instruction 125-Shift Jump address [31- 0 left, 28 IPC+4(31-28 26 Add- ALU Add resul RegDsi Shift left 2 instruction [31-2 Control MemtoReg rte Instruction |25-21] Read Read register 1 Read Instruction (20-16Readdata 1 PC address Zero I register 2 MWrite Instruction ALU ALU 31-0 Read data M result Addresshead- InstructionInstruction (15register memory Write data Registers data memory 6 Sign xtend 32 Instruction [15-0) ALU control Instruction 15-0 Instruction 125-Shift Jump address [31- 0 left, 28 IPC+4(31-28 26 Add- ALU Add resul RegDsi Shift left 2 instruction [31-2 Control MemtoReg rte Instruction |25-21] Read Read register 1 Read Instruction (20-16Readdata 1 PC address Zero I register 2 MWrite Instruction ALU ALU 31-0 Read data M result Addresshead- InstructionInstruction (15register memory Write data Registers data memory 6 Sign xtend 32 Instruction [15-0) ALU control Instruction 15-0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions