Multiple choice

Consider the sequence of 8085 instructions given below: LXI H, 9258 MOV A, M CMA MOV M, A

Which one of the following is performed by this sequence?

  1. This program compliment the data of memory location 9258H.

  2. Contents of location 9258 are compared with the contents of the accumulator.

  3. Contents of location 8529 are complemented and stored in location 8529.

  4. Contents of location 5892 are complemented and stored in location 5892.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation