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 a common emitter configuration without a feedback, Q. Explain a com...

Q. Explain a common emitter configuration without a feedback. A simple common emitter transistor amplifier--having no negative feedback--is not an ideal amplifier. This is beca

Bivector meter, Bivector Meter As it is clear from the name provided '...

Bivector Meter As it is clear from the name provided 'Bivector', it records kWh and kVAh consumption along with maximum demand on both or on any one as needed. The working pri

Weighted resistor and the r-2 r ladder d/a converters, Q. What is the basic...

Q. What is the basic difference between the weighted resistor and the R-2 R ladder D/A converters?

Pnp bipolar junction transistor, PNP The other kind of BJT is the PNP ...

PNP The other kind of BJT is the PNP with the letters "P" and "N" standing for the majority charge carriers inside the dissimilar regions of the transistor. Figure:

Explain indexed addressing in 8051, Probelm: (a) Explain indexed addre...

Probelm: (a) Explain indexed addressing in 8051. (b) How does the 8051 distinguish between a byte address and a bit address? (c) How do open-loop and closed loop appli

Why ce configuration is widely used in amplifier circuit, Q . Why CE Config...

Q . Why CE Configuration is widely used in amplifier circuit? The main utility of a transistor lies in its ability to amplify weak signals. The transistor alone cannot perform

Show the equivalent nor realizations of basic not, (a) Show the equivalent ...

(a) Show the equivalent NOR realizations of the basic NOT, OR, and AND gates. (b) Show the equivalent NAND realization of the basic NOT, AND, and OR gates.

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