MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The instruction, Add R1, R2, R3 in RTN is ____
A
R3=R1+R2+R3
B
R3<-[R1]+[R2]+[R3]
C
R3=[R1]+[R2]
D
R3<-[R1]+[R2]
Explanation: 

Detailed explanation-1: -ADD: This instruction adds 2 values (from 2 registers or from a register and an immediate value) and puts them into a register. Similar format is used for SUB, MULT, DIV, MOD. For eg. “ADD R1 R2 R3; ” will move the value R2+R3 into R1.

Detailed explanation-2: -Besides giving the explanation of If the instruction Add R1, R2, R3 is executed in a system which is pipelined, then the value of S is (Where S is term of the Basic performance equation)a)3b) 2c) 1d)6Correct answer is option ‘C’.

Detailed explanation-3: -Register Transfer Notation (or RTN) is a way of specifying the behavior of a digital synchronous circuit.

Detailed explanation-4: -3. Can you perform an addition on three operands simultaneously in ALN using Add instruction? Explanation: You cannot perform an addition on three operands simultaneously because the third operand is where the result is stored.

There is 1 question to complete.