CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS HARDWARE 8085 DETAILS
    Question :
    What are the various flags used in 8085?
    Category 8085 Interview Questions
    Rating (0.4) By 1087 users
    Added on 7/6/2005
    Views 5427
    Rate it!
    Answers:

    Sign flag, Zero flag, Auxillary flag, Parity flag, Carry flag.



    there are 5 flags of intel 8085 are:
    Carry flag(CY),
    parity flag(P),
    Auxiliary Carry flag(AC),
    Zero Flag(Z),
    Sign flag(S).



    Posted by: lekhashri    

    Contact lekhashri Contact lekhashri

    Intel 8085 has five flags.

    1. Carry flag(c)-It holds the value 1 if the result has carry else 0.
    2. Parity flag(p)-It holds 1 if the result has even parity.It holds 0 if the result has odd parity.
    3. Auxillary carry flag(AC)-It holds 1 if the result has carry from LSB to MSB else it holds 0.
    4. Zero flag(z)-It holds 1 if the result is zero else it holds 0.
    5. Sign flag(s)-It holds 1 if the result has negative value else it holds 0.



    Posted by: sophiya    

    Contact sophiya Contact sophiya

    1. carry flag- After the execution of an arithmetic instruction, if a carry is produced, the carry flag CS is set to 1, otherwise it is equal to zero. The carry flag is set or reset in case of addition as well as subtraction.

    2. Parity flag-The Parity status flag P is set to 1, if the result of an arithmetic or logical operation contains even number of 1?s. It is reset or 0 if the result contains odd number of 1?s.

    3. Auxiliary Carry Flag(AC)---The Auxiliary carry flag AC holds the carry out of bit number 3 to bit number 4 resulting from the execution of an arithmetic operation. The counting of bits starts from 0, hence bit number 3 is actually fourth bit from LSB.

    4. Zero Flag(Z)--- The Zero status flag Z is set to 1, if the result of an arithmetic or logical operation is 0.If the result is not zero, the flag is set to 0.

    5. Sign Flag(S)---The Sign flag S is set to 1, if the result of an arithmetic or logical operation is negative. If the result is positive, the sign flag is set to 0.



    Posted by: tanvi beri    

    Contact tanvi beri Contact tanvi beri

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    In 8085 name the 16 bit registers?
    View Answer
    What are the various registers in 8085?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL 8085 Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.015625 Seconds