English

Write any two instructions from the following group: Logical group

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

Advertisements
Share
Notifications



      Forgot password?
Use app×