Which instruction is an example of a register-to-memory data transfer?

2025

Which instruction is an example of a register-to-memory data transfer?

  1. A.

    ADD R1, R2

  2. B.

    JMP Label

  3. C.

    IN AL, 0x80

  4. D.

    MOV R1, [0x100]

Attempted by 4 students.

Show answer & explanation

Correct answer: D

A register-to-memory or memory-to-register data transfer instruction moves data between CPU registers and memory locations.

In:

MOV R1, [0x100]
[0x100] refers to a memory address.
R1 is a CPU register.
The instruction copies data from memory into the register.

Therefore, this instruction represents a data transfer between memory and a register.

Explore the full course: Niacl Ao It Specialist