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 speed would the machine be capable of converting energy, Q. An element...

Q. An elementary two-pole rotating machine with uniform air gap, as shown in Figure, has a stator-winding self-inductance Lss of 50 mH, a rotor-winding self-inductance Lrr of 50 mH

Analogue and digital, 1. Pattern recognition A synchronous sequential machi...

1. Pattern recognition A synchronous sequential machine is to generate 1 on output z after the next clock pulse whenever the bit sequence on input x has exactly two 0’s in the last

Equivalent resistor reductions for the circuit, Q. Determine the voltages V...

Q. Determine the voltages V x using voltage division and equivalent resistor reductions for the circuits shown in Figure.

Current and voltage polarity, why Direct current flow through semiconductor...

why Direct current flow through semiconductors but alternating current cannot flow?

Digital control system, block diagram of digital control system and explain...

block diagram of digital control system and explain each block

Explain temperature effect on electrical conductivity metals, Explain the e...

Explain the effect of temperature on electrical conductivity of metals. As the temperature is increased, there is a greater thermal motion of atoms which decreases the regulari

Radiation intensity pattern of antennas, Q. Radiation intensity pattern of ...

Q. Radiation intensity pattern of Antennas? Antennas do not radiate power equally in all directions in space. The radiation intensity pattern describes the power intensity (whi

Illustrate power semiconductor devices, Q. Illustrate Power Semiconductor D...

Q. Illustrate Power Semiconductor Devices? Since the advent of the first thyristor or silicon-controlled rectifier (SCR) in 1957, tremendous advances have been made in power se

Storage oscilloscopes, Q.  Write short note on storage oscilloscopes. ...

Q.  Write short note on storage oscilloscopes. Sol. Storage Oscilloscope: The bistable storage tube is between two to ten times slower than a comparable variable persistence

Current flow through the channel of a jfet after pinch off, Q. How does cur...

Q. How does current flow through the channel of a JFET after pinch off? It is seen that above the pinch off voltage at a constant value of VDS (saturation drain current, ID inc

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