Which of the following instruction will copy decimal 10 to accumulator?

2017

Which of the following instruction will copy decimal 10 to accumulator?

  1. A.

    MVI A, #0AH

  2. B.

    MVI A, #10H

  3. C.

    MVI #10H, A

  4. D.

    MOV A, #10H

Attempted by 31 students.

Show answer & explanation

Correct answer: A

Decimal 10 is 0AH in hexadecimal. The instruction that loads this immediate value into the accumulator is MVI A, #0AH.

Explore the full course: Niacl Ao It Specialist