Define flag register in the 8085 microprocessor

Briefly explain the flag register in the 8085 microprocessor?

E

Expert

Verified

  • Flag register in 8085 microprocessor is an 8-bit register that holds 5 bit positions.
  • Such five flags are of 1bit F/F and are termed as zero, carry, sign, auxiliary and parity carry.
  • For sign flag when the outcome of an MSB operation is 1 then it is set else it is reset.
  • The zero flag is set of the outcome of an instruction is zero.
  • The auxiliary carry flag is employed for BCD operations, not open to the programmer.
  • The carry flag is employed for carrying and borrowing in case of addition and subtraction operations.
  • The parity flag is employed for outcomes containing an even number of one's.

   Related Questions in Basic Computer Science

©TutorsGlobe All rights reserved 2022-2023.