Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2) Single cycle datapath of an instruction set is shown belown. Add x3 0 >Addresult ALU Shift left 2 RegDsi Branch MemRead Instruction (31-26] Memto

image text in transcribed

image text in transcribed

Q2) Single cycle datapath of an instruction set is shown belown. Add x3 0 >Addresult ALU Shift left 2 RegDsi Branch MemRead Instruction (31-26] Memto Reg! Control ALVO MemWrite ALUS RegWrite Instruction (25-21) Read PC Read address register 1 Read Instruction [20-16] Zero Read data 1 register 2 Write Read Instruction [31-0] Instruction memory ALU ALU 0 M x=3 Read Address dala result M Instruction (15-11) register data 2 Oxc3 Write data Registers Write Data data memory Instruction (15-0] 16 32 Sign- extend ALU control Instruction (5-0) Memory The memory configuration and register values are given in the following tables, Registers $t1 4 10000 $t2 2 10004 $t3 3 10008 $sp 10004 10000 1 9 5 2 Write the values (decimal) that will be assigned or created during the consecutive executions of the following instructions shown below. Also, show changes on memory and registers. Instruction Write Read Data 2 ALUSTO Branch MemWrite RegDst Regwrite Register of Reg File add $sp,$sp,$t1 Write the values (decimal) that will be assigned or created during the consecutive executions of the following instructions shown below. Also, show changes on memory and registers. Instruction Write Read Data 2 ALUSIC Branch MemWrite RegDst Regwrite Register of Reg File add $sp,$sp,$t1 or $t1,$t2,$t3 lw $t2, O($sp) Sw $t3,4($sp) Bne $t1,$t3, LP

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_2

Step: 3

blur-text-image_3

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