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

Compound motor , Compound motor It is possible to arrange for part of...

Compound motor It is possible to arrange for part of the field  coil to be in series with the armature and part in parallel   This gives rise to a motor with a mix

What do you mean by external data bus, What do you mean by external data bu...

What do you mean by external data bus? External Data Bus: A bus which connects a computer to the peripheral devices. The microprocessor-8088 has 16-bit registers, 20-bit add

Transformer question, When I read the details of how a transformer works an...

When I read the details of how a transformer works and apply those rules to a transformer where the primary core cross-sectional area is twice that of the secondary, I come up with

Digital signal processing, A DT LTI system has the following impulse respon...

A DT LTI system has the following impulse response: h(n)=[cos(pi/+delta(n)] u(n-3)u(n-2) (a) Find the system’s frequency response h(e^jw ). (b) Sketch the magnitude and phase respo

Calculate I function using logic gates, I need I circuit that calculates f(...

I need I circuit that calculates f(n) = 2^2^n, where n is a 4bit number. I tried with a decoder but unsuccessfully.

Network theorems, what is the limitations of maximum power transfer thorem ...

what is the limitations of maximum power transfer thorem ?

Microprocessor system, A burglar alarm system is controlled by a microproce...

A burglar alarm system is controlled by a microprocessor system. The system has three independent circuit each consisting of 7 passive infra red sensors. The controller can be prog

EMI, Ask question (c) Reduce each of the given signal transmission situatio...

Ask question (c) Reduce each of the given signal transmission situations to a source, coupling path(s), and receptor: (i) AM radio transmission to the human ear. (ii) TV transmis

Computer-aided circuit analysis using MATLAB, Q. Computer-aided circuit ana...

Q. Computer-aided circuit analysis using MATLAB ? This text does not teach MATLAB; it assumes that the student is familiar with it through previous work. Also, the book does no

Draw the phasor diagrams for an rlc series circuit, Draw the phasor diagram...

Draw the phasor diagrams for an RLC series circuit supplied by a sinusoidal voltage source with a lagging power factor and a GLC parallel circuit supplied by a sinusoidal current s

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