in Others ago edited ago by
3 views
0 votes
0 votes

GATE ECE 2007 | Question-79

Statement for Linked Answer Questions 78 & 79:
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$
in Others ago edited ago by
by
21.7k points
3 views

Please log in or register to answer this question.

Welcome to GO Electronics, where you can ask questions and receive answers from other members of the community.