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
Singular Value Decomposition (i) initialize a 2x2 matrix m=[4 0.5;0.5 7]  Factorize the matrix with SVD [u d v]=svd(m) How the matrix u and v differ? Why is that?


function of equlizer rings

By means of mesh-current analysis, obtain the current in the 10-V source and the voltage across the 10- resistor in the circuit of Example.

Normal 0 false false false EN-IN X-NONE X-NONE   High Frequency   Electronic Ballast


Q. A transformer is rated 10 kVA, 220:110 V (rms). Consider it an ideal transformer. (a) Compute the turns ratio and the winding current ratings. (b) If a 2-load resistance

With respect to serial communication define the parity. Besides the synchronization given by the use of start and stop bits, an additional bit termed as a parity bit may opt

Global Positioning System: For power utilities, the basic objective of using Global Positioning System (GPS) and GIS should be to: enhance the efficiency of transmissio

Q. A synchronous motor operates continuously on the following duty cycle: 50 hp for 8 min, 100 hp for 8 min, 150 hp for 10 min, 120 hp for 20 min, and no load for 14min. Specify th