Flag register in the 8085 microprocessor

Explain briefly the flag register in the 8085 microprocessor.



- The flag register in 8085 is an 8-bit register which contains 5 bit positions.

- These five flags are of 1bit F/F and are known as zero, sign, carry, parity and auxiliary carry.

- For sign flag if the result of an MSB operation is 1 then it is set else it is reset.

- The zero flag is set of the result of an instruction is zero.

- The auxiliary carry flag is used for BCD operations, not free to the programmer.

- The carry flag is used for carrying and borrowing in case of addition and subtraction operations.

- The parity flag is used for results containing an even number of one's.
Post your comment

    Discussion

  • RE: Flag register in the 8085 microprocessor -Satheesh (01/19/16)
  • Very very thank you
  • RE: Flag register in the 8085 microprocessor -the undying (04/16/15)
  • thanks:-)
  • RE: Flag register in the 8085 microprocessor -Bhavesh bamaniya (04/09/15)
  • its very useful details for us.
  • RE: Flag register in the 8085 microprocessor -thanvee (08/19/14)
  • it was very useful to my microprocessor exam .thank u so much
  • Flag register in the 8085 microprocessor -ray (08/26/12)
  • Useful..thanks :)

More from CareerRide