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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me why embedded system is useful?

780


what is the command/instruction in ARM that does not do anything or does not execute any instruction ? (except NOP instruction)

3023


What's your experience with qa engineering?

696


Tell me what does dma address will deal with?

768


What is endianness of a system and how do different systems communicate with each other?

777


Tell me why does pre-emptive multi-threading used to solve the central controller problem?

798


What trade offs do you have for resource contention?

797


What's the difference between asynchrony and concurrency?

889


Tell me what is interrupt latency? How can you reduce it?

785


Tell me what is top half & bottom half of a kernel?

752


Explain the uses of timers in embedded system?

787


What are the different types of embedded systems?

801


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

846


Write a program to show the functionality of power-save super loop.

1019


What is meant by a sandbox, why you would use one.

778