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 coupled transistor amplifier., why we plot graph to find bandwidth is dr...

why we plot graph to find bandwidth is drawn b/w av/avmax v/s frequency not av v/s frequency?

Find the expressions for the inductor current, Consider the RL circuit of F...

Consider the RL circuit of Figure with R = 2, L = 5H, and v(t) = V = 20 V (a dc voltage source). Find the expressions for the inductor current i L (t) and the inductor voltage v L

Illustrate process characterics of ultrasonic machining, Discribe the ultra...

Discribe the ultrasonic machining with main emphasis on the following (a) Basic working Principle and machining set up (b) Accuracy and surface complete on work materials

Explain the working of an npn transistor, Explain the working of an npn tra...

Explain the working of an npn transistor. Working of npn transistor: In an npn transistor is demonstrated in the figure. The emitter base junction is forward biased whereas

Explain indirect data addressing mode, Explain indirect data addressing mod...

Explain indirect data addressing mode (with examples) available in microprocessors. Indirect Mode: Address given in instruction includes address where the operand resi

Segment is used to store interrupt, Which Segment is used to store interrup...

Which Segment is used to store interrupt and subroutine return address registers? Ans) Stack Segment in segment register is used to kept interrupt and subroutine return address

Find the voltage drop and current through each component, A 15 volts source...

A 15 volts source is applied to a series 150 μH inductor and 169 pF capacitor. The resistance of the inductor plus the connecting wires is 1,6 Ω. Determine the voltage drop and

Diode, using a sketch explain the frequency response of rc coupled transist...

using a sketch explain the frequency response of rc coupled transistor amplifier

What is the clock frequency of 8086, What is the clock frequency of 8086? ...

What is the clock frequency of 8086? Internal clock Frequency 5 MHz 8MHz  External Clock Frequency 15MHZ 24MHZ

Calculate the current flow and voltage drops, Based on Figure, using star-d...

Based on Figure, using star-delta transformation, calculate the current flow and voltage drops at 6kΩ resistor.

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