ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Embedded Systems >> 86 Family
 
 


 

 
 86 Family interview questions  86 Family Interview Questions (53)
 VLSI interview questions  VLSI Interview Questions (200)
 DSP interview questions  DSP Interview Questions (9)
 Embedded Systems AllOther interview questions  Embedded Systems AllOther Interview Questions (24)
Question
What is flag, bus?
 Question Submitted By :: Nalini C K
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is flag, bus?
Answer
# 1
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 ?    30 Yes 3 No
Sushil Kumar
 
  Re: What is flag, bus?
Answer
# 2
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 ?    19 Yes 10 No
Meena
 
 
 
  Re: What is flag, bus?
Answer
# 3
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 ?    23 Yes 4 No
Hiranmay Mistri
 
  Re: What is flag, bus?
Answer
# 4
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 ?    13 Yes 2 No
Basavaraj Hiremath
 
  Re: What is flag, bus?
Answer
# 5
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 ?    4 Yes 4 No
Naveen Rathee
 
  Re: What is flag, bus?
Answer
# 6
flag is used to test the data condition as well as this
shows status of the results stored in accumulator.
 
Is This Answer Correct ?    8 Yes 1 No
Asha Priya
 
  Re: What is flag, bus?
Answer
# 7
Flag is used to control features found in the microprocessor. 
Is This Answer Correct ?    2 Yes 2 No
Pugili
 
  Re: What is flag, bus?
Answer
# 8
flag is nothing but everything 
Is This Answer Correct ?    0 Yes 3 No
Kola
 

 
 
 
Other 86 Family Interview Questions
 
  Question Asked @ Answers
 
Explain RC circuit?s charging and discharging? Epsilon 5
in a sn SR latch made by using cross coupling of two nand gates, if both S andR inputs set o then it will result ISRO 1
Why are program counter and stack pointer 16-bit registers? HCL 2
What is an interrupt?   13
What is PSW? DRDO 10
load a mul a store t1 load b mul b store t2 mul t2 add t1 then the content in accumulator is Wipro 2
What does it mean by embedded system?   11
can microcontroller work indepandently   3
What is the function of accumulator? Sandvik 16
write an assembly code which can call function in a loop with al value from 0 to 9 Google 5
What happens during DMA transfer?   9
Explain the working of a binary counter?   2
 
For more 86 Family Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com