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 what is the function of dma controlled in embedded system?

900


what are buses used for communication in embedded system?

933


What is the purpose of a watchdog timer?

989


What is the difference between hardware design and software design?

855


How to implement a fourth order butter worth lp filter at 1 khz if sampling freuency is 8 khz?

868


Are you familiar with design patterns? What design software have you used and in what situations?

921


Tell me what is null pointer and what is its use?

892


Explain what happens when recursion functions are declared inline?

905


How can you reduce interrupt latency?

817


What's your experience with technical documentation?

904


Can you name any code testing tools?

982


How are local and global variables are allocated by compiler.

916


Tell me what is the purpose of using critical sections?

914


Explain interrupt latency and how can we decrease it?

875


What are the different types of embedded systems?

886