Q2. Deduce the control words required for the execution of the following instructions: SLR R2, R3,0 % R2 <= Shift the co
Posted: Tue Apr 12, 2022 10:12 am
Q2. Deduce the control words required for the execution of the following instructions: SLR R2, R3,0 % R2 <= Shift the contents of R3 to left by 1 bit Give your answers by following the format below: (25 marks) → Instruction PCEn IREn PCSel AddEn AddSel Restart SREn CVEn EN, WR Control Vector appeared at the output of CVR SLR R2, R3,0 1 + Reference to output of CVR Data Input 16 +16 ALU2 ALU ALU Operation Pass through A 0 0 0 IE 0 15 - 0 0 1 A AND B 0 1 0 A OR B 0 1 1 NOT A WE 4 x16 WA 1.0 RAE RF RBE RAA0 RBA 1 0 13-12 11 10-9 Clock 0 A+B 1 0 1 A-B 16- 16- 8 1 1 0 A +1 1 1 1 A-1 5 4 ALU, ALU ALU ALU 16 (b) 16 SH SH Operation SH SH Shifter 0 0 0 1 ОЕ 0 Pass through Shift left and fill with 0 Shift right and fill with 0 Rotate right 1 0 1 1 Data Output WE 0 1 1 1 1 WAI WAO X X 0 0 0 1 1 1 1 Op No operation In => RO In => R1 In => R2 In => R3