- Home/
- GATE ELECTRONICS/
- GATE EC/
- Article
MOV A, R1 will-
By BYJU'S Exam Prep
Updated on: September 25th, 2023
Choose the right answer to the question, MOV A, @ R1 will –
- Copy R1 to the accumulator.
- Copy the accumulator to R1.
- Copy the contents of memory whose address is in R1 to the accumulator.
- Copy the accumulator to the contents of memory whose address is in R1.
Table of content
Answer: Option C. Copy the contents of memory whose address is in R1 to the accumulator
MOV A, @ R1, will copy the contents of memory whose address is in R1 to the accumulator.
Solution
The detailed solution to the question, MOV A, @ R1 will be provided here.
Register Indirect Addressing Mode: In this type, the register will store the address of the target memory location and will be mentioned in the instruction.
Example:
MOV A, @ R1
MOV R2, @R3
MOV @R2, R3
In the instruction MOV A, @ R1; R1 stores the address from where the contents must be copied and stored in the accumulator. The @ sign is used to register indirect addressing in the instructions.
Hence, Option (C) is the correct answer.
☛ Related Questions: