MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The instruction, Add Loc, R1 in RTN is ____
A
Add SetCC Loc+R1
B
R1=Loc+R1
C
Not possible to write in RTN
D
R1<-[Loc]+[R1]
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: -To execute the Add instruction, the processor uses the value in register R1 as the effective address of the operand. It requests a read operation from the memory to read the contents of this location. The value read is the desired operand, which the processor adds to the contents of register R0.

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

Detailed explanation-4: -Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more.

There is 1 question to complete.