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

Which Transistor configuration best to use in cascade, Q. Which of the 3 tr...

Q. Which of the 3 transistor configuration is best to use in cascade if maximum voltage gain is to be realized?  The common collector configuration is not used for intermediate

Circuit theory, Use basic circuit theory to convert the "T" circuit be...

Use basic circuit theory to convert the "T" circuit below into the equivalent "π". Hint: Remember to disconnect the voltage source and the load.

Spectral analysis and signal bandwidth, Q. Show Spectral Analysis and Signa...

Q. Show Spectral Analysis and Signal Bandwidth? Spectral analysis is based on the fact that a sinusoidal waveform is completely characterized by three quantities: amplitude, ph

500Mhz Collpitts Oscillator, How to design an Oscillator Circuit (500 MHz r...

How to design an Oscillator Circuit (500 MHz range) with no Op amps?

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Briefly explain single mode and multimode fibres, Briefly explain single mo...

Briefly explain single mode and multimode fibres The optical fibres were categorized within two according to the number of modes it passes as: • Single mode fibres • Multi mode

Current ratio, Current ratio The ratio is mainly used to give an idea ...

Current ratio The ratio is mainly used to give an idea of the company's ability to pay back its short-term liabilities with its short-term assets. The higher the current ratio

How to connect the coil to the supply, A coil has an inductance of 1.2H and...

A coil has an inductance of 1.2H and a resistance of 40? and is connected to a 200 V, d.c. supply. Verify the approximate value of the current flowing 60 ms after connecting the co

Explain current divider rule, Explain current divider rule Current flow...

Explain current divider rule Current flow through at every resistor that connected by parallel can be find by using current divider rules (CDR).

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