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
what is the command/instruction in ARM that does not do anything or does not execute any instruction ? (except NOP instruction)
What is solid?
Explain difference between risc and cisc processor?
Can you name the differences between object-oriented and component-based design?
Explain the uses of timers in embedded system?
Accessing fixed memory locations
What is the difference between hard real-time and soft real-time os?
Can structures be passed to the functions by value?
Explain me what is spin lock?
What is interaction semantics used in embedded systems?
Are you familiar with design patterns? What design software have you used and in what situations?
Tell me can static variables be declared in a header file?
What is a semaphore? What are the different types of semaphore?
Explain the significance of watchdog timer in embedded systems?
Can a pointer be volatile ?