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

Oscilloscope, Describe in detail the construction and working of digital ty...

Describe in detail the construction and working of digital type oscilloscope.

Induction motor, principle and operation of 3phace induction motor

principle and operation of 3phace induction motor

Can you show the decimal to octal conversion, Q. Can you show the Decimal t...

Q. Can you show the Decimal to Octal Conversion? To convert decimal to octal is somewhat more difficult. The usual method to convert from decimal to octal is repeated division

Circuit of a common drain fet amplifier and explain, Q. Draw the circuit of...

Q. Draw the circuit of a common drain FET amplifier and explain. FET amplifier circuit The weak signal is applied between gate and source and amplified output is obtained

Factors which affect the inductance of an inductor, Factors which affect th...

Factors which affect the inductance of an inductor include:  i)  The number of turns of wire (N) - more turns the higher the inductance ii)  The cross-sectional area of the

Find the maximum kva rating as an auto- transformer, Q. A 5-kVA, 480:120-V,...

Q. A 5-kVA, 480:120-V, two-winding, 60-Hz, single-phase transformer has an efficiency of 95% while delivering rated load at rated voltage and 0.8 power factor lagging. This transfo

Describe CCIT hierarchical structure, Q. Describe CCITT  hierarchical  stru...

Q. Describe CCITT  hierarchical  structure  of  switching  and  routing  using  block schematic.  Ans: Hierarchical network are capable of handling heavy traffic where req

Evaluate circular aperture of receiving antenna, Q. A satellite radio trans...

Q. A satellite radio transmitter has P in = 3 W and G t = 30 dB. The receiving antenna has a circular aperture with radius r at the ground station 30,000 km away. Find r in meter

Program implementing the conjugate gradient method, Write a program impleme...

Write a program implementing the conjugate gradient method (un-preconditioned). Solve the  matrix equation corresponding to a finite difference node-spacing, h = 0.02m in x and y d

Cpopy 16 bit data register pair , cpopy 16 bit data  Register pair E...

cpopy 16 bit data  Register pair Example  : Copy  16 bit  data 3 E 21H  in register pair BC Solution   :The  statement  is LXI B 3E 21H 16  bit data  3E 21H in reg

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