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 |
Given time, cost, client satisfaction and best practices, how will you prioritize them for a project you are working on? Explain why.
Please explain the difference between mutexes vs semaphores?
Tell me when one must use recursion function? Mention what happens when recursion functions are declared inline?
Explain what is the difference between mutexes and semaphores?
Explain me what is the main function of multiplexed address/data bus?
What does malloc do? What will happen if we have a statement like malloc(sizeof(0));
Explain me how does the interrupt architecture works?
Why is java used in embedded systems?
Which parameters decide the size of data type for a processor?
Infinite loops often arise in embedded systems. How does you code an infinite loop in c?
If your database was under a lot of strain, what are the first few things you might consider to speed it up?
What are hard and soft real time systems?