Which of the Following Statements Will Add the Accumulator and Register 3?

By Himanshu Bajpai|Updated : July 26th, 2022

Which of the following statements will add the accumulator and register 3 

  1. ADD @R3, @A
  2. ADD @A, R3
  3. ADD R3, A
  4. ADD A, R3

Answer - D. ADD A, R3

Adding the accumulator and register 3 will be ADD A, R3

Solution

The following adding the accumulator and register 3 will be ADD A, R3

The format of assembly code for any operation is – 

OPERATION Destination, Source

Destination and source are two operands; the result is stored in a specified destination (Accumulator mostly, could also be other registers or a memory location). 

Therefore, the answer to the question of Which of the following statements will add the accumulator and register 3 will be ADD A, R3.

Hence, Option (D) is the correct answer. 

☛ Related Questions:

Comments

write a comment

Follow us for latest updates