English

The accumulator of the 8085 microprocessor contains data BEH and register B contains data 46H. What will be the content of the accumulator in hexadecimal after execution of the following instruction - Computer Science 2

Advertisements
Advertisements

Question

The accumulator of the 8085 microprocessor contains data BEH and register B contains data 46H. What will be the content of the accumulator in hexadecimal after execution of the following instruction independently:

ANA B

Very Short Answer
Advertisements

Solution

After the execution of ANA B, the content of the accumulator will be 26H.

BEH (1011 1110) AND 46H (0100 0110) = 26H (0010 0110)

shaalaa.com
  Is there an error in this question or solution?
2023-2024 (July) Official Board Paper

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×