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


Please Help Members By Posting Answers For Below Questions

What is 8255?

611


What’s a microprocessor?

573


How are labels named in assembly language?

724


In which T-state does the CPU sends the address o memory or I/O and the ALE signal for Demultiplexing

1020


In case of DVD, the speed is referred in terms of n X. Here what does X refers to

643






What is the bhe signal? Explain its significance?

754


Explain the addresses which are bit addressable?

612


What is the significance of the nmi pin in the 8086?

568


Signal voltage ranges for a logic high and for a logic low in RS-232C standard are

669


Mention interrupts pins of 8085?

716


How much on chip ram is available?

894


What does a microprocessor mean? What all does a microprocessor comprise of?

627


what is the difference between timer and counter of microcontroller?

729


Explain data types used in microcontroller programming,

599


Which 2 ports combine to form the 16 bit address for external memory access?

763