Design a circuit for A + abs(B) = C, where A and B are 4
bits wide and 2?s complement representation
Answer / siva
make a 4-bit adder/subtractor ( which can perform A+B and A-
B depending on value of bit say SUB..ie if SUB is 1 it will
perform A+B ) now give A and B as inputs and make MSB of B
as SUB bit.
suppose A=0110(6),B=1110(-2);so result will be A-B ie.,
A+|B|=6-(-2)=8
| Is This Answer Correct ? | 12 Yes | 5 No |
What is a semaphore? What are the different types of semaphore?
What's so great about <cool web technology of the day>?
How to reduce interrupt latency?
Whether we can use semaphore or mutex or spinlock in interrupt context in linux kernel?
Tell me what are real-time embedded systems?
How does the interrupt architecture works?
Explain the characteristics of embedded system?
Explain me what are the different types of system involved in embedded system?
Tell me how does input/output bus functions?
what is the command/instruction in ARM that does not do anything or does not execute any instruction ? (except NOP instruction)
Is tasklets or workqueues or softirqs are scheduled by the scheduler?
What do you mean by interrupt latency?