Join 60,000+ competitive exam aspirants
Flag register of 8085 microprocessor has five flags namely.
S, Z, AC, P, CY
S, OV, AC, P, CY
S, Z, OV, P, CY
S, Z, AC, P, OV
S, Z, AC, P, CY
The 8085 microprocessor contains an 8-bit flag register known as the Program Status Word (PSW). It consists of five active status flags (S, Z, AC, P, and CY) that indicate the outcome of arithmetic and logical operations performed by the Arithmetic Logic Unit (ALU).
The 8085 microprocessor contains an 8-bit flag register known as the Program Status Word (PSW). It consists of five active status flags (S, Z, AC, P, and CY) that indicate the outcome of arithmetic and logical operations performed by the Arithmetic Logic Unit (ALU).
PSW=[A,F] тАФ The 16-bit register pair representing Accumulator and Flag status
The Flag register tracks the status of the CPU after operations: S (Sign) reflects the MSB, Z (Zero) indicates if the result is zero, AC (Auxiliary Carry) tracks carries from bit 3 to bit 4, P (Parity) checks for even number of set bits, and CY (Carry) indicates an overflow beyond the 8-bit capacity.
The 8085 Flag register is 8 bits wide but uses only 5 bits for status reporting.
The 3 remaining bits in the PSW are undefined/unused.
Sign flag (S) is 1 if the MSB of the result is 1 (negative).
Parity flag (P) is 1 if the result contains an even number of 1s.
Efficient status monitoring of ALU operations.
Enables conditional jump instructions.
Does not include an Overflow (OV) flag, unlike the 8086 microprocessor.
Conditional branching (e.g., JZ, JNC, JP).
Multi-precision arithmetic operations.
The 8085 does not have an overflow flag; overflow detection in 8085 must be manually calculated using logic.
Options B, C, and D are incorrect because they include an OV (Overflow) flag, which is not part of the 8085 architecture.
A is correct тАФ The 8085 flag register comprises the Sign, Zero, Auxiliary Carry, Parity, and Carry flags.
Always remember that the 8085 lacks an Overflow (OV) flag, which distinguishes it from the 8086 microprocessor; this is a very common trap in competitive exams.