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

Why does pre-emptive multi-threading used to solve the central controller problem?

872


How can you reduce memory requirements in embedded systems?

944


Explain what is the need for an infinite loop in embedded systems?

941


Explain the uses of timers in embedded system?

885


What are the uses of the keyword volatile?

1070


Tell me can you have constant volatile variables?

945


Tell me why embedded system is useful?

881


What happens when recursion functions are declared inline?

1008


Accessing fixed memory locations

986


Tell me what is the need for an infinite loop in embedded systems?

925


What is the function of dma controlled in embedded system?

953


What's the difference between a web server, web farm and web garden? How would your web application need to change for each?

892


What is difference between using a macro and a in line function?

973


what are buses used for communication in embedded system?

936


Explain what is the difference between mutexes and semaphores?

850