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

Convert decimal numbers into binary, Q. Convert the following DECIMAL numbe...

Q. Convert the following DECIMAL numbers into BINARY, double check by converting the result BINARY to DECIMAL. Assume all binary numbers are represented by 12 bits on LHS of binary

Nicol prism, how much and what to write it is of 30 marks

how much and what to write it is of 30 marks

What are procedures, What are procedures? Procedures are a group of ins...

What are procedures? Procedures are a group of instructions stored as a separate program in memory and it is known from the main program whenever needed. The type of procedure

#title.ec 1., draw the gain frequency response of an RC coupled circuit? di...

draw the gain frequency response of an RC coupled circuit? discuss fall in gain at very low and very high frequencies?

Fiind the magnitudes of the line-to-line voltages, Q. A single-line diagram...

Q. A single-line diagram of a three-phase transformer bank connected to a load is given in Figure. Find the magnitudes of the line-to-line voltages, line currents, phase voltages,

Define and explain numerical aperture, Define and explain Numerical apertur...

Define and explain Numerical aperture? Figure shown below shows an incident ray to the fibre, The light bends at two interfaces, one at the air- core interface and the

Describe properties of the conducting materials, Describe properties of ...

Describe properties of the conducting materials . Conducting materials are classified by low resistivity materials and high resistivity materials. Low resistivity mater

Give a block diagram for amodulo-5 binary ripple counter, Q. Give a block d...

Q. Give a block diagram for amodulo-5 binary ripple counter using JKFFs and draw its timing diagram.

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