Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Design a datapath for the following six instructions: add R1, R2, R3 sub R1, R2, R3 sw R1, R2, 7-bits-data lw R1, R2, 7-bits-data

image text in transcribedimage text in transcribed

2. Design a datapath for the following six instructions: add R1, R2, R3 sub R1, R2, R3 sw R1, R2, 7-bits-data lw R1, R2, 7-bits-data bne R1, R2, 7-bits-data beq R1, R2, 7-bits-data # RI-R2+R3 #Al-R2-R3 # MM2+ 7-bits-data)-RI # RI-M(R2+ 7-bits-data) # if RI-R2 then jump to PC+2+data # if RI-R2 then Jump to PC+2+data Assume each instruction has 16 bits. Also assume that there are 8 registers, an instruction memory unit with 1K bytes, and a data memory unit with 1K bytes. The 7-bits-data is in 2's complement format

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

4. What advice would you give to Carol Sullivan-Diaz?

Answered: 1 week ago