Which of the following instruction will copy decimal 10 to accumulator?
2017
Which of the following instruction will copy decimal 10 to accumulator?
- A.
MVI A, #0AH
- B.
MVI A, #10H
- C.
MVI #10H, A
- 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.