Binary subtraction , Electrical Engineering

Assignment Help:

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.


Related Discussions:- Binary subtraction

Explain the working of positive clamper, Q . Explain the working of Positiv...

Q . Explain the working of Positive Clamper? Positive Clamper: The circuit for a positive clamper is shown in the figure. During the negative half cycle of the input signal,

Describe the process design and application, Disinfection of water streams ...

Disinfection of water streams originating from potable water plants is key in protecting environmental health. Describe the process design and application, along with potential pro

Paper on Matrix Computer Methods, 5 page paper on matrix and computer metho...

5 page paper on matrix and computer methods applied to Linear Gear trains

Miller sweep circuit, explain the working of miller sweep circuit using op ...

explain the working of miller sweep circuit using op amp ic

Development tool, Development tool for SDR i.e software defined radio

Development tool for SDR i.e software defined radio

Calculate the mechanical speed of rotar, Calculate the mechanical speed of ...

Calculate the mechanical speed of rotar: An asynchronous machine of 460V, 25hp, 4 poles with rotor wound in Y has the following data (of the side stator): Resistance of the

What is the use of latch signal on the ad0-ad15 bus, What is the  use of l...

What is the  use of latch signal on the AD0-AD15 bus in an 8086 system? Latch signal is used to load the data those are fetched from memory to bus.

Ideal operational amplifier, list the key parameters to describe the ideal ...

list the key parameters to describe the ideal operational amplifier

Laws of magnetic induction, The observations from these experiments led to ...

The observations from these experiments led to 'The Laws of Electromagnetic Induction' 1)  'If the magnetic flux threading through an electrical circuit changes, then an e.m.f.

OSILATOR, COULD U INTERDUCE AN OSILATOR THAT MAKES TRIANGULAR AND SIN WAVE?...

COULD U INTERDUCE AN OSILATOR THAT MAKES TRIANGULAR AND SIN WAVE?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd