Binary subtraction , Electrical Engineering

Binary Subtraction

Negative numbers are represented in 2 complement form and subtraction is also  per formed  using  2 complement  method in microprocessor. Hence we will  discuss only 2  compliment method  of subtraction in this book.

To find  2 compliment of any binary  number

Use followings  steps

Find 1 complement  of the given  binary  number convert all 0 to 1 and  all 1 to 0 s.

Add 1  to the obtained d1  complement number to get the 2 complement of the original number.

The  obtained  binary number will  be the  negative  of the given  number.

Example :  Find 2 complement  of 010110112.  ( equal to + 9110)

Solution : 1 complement  of the given number is:    10100100

    Add 1                                                                            1

The 2 complement  form of the number                  101000101

This  will represent  -9110 in microprocessor.

Posted Date: 4/3/2013 6:14:52 AM | Location : United States







Related Discussions:- Binary subtraction , Assignment Help, Ask Question on Binary subtraction , Get Answer, Expert's Help, Binary subtraction Discussions

Write discussion on Binary subtraction
Your posts are moderated
Related Questions

Q. What do you mean by Load factor? The two components of electric service are demand and energy. Demand is the maximum level of real power which the electric utility must supp

Explain briefly the operation, draw the functions, formulas and observations. (i) Write an m-file "imnorm.m" which takes an image finds min and max values and uses them to nor

Bipolar Junction Transistor: Transistor construction: the emitter layer is heavily doped, the base is light doped and the collector is only lightly doped. Outer layer has wi

explain compensation and charge neutrality in GaAs


Q.   Derive the expression for generated emf in a dc generator. Ans. Expression for Generated emf in a DC Generator                We shall now derive an expre

distingish between maximum and minimum modes of operations of 8086 with timing diagrames

Q. Expain different control function categories,And also discuss that how they help in signalling and control. Ans: In some switching systems, Control subsystem may be a

Q. What are the uses of MOSFET? The most common use of MOSFET transistors today is the CMOS (complementary metallic oxide semiconductor) integrated circuit which is the basis f