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

Working of a negative clamping circuit, Q. Draw and explain the working of ...

Q. Draw and explain the working of a negative clamping circuit. The clamping network shown above is a negative clamping circuit that will clamp the input signal to a negative d

Electrical machine, what happens when we apply DC supply to transformer pri...

what happens when we apply DC supply to transformer primary

Solid state devices, what are the significance of solid state devices in el...

what are the significance of solid state devices in electrical engineering

Explain the 8259 microprocessor, Explain the 8259 microprocessor. 82...

Explain the 8259 microprocessor. 8259: The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. This can be expanded to 64 interrupt requests with us

Obtain the time domain functions, Let ω = 2π × 60 rad/s corresponding to a ...

Let ω = 2π × 60 rad/s corresponding to a frequency of 60 Hz. (a) Consider v(t) = 100 √2 cos(ωt + 30°) V and i(t) = 10 √2 sin(ωt + 30°) A. Find the corresponding phasors ¯V and ¯

Simulate the circuit using digital simulation techniques, You are the new c...

You are the new chief PCB designer for a small company who are about to become heavily involved in the design and realisation of digital timing products. Your management wants to p

Determine the value of the capacitance in single phase, Q. Three loads in p...

Q. Three loads in parallel are supplied by a single phase 400-V, 60-Hz supply: Load A: 10 kVA at 0.8 leading power factor Load B: 15 kW at 0.6 lagging power factor Load C:

Hysteresis results in a dissipation of energy, Hysteresis results in a diss...

Hysteresis results in a dissipation of energy Hysteresis results in a dissipation of energy which appears as a heating of the magnetic material. The energy loss associated wit

What is thermal runaway, Q. What is thermal runaway. The problem of sel...

Q. What is thermal runaway. The problem of self heating arises due to dissipation of power at the collector junction. The leakage current ICBO is extremely temperature dependen

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