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 the difference between "set" logic, and "procedural" logic. When would you use each one and why?
Explain the concept of convention over configuration, and talk about an example of convention over configuration you have seen in the wild.
What is Difference between CAN and GMLAN
Tell me what is the function of simple thread poll in embedded system?
If a system goes blank, how do you debug it?
How can you reduce interrupt latency?
Scope of static variables?
What is the repository pattern? The factory pattern? Why are patterns important?
What are the qualifiers in c?
What is meant by a sandbox.
Tell me what is the difference between hard real-time and soft real-time os?
Explain what is a watchdog timer?