Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Based on the MIPS architecture and control tables below, answer the following questions: Intr. opcode LW SW J BEQ R-type R-type 10 R-type 10

imageimageimage

Based on the MIPS architecture and control tables below, answer the following questions: Intr. opcode LW SW J BEQ R-type R-type 10 R-type 10 R-type 10 R-type 0000 ALUOP 0001 00 0010 00 01 10 ALUControl 10 X Function AND OR add Instruction operation load word store word branch equal add subtract AND OR set on less than jump 0110 0111 Funct field 1100 XXXXXX XXXXXX XXXXXX 100000 100010 100100 100101 ALUControl 101010 XXXXXX Desired ALU action add add NOR subtract add subtract AND OR set on less than X Function subtract set on less than R-type instruction Field 0 Bit Position 31:26 lw/sw instruction format Field 35 or 43 Bit Position 31:26 addi instruction format PC 4 Field 8 rs Bit Position 31:26 25:21 Add nd Instr. Addr [51:01 Instruction Memory 25:21 rs 25:21 PC+4 rs 31:26 25:21 20:16 15:11 15:0 20:16 20:16 rt 20:16 Regist MUX Main ALUOP Decoder Mete ALUSIE 5:0 A1 AZ A3 Register File WD3 Begonte Sign Extend ADI BD2 32 rd 15:11 10 shamt 10:6 address 15:0 1 MUX address 15:0 ALU De der Zere ALU NU ALUControl Funct 5:0 Addr Read Data Data Memory Write Data 0 MUX 1 Fill the control bits for each instruction in the table below. (Hint: If a control bit is not important, put x in its field) Instruction RegDst RegWrite MemRead MemWrite Mem ToReg ALUOP ALUSrc addi sub lw SW

Step by Step Solution

3.42 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

Jump instruction has opcode6 bit and target value26 bit Following are the step to find jump address ... 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

Computer Organization and Design The Hardware Software Interface

Authors: David A. Patterson, John L. Hennessy

5th edition

124077269, 978-0124077263

More Books

Students also viewed these Programming questions

Question

4 cubed + 10 X 20 + 8 squared 23

Answered: 1 week ago

Question

In your opinion, is mental illness currently overdiagnosed?

Answered: 1 week ago