NIELIT O Level Exam

How many flags are there in 8085 Microprocessor?

How many flags are there in 8085 Microprocessor?

8085 माइक्रोप्रोसेसर में कितने फ्लैग होते हैं?

A. 5

B. 9

C. 12

D. 15




Correct Answer is :

A. 5



Explanation

The 8085 microprocessor, which is an 8-bit microprocessor designed by Intel, has five flags in its flag register. These flags indicate certain conditions that arise during arithmetic and logical operations. The five flags in the 8085 microprocessor are:


Sign Flag (S): The Sign Flag is set if the result of an operation is negative.


Zero Flag (Z): The Zero Flag is set if the result of an operation is zero.


Auxiliary Carry Flag (AC): The Auxiliary Carry Flag is used for binary-coded decimal (BCD) arithmetic. It is set if there is a carry out of the low nibble (4 bits) during an operation.


Parity Flag (P): The Parity Flag is set if the number of set bits in the result is even.


Carry Flag (CY): The Carry Flag is set if there is a carry out of the most significant bit (MSB) during an operation.

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad