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

memory to register , Memory  to Register This  instruction is used to...

Memory  to Register This  instruction is used to copy the contents of a memory  locations whose  address is specified by the HL register  pair to any register. Before  using th

Fm broadcast system with standard emphasis, Q. A voice message with W f = ...

Q. A voice message with W f = 2π(3×10 3 ) rad/s and Wrms = 2π(1 × 10 3 ) rad/s is transmitted over an FM broadcast system with standard emphasis. and compare the improvements due

Tardy billing and poor revenue collection, Tardy Billing and Poor Revenue C...

Tardy Billing and Poor Revenue Collection Prolonged disputes, connivance, lack of consumer friendly policies, incorrect identification of category, fictitious billing (of non-

States the superposition theorem, The superposition theorem states: 'In...

The superposition theorem states: 'In any network made up of linear resistances and having more than single source of e.m.f, the resultant current flowing in any branch is the

Solar steam power generator, This project is about another particular appli...

This project is about another particular application of a particular embodiment of the patent: A Long Stroke Steam Engine using Solar Generated Steam. The machine elements such as

Calculate the guage pressure, Questions: Part (a) A compressor inst...

Questions: Part (a) A compressor installed at a wharf (for loading container ships) is able to provide 6 bar.g pressure into the pressure receiver. The compressor is moved

Astable multivibrator circuit, how does this circuit work and what are th e...

how does this circuit work and what are th electrical components in it do?

Explain multiplexing systems, Q. Explain Multiplexing Systems? A multip...

Q. Explain Multiplexing Systems? A multiplexing system is one in which two or more signals are transmitted jointly over the same transmission channel. There are two commonly us

Equivalent resistor reductions for the circuit, Q. Determine the voltages V...

Q. Determine the voltages V x using voltage division and equivalent resistor reductions for the circuits shown in Figure.

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