Computer Science, asked by kumardilip552003, 4 months ago

What will be the contents of accumulator after execution of the following commands MVI A,02 H ADI 00 H.


OPTIONS

NOP

OAH

02h

OOH

Answers

Answered by pilotaarti
0

Answer:

what is your Questions ask again we cannot understand

Answered by yogeshkumar49685
0

Option (C) is correct.

Concept:

MVI is a mnemonic that stands for "Move Immediate." "Add Immediate to Accumulator" is a mnemonic for "Add Immediate to Accumulator." This instruction is used to populate the Accumulator with 8-bit immediate data. The Accumulator will store the result of addition.

Program:

The following commands:

MVI \quad A,02H\\ADI \quad 00H

Solution:

MVI \quad A,02H\\

The data 02H is moved to the accumulator.

ADI \quad 00H

Perform addition with accumulator and data 00H

02H+00H = 02H

Hence, the content in the accumulator is 02H. Option (C) is correct.

Hence, the content in the accumulator is 02H. Option (A) is incorrect.

Hence, the content in the accumulator is 02H. Option (B) is incorrect.

Hence, the content in the accumulator is 02H. Option (D) is incorrect.

Similar questions