Question: Consider the following data path ( slightly modified from that given in the book ) Screen Shot 2 0 2 0 - 1 1 -

Consider the following data path (slightly modified from that given in the book)
Screen Shot 2020-11-30 at 11.22.18 PM.png
The Finite State Machine Control unit presents the following control signals to the data path on a given tick of the clock. (All values given as unsigned binary)
DR =000; SR1=000; SR2=001; SR2MUX =1; ALUK =00; GateALU=1; LD.REG =1
You may further assume that the ALU control signals mean the following
ALUK =00 Add input A and B
ALUK =01 Compute bitwise AND of input A and B
ALUK =10 Bitwise NOT of Input A
ALUK =11 Pass input A through to the output unchanged
Which of the LC3 assembly instructions does this presentation of control signals implement?
Group of answer choices
ADD R1, R0, R1
ADD R0, R0, R1
AND R0, R0, R1
AND R1, R0, R1

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 Programming Questions!