Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Design a circuit to detect when 3 and only 3 bits are set
out of 8 bits.(eg. o0101100)

Answer Posted / ravichandra

step1: start
step2: mov the byte to accumulator
step3: intialize length = 0 , count = 0
step4: rotate acc. to right through carry.
step5: if carry = 1 , increment count
step6: increment length
step7: if length < 8 , goto step3
step8: if count = 3 , (do required action)
step9: end

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can a pointer be volatile ? Explain.

879


What is inversion of control?

858


Explain me can we use printf inside isr?

971


How to implement a fourth order butter worth lp filter at 1 khz if sampling freuency is 8 khz?

822


Tell me what is null pointer and what is its use?

851


What are the uses of the keyword static?

860


Explain the difference between risc and cisc processor?

879


Explain the difference between "set" logic, and "procedural" logic.

887


What is priority inheritance?

798


What is the repository pattern? Why are patterns important?

885


Why embedded system is useful?

951


Please explain what is semaphore?

897


What is continuous integration? Have you used it and why is it important?

804


What's the difference between unit test and integration test?

859


You've just been assigned to a project in a new technology how would you get started?

833