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
What is Permeability? Permeability: This is defined as the ability of the material to conduct flux. This is defined as the ratio of magnetic flux 'B' in a medium to the magneti


Error-Rate Control, Output-Rate Control, and Integral-Error (Reset) Control Let us consider a typical second-order servomechanism(containing two energy-storing elements) whose

This assignment is intended to provide an easier analysis of how windows work. Begin by looking at individual spectrum bins as affected by off-bin-centred frequency components with

(a) Draw and illustrate the V-I characteristics of PN junction diode. How the characteristics reflected with change in temperature? (b) Describe physically why a PN junction dio

Explain the 16-bit registers DPTR and SP of 8051. DPTR: DPTR stands for data pointer. DPTR having of a high byte (DPH) and a low byte (DPL). Its function is to hold a 16-b


Q. Show Maximum Common-Mode Input Voltage of amplifier? This is the maximum voltage that the two inputs can be raised above ground potential before the op amp becomes nonlinear

Q. Is a depreciation of the dollar/euro exchange rate correlated with a decrease in the dollar return on U.S. deposits? Answer: No, suppose that the Interest Parity is maintai

Q. An operational amplifier stage is typically represented by the circuit of Figure. For the values given, determine V out and the power supplied by the 2.5-V source.