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 |
How can you stop your dba from making off with a list of your users’ passwords?
How do you reduce interrupt latency?
Please explain can structures be passed to the functions by value?
Tell me how does input/output bus functions?
Tell me what is interaction semantics used in embedded systems?
What's the difference between a web server, web farm and web garden? How would your web application need to change for each?
What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?
What trade offs do you have for resource contention?
What is inversion of control?
Can a pointer be volatile ?
What is a memory leak? What is a segmentation fault?
Explain the concept of separation of concerns and it's pros and cons.