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

Microprocessors, three application of microprocessor

three application of microprocessor

Calculate the power factor of the motor, A 3 phase 400 volt(line to line) w...

A 3 phase 400 volt(line to line) wye connected synchronous motor has Xs= 1 ohm per phase and a negligible armature resistance. The field current is so adjusted that the internal(in

What is an oscillator and show the advantages of oscillators, Q. What is an...

Q. What is an oscillator? Discuss the advantages of Oscillators ? An oscillator is a system consisting of active and passive circuit elements to produce a sinusoidal or other r

What is work-sharing constructs, Q. What is Work-Sharing Constructs? A ...

Q. What is Work-Sharing Constructs? A work-sharing construct distributes execution of associated region amongst the members of team which encounters it. A work-sharing construc

Energy, Explain different stage in energy audit?

Explain different stage in energy audit?

Microcontroler based elevator system, -micro controller AT89C51 -dc motor -...

-micro controller AT89C51 -dc motor -magnetic sensors -load sensors -how to connect all the components? and give me a circuit diagrams -how to interface all the component with m

Application of microprocessors , Application of Microprocessors Microp...

Application of Microprocessors Microprocessor microcontroller based systems  may be used  in almost  every filed of life  and  their  applications  are increasing day by day

Give the applications of steel, Give the applications of steel. Steel ...

Give the applications of steel. Steel : It contains iron with a small percentage of carbon added to this. Iron itself is not extremely strong but while carbon is added this as

Show bandwidth of the system, A communication system for a voice-band (3 kH...

A communication system for a voice-band (3 kHz) channel is designed for a received SNR E b /N 0 at the detector of 30 dB when the transmitter power is Ps =-3 dBW. Find the value o

Regions of operation in bjt, Q. Regions of operation in BJT ? Transisto...

Q. Regions of operation in BJT ? Transistor find many applications like amplifier, switch etc. depending upon the polarity and the magnitude of the applied voltages across 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