Question: 1. Design a datapath for a machine that has only four instructions. The instructions are: add R1, R2, R3 sub R1, R2, R3 sb R1,

 1. Design a datapath for a machine that has only fourinstructions. The instructions are: add R1, R2, R3 sub R1, R2, R3

1. Design a datapath for a machine that has only four instructions. The instructions are: add R1, R2, R3 sub R1, R2, R3 sb R1, R2 slt R1, R2, R3 # RI-R2+R3 # RI-R2-R3 # Memory(R2)-RI # if (R2-R3) then R1-1, else, R1 -0. Assume each instruction has 8 bits. Also assume that there are 4 registers and two memory units with 16 bytes each

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!