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
Tell me what is the function of dma controlled in embedded system?
Explain what are the differences between analytical and computational modeling?
Explain what are the essential components of embedded system?
Discuss the differences between mocks and stubs/fakes and where you might use them (answers aren't that important here, just the discussion that would ensue).
Given time, cost, client satisfaction and best practices, how will you prioritize them for a project you are working on? Explain why.
How can you ensure that debugging a program while it's being used will not affect its functionality?
Explain the characteristics of embedded system?
What is the purpose of the segment register?
Explain interrupt latency and how can we decrease it?
Tell us what is the need for an infinite loop in embedded systems?
Can you name the differences between object-oriented and component-based design?
Explain me what is spin lock?
Explain the uses of timers in embedded system?
Which is the best way to write loops?
What's the difference between a web server, web farm and web garden? How would your web application need to change for each?