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

Calculate the current flow using thevenin''s theorem, Calculate the curren...

Calculate the current flow in 30Ω resistor for the circuit in figure using Thevenin's Theorem.

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.

Microprocessor, Memory map of tpa in a personal computer and explain such o...

Memory map of tpa in a personal computer and explain such of the areas in brief

DC motor & encoder, If a high resolution emcoder is used for position contr...

If a high resolution emcoder is used for position control, will the number of pole count in the DC motor be matter? What is the requirement for the DC motor in order to work with h

What is work-sharing constructs, Q. What is Work-Sharing Constructs? A ...

Q. What is Work-Sharing Constructs? A work-sharing construct distributes execution of associated region amongst the members of team which encounters it. A work-sharing construc

Capacitive var, how over compensation by capacitive var rises voltage in a ...

how over compensation by capacitive var rises voltage in a circuit?

Explain the limiting the spectrum, Explain the Limiting the Spectrum Th...

Explain the Limiting the Spectrum This low-pass filter is known an anti-aliasing filter. These filters are originated at the input to most applications. Since they are required

Chemistry, Explain the construction and working of a calomel electrode?

Explain the construction and working of a calomel electrode?

Magnet, Magnetic materials

Magnetic materials

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