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

Differences between vga and cga graphics adapters, Q.9 What are the main...

Q.9 What are the main differences between VGA and CGA graphics adapters? Ans: Colour Graphics Adapter (CGA), initially also known as Colour/Graphics Adapter or IBM Colo

Which realization requires the least number of gates, Q. Consider a 1-bit v...

Q. Consider a 1-bit version of the digital comparator shown in Figure. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude compar

Example of binary subtraction of negative number , Example of binary subtra...

Example of binary subtraction of Negative number Case 2.   Negative number is more than  the positive number ( i e, answer  is negative)  Example : Subtract 92 10 ( 101

Find in wavelengths how long the line, Q. A transmission line with air diel...

Q. A transmission line with air dielectric is 25 m long. Find, in wavelengths, how long the line is at frequencies of 1 kHz, 10 MHz, and 100 MHz.

Digital electronics, Design a logic circuit when to provide an output when ...

Design a logic circuit when to provide an output when any two or three of four switches are closed.

Transmission and distribution, A three-phase transposed line is composed of...

A three-phase transposed line is composed of one conductor per phase with flat horizontal spacing of 11 m as shown in Figure 1(a). The conductors have a diameter of 3.625 cm and a

Diode characteristic, Q. For the circuit shown in Figure(a), determine the ...

Q. For the circuit shown in Figure(a), determine the diode current and voltage and the power delivered by the voltage source. The diode characteristic is given in Figure.

What is global positioning satellite, What is Global Positioning Satellites...

What is Global Positioning Satellites (GPS) Global positioning satellite (GPS) systems are used to determine exact location of a car, ship, airplane or any conveyance that trav

Calculate the rms value, The sinusoidal voltage source in the circuit shown...

The sinusoidal voltage source in the circuit shown in Fig. is developing an rms voltage of 2000 V. The 4 ? load in the circuit is absorbing four times as much average power as the

Show maximum power transfer, Q. Show Maximum Power Transfer? In order t...

Q. Show Maximum Power Transfer? In order to investigate the power transfer between a practical source and a load connected to it, let us consider Figure , in which a constant v

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