3 views

An $8085$ assembly language program is given below.
$\text{Line}$

1. $\text{MVI A,B5H}$
2. $\text{MVI B0EH}$
3. $\text{XRI 69H}$
4. $\text{ADD B}$
5. $\text{ANI 9BH}$
6. $\text{CPI 9FH}$
7. $\text{STA 3010H}$
8. $\text{HLT}$

After execution of line $7$ of the program, the status of the CY and $\mathrm{Z}$ flags will be

1. $\mathrm{CY}=0, \mathrm{Z}=0$
2. $\text{C Y=0, Z=1}$
3. $\mathrm{CY}=1, \mathrm{Z}=0$
4. $\mathrm{CY}=1, \mathrm{Z}=1$