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

Dc machine dynamic performance, Calculate the following for a 2 hp and a 20...

Calculate the following for a 2 hp and a 20 hp dc machine, each rated for 500 rpm. Use data from the Study Plan 1 data sheet, including "hot" armature resistance value for all cal

What do you mean by phase sequence, Q. What do you mean by Phase Sequence? ...

Q. What do you mean by Phase Sequence? It is standard practice in the United States to designate the phase A-B-C such that under balanced conditions the voltage and current in

Clapp oscillator, having looked at the circuit, i first wanted to start my ...

having looked at the circuit, i first wanted to start my frequency from 0 and plot for 10000 to 20000. so in matlab i used f = 0:10000:20000; but the equation for frequency is f= 1

Cross section of nmos with channel formed: on state, Cross Section of NMOS ...

Cross Section of NMOS with Channel Formed: ON state A metal-oxide-semiconductor field-effect transistor (MOSFET) is based upon the modulation of charge concentration through a

Find the per-phase impedance of the load, Q. A three-phase, three-wire 208-...

Q. A three-phase, three-wire 208-V system is connected to a balanced three-phase load. The line currents ¯ IA, ¯ IB, and ¯ IC are given to be in phase with the line-to-line voltage

Line Protection., The Lennox to Bowmanville 500 kV circuit, spanning a dist...

The Lennox to Bowmanville 500 kV circuit, spanning a distance of about 180 km, has series (inductive) impedance j 0.0224 pu and shunt (capacitive) admittance j 2.34 pu, quoted on b

Why are waveguides not used at low frequencies, Q. Comment brie?y on the fo...

Q. Comment brie?y on the following: (a) Why are waveguides not used at low frequencies? (b) Why are open-wire lines not generally used as guiding structures at very high freq

Illustrate frequency-shift keying, Q. Illustrate Frequency-shift keying? ...

Q. Illustrate Frequency-shift keying? Digital transmission by FSK is a nonlinear modulation method that is appropriate for channels that lack the phase stability needed to perf

What do you mean by bezier curve, What do you mean by Bezier curve? Shown B...

What do you mean by Bezier curve? Shown B0 (1,1), B1 (2,3), B2 (4,3), B3 (3,1) the vertices of Bezier polygon, calculate seven points on Bezier curve. Write in brief the differe

Determine the largest crest factor, A quantizer has 130 quantum levels that...

A quantizer has 130 quantum levels that exactly span the extremes of a symmetrically ?uctuating message with step size δv = 0.04 V. Determine the following: (a) |f(t)|max.

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