Binary subtraction , Electrical Engineering

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.

Posted Date: 4/3/2013 6:14:52 AM | Location : United States







Related Discussions:- Binary subtraction , Assignment Help, Ask Question on Binary subtraction , Get Answer, Expert's Help, Binary subtraction Discussions

Write discussion on Binary subtraction
Your posts are moderated
Related Questions
Q. Show an arrangement for multiplexing 64-to-1 by using four 16-to-1 multiplexers and one 4-to-1 multiplexer.

what is an useful life time in bathtub curve?

Diagram and explanation of cro

Q. Explain Working of Liquid-crystal display? This display needs only microwatts of power (over a thousand times less than a LED) and is used in such devices as electronic wris

Explain in brief the functions of the clock generator chip, 8284. 8284 Clock generator: The 8284 is an ancillary element to the microprocessors. Without any clock generato

Define Characteristics of Discrete Time Systems - Linear? A discrete-time system is said to be linear if it obeys the principles of superposition. That is, the response of a li

State by inspection (i.e. without performing any formal analysis) all you can about each of the periodic waveforms shown in FIGURE 1 in terms of their Fourier series when analysed

Disadvantages of SDR 1. Power consumption is more due to rapid switching of modes 2. Hardware design is not easy 3. Software bugs exist in the system

Q. How is the electron beam focused to a fine spot on the face of the CRT? Sol. The functional diagram of an electrostatic focusing arrangement is shown below. The pre-accele

Explain BOUND instructions in 8086 family with example and their effect on flag. BOUND: The BOUND instruction, that has two operands, compares a register along with two word