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

Find the fourier transform of the signal, Problem (a) Give an example...

Problem (a) Give an example of a power signal and one example of an energy signal. (b) Given a periodic signal x (t) = A sin (2Bft). Calculate the power Px. (c) Diffe

Resistors, what are the classifications of fixed resistor?explain

what are the classifications of fixed resistor?explain

On a scale of one to ten, TRAPS: Give a perfect 10, and you'll seem too sim...

TRAPS: Give a perfect 10, and you'll seem too simple to please. Give anything less than a perfect 10, and he could press you as to where you're being significant, and that road lea

Quality Tools for Improvement, Quality Tools for Improvement The envir...

Quality Tools for Improvement The environment of the business of power sector has been modified recently largely because of partial deregulation of this sector. The required h

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

Function of time base generator, Q. Explain the function of time base gener...

Q. Explain the function of time base generator in CRO. Sol. Oscilloscopes are used to display a waveform that varies as a function of time. If the waveform is to be accuratel

Explain working of digital process control, Q. Explain working of Digital P...

Q. Explain working of Digital Process Control? Figure shows a block diagram for microcomputer-based control of a physical process, such as a chemical plant. A slight variation

Jfet common drain amplifier, Q. JFET Common Drain Amplifier? The common...

Q. JFET Common Drain Amplifier? The common drain FET amplifier is similar to the common collector configuration of the bipolar transistor. A general common drain JFET amplifier

Semiconductor material, Semiconductor Material: Semiconductor is a mat...

Semiconductor Material: Semiconductor is a material that has a conductivity level somewhere between the extreme of an insulator and a conductor   Resistivity of a material

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