Multiple choice

An 8085 assembly language program is given below. Line 1: MVI A, B5H 2: MVI B, 0EH 3: XRI 69H 4: ADD B 5: ANI 9BH 6: CPI 9FH 7: STA 3010H 8: HLT

After execution of line 7 of the program, the status of the CY and Z flags will be

  1. CY = 0, Z = 0

  2. CY = 0, Z = 1

  3. CY = 1, Z = 0

  4. CY = 1, Z = 1

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

The CY = 1 and Z = 0