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 series for the square wave, (a) Find the Fourier series fo...

(a) Find the Fourier series for the square wave shown in Figure(a). (b) Let a voltage source having the waveform of part (a) with a peak value of 100 V and a frequency of 10 Hz

What do you understand by breakdown diodes, (a) Draw and illustrate the V-I...

(a) Draw and illustrate the V-I characteristics of PN junction diode. How the characteristics reflected with change in temperature? (b) Describe physically why a PN junction dio

Explain corrosion, Explain Corrosion. Corrosion: The process of constan...

Explain Corrosion. Corrosion: The process of constant eating (or destruction) up of metals (by the surface) by the surrounding is termed as corrosion. These metals are corroded

Examine the features of a typical pc motherboard, Q. Examine the features o...

Q. Examine the features of a typical PC motherboard? The purpose of this experiment is to examine the features of a typical PC motherboard, including: CPU and co-process

Give the alternate functions for the port pins of port3, Give the alternate...

Give the alternate functions for the port pins of port3? RD - Read data control output. WR - Write data control output. T1 - Timer / Counter1 external input or test pin.

Chemistry, write a note on vulcanization

write a note on vulcanization

Discuss classification of conducting materials, Discuss classification of c...

Discuss classification of conducting materials into low resistivity and high resistivity materials. Conducting materials are categorized as low resistivity materials and high r

Actual voltage reading in decimal, Prepare the assembly code to make a Digi...

Prepare the assembly code to make a Digital Volt Meter that shows the message and the correct voltage on the LCD. Once you managed to display the hex value for the conversion you w

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