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

Describe to me some bad code you've read or inherited lately.

800


Tell me how does input/output bus functions?

864


Please explain can structures be passed to the functions by value?

782


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

841


What is a 'const' variable?

877


How can you reduce memory requirements in embedded systems?

893


What are the advantages and disadvantages of separation of concerns?

822


Explain the concept of separation of concerns and it's pros and cons.

825


Why are interfaces important?

886


Why do we need a infinite loop in embedded systems development? What are the different ways by which you can code in a infinite loop?

893


How are local and global variables are allocated by compiler.

880


What is the difference between testing and verification?

950


What software configuration management tools are you familiar working with?

771


Why does pre-emptive multi-threading used to solve the central controller problem?

827


Accessing fixed memory locations

904