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

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

0 Answers  


Tell me what are the 4 types of inheritance relationship?

0 Answers  


Have you designed ui, user interface?

0 Answers  


Why is java mostly used in embedded systems?

0 Answers  


What do you mean by interrupt latency?

0 Answers  






What's the difference between a web server, web farm and web garden? How would your web application need to change for each?

0 Answers  


Tell me can a variable be both const and volatile?

0 Answers  


Why do we need virtual device drivers when we have physical device drivers?

0 Answers  


Describe, in as much detail as you think is relevant, as deeply as you can, what happens when I type "cnn.com" into a browser and press "go".

0 Answers  


How can you reduce interrupt latency?

0 Answers  


What is your experience with technical documentation?

0 Answers  


What is a memory leak? What is a segmentation fault?

0 Answers  


Categories