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

Four cells in series, A battery having of 12 cells are divided in three gro...

A battery having of 12 cells are divided in three group which each group having of four cells in series. The three groups are joined in parallel. The emf of every cell is 1.5V and

Define spectrum of real signals, Define Spectrum of Real Signals? In th...

Define Spectrum of Real Signals? In the real world, we rarely come throughout a pure sine wave. Typical signals have a wide spectrum as displayed in the above diagram. Informat

Reasons for the augmentation of electromagnetic radiation, Question: Ge...

Question: General EMC Knowledge (a) Give 2 reasons for the augmentation of electromagnetic radiation in urban regions. (b) Pointe aux Diable bears its name due to the a

Status signals - pins and signals , Status Signals There are three st...

Status Signals There are three status  signals IO/M s and s 1 . All  these  signals  are output  signals. IO/ M - it is a status  signals  used to distinguish  whether  the

Why we need biasing, Q. Why we Need biasing? Need for biasing : Baising...

Q. Why we Need biasing? Need for biasing : Baising is necessary to establish the quiescent operating point so that the device operates with the linear region without exceeding

Explain ferrites and its uses in high frequency devices, Explain ferrites a...

Explain ferrites and its uses in high frequency devices. A group of magnetic alloys show the property of magnetisation that change, with percentage of various constituent atoms

Give properties and uses of silicon and nickel iron alloys, Give the proper...

Give the properties and uses of silicon iron alloy and nickel iron alloy. Silicon Iron alloy: Pure iron has low resistivity that results in higher eddy current losses. These

Explain function of application layer, Q. Explain function of application l...

Q. Explain function of application layer? Layers of OSI model are as follows: (1) The Physical Layer: This defines an interface in terms of connections, voltage levels and

Net force on the wire due to the interaction of the b-field, Q. (a) Show by...

Q. (a) Show by applying Ampere's circuital law that themagnetic field associated with a long straight, current-carrying wire is given by B φ = µ 0 I/(2πr), where the subscript φ d

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