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

#titleElectromagnetic Induction, Hello, I have some questions pertaining t...

Hello, I have some questions pertaining to electromagnetic induction. Could you please give me a hand? Thanks. If we increase the speed of the bar magnet slowly from 0 to 8, and

Use of cro for frequency measurement, Q. Explain the use of CRO for frequen...

Q. Explain the use of CRO for frequency measurement.   Measurement of frequency: The frequency of the periodic signals is easily measured with a CRO. The frequency of a si

Compute product of inductance and capacitance, Q. The inductance per unit l...

Q. The inductance per unit length in H/m for parallel-plate infinitely long conductors in air is given by L = µ 0 d/w = 4π×10 -7 d/w, where d and w are inmeters. Compute L (per un

Control, The goal of this project is to model a system and to design a cont...

The goal of this project is to model a system and to design a controller for the system so that the closed-loop system performs satisfactorily.

Two byte instructions , Two byte  Instructions In these  instruction ...

Two byte  Instructions In these  instruction the first byte  specifies  the operations code  and the  second byte  specifies the operand. To identify  two byte  instructions o

Determine the number of poles of this ac motor, Q. A three-phase ac motor, ...

Q. A three-phase ac motor, used to drive a draft fan, is connected to a 60-Hz voltage supply. At noload, the speed is 1188 r/min; at full load, the speed drops to 1128 r/min. (a

Scatter Diagrams - Quality Tools for Improvement, Scatter Diagrams - Qualit...

Scatter Diagrams - Quality Tools for Improvement Scatter diagrams are graphical tools which attempt to depict the influence in which one variable has on another. A general dia

Calculate the maximum analog output voltage, Q. For the 4-bit D/A converter...

Q. For the 4-bit D/A converter of Figure, calculate: (a) The maximum analog output voltage. (b) The minimum analog output voltage. (c) The smallest detectable analog outpu

Desirable requirements of a generic photo-detector, Question : a) Stat...

Question : a) State six desirable requirements of a generic photo-detector. b) A gallium arsenide pin photo-diode has an intrinsic layer of width 1 μm. The diode is revers

For the low-pass filter configuration calculate cf, Q. For the low-pass fil...

Q. For the low-pass filter configuration of Figure, with R i = R f = 1M, calculate C f such that the 3-dB point is at 1 kHz.

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