edited by
99 views
0 votes
0 votes

The contents of Register $\text{(B)}$ and Accumulator $\text{(A)}$ of $8085$ microprocessor are $49 \mathrm{H}$ and $3 \mathrm{AH}$ respectively. The contents of $\mathrm{A}$ and the slatus of carry flag $(C Y)$ and sign flag $(S)$ after executing $\text{SUB B}$ instructions are

  1. $\mathrm{A}=\mathrm{F} 1, \mathrm{C} Y=1, \mathrm{~S}=1$
  2. $\mathrm{A}=0 \mathrm{F}, \mathrm{CY}=1, \mathrm{~S}=1$
  3. $\mathrm{A}=\mathrm{F} 0, \mathrm{CY}=0, \mathrm{~S}=0$
  4. $\mathrm{A}=1 \mathrm{F}, \mathrm{CY}=1, \text{S}=1$
edited by

Please log in or register to answer this question.

Answer: