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

Do you know what is priority inheritance?

904


What is the function of watchdog timer in embedded system?

879


Discuss the concept of yagni.

865


What is the function of dma controlled in embedded system?

918


Tell me why is java mostly used in embedded systems?

827


Tell me what is interrupt latency? How can you reduce it?

857


Explain what are the differences between analytical and computational modeling?

893


You have two computers, and you want to get data from one to the other. How could you do it?

838


What kinds of problems can you hit with lockless model?

998


What is the need for an infinite loop in embedded systems?

861


Can we use any function inside isr?

894


Mention what are buses used for communication in embedded system?

872


What is the purpose of using critical sections?

847


What trade offs do you have for resource contention?

867


What is the function of simple thread poll in embedded system?

871