Computer Science, asked by uramajayam72, 8 months ago

26. What will be the output after execution of the
following instructions?
MOV A, #00H
ANL A, #55H
O a) OOH
Ob) FFH
O c) 55H
O 66H​

Answers

Answered by tashu139
0

Answer:

c 55H

Explanation:

because #00H +#55H = 55H

Answered by yogeshkumar49685
0

Option(A) is correct.

Concept:

The ANL instruction does a bitwise logical AND between the provided byte or bit operands and puts the result in the destination operand.

Program:

AND operation between 00H and 55H.

Solution:

ANL is a bitwise AND operation.

A = 00H

AND operation between 00H and 55H is

0000 \quad 0000= 00H\\\\0101 \quad 0101 = 55H\\\\

______________

0000 \quad 0000 = 00H

Hence, the output of the program is 00H. Option (A) is correct.

Hence, the output of the program is 00H. Option (B) is incorrect.

Hence, the output of the program is 00H. Option (C) is incorrect.

Hence, the output of the program is 00H. Option (D) is incorrect.

Similar questions