Status flags in 8085 microprocessor

Write about the status flags within the 8085 microprocessor?

E

Expert

Verified

Following status flags have been offered within the Intel 8085:

a) Carry (CS):- In case there exist a carry from the addition or borrow from the subtraction or the comparison, carry flag CS is set to 1; otherwise it is set to 0.

b) Zero (Z):- Zero status flag Z is set to 1 if result of arithmetic or the logical operation comes out to be zero. For non-zero result it is set to 0.

c) Sign(S):- Sign status flag is set to 1 in case, the most significant bit of result of an arithmetic or logical operation is 1, otherwise it is set to 0.

d) Parity (P):- Parity status flag is set to 1 if result of the operation consists of the even number of 1s. It is then set to 0 when there is odd number of 1s.

e) Auxillary Carry (AC):- Auxillary carry status flag holds the carry out of bit 3 to 4 resulting from the execution of an arithmetic operation.

   Related Questions in Other Engineering

©TutorsGlobe All rights reserved 2022-2023.