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
oscilloscope probes specification & performance

Quite often an amplifier is used as a component of an amplifier circuit. Consider the amplifier circuit shown in Figure, which contains an amplifier block as an internal component.

Q. Tone used in stronger telephony? Dial Tone: This tone is used to specify that exchange is ready to accept dialled digits from subscriber. Subscriber must start dialling only

a) What is meant by frequency response and how would you check the performance of your amplifier? b) Calculate the Voltage Gain of your amplifier at a range of frequencies suffic

Q. Implement the following Boolean functions by employing 8-to-1multiplexers. (a) F 1 (A,B,C) = Σ m i (0, 2, 4, 6) (b) F 2 (A,B,C) = Σ m i (1, 3, 7)

Q. What is an oscillator? Discuss the advantages of Oscillators ? An oscillator is a system consisting of active and passive circuit elements to produce a sinusoidal or other r

The Problem Based Learning is an approach to learning prepares the students to engage with challenges similar to real world problems.The VEB3001-Problem Based Learning has been an

Explain different stage in energy audit?

Discuss applications of dielectrics. Application of dielectrics: For various applications various properties of dielectric materials are required as: electrical, mechanical

Define the term Paging Unit. Paging Unit: The paging mechanism functions along with 4K - byte memory pages or along with a new extension obtainable to the Pentium with 4M byt