What is flag, bus?
Answers were Sorted based on User's Feedback
Flag is an eight bit register which shows the status of
results store in accumulator,after executing an
instruction.There are 5 flag in 8085 microprocessor,
Sign:States whether the result is +ve or -ve.
Zero:set when result is zero,otherwise reset.
Parity:Set for even parity,otherwise reset.
Carry:Set if there is an end carry.
AC:Set if carry generated by leftmost nibble.
Bus is a interconnecting device through which data
transfer is occur.
| Is This Answer Correct ? | 38 Yes | 4 No |
Answer / sushil kumar
flags are used to test data conditions.
For example, after an addition of two numbers, if the sum in
the accumulator id larger
than eight bits, the flip-flop uses to indicate a carry --
called the Carry flag (CY) -- is
set to one. When an arithmetic operation results in zero,
the flip-flop called the
Zero(Z) flag is set to one. The first Figure shows an 8-bit
register, called the flag
register, adjacent to the accumulator. However, it is not
used as a register; five bit
positions out of eight are used to store the outputs of the
five flip-flops. The flags are
stored in the 8-bit register so that the programmer can
examine these flags (data
conditions) by accessing the register through an instruction.
These flags have critical importance in the decision-making
process of the microprocessor.
The conditions (set or reset) of the flags are tested
through the software
instructions. For example, the instruction JC (Jump on
Carry) is implemented to
change the sequence of a program when CY flag is set. The
thorough understanding
of flag is essential in writing assembly language programs.
| Is This Answer Correct ? | 36 Yes | 4 No |
Answer / basavaraj hiremath
Flag is nothing but the resister of 8 bit, it is also
referred as program status word(PSW). which gives the status
of the resister after performing the operation.
BUS: Bus is nothing but the group or collection of wires.
used for the data transmission in the applications
| Is This Answer Correct ? | 15 Yes | 2 No |
Answer / meena
Flag is an 8-bit register, called the flag register,
adjacent to the accumulator. However, it is not used as a
register; five bit positions out of eight are used to store
the outputs of the five flip-flops. The flags are stored in
the 8-bit register so that the programmer can examine these
flags (data conditions) by accessing the register through
an instruction.These flags have critical importance in the
decision-making process of the microprocessor. The
conditions (set or reset) of the flags are tested through
the software instructions.
| Is This Answer Correct ? | 20 Yes | 10 No |
Answer / asha priya
flag is used to test the data condition as well as this
shows status of the results stored in accumulator.
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / naveen rathee
Flags are nothing but a group of individual Flip-flops. The
flags are mainly associated with arithmetic and logic
operations. The flags will show either a logical (0 or 1)
(i.e.) a set or reset depending on the data conditions in
accumulator or various other registers. A flag is actually
a latch which can hold some bits of information. It alerts
the processor that some event has taken place.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / pugili
Flag is used to control features found in the microprocessor.
| Is This Answer Correct ? | 2 Yes | 4 No |
Where 8086 mostly used & tell application of 8086?
These are two ways in which a microprocessor can come out of Halt state.
What is the the total addressable memory size in a 8085 microprocessor?
Which interrupt in the 8086 has the highest priority?
Why do we use two ground pins in the pin diagram of 8086?
What is meant by the statement that 8085 is a 8 bit microprocessor?
What is the difference between jmp and call?
List out addressing modes in mcs-51?
What is sim and rim instructions?
What is the use of microprocessors?
Explain the functions of the two dma signals hold and hlda?
what type of registers contains an (INTEL) CPU?