What are the different flags in 8085?
Answer Posted / nitin garg
Carry Flag (CF):- When two 8/16 bit number addition the the
result is generate 9/17 bit number then the carry flag is set.
Auxiliary flag (AF):-This flag is active in BCD number.When
Two 8 bit number addition the the carry is generate by D3
bit to D4 bit the the Auxiliary flag is set.
Parity Flag (PF):-This flag is indicate the number is even
or odd.The numbers of one's in result is even 0,2,4,6,8 then
parity flag is set and the number os one's is odd 1,3,5,7
the the parity flag is reset.
Zero Flag (ZF):-This flag is indicate the result is zero or
non-zero.when two 8 bit number addition then the result is
zero then zero flag is set.and the result is non-zero then
the zero flag is reset.
Sign Flag (SF):-This flag is indicate the number is negative
or positive.The MSB in result is one(1)then the sign flag is
set or the result is negative And the MSB in result in
Zero(0) then the sign flag is reset or the result is positive.
| Is This Answer Correct ? | 32 Yes | 7 No |
Post New Answer View All Answers
What is the maximum clock frequency used by the 8085 microprocessor?
Which bit of the flag register is set when output overflows to the sign bit?
What is an interrupt service routine in microcontroller?
What happens when reset in(low) signal goes low?
What are the different types of instructions of 8085?
What is meant by the statement that 8085 is a 8 bit microprocessor?
What does a microprocessor mean?
explain the different types of control flags for the 8086?
Describe the jae instruction with the help of an example?
Differentiate between div and idiv instructions with the help of examples.
Where can we find the sample assembly language programs?
Introduction of 8051 microcontroller architecture?
What are the index registers in 8086?
Explain the architecture of 8051 microcontroller ?
How to control and timing circuitry of the 8085.