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

What is meant by amplification, Q. What is meant by amplification? The ...

Q. What is meant by amplification? The basic amplifying elements are, namely valves (vacuum tubes), bipolar transistors and FETs. The term "amplify" basically means to make str

Define embedded system according to wayne wolf and todd, Define the term em...

Define the term embedded system according to Wayne Wolf and Todd. According to Wayne Wolf: This is any device which includes a programmable computer but is not itself intend

Full wave rectifiers, how to determine the peak inverse voltage across idea...

how to determine the peak inverse voltage across ideal diodes

Global positioning system, Global Positioning System: For power utilit...

Global Positioning System: For power utilities, the basic objective of using Global Positioning System (GPS) and GIS should be to: enhance the efficiency of transmissio

What do you understand by detroit-type automation, (a) What do you understa...

(a) What do you understand by Detroit-type automation? (b) What are the situations under which the above kind of automation can be planned ?

Define lines parameters, Define Lines Parameters In power system analys...

Define Lines Parameters In power system analysis, the parameters of interest when modelling power lines are:  inductance, capacitance, series resistance and leakage resistance.

Metering techniques, Metering Techniques The techniques of metering co...

Metering Techniques The techniques of metering could be categorized depending upon the voltage at which consumers are fed as: 1. LT (Low Tension) Metering, and 2. HT (Hi

PSpice Project, I would send the project file so you can take a look at it....

I would send the project file so you can take a look at it.

Sketch the phasor diagram, Q. A balanced delta-connected load with a per-ph...

Q. A balanced delta-connected load with a per-phase impedance of 12 + j9  is supplied by a 173-V, 60-Hz three-phase source. (a) Determine the line current, the power factor, th

Combinational logic circuit design, Design a circuit to enable a chemical a...

Design a circuit to enable a chemical additive to be introduced into the fluid through another inlet only when the temperature is not too cold or too hot and the fluid is above the

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