MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The instruction
A
Adds the value of LOCA to R0 and stores in the temp register
B
Adds the value of R0 to the address of LOCA
C
Adds the values of both LOCA and R0 and stores it in R0
D
Adds the value of LOCA with a value in accumulator and stores it in R0
Explanation: 

Detailed explanation-1: -The instruction-> Add LOCA, R0 does a)Adds the value of LOCA to R0 and stores in the temp registerb)Adds the value of R0 to the address of LOCAc)Adds the values of both LOCA and R0 and stores it in R0d)Adds the value of LOCA with a value in accumulator and stores it in R0Correct answer is option ā€˜Cā€™.

Detailed explanation-2: -The ADD instruction adds the values in Rn and Operand2 . The SUB instruction subtracts the value of Operand2 from the value in Rn . The RSB (Reverse SuBtract) instruction subtracts the value in Rn from the value of Operand2 . This is useful because of the wide range of options for Operand2 .

Detailed explanation-3: -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. This preview shows page 3-6 out of 49 pages. D .

Detailed explanation-4: -5. Which of the register/s of the processor is/are connected to Memory Bus? Explanation: MAR is connected to the memory BUS in order to access the memory.

There is 1 question to complete.