Advertisements
Advertisements
Question
Content of flag register of 8085 Microprocessor is 55H. Write its bit pattern and give interpretations.
Short Answer
Solution
The content of flag register of 8085 is 55H.
= 0 1 0 1 0 1 0 1
Flag register | S | Z | – | AC | – | P | – | Cy |
Given: 55H | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |
In this also consider,
S = 0 = Reset = Accumulator content is a positive outcome.
Z = 1 = set = The accumulator's content is 0.
AC = 1 = set = Shows that a carry is created from bit D3 to bit D4 during an arithmetic operation.
P = 1 = set = Indicates that there are even more 1s present in the accumulator.
Cy = 1 = set = This indicates that the most important bit is carried or borrowed when performing an arithmetic operation.
shaalaa.com
Is there an error in this question or solution?