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

Advantages and disadvantages of alloying steel with silicon, State the adva...

State the advantages and disadvantages of alloying steel with silicon for use as magnetic materials in transformer and electric machines. Extensive utilize, is made of iron-sil

Explain mobility, Explain Mobility . Average drift velocity of electrons...

Explain Mobility . Average drift velocity of electrons (e - ) in an applied field is proportional to the field, the absolute magnitude of the proportionality factor eq/m, termed

MECHANICAL SCIENCE, 0PERATION OF POWER TRANSMISSION (SPEED GOVERNORS)

0PERATION OF POWER TRANSMISSION (SPEED GOVERNORS)

What are cu and neu in 8087, What are CU and NEU in 8087? CU-Control un...

What are CU and NEU in 8087? CU-Control unit NEU- Numeric extension unit. The numeric extension unit implements all the numeric processor instructions whereas the control un

Variable capacitors, how can I simulate air variable capacitors in cst simu...

how can I simulate air variable capacitors in cst simulator?

How to calculate the bus - bar voltage and kilowatt output., Q.   Two shunt...

Q.   Two shunt wound generators running in parallel supply a total load current of 4000 A. Each generator has an armature resistance of 0.02? and a field of 40?. The fiels are exci

With a block diagram explain fiber optic communication, With a block diagra...

With a block diagram explain fiber optic communication system Ans: The block diagram of a fiber optic communication system is display below: The input signal is giv

Calculate the bandwidth of the new signal, A signal comprises a bandwidth o...

A signal comprises a bandwidth of 1kHz centred around 1kHz.  A sine wave along with a frequency of 1250Hz is added to the signal. The bandwidth of the new signal is: 2250Hz

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