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 do mean by flow of electron, Flow of electrons - Electrons flow down a...

Flow of electrons - Electrons flow down a wire that is what current, is. Good conductors like copper and silver and aluminum have free electrons in their outer shells, and they jum

Op-amp amplifier, A voltage signal generated by a sensor conditioning circu...

A voltage signal generated by a sensor conditioning circuit varies from -0.5V to +0.5V . The signal from the sensor is to be connected to the analog to digital  converter which onl

Benefits of digital systems, Q. Show Benefits of digital systems? Ever ...

Q. Show Benefits of digital systems? Ever since most digital systems have only two possible states, there is high degree of accuracy in the transmission of data. With an analog

Develop and execute a program to analyze the circuit, Develop and execute a...

Develop and execute a program to analyze the circuit shown in Figure (a), and use PROBE for plotting v C (t).

Equivalent circuit of a field-effect transistor, Q. The circuit shown in Fi...

Q. The circuit shown in Figure is the equivalent circuit of a field-effect transistor (FET) amplifier stage. (a) Determine the y-parameters. (b) For values of µ = g m /g d >

Jfet common drain amplifier, Q. JFET Common Drain Amplifier? The common...

Q. JFET Common Drain Amplifier? The common drain FET amplifier is similar to the common collector configuration of the bipolar transistor. A general common drain JFET amplifier

Dc motor control, how thyristor work in speed control??

how thyristor work in speed control??

Determine the energy fluence - fluence rate, 1. The photon fluence rate is ...

1. The photon fluence rate is 10 7 photons mm -2 sec -1 for a beam of γ rays. One fourth of the photons have energies of 100 keV, one half have energies of 80 keV and the remain

Engineering drawing, connect two given points A and B by a parabolic curve ...

connect two given points A and B by a parabolic curve when OA=60mm,OB=80mm and angle AOB=110 degree

Amper circuital lw, the plot of amper circuital law by using matlap?

the plot of amper circuital law by using matlap?

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