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
List out various uses of timers in embedded system?
What is the difference between hard real-time and soft real-time os?
What is loop unrolling?
Tell me what is embedded system in a computer system?
Explain the differences between stateless and stateful systems, and impacts of state on parallelism.
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).
What value do daily builds, automated testing, and peer reviews add to a project? What disadvantages are there?
What is meant by a sandbox, why you would use one.
Scope of static variables?
What is the use of having the const qualifier?
Tell me how does the interrupts handle by using the threads?
Explain various uses of timers in embedded system?
What is a 'volatile' variable?
You've just been assigned to a project in a new technology how would you get started?
Explain what is interrupt latency? How can you reduce it?