English

Write any two instructions from the following group: Logical group - Computer Science 2

Advertisements
Advertisements

Question

Write any two instructions from the following group:

Logical group

Short Answer
Advertisements

Solution

  • ANA B: This instruction performs a logical AND operation between the contents of register B and the Accumulator. The result is stored in the Accumulator.
  • XRA A: This instruction performs a logical XOR operation of the Accumulator with itself. The result is stored in the Accumulator (Accumulator becomes 00H).
shaalaa.com
  Is there an error in this question or solution?

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×