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

Integrated circuit with resistive feedback, principle of resistive feedback...

principle of resistive feedback circuit change when the square wave and triangular pulse frequencies, the amplitude of the triangle wave

Customer indexing scheme, Customer Indexing Scheme: Customer indexing ...

Customer Indexing Scheme: Customer indexing and asset codification system provides a platform to enable the utilities to generate verifiable and validated data of consumers an

Diod, explain the application of the Si,zener,and LED diodes

explain the application of the Si,zener,and LED diodes

#titleclipper diode.., Ask quedisadvantages stion #Minimum 100 words accept...

Ask quedisadvantages stion #Minimum 100 words accepted#

Bathub curve, what is an useful life time in bathtub curve?

what is an useful life time in bathtub curve?

Variable frequency systems , Variable Frequency  Systems In this  sys...

Variable Frequency  Systems In this  systems the chopping period  T will varying but  either Ton is kept constant or T off kept constant. In  any case the off  time T off   w

Inverter, single phase voltage source inverter complete circuit

single phase voltage source inverter complete circuit

Dc machines, explain dynamically induced emf and derive expression for it

explain dynamically induced emf and derive expression for it

Reasons for the augmentation of electromagnetic radiation, Question: Ge...

Question: General EMC Knowledge (a) Give 2 reasons for the augmentation of electromagnetic radiation in urban regions. (b) Pointe aux Diable bears its name due to the a

Amplifier, what is one common applicable for CB amplifier

what is one common applicable for CB amplifier

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