Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following instruction and the MIPS single cycle processor in answering the following questions. Assume The instruction is stored at memory location 200. Reregisters

image text in transcribed

image text in transcribed

Consider the following instruction and the MIPS single cycle processor in answering the following questions. Assume The instruction is stored at memory location 200. Reregisters $1 to $10 has the following contents Register $1 $2 $3 54 55 $6 $7 58 $9 $10 Value 20 10 30 40 50 50 70 70 80 100 The memory has the following content Address 20 1020 2020 3020 Mem[address) 17 27 37 47 4020 5020 57 67 The instruction is: 000100 01000 00111 0000 0000 0000 0011 a) [10] What is the values in binary at the points shown on the diagram. Write x if the value is not determined or we don't care about it. 1) RegDst: 2) Branch: 3) MemRead: 4) MemtoReg: 5) ALUOPO, ALUOpi: 6) Mem Write: 7) ALUSTC: 8) RegWrite: 9) ALU control code: 10) ALU zero output: b) [1] If there is any changes to the values of the registers shown above. Which register value has changed. What is new value? c) [1] If the value stored in any memory location specified above is changed, then write the address and the new value. M Add Addesuit ALU 1) Shift left 2 RegDst Branch MemRead Instruction (31-26] MemtoReg Control ALU OP MemWrite ALU Sre Regwrite Instruction (25-21] (8 Read Read address register 1 Read Instruction (2016) Read data 1 Instruction register 2 (31-0 Write Read Instruction Instruction (15-11) memory Write data Registers 7 10 PC 4 Zero ALU ALU result Address" Read data register data 2 SEX- Write Data data memory Instruction [15-01 16 32 9 Sign- extend ALU control 3 Instruction 15-0) 5

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

More Books

Students also viewed these Databases questions