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

What is the difference between "set" logic, and "procedural" logic. When would you use each one and why?

0 Answers  


Explain the concept of convention over configuration, and talk about an example of convention over configuration you have seen in the wild.

0 Answers  


What is Difference between CAN and GMLAN

2 Answers   GM General Motors,


Tell me what is the function of simple thread poll in embedded system?

0 Answers  


If a system goes blank, how do you debug it?

0 Answers  


How can you reduce interrupt latency?

0 Answers  


Scope of static variables?

0 Answers  


What is the repository pattern? The factory pattern? Why are patterns important?

0 Answers  


What are the qualifiers in c?

0 Answers  


What is meant by a sandbox.

0 Answers  


Tell me what is the difference between hard real-time and soft real-time os?

0 Answers  


Explain what is a watchdog timer?

0 Answers  


Categories