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

RC phase shift oscillator, For the RC phase-shift oscillator if c=1pF and R...

For the RC phase-shift oscillator if c=1pF and R=10K determine the value of Rf

Common-emitter configuration, Common-emitter configuration: The commo...

Common-emitter configuration: The common-emitter that is abbreviated as CE transistor configuration is displayed in figure.  The transistor terminal common to both the input

Determine the coil resistance, Relays a) Sketch the schematic symbol for...

Relays a) Sketch the schematic symbol for a relay with a single pole changeover switch b) Determine the coil resistance and determine the current at 12Vdc c) Connect the r

Illustrate the construction and working of thermistor, Illustrate the const...

Illustrate the construction and working of:- (i) Pressure Thermometer (ii) Selective Radiation Pyrometer (iii) Thermistor (iv) Laws of Thermocouple

Discuss how wavelet transform is suitable, Q. Discuss how Wavelet Transform...

Q. Discuss how Wavelet Transform is suitable for each application below. You can give examples  if you need to. a) multi-resolution analysis of signals and images b) space-fr

Instruction set architecture, assume that the top of the stack in the progr...

assume that the top of the stack in the program is pointed by the register sp.

Explain basic input output system function call, Discuss BIOS function call...

Discuss BIOS function call with one example. BIO stands for Basic Input Output System: This is a set of programs to give most basic low-level services as services keyboard, s

Reverse bias, Reverse bias Reverse biased generally refers to how a di...

Reverse bias Reverse biased generally refers to how a diode is employed in a circuit. If a diode is reverse biased, the voltage at the cathode is gets higher than that at the

What is absolute permittivity, Absolute permittivity (ε):  Permittivity ...

Absolute permittivity (ε):  Permittivity is a capacitance or ability to kept energy of a capacitor.  A force was also generated, called as electric force and the symbol. It d

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