Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Given time, cost, client satisfaction and best practices, how will you prioritize them for a project you are working on? Explain why.

0 Answers  


Please explain the difference between mutexes vs semaphores?

0 Answers  


Tell me when one must use recursion function? Mention what happens when recursion functions are declared inline?

0 Answers  


Explain what is the difference between mutexes and semaphores?

0 Answers  


Explain me what is the main function of multiplexed address/data bus?

0 Answers  


What does malloc do? What will happen if we have a statement like malloc(sizeof(0));

0 Answers  


Explain me how does the interrupt architecture works?

0 Answers  


Why is java used in embedded systems?

0 Answers  


Which parameters decide the size of data type for a processor?

0 Answers  


Infinite loops often arise in embedded systems. How does you code an infinite loop in c?

0 Answers  


If your database was under a lot of strain, what are the first few things you might consider to speed it up?

0 Answers  


What are hard and soft real time systems?

0 Answers  


Categories