Question: Please explain step by step for each part. Assume the CPU used in this section has 17 registers. m FS D data Write D address


Please explain step by step for each part.
Assume the CPU used in this section has 17 registers. m FS D data Write D address 2x Register file A address B address Function Code m A data B data Constantin n n MB select 1 0 MUX B Bus A n Bus B Address out Data out B FS V FA 0000 F+ A+1 0001 F+ A+B 0010 F+ A+B+1 0011 F+ A+B 0100 F+ A+B+1 0101 F+ A-1 0110 F+ A 0111 Ft AB 1000 F+ AB 1001 Ft AB 1010 FEA 1011 FB 1100 FIB 1101 Fesl B 1110 Function unit N Z n Data in 0 1 MD select MUXD Suggest how to execute the following instructions on the given CPU. Find the control words: 1. R8 = R7 + LSR2(R3-1) (LSR2: Linear shift right by 2 positions) 2. R15 = (R2-2) (R6 + 6) 3. R6 = R9 A LSR(R4 + R7 + 1) (LSR: linear shift right 1 position) 4. R11 = (R4 x 3) A (R6 + 2) 5. R3 = (R2 = 4) - LSL2(R2) (LSL2: Linear shift Left by 2 positions) Assume the CPU used in this section has 17 registers. m FS D data Write D address 2x Register file A address B address Function Code m A data B data Constantin n n MB select 1 0 MUX B Bus A n Bus B Address out Data out B FS V FA 0000 F+ A+1 0001 F+ A+B 0010 F+ A+B+1 0011 F+ A+B 0100 F+ A+B+1 0101 F+ A-1 0110 F+ A 0111 Ft AB 1000 F+ AB 1001 Ft AB 1010 FEA 1011 FB 1100 FIB 1101 Fesl B 1110 Function unit N Z n Data in 0 1 MD select MUXD Suggest how to execute the following instructions on the given CPU. Find the control words: 1. R8 = R7 + LSR2(R3-1) (LSR2: Linear shift right by 2 positions) 2. R15 = (R2-2) (R6 + 6) 3. R6 = R9 A LSR(R4 + R7 + 1) (LSR: linear shift right 1 position) 4. R11 = (R4 x 3) A (R6 + 2) 5. R3 = (R2 = 4) - LSL2(R2) (LSL2: Linear shift Left by 2 positions)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
