Design a circuit for A + abs(B) = C, where A and B are 4
bits wide and 2?s complement representation



Design a circuit for A + abs(B) = C, where A and B are 4 bits wide and 2?s complement representati..

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

Post New Answer

More Embedded Systems AllOther Interview Questions

Why is it better to use multi-threading polling then single threading model?

0 Answers  


Explain the significance of watchdog timer in embedded systems?

0 Answers  


What is yagni? Is this list of questions an example?

0 Answers  


What is refactoring? Name three common refactorings.

0 Answers  


Tell me what are the different storage classes in c?

0 Answers  






Please explain what is interrupt latency? How can you reduce it?

0 Answers  


Tell me what is the difference between hardware design and software design?

0 Answers  


What are the types of embedded system?

0 Answers  


Can you please explain the difference between mutexes vs semaphores?

0 Answers  


Why is it better to use multi-threading polling instead of a single threading model?

0 Answers  


What happens when recursion functions are declared inline?

0 Answers  


How can you stop your dba from making off with a list of your users’ passwords?

0 Answers  


Categories