- Home/
- GATE ELECTRONICS/
- GATE EC/
- Article
Which of the Following Statements Will Add the Accumulator and Register 3?
By BYJU'S Exam Prep
Updated on: September 25th, 2023
Which of the following statements will add the accumulator and register 3
- ADD @R3, @A
- ADD @A, R3
- ADD R3, A
- ADD A, R3
Table of content
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.