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 |
Tell me can static variables be declared in a header file?
What is watchdog timer?
Describe a software development life cycle that you've managed.
How do you react to people criticizing your code/documents?
What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?
What is a inode?
Explain me what are the different types of system involved in embedded system?
What is interrupt latency and how can we decrease it?
Explain the difference between testing and verification?
How does a 3 tier application differ from a 2 tier one?
How are macros different from functions?
Tell me why does pre-emptive multi-threading used to solve the central controller problem?