Question: What are input values for the ALU for each state where the ALU is used when executing this instruction? Assume a processor fetches the following

What are input values for the ALU for each state where the ALU is used when executing this instruction?

Assume a processor fetches the following instruction word:

000000 00000 00100 00010 00000 010100 (R-Type)

Assume the processors registers have the following values at the beginning of the cycle in which the above instruction word is fetched: (r0 = register 0, r1 = register 1, etc.)

r0: 0, r1:-1, r2:2, r3:-3, r4: 4, r5: 10, r6:6, r8:8, r12:2, r31:-16 pc = 0x04000000

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!